/adev:repomapfrom adev
Generates an AST-based symbol index of the repository, extracting exported functions, classes, types, and interfaces ranked by reference count. Used for drift detection and codebase mapping.
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 a symbol-level index of the codebase for drift detection and maintenance. The repo map is consumed by /adev:hygiene, /adev:codehealth, /adev:route, /adev:validate, /adev:implement, and /adev:recover. It is NOT direct agent context (agents use agentic search via Glob/Grep/Read, not pre-computed indexes).
This skill is a thin driver over the existing lib/repomap/ pipeline (tree-sitter AST parsing + PageRank ranking, described in .context-index/specs/features/tree-sitter-repomap/charter.md). It never parses source itself.
--mode <tree-sitter|regex>: force a specific parser mode instead of auto-detectingLoad any skill extension instructions before proceeding:
adev skill-ext load --skill repomap
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.
adev repomap check-deps
Exit 0 means web-tree-sitter is installed and tree-sitter-mode parsing (AST-accurate symbols, dependency-graph.json, symbol-ranks.json) is available. Exit 1 means it is not installed — generation will fall back to regex mode automatically, which produces repo-map.md only (no JSON artifacts; this is the charter's documented regex-mode invariant, not a failure).
Do not attempt to install web-tree-sitter yourself. Report the mode this run will use and continue.
adev repomap generate --format json
To force a mode instead of auto-detecting (e.g. to compare both, or when Step 2 reported tree-sitter available but a fresh regex baseline is wanted):
adev repomap generate --mode tree-sitter --format json
adev repomap generate --mode regex --format json
This wraps lib/repomap/index.mjs's run(root, mode) — the same orchestrator exercised by tests/repomap/ (parse → build dependency graph → PageRank → write outputs). It writes, relative to the project root:
.context-index/hygiene/repo-map.md — human-readable summary (always written).context-index/hygiene/dependency-graph.json — file nodes + import edges (tree-sitter mode only).context-index/hygiene/symbol-ranks.json — PageRank-scored symbols (tree-sitter mode only)All three share the same Generated timestamp and Commit hash, which downstream skills use as staleness markers.
Stdout is a single JSON object:
{
"mode": "tree-sitter",
"artifacts": ["repo-map.md", "dependency-graph.json", "symbol-ranks.json"],
"files": 142,
"edges": 231,
"symbols": 387,
"topSymbol": { "name": "db", "score": 0.0421 }
}
files/edges/symbols/topSymbol are null in regex mode (no JSON artifacts to derive them from — read repo-map.md directly for the regex-mode symbol listing).
If the command exits non-zero, report the stderr message and stop — do not hand-write the artifacts as a fallback. --mode tree-sitter explicitly requested but unavailable is the one argument-error case (exit 1); re-run without --mode to get regex mode instead.
Summarize the JSON from Step 3 to the user, for example:
Repository map generated (tree-sitter mode).
Files: 142
Symbols: 387
Top symbol: db (score 0.0421)
Artifacts written to .context-index/hygiene/:
- repo-map.md
- dependency-graph.json
- symbol-ranks.json
The repo map is used by /adev:hygiene for drift detection and by
/adev:codehealth for dead-export and orphan-file analysis (tree-sitter
mode only — regex mode produces repo-map.md alone).
Run /adev:hygiene --check drift to compare against your orientation doc.
What SKILL.md sets; muted values are Claude Code's defaults
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