Commands Reference

Reference for ContextKit CLI commands. Use ck as a short alias for contextkit.

New to ContextKit?

Installation and project setup are covered in the Quick Start guide.

Go to Quick Start

Updates & Maintenance

contextkit update

Update ContextKit commands, hooks, and platform integration files to the latest version. Preserves your standards files and project configuration.

contextkit updatecontextkit update --force

Status & Health

contextkit status

Check installation status and verify which context files are present and configured.

contextkit status

contextkit check

Validate your ContextKit installation and check that all expected files are in place.

contextkit check

Options:

  • --strict - Treat warnings as errors
  • --verbose - Show detailed information

Analysis

contextkit analyze

Analyze your project and generate customized standards based on your actual codebase. Monorepo-aware: Automatically detects and prompts for frontend/backend scope.

💡 Prefer using /analyze directly in your AI tool — it reads your codebase and generates standards without leaving the editor.

contextkit analyze

Options:

  • --scope frontend|backend|both - Analyze specific scope (non-interactive)
  • --package <path> - Analyze specific package (e.g., apps/admin)
  • --non-interactive - Skip prompts

📦 Monorepo Support:

For monorepos, automatically detects packages and prompts to analyze frontend, backend, or both. Generates separate standards when analyzing both.

Corrections Logging

contextkit note

Add entries to the corrections log for tracking AI performance issues and improvements.

contextkit note "prefer async/await over promise chains"

Options:

  • --category <category> - Category (AI Behavior, Preferences, etc.)
  • --priority <priority> - Priority (HIGH, MEDIUM, LOW)
  • --task <task> - Related task description

Example: ck note "always use named exports" --category "Preferences" --priority LOW

Short Alias Available

Use ck instead of contextkit for faster typing. Example: ck install, ck update, ck check

Was this helpful?

Help us improve the documentation by sharing your feedback.