Enterprise Features
ContextKit includes enterprise-grade features for policy enforcement, workflow orchestration, registry management, and observability.
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).
Workflow Orchestration
contextkit run <workflow>
Execute structured, multi-step workflows defined in .contextkit/instructions/core/.
Workflow Format (XML-like tags):
<process_flow>
<step number="1" name="gather_input">
### Step 1: Gather Input
[Instructions]
</step>
<pre_flight_check>
[Validation checks]
</pre_flight_check>
</process_flow>contextkit run create-componentcontextkit run create-component --interactiveWorkflows support pre-flight checks, post-flight verification, and subagent delegation for complex tasks.
Registry & Versioning
Publishing Configurations
Share ContextKit configurations across teams with versioned packages.
contextkit publish --name @company/react-standards --version 1.0.0Creates a versioned archive in ~/.contextkit-registry.
Pulling Configurations
Pull shared configurations from the registry.
contextkit pull @company/react-standards@1.0.0contextkit pull @company/react-standards@latest --backupUse --backup to backup existing files before overwriting.
Observability Dashboard
contextkit dashboard
Visualize standards freshness, corrections log analytics, and policy compliance.
contextkit dashboardcontextkit dashboard --no-server # CLI metrics onlyDashboard Metrics:
- Standards freshness (last updated dates)
- Corrections log statistics
- Policy compliance status
- Product context completeness
Corrections Logging
contextkit note
Track AI performance issues, preferences, and improvements in .contextkit/corrections.md.
contextkit note "AI didn't follow testing standards" --category "AI Behavior" --priority HIGHCategories: AI Behavior, Preferences, Rule Updates, Trend Indicators. Use this to continuously improve AI performance.
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
Enterprise features are available immediately after installation. Configure policies, create workflows, and start tracking AI performance.
Was this helpful?
Help us improve the documentation by sharing your feedback.