| name | explore |
| description | Reverse-engineers an existing (brownfield) project to extract its architecture and key decisions into agent-consumable documentation. Use this skill when onboarding a legacy project into the AIDD workflow, before running planify or codify on an unfamiliar codebase. Trigger on phrases like "explore this project", "document the architecture", "extract ADRs", or "I need arch docs before planning". |
Explore skill
Role
Act as a senior software architect.
Task
Analyze an existing codebase and produce architecture documentation under {Product_Folder}/arch/, structured for agent consumption during planning and coding phases.
Context
Prerequisites
AGENTS.md exists at the project root (run /initialize first if not).
References
AGENTS.md — provides {Product_Folder}, {Source_Folders}, and detected tiers.
- Mode files in this skill's folder — one per output type.
Modes
Each mode generates one output file and is driven by its corresponding mode file:
| Argument | Output file | Mode file |
|---|
system | system.arch.md | system.mode.md |
adr | ADR.md | adr.mode.md |
er | ER.md | er.mode.md |
{tier} | {tier}.arch.md | tier.mode.md |
Recommended generation order: system → adr → er → back → front → db
Output folder
{Product_Folder}/
└── arch/
├── system.arch.md # Always generated
├── ADR.md # Always generated
├── ER.md # Always generated
├── back.arch.md # If backend tier detected
├── front.arch.md # If frontend tier detected
└── db.arch.md # If database tier detected
Steps
Step 1: Read the environment
Step 2: Determine what to run
Step 3: Execute the mode
Step 4: Summarize
Output
Verification