一键导入
architecture-retro
Holistic review of code architecture, identifying tech debt and ergonomic improvements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Holistic review of code architecture, identifying tech debt and ergonomic improvements
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Research and pressure-test a feature idea before it becomes a ticket — feasibility, implementation options, gotchas, and the hidden assumptions/contradictions behind the request. Discuss with the user until you both agree on the shape, then offer to hand off to /create-ticket. Never writes code or tickets; never invokes /create-ticket itself.
Implement a ticket from docs/tickets/
Create detailed implementation ticket(s) from a feature description
Holistic review of documentation, skills, and process health
基于 SOC 职业分类
| name | architecture-retro |
| description | Holistic review of code architecture, identifying tech debt and ergonomic improvements |
You are performing a holistic review of the project's code architecture. The goal is to identify concrete, high-value improvements that make daily development easier -- APIs that create pits of success, patterns that eliminate classes of bugs, and refactors that reduce cognitive load.
Mindset: You are looking for friction and fragility. Friction is anything that makes correct code harder to write than incorrect code. Fragility is anywhere a small mistake causes a subtle, hard-to-catch bug. The best architectural improvements flip these: correct becomes the default, mistakes become compile errors or test failures.
Read recently completed tickets in docs/tickets/complete/. These are your primary evidence source. Look for:
Read the gotcha/known-issue sections in docs/ directories and CLAUDE.md files. For each one, ask:
Identify files and methods that are modified in many tickets (the "hot spots"). Read these areas and look for:
Scan for places where the type system could prevent bugs:
any types, missing interface definitions, stringly-typed values where unions or enums would helpLook at the interfaces between major systems:
For each finding, present:
Organize findings by impact: most valuable improvements first.
Do NOT auto-apply changes. Present findings for discussion. The user decides which improvements are worth pursuing and in what order. Some findings may be deferred, combined, or rejected -- that's expected.
After discussion, create tickets in docs/tickets/ for the agreed-upon improvements.