/claude-kit:ckit-command-init [target-dir] [--defaults] [--force]from Claude Kit SDLC
Scaffolds claude-kit SDLC configuration (CLAUDE.md, rules, agents, skills, hooks) into a project. Requires the Python CLI; detects it or guides installation.
Ships in Claude Kit SDLC. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Install the claude-kit autonomous-SDLC configuration into the current project.
The Python CLI is required. It resolves the stack/profile/MCP catalog, installs overlay rules +
agents, assembles settings.json, and records init-options.json for safe upgrades
(claude-kit upgrade / diff). First detect whether it is on PATH (three entry points ship):
command -v claude-kit >/dev/null 2>&1 && echo "CKIT_CLI=claude-kit" \
|| { command -v ckit >/dev/null 2>&1 && echo "CKIT_CLI=ckit" \
|| { command -v claude-sdlc >/dev/null 2>&1 && echo "CKIT_CLI=claude-sdlc" \
|| echo "CKIT_CLI_MISSING"; }; }
If the output is CKIT_CLI_MISSING, offer to install it — never scaffold without it. The CLI
is not installed under any of its names. When an installer is available on PATH (pipx, else
pip/pip3), ask ONE AskUserQuestion with the install option first:
pipx install claude-code-kit
(fall back to pip install claude-code-kit when pipx is absent), then re-run the detection
block above and proceed only if a CLI name now resolves./claude-kit:init. Do not silently fall back to a partial install.Never ask when the CLI is already present, and never ask when no installer exists on PATH (nothing to offer — go straight to the stop-with-instructions):
pipx install claude-code-kitpip install claude-code-kitYou have no TTY — never run the CLI's interactive flow. Your shell tool is not a terminal:
every prompt the CLI would show silently falls back to its default instead of asking. Running bare
init would install the default stack (React + FastAPI + PostgreSQL, standard profile) without the
user ever choosing. Pick the path that matches what the user gave you:
The user passed --defaults and/or --config <file>, or explicitly asked for defaults — run
the detected CLI's init subcommand with the arguments the user passed to this command:
$ARGUMENTS
Otherwise — interview the user yourself, then run non-interactively. Ask the ordered questions in chat (AskUserQuestion where available; every question has a default the user can accept):
lean · standard default · enterprise)claude-kit list-options)off default · session-end-catchup recommended · session-end ·
per-task) — capture is opt-in: tell the user the background job reads session
transcripts + changed files before they choose, that CLAUDE_KIT_NO_AUTOCAPTURE=1 disables
it at runtime, and that claude-kit privacy-report audits what got installed. Only record a
non-off mode when the user explicitly picks one.individual · team default · organization; organization adds teams,
autonomy level, review strictness, and org packs)Then write the answers to a temp YAML (nested form below), run
<CLI> init <target-dir> --config <temp-file>, and delete the temp file afterwards:
frontend: { framework: react, language: typescript }
backend: { language: python, framework: fastapi }
database: postgres
profile: standard
mcp: [] # e.g. [github, playwright]
capture_mode: "off" # or the mode the user explicitly chose (keep it quoted)
scope: team
Argument safety (important). Pass user-supplied arguments to the CLI as ordinary, separate
command-line arguments, exactly as the user gave them — do not interpolate them into a shell
command string. If any single argument contains spaces or shell metacharacters ($, `, ;,
|, &, >, (, quotes, …), quote that one argument so the shell treats it as literal text. This
prevents word-splitting, globbing, and command injection from the raw argument text. For example, if
the detected CLI was claude-kit and the user passed /path/to/proj --defaults, run
claude-kit init /path/to/proj --defaults.
No shell-write fallback. As of 0.83.0, project installation always goes through the Python CLI's
path-containment checks, strict staging validation, and rollback transaction. scripts/init.sh is a
compatibility dispatcher only: it invokes claude-kit init/ckit init when installed and otherwise
exits non-zero after printing pipx install claude-code-kit. Do not copy the payload with shell
cp/rm commands and do not treat CLAUDE_KIT_BASIC as a bypass. If the CLI cannot be installed,
STOP and report that no project files were changed.
After it completes:
CLAUDE.md, .claude/{rules, agents, skills, hooks, templates},
.claude/config/, and optional .mcp.json — with counts.CLAUDE.md / settings.json / .mcp.json already existed, the installer wrote a
.claude-kit sidecar instead of overwriting. Point these out and offer to merge them (or suggest
re-running with --force)./sdlc <your first task> (or /claude-kit:sdlc from the plugin).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ajyadav013/claude-kit --plugin claude-kit127 skills in this plugin
/accessibility-reviewUI accessibility (WCAG) review — keyboard operability, focus, ARIA semantics, color contrast, touch targets. Returns prioritized fixes. Distinct from performance/visual review./alembic-migrationsAlembic migration setup and patterns for async SQLAlchemy — async engine + run_sync in env.py, autogenerate, RLS/multi-tenant migrations. Use for alembic init, writing migrations, or debugging migration errors./anthropic-vertex-integrationClaude on Vertex AI via the AnthropicVertex SDK — lazy ADC client init, env-based project/region resolution, async helpers, backoff retry. Use when calling Claude via GCP Vertex AI (not direct Anthropic API)./api-and-interface-designStable API and interface design patterns. Use when designing REST/GraphQL endpoints, module boundaries, type contracts between modules or frontend/backend, or changing public interfaces./api-integrationWire the app to a backend API — data fetching, caching, error handling, loading states. Use when connecting to an endpoint, adding a fetch layer, or fixing API error and loading behaviour. React-query detail lives in tanstack-react-query-patterns./api-pagination-filtering-sortingHTTP query parameter conventions for pagination, filtering, sorting, and search with standardized response metadata. Use when designing list endpoints or building repositories that turn query params into SQL.Other plugins' skills for the same job