/adev:documentfrom adev
Generates developer documentation in docs/ from repomap output, including architecture docs and per-module documentation. Supports selective regeneration and dry-run checks.
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.
None: SKILL.md is the whole skill.
Produce human-readable documentation in docs/ from .context-index/ artifacts.
--module <slug>: regenerate only docs/modules/<slug>.md
^[a-z0-9_-]+$ — exit 1 if invalid--check: compute what would change, output diff without writing--force: regenerate all sections unconditionally.context-index/hygiene/dependency-graph.json exists
.context-index/hygiene/symbol-ranks.json exists (symbol index).context-index/manifest.yaml exists
docs/ does not exist, create itEvery file uses two-zone layout:
[generated content — owned by /adev:document]
<!-- adev:generated -->
<!-- adev:human -->
[human content — owned by developer, never overwritten]
Rules:
| Condition | Action |
|---|---|
| Both markers present | Preserve content after <!-- adev:human -->, regenerate before |
Only <!-- adev:human --> | File is human-owned, do NOT overwrite |
Only <!-- adev:generated --> | Regenerate entire file |
| Neither marker | Write fresh with both markers |
| File | Required | Purpose |
|---|---|---|
dependency-graph.json | Yes | Module dependency edges |
symbol-ranks.json | Yes | Exported symbols ranked by reference |
manifest.yaml | Yes | Module list, project metadata |
constitution.md | Optional | Project principles |
platform-context.yaml | Optional | Runtime environment |
Load Skill Extensions: Load any skill extension instructions before proceeding:
adev skill-ext load --skill document
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.
Markdown table with:
| Column | Source |
|---|---|
| Module | Module name from manifest.yaml |
| Purpose | "Business Intent" from charter |
| Key Exports | Top 3 symbols from symbol-ranks |
| Inbound | Count from dependency-graph |
| Outbound | Count from dependency-graph |
Prose paragraph summarizing dependency topology:
From dependency-graph.json, identify files with zero inbound edges (no other files depend on them). These are entry points — leaf nodes in the dependency graph.
Find .context-index/adrs/*.md (excluding .template.md), extract status, produce markdown links.
# Architecture
> Generated by adev:document on <timestamp>.
## Module Map
<table>
## Dependency Flow
<paragraph>
## Entry Points
<list>
## Architecture Decision Records
<links>
<!-- adev:generated -->
<!-- adev:human -->
.context-index/specs/features/<slug>/# Module: <name>
> Generated by adev:document on YYYY-MM-DD.
## Purpose
<charter Business Intent or inferred>
## Key Exports
| Symbol | Kind | Location | Score |
|--------|------|----------|-------|
## Dependencies
**Inbound:** Module A, Module B
**Outbound:** Module C
## Related Specs
- [charter.md](.context-index/specs/features/<slug>/charter.md)
<!-- adev:generated -->
<!-- adev:human -->
Manifest of all generated doc files:
docs/GENERATED.md if it exists
git rev-parse --short HEAD for 7-character short SHA# Generated Documentation Manifest
> Managed by adev:document.
| File | Generated Sections | Last Commit | Last Run |
|------|--------------------|-------------|-----------|
| docs/architecture.md | Module Map \| Dependency Flow | abc1234 | 2026-03-23 |
Documentation generated:
docs/architecture.md — module map, dependency flow, entry points, ADRs
docs/modules/<slug>.md — per-module purpose, exports, dependencies, specs
docs/GENERATED.md — manifest of all generated doc files
Run /adev:document --check to preview changes.
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