/adev:initfrom adev
Interactive wizard to initialize or diagnose the .context-index/ directory for the Agentic Development Framework. Supports greenfield, --brownfield, --dry-run, and --workspace modes.
Ships in adev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Interactive setup wizard for the Agentic Development Framework. Walks through each context layer one at a time, explains what it does, and lets the user opt in or skip.
--brownfield: adds reverse-chartering, ADR archaeology, and coverage analysis--dry-run: shows what would be created without writing any files--workspace: initialize a workspace root that aggregates multiple child repos under one adev-workspace.yamlLoad Skill Extensions: Load any skill extension instructions before proceeding:
adev skill-ext load --skill init
If the output is not __NONE__, incorporate it as additional standing instructions that apply to this skill's entire execution. Frame it as: "The following skill extension instructions apply to this invocation (source: installed domain extensions and/or project-level overrides)." If the output is __NONE__, continue normally.
The full first-run vs diagnostic decision tree and every Step 7/8 sub-step it drives.
Conditional loading: Read
<ADEV_ROOT>/skills/init/references/behavior-by-project-state.mdfor the full instructions. Do not act on this section from the summary above.
--workspace)Applies only with --workspace: scaffolds a multi-repo workspace root.
Conditional loading: Read
<ADEV_ROOT>/skills/init/references/workspace-mode.mdfor the full instructions. Do not act on this section from the summary above.
--brownfield)Applies only with --brownfield: initializes over an existing codebase.
Conditional loading: Read
<ADEV_ROOT>/skills/init/references/brownfield-mode.mdfor the full instructions. Do not act on this section from the summary above.
--dry-run)Shows what would be created without writing anything. Runs the full analysis (tech stack detection, directory scanning, git history if brownfield) but only prints the summary:
/adev:init --dry-run
Would create:
.context-index/constitution.md (~85 lines)
.context-index/manifest.yaml (2 sync targets)
.context-index/platform-context.yaml (Next.js 16, Prisma, Clerk)
.context-index/orientation/architecture.md
.context-index/specs/product.md
Would sync to:
CLAUDE.md (new file)
AGENTS.md (would merge with existing 120-line file)
Would modify:
.gitignore (add .context-index/hygiene/)
Run /adev:init to proceed.
After all context files are created, ask the user if they want project-specific output overrides. Both axes are asked together — verbosity has no other interactive adoption surface in adev, so skipping it here leaves it at its per-persona default forever.
Would you like to set a project-specific output persona? (product/developer/architect/skip)
This creates .context-index/user-config with your persona preference for this project.
Your global default will be used if you skip.
If the user selects a persona (product, developer, or architect), follow up with the verbosity question:
How much detail should adev put in chat? (terse/normal/deep/default)
terse — 1-3 sentence responses; artifacts summarized in one line and linked
normal — standard depth
deep — full reasoning and intermediate steps
default — use the persona's default (product=terse, developer=normal, architect=normal)
Then write .context-index/user-config:
# Project-specific adev user config
persona=<selected>
verbosity=<selected>
Omit the verbosity= line entirely if the user chose default — an absent key resolves to the per-persona default, whereas an invalid value is discarded with a warning.
If the user enters skip or presses enter without a value at the persona prompt, do not create the file and do not ask about verbosity.
Ensure .context-index/user-config is listed in the project's .gitignore (the CLI already handles this during installation, but verify it is present).
The CLI installer ships a git post-commit hook (.githooks/post-commit) that auto-generates one session summary file per commit at .context-index/sessions/<date>-<shortSHA>.md. These files contain commit metadata + subject/body and are consumed by /adev:retro (via the ## Session Activity section in Step 1.8 — see skills/retro/SKILL.md), /adev:hygiene, and audit skills. /adev:retro reads both post-commit-mode files (this hook) and hook-mode files (hook-driven-capture) within the analysis window and renders tool-use distribution, per-spec session counts, token/cost trends, sessions ↔ closed-issues cross-reference, and frame-anchored Context Gaps.
The installer's .gitignore block intentionally does not include .context-index/sessions/ — the convention is tracked content, batch-committed under chore(sessions): record YYYY-MM-DD transcripts messages. If the project prefers to keep them local-only, add .context-index/sessions/ to .gitignore. Surface this choice to the user during init when relevant. Full reference: docs/hooks.md > Git Hooks > post-commit.
Context Index initialized at .context-index/
Your constitution has been synced to CLAUDE.md. Every AI agent
that works on this project will now follow your rules.
Next steps:
- Review your constitution: .context-index/constitution.md
- Charter your first feature: /adev:brainstorm
- Or specify existing work: /adev:specify
The constitution linter hook is active — it will validate
your constitution whenever you edit it.
The interactive picker that selects installed domain extensions.
Conditional loading: Read
<ADEV_ROOT>/skills/init/references/domain-extension-picker.mdfor the full instructions. Do not act on this section from the summary above.
When the project uses more than one AI assistant, manifest.yaml decides which
agent files /adev:sync generates. adev install scaffolds a sensible default
for a fresh project and then stops — choosing between targets on an existing
manifest is context-layer configuration and belongs here.
If the project has multiple providers configured, offer:
CLAUDE.md and AGENTS.md (default)CLAUDE.md onlyAGENTS.md onlyWrite the choice to sync.targets in .context-index/manifest.yaml, then run
/adev:sync so the agent files match. Skip this step entirely for
single-provider projects — there is nothing to choose.
Provenance adds Author-type and Operator trailers to every commit, and the
CI gate rejects commits missing them on PRs. It is off unless manifest.yaml
carries a provenance: block.
adev upgrade reports when a version makes this available, but no longer
writes the block — it is project policy, not an install step. Offer it here:
Enable provenance enforcement? It stamps every commit with Author-type and Operator trailers, and CI will reject commits that lack them.
On yes, add to .context-index/manifest.yaml:
provenance:
require_hooks: true
required_trailers:
- Author-type
- Operator
On no, say that it can be added later under provenance: in the manifest.
Enabling it in a repo whose history predates the hooks only affects new
commits — it does not retroactively invalidate anything.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub agentic-development/adev-plugin --plugin adev31 skills in this plugin
/assessadev:assessAssess codebase readiness for agentic development. Scans the codebase using static file inspection and outputs maturity scores across 8 structural dimensions (raw mode) or 11 dimensions (adev mode). Use when you want to evaluate how well-suited a codebase is for AI-assisted development, identify improvement areas, or track progress over time./brainstormadev:brainstormExplore a feature idea interactively and produce a Feature Charter. Validates against constitution and existing charters. Use before building any new feature or module, when the user mentions a new capability, or says 'let us build X'./Other plugins' skills for the same job