improve-codebase-architecture
Scan a codebase for deepening opportunities, present them as a report, then grill through whichever one the user picks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scan a codebase for deepening opportunities, present them as a report, then grill through whichever one the user picks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Execute one bounded plan item or checklist slice with a worker, checks, review, and commit handoff. Use only when there is an explicit plan to work through in iterations.
Run an independent clean-context review for a refactor iteration, risky change, or pre-commit gate. Use when the user wants a skeptical second pass that sees only the iteration goal, diff, changed files, and test results, without implementation backstory.
Prepare a clean, scoped git commit from the current repo changes. Use when the user wants help analyzing what changed, grouping files into a coherent commit, generating a short commit message, and optionally performing the commit after approval.
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
| name | improve-codebase-architecture |
| description | Scan a codebase for deepening opportunities, present them as a report, then grill through whichever one the user picks. |
Surface architectural friction and propose deepening opportunities — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.
Use this skill when the user wants architecture review or refactor candidates. Prefer it for explicit architecture audits or refactor-candidate surveys.
Do not use it for:
Scope before scanning:
git log --oneline) to find the codebase's hot spots — the files and areas that keep coming up — and let those paths pull your attention first. If the changes are scattered with no clear hot spot, widen the net.Read CONTEXT.md and docs/adr/ only if they exist and are relevant.
Then inspect the chosen area and note:
Apply the deletion test to anything you suspect is shallow.
Present candidates as a report. Use HTML in the temp directory only when visuals will help. Otherwise return concise markdown.
For each candidate, render a card with:
Strong, Worth exploring, Speculative, rendered as a badgeEnd the report with a Top recommendation section: which candidate you'd tackle first and why.
If CONTEXT.md exists, use its domain terms. If ADRs exist, mention only real conflicts worth reopening.
Do NOT propose interfaces yet. After the report is ready, ask the user: "Which of these would you like to explore?"
Once the user picks a candidate, use grilling to walk the constraints and decisions.