원클릭으로
code-review-excellence
Use when conducting code reviews or establishing review standards. Not for requesting or receiving review.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when conducting code reviews or establishing review standards. Not for requesting or receiving review.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when implementing real-time DSP algorithms, audio thread architecture, or offline spectral analysis in C++/Rust. Covers filters, STFT pipelines, lock-free concurrency, and RT safety. Not for JUCE plugin lifecycle wiring or ffmpeg.
Use for real-time audio code safety, determinism, and numeric hygiene. Required foundation for DSP, audio analysis, audio systems, and JUCE work. Not for game-audio middleware or ffmpeg/video tasks.
Use when programmatically processing video/audio with libffmpeg C API. Not for command-line ffmpeg operations.
Use for JUCE audio apps/plugins: AudioProcessor lifecycle, VST3/AU targets, parameter systems, and thread separation. Requires audio-engineering-principles. Not for game-audio middleware or non-JUCE frameworks.
Use when writing, reviewing, or refactoring C++ code — covers workflow, essential patterns, and pre-commit checklist for modern C++17/20.
Use when writing or fixing C++ tests, configuring GoogleTest/CTest, or adding coverage/sanitizers.
| name | code-review-excellence |
| description | Use when conducting code reviews or establishing review standards. Not for requesting or receiving review. |
Review in this order — coarse to fine. Stop escalating depth once you've found enough blocking issues.
Work through each changed file. Check in this order:
| Category | Specific checks |
|---|---|
| Correctness | Off-by-one errors, null/nil dereference, unchecked return values |
| Error handling | Every error path handled or explicitly ignored with a comment |
| Concurrency | Shared state accessed without synchronization, race conditions |
| Security | Unvalidated input, SQL interpolation, hardcoded secrets, missing authz checks |
| Performance | N+1 queries, O(n²) loops over large sets, blocking calls in hot paths |
| Maintainability | Magic numbers, unexplained complex logic, functions doing >1 thing |
Choose one and state it clearly:
Label every comment by severity so authors can triage:
| Label | Meaning |
|---|---|
[blocking] | Must fix before merge |
[important] | Strong recommendation; discuss if you disagree |
[nit] | Style/clarity; not blocking |
[question] | Seeking understanding, not requesting a change |
[praise] | Explicitly noting good work |
Format each comment:
Post a top-level summary when leaving >3 comments. Include: what you reviewed, what worked well, what must change before merge.
Resolve disagreements by escalating to data or a third party, not by repeating the same point. If it's non-critical and working, approve it.
❌ Vague:
This is insecure.
✅ Actionable:
[blocking] This query interpolates `userId` directly into the SQL string,
which allows SQL injection. Use a parameterized query instead:
db.query('SELECT * FROM users WHERE id = ?', [userId])
Any unsanitized user input hitting the DB is a P0.
❌ Commanding:
Extract this into a service class.
✅ Collaborative:
[nit] `calculateTotal()` currently handles tax, discounts, and DB writes.
If we ever need to unit test the tax logic in isolation, that mix will be
painful. Would it make sense to split the pure calculation out? Happy to
pair on it if useful — not blocking this PR.
[nit] comments as required changes. Use Request Changes only for actual blockers.