From claudekit
Interactive wizard scaffolds claudekit rules (API, frontend React/Next.js, security, testing), modes, hooks, and MCP servers into .claude/. Invoke /claudekit:init for project setup.
npx claudepluginhub duthaho/claudekit --plugin claudekitThis skill uses the workspace's default tool permissions.
Interactive setup wizard that scaffolds project-level configuration files into the user's `.claude/` directory.
templates/hooks.jsontemplates/mcp-servers.jsontemplates/modes/brainstorm.mdtemplates/modes/deep-research.mdtemplates/modes/default.mdtemplates/modes/implementation.mdtemplates/modes/orchestration.mdtemplates/modes/review.mdtemplates/modes/token-efficient.mdtemplates/rules/api.mdtemplates/rules/frontend.mdtemplates/rules/migrations.mdtemplates/rules/security.mdtemplates/rules/testing.mdInitializes Claude Code projects by auto-detecting Node.js frameworks from package.json and lockfiles, replaces CLAUDE.md placeholders, installs rules, hooks, and scripts.
Generates Claude Code project setups including CLAUDE.md, hooks, permissions, commands, and agents. Analyzes stack (TypeScript, JavaScript, Python, Go, Rust, etc.) to create minimal/standard/full configs.
Analyzes codebase to recommend Claude Code automations: hooks for events, subagents for analysis, skills for workflows, plugins, MCP servers for tools.
Share bugs, ideas, or general feedback.
Interactive setup wizard that scaffolds project-level configuration files into the user's .claude/ directory.
| Category | Files | Location |
|---|---|---|
| Rules | api.md, frontend.md, migrations.md, security.md, testing.md | .claude/rules/ |
| Modes | brainstorm.md, deep-research.md, default.md, implementation.md, orchestration.md, review.md, token-efficient.md | .claude/modes/ |
| Hooks | auto-format, block-dangerous-commands, notify | .claude/hooks/ + settings.local.json |
| MCP Servers | context7, sequential, playwright, memory, filesystem | .mcp.json |
When invoked, ask the user ONE question at a time:
"Which rules do you want to install?"
If (b), list each rule with a one-line description and let user select:
For each selected rule, read the template from ${CLAUDE_PLUGIN_ROOT}/skills/init/templates/rules/<name>.md and write it to .claude/rules/<name>.md.
"Which behavioral modes do you want to install?"
If (b), list each mode with a one-line description:
For each selected mode, read the template from ${CLAUDE_PLUGIN_ROOT}/skills/init/templates/modes/<name>.md and write it to .claude/modes/<name>.md.
"Which hooks do you want to install?"
For each selected hook:
${CLAUDE_PLUGIN_ROOT}/skills/init/templates/hooks.json${CLAUDE_PLUGIN_ROOT}/scripts/<script>.cjs to .claude/hooks/<script>.cjs.claude/settings.local.json (create if it doesn't exist)Hook entry format for settings.local.json:
{
"hooks": {
"<event>": [
{
"matcher": "<matcher>",
"hooks": [
{
"type": "command",
"command": "node .claude/hooks/<script>.cjs"
}
]
}
]
}
}
If settings.local.json already has a hooks key, merge new entries into the existing structure — do not overwrite.
"Which MCP servers do you want to configure?"
For each selected server:
${CLAUDE_PLUGIN_ROOT}/skills/init/templates/mcp-servers.jsonprocess.platform === "win32" or use Bash uname to determine OSwin32 or posix key).mcp.json (create with {"mcpServers": {}} if it doesn't exist)Print a summary table of everything installed:
Claudekit setup complete!
Rules: 5 installed → .claude/rules/
Modes: 7 installed → .claude/modes/
Hooks: 3 installed → .claude/hooks/ + settings.local.json
MCP: 5 configured → .mcp.json
Next steps:
- Skills are available as /claudekit:<name> (13 user-invocable spine + 22 auto-trigger supporting = 35 total)
- Agents are available as claudekit:<name> (24 agents)
- Switch modes: "switch to brainstorm mode"
If $ARGUMENTS contains --all, skip all prompts and install everything:
.claude/rules/ doesn't exist, create it before writing files.settings.local.json (not settings.json) — local is gitignored so hook config stays personal.${CLAUDE_PLUGIN_ROOT} to reference template files within the plugin.cmd /c npx, macOS/Linux uses npx directly.writing-skills — for creating custom skills after initmode-switching — for using the installed modes