一键导入
run-architecture-audit
Orchestrates an architecture audit: investigate the codebase and produce a structured assessment with findings and recommendations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orchestrates an architecture audit: investigate the codebase and produce a structured assessment with findings and recommendations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Publishes a clean normal feature or task branch and creates its pull request on explicit human request.
Instructions for writing good design plan artifacts. Use when specifically requested.
Instructions for writing good implementation plans artifacts. Use when specifically requested.
Instructions for executing implementation plans. Use when specifically requested.
Instructions for executing a task from an implementation plans. Use when specifically requested.
Instructions for investigating a codebase to answer a specific question.
| name | run-architecture-audit |
| description | Orchestrates an architecture audit: investigate the codebase and produce a structured assessment with findings and recommendations. |
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}/.
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.
Your prompt must include:
If not provided, ask before proceeding. Do not guess.
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 |
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.
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:
Report completion to the human with the project directory path and the audit artifact path.