Enterprise Features
ContextKit includes features for policy enforcement, corrections tracking, and monorepo support.
Policy Enforcement
contextkit check
Validate installation and enforce policy compliance based on .contextkit/policies/policy.yml.
Policy Configuration Example:
enforcement:
testing:
numbered_cases: warn # off | warn | block
coverage_threshold: 80
code_style:
typescript_strict: warncontextkit checkcontextkit check --strictEnforcement levels: off (no check), warn (warning), block (error).
check also runs the stale-context check: instructions pointing at missing files or removed skills, and always-loaded context over context_budget_lines (default 400). Run only that part with contextkit check --context.
Corrections Logging
contextkit note
Track AI performance issues, preferences, and improvements in .contextkit/corrections.md.
contextkit note "always use named exports" --category "Preferences" --priority LOWCategories: AI Behavior, Preferences, Rule Updates, Trend Indicators. Use this to continuously improve AI performance over time.
In your AI tool, /learn "rule" turns a correction into one rule in the right .contextkit/standards/ file and logs it with ck note. /ck tidy promotes mistakes logged twice or more into rules.
Monorepo Support
Automatic Detection & Scope Selection
ContextKit automatically detects monorepo structures (Turborepo, Nx, Lerna) and classifies packages as frontend or backend.
contextkit analyze # Interactive: prompts for scopecontextkit analyze --scope both # Analyze both frontend & backendWhen analyzing both, generates separate standards in .contextkit/standards/frontend/ and .contextkit/standards/backend/.
💡 Getting Started
All features are available immediately after installation — no extra setup required.
Was this helpful?
Help us improve the documentation by sharing your feedback.