Platform Examples

Step-by-step examples for using ContextKit with Cursor, VS Code, Claude CLI, Gemini CLI, Codex CLI, and other AI tools.

Cursor

Automatic context loading

✅ Zero Configuration Required

Cursor automatically loads all ContextKit context files via .cursor/rules/contextkit.mdc for every AI prompt.

Setup

If .contextkit exists, run contextkit cursor to add Cursor integration. Cursor automatically reads your context files via .cursor/rules/contextkit.mdc.

Basic Usage

In Cursor AI chat
Create a login button using btn pattern

Reference Commands

In Cursor AI chat
@.contextkit/commands/analyze.md
  • @.contextkit/commands/create-component.md
  • @.contextkit/commands/run-tests.md
  • @.contextkit/commands/quality-check.md

VS Code + GitHub Copilot

Use @ mentions in chat

Setup

If .contextkit exists, run contextkit vscode to add VS Code integration. Check .vscode/VSCODE_USAGE.md for details.

⭐⭐ Best: Mention Entire Folder

In Copilot Chat
@.contextkit Create a login button

✅ Includes ALL context files (standards, templates, commands) - No slash needed!

Alternative: Mention Subfolders

@.contextkit/standards Create a login button

Standards only (no templates)

@.contextkit/standards/glossary.md @.contextkit/standards/code-style.md Create a login button

Specific files

Claude CLI

Direct file references

Setup

Run contextkit claude to set up Claude integration. Claude CLI works by referencing .contextkit files in your prompts.

Usage

Terminal
claude "read .contextkit/context.md and create a button"

Using ContextKit Wrapper

Terminal
export AI_TOOL=claude_clicontextkit ai "create a button component"

OpenAI Codex CLI

Direct file references

Setup

Run contextkit codex to set up Codex integration. Codex CLI works by referencing .contextkit files in your prompts.

Usage

Terminal
codex "read .contextkit/context.md and create a button"

Using ContextKit Wrapper

Terminal
export AI_TOOL=codexcontextkit ai "create a button component"

Continue.dev

Automatic context loading

Setup

If .contextkit exists, run contextkit continue to add Continue integration. Continue.dev automatically loads context from .continue/config.json.

Usage

In Continue chat
Read .contextkit/commands/analyze.md and execute the analysis

Aider

Direct file references

Setup

If .contextkit exists, run contextkit aider to add Aider integration. The .aider/rules.md file will be configured.

Usage

Terminal
aider "Create a login button. Follow .contextkit/standards/code-style.md"

Using ContextKit Wrapper

Terminal
export AI_TOOL=aidercontextkit ai "create a button component"

Google Gemini CLI

Direct file references

Setup

If .contextkit exists, use it directly. Gemini CLI works by referencing .contextkit files in your prompts.

Usage

Terminal
gemini "read .contextkit/context.md and create a button"

Using ContextKit Wrapper

Terminal
export AI_TOOL=geminicontextkit ai "create a button component"

👥 Multi-Team Workflow

Perfect for teams where members use different AI tools. Share the .contextkit/ directory, and each team member adds their specific integration:

Person 1: contextkit install
Person 2 (Cursor): contextkit cursor
Person 3 (VS Code): contextkit vscode
Person 4 (Claude): contextkit claude
Person 5 (Gemini): contextkit gemini
Person 6 (Codex): contextkit codex

✨ Auto-Detection

ContextKit automatically detects which AI tools you have installed and configures integrations accordingly. Run contextkit status to see what's detected.

Was this helpful?

Help us improve the documentation by sharing your feedback.