| name | run-architecture-audit |
| description | Orchestrates an architecture audit: investigate the codebase and produce a structured assessment with findings and recommendations. |
Run Architecture Audit Skill
Coordinate an architecture audit: investigate the existing codebase and synthesize findings into a
structured assessment with problem areas and recommendations. All artifacts are stored under
.artifacts/{YYYYMMDD}--{JIRA-ID}--{project-name}/.
When to use
Use this skill when a human wants a structured assessment of a codebase's architecture —
identifying problem areas, technical debt, and improvement opportunities — without committing
to implementing any specific change.
This is a standalone skill triggered directly by humans. It does not produce a plan or write
code. If the audit surfaces specific work to do, follow up with run-feature or
run-bug-fix for those items.
Do not confuse with run-bug-fix (targeted fix for a known bug) or run-feature
(building a feature). Use this skill when the goal is understanding rather than changing.
Prerequisites
Your prompt must include:
- Scope of the audit (e.g. "the authentication subsystem", "the entire backend", "the data layer")
- Any specific concerns or questions to address
If not provided, ask before proceeding. Do not guess.
Project directory
Derive {project-name} from the audit scope, prefixed with audit-
(e.g. audit-auth-subsystem), five words or fewer. Extract {JIRA-ID} by matching [A-Z]+-[0-9]+
against the current branch name (e.g. FUS-123); if the branch contains NO-TICKET, or no ticket
pattern is found, omit the {JIRA-ID} segment entirely — do not write the literal text NO-TICKET
into the path. Create .artifacts/{YYYYMMDD}--{JIRA-ID}--{project-name}/. All artifacts for this
project are stored there.
| Artifact | Description |
|---|
architecture-audit.md | Structured assessment with findings and recommendations |
Process
1. Investigate
Dispatch one or more engineer-investigator subagents with the investigate-codebase skill. Derive
targeted questions from the audit scope and any specific concerns provided. Multiple investigators may run
in parallel for different subsystems or concerns.
Synthesize all findings before proceeding to the assessment.
2. Assess
Dispatch an architect-planner subagent to produce architecture-audit.md from the investigation
findings. Read .agents/artifacts/architecture-audit/description.md for the canonical section
definitions, and render .agents/artifacts/architecture-audit/template.md.j2 to produce the initial
file. Replace all dummy content — every line drawn from the retro encabulator — with real content for
this audit. The rendered file must contain no placeholder text when submitted.
STOP — end your turn here.
Present the audit to the human. Discuss findings and recommendations. If the human requests
deeper investigation into a specific area, dispatch another engineer-investigator and update the audit.
Before ending your turn, verify every item in this checklist:
3. Report
Report completion to the human with the project directory path and the audit artifact path.