원클릭으로
architecture-improvement
Find deepening opportunities and boundary fixes using domain language.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Find deepening opportunities and boundary fixes using domain language.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Code review and cleanup across reuse, quality, and efficiency dimensions. Launches three parallel review agents against the current diff, then aggregates findings and applies fixes.
Red-team the agent's own output against OWASP Top 10 for LLM Applications and Agentic AI. Self-inject, test boundaries, check exfiltration paths. If you can't attack your own output, someone else will.
Mandatory verification of every factual claim before emission. API contracts, dependency versions, file existence, behavior promises — claims about code are hypotheses until verified against the actual source. Based on Dhuliawala et al. (Meta FAIR, ACL 2024).
Disciplined 6-step diagnosis loop with strict evidence gates between stages. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Cannot advance without the required artifact per step.
Split the workflow into Evaluator and Optimizer personas. Evaluator scores output 1–10 on correctness, completeness, safety, and simplicity. Optimizer rewrites to address critiques. Loop until score ≥9 or 3 iterations. Self-improvement without measurement is guessing.
Detect fail-open security patterns: debug mode in production, permissive CORS, disabled CSRF, default admin credentials, verbose error messages, unauthenticated health endpoints. Configuration is code — review it with the same rigor.
| name | architecture-improvement |
| description | Find deepening opportunities and boundary fixes using domain language. |
CONTEXT.md when names no longer match structure.Related: /domain-context for glossary; /zoom-out for orientation; /plan-eng-review before big changes.
Do not use this skill for greenfield repos with <10 files or when user wants a full rewrite without incremental plan.
CONTEXT.md in proposed module names.CONTEXT.md, docs/adr/, top-level folder layout./zoom-out on the smelliest directory if unfamiliar.Return a markdown report with these exact sections:
packages/pricing from apps/web/lib/pricing.ts — 4 duplicated call sitesOrderRepository boundary — SQL currently in route handlersMove discount pure functions to packages/pricing with unit tests; no route changes.