critical-review
Review code for correctness risks, maintainability, security, and lifecycle issues with severity-tagged findings.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review code for correctness risks, maintainability, security, and lifecycle issues with severity-tagged findings.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Applies project TypeScript conventions and library-grade module boundaries. Use when writing or editing .ts/.tsx files, designing exported APIs or cross-layer contracts, creating reusable modules, or refactoring dependencies between features, packages, services, and adapters.
Analyze project vulnerabilities with pnpm audit and resolve them automatically when a fix version is available; report unfixable deep dependency issues.
Plan and (only after user confirmation) delete remote and matching local git branches whose PR is already merged or closed (not merged) and that have no remaining commits or file changes. Use when the user asks to clean up, prune, or delete merged/closed branches (브랜치 정리, cleanup branches, delete merged branches).
Remove safe git worktrees that have no uncommitted changes and no commits missing from a pull request. Use when the user asks to clean up, prune, or remove worktrees (워크트리 정리, worktree cleanup).
Applies project conventions for Solid.js components, custom hooks, reactivity, and styling. Use when writing or editing Solid.js .tsx/.ts files.
Write and refine Korean text in developer contexts — code comments, AIDEV-NOTE anchors, commit messages, PR descriptions, review replies, design docs, memory notes — so it reads as natural, grammatical Korean a native engineer would write, not as awkward literal translation, broken word order, or forced metaphor. Use whenever producing Korean prose for engineering work, and especially self-review Korean output before finalizing.
| name | critical-review |
| description | Review code for correctness risks, maintainability, security, and lifecycle issues with severity-tagged findings. |
| disable-model-invocation | true |
Review target code against enterprise-grade expectations (correctness, maintainability, scalability, separation of concerns, robust error handling, consistent patterns). When relevant, apply the same bar to security, accessibility, and performance.
Be ambitious about structural simplification.
A code file you modify or create must not exceed 600 lines.
.json files; .json, .svg, and similar non-code assets are exempt from line limits.Identify code type in scope, find matching .agents/skills/, and read them before any findings.
createEffect/onMount + onCleanup; subscriptions, timers, listeners, AbortController). Solid: see solidjs — cleanup via onCleanup, not a returned function from createEffect.Use this structure every time. Number findings (1, 2, 3, …) so follow-ups can reference them (e.g. “fix 2 and 5”).
Prioritize fix guidance over exposition. Keep Risk/Evidence short; spend depth on how to improve the code.
2–3 sentences: scope reviewed, overall risk, whether any P0 exists. If no P0/P1 findings, say so explicitly.
One block per issue, in severity order (P0 before P1). Repeat for each numbered item:
AGENTS.md comment style when the snippet is production-shaped (JSDoc = contract; // = why at the decision point)Brief bullets only for material issues in unrelated code noticed in passing — no deep review there.