Skip to content

Configuration

Claude Kit works out of the box after installing the plugin. Run /claudekit:init to scaffold project-level configuration for rules, modes, hooks, and MCP servers.

/claudekit:init

The wizard walks you through four steps, asking one question at a time:

Rules enforce standards when Claude works on specific file types:

RuleApplies ToWhat It Enforces
api.mdAPI routes, controllersInput validation, error responses, rate limiting
frontend.md.tsx, .jsx, componentsPascalCase, Server Components, accessibility
migrations.mdMigration filesReversible migrations, indexes, transactions
security.mdAll filesNo hardcoded secrets, parameterized queries, no eval()
testing.mdTest filesNaming conventions, coverage thresholds, no .only()

Rules are installed to .claude/rules/.

Modes change how Claude communicates and solves problems:

ModeBest For
defaultGeneral tasks
brainstormDesign, ideation
implementationCode-focused, minimal prose
reviewCritical analysis
token-efficientHigh-volume work, cost savings
deep-researchInvestigation, audits
orchestrationMulti-agent coordination

Modes are installed to .claude/modes/. Switch with natural language: “switch to brainstorm mode”.

Hooks run automatically in response to Claude Code events:

HookEventWhat It Does
auto-formatAfter Write/EditRuns ruff (Python) or eslint (JS/TS) on changed files
block-dangerous-commandsBefore BashBlocks rm -rf /, force push to main, DROP TABLE, etc.
notifyNotificationCross-platform desktop notifications

Hooks are installed to .claude/hooks/ with config in settings.local.json (gitignored).

MCP servers extend Claude with external tools:

ServerPurpose
Context7Real-time library documentation
Sequential ThinkingStructured step-by-step reasoning
PlaywrightBrowser automation for E2E testing
MemoryPersistent knowledge graph
FilesystemSecure file operations

MCP servers are configured in .mcp.json with automatic platform detection (Windows vs macOS/Linux).

Skip all prompts and install everything:

/claudekit:init --all

After running init, you may want to create your own .claude/CLAUDE.md for project-specific instructions. This is independent of Claude Kit — it’s a standard Claude Code feature:

# My SaaS Project
## Tech Stack
- **Backend**: FastAPI + PostgreSQL
- **Frontend**: Next.js 14 + Tailwind
- **Auth**: Clerk
- **Payments**: Stripe
## Code Conventions
- Python: PEP 8, type hints required
- TypeScript: Strict mode, Zod for validation
## Testing
- Python: pytest with 80% coverage minimum
- Frontend: vitest + Playwright

You can customize agent behavior in your CLAUDE.md:

## Agent Behavior Overrides
### claudekit:planner
- Break tasks into 15-60 minute chunks
- Always identify testing requirements
### claudekit:code-reviewer
- Enforce strict typing
- Security-first reviews
- Check for test coverage
### claudekit:tester
- Use pytest for Python, vitest for TypeScript
- Generate edge case tests