From skills-by-amrit
Use when completing tasks, implementing features, before merging, or when asked to review code. Systematic review process covering correctness, security, performance, and maintainability.
npx claudepluginhub boparaiamrit/skills-by-amritThis skill uses the workspace's default tool permissions.
Catch issues before they cascade. Every change gets reviewed systematically before it ships.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Reviews prose for communication issues impeding comprehension, outputs minimal fixes in a three-column table per Microsoft Writing Style Guide. Useful for 'review prose' or 'improve prose' requests.
Catch issues before they cascade. Every change gets reviewed systematically before it ships.
Core principle: Review early, review often. Fresh eyes find what familiar ones miss.
NO MERGE WITHOUT REVIEW. NO REVIEW WITHOUT EVIDENCE.
Mandatory:
Optional but valuable:
dependency-auditYOU CANNOT:
- Say "code looks good" — review every changed file, every function
- Say "logic is correct" — trace execution with edge case inputs (null, empty, max, negative)
- Say "tests are sufficient" — verify error paths are tested, not just happy paths
- Say "security is fine" — check for injection, auth bypass, data exposure explicitly
- Say "performance is acceptable" — check for N+1 queries, unbounded loops, missing pagination
- Skip unchanged files in the diff — context matters (does the change break callers?)
- Rubber-stamp small PRs — small bugs in small PRs cause large outages
- Review only the code, not the tests — tests ARE deliverables
| Rationalization | Reality |
|---|---|
| "It's just a small change" | Small changes cause most production incidents. Review it. |
| "The tests pass" | Tests can't catch what they don't test. Check coverage. |
| "I trust this developer" | Trust is not a review strategy. Evidence is. |
| "We're in a hurry" | Shipping a bug is slower than reviewing code. |
| "It's the same pattern as before" | Same pattern ≠ correct pattern. Maybe the pattern is wrong. |
| "LGTM" | Not a review. Name one thing you verified. |
1. If I give this function null, undefined, empty string, or -1, does it handle it?
2. If this endpoint receives 10,000 concurrent requests, what happens?
3. If the database is down when this runs, what error does the user see?
4. Can user A access user B's data through this change?
5. Is there any hardcoded value here that should be configurable?
6. If I revert this commit alone, does the codebase still work?
7. Are there any race conditions in this async code?
8. Does this change require a documentation update that's missing?
9. Could a junior developer understand this code in 6 months?
10. What's the blast radius if this code is wrong?
1. READ the PR/change description
2. READ the related design doc or issue
3. UNDERSTAND what it's supposed to do
4. UNDERSTAND what it should NOT do
5. CHECK the scope — is the change appropriately sized?
1. Does the architecture make sense?
2. Is the approach consistent with existing patterns?
3. Are there simpler alternatives?
4. Is the scope appropriate? (too much? too little?)
5. Are there missing files? (new feature but no tests? no docs?)
Go through each file change and check:
## Code Review: [Feature/PR Name]
### Summary
[1-2 sentences: overall assessment]
### Strengths
- [What was done well — always include this]
### Findings
#### 🔴 Critical
- **[Issue]:** [Description with file:line reference]
- **Impact:** [What goes wrong]
- **Fix:** [Specific recommendation with code example]
#### 🟠 High
- **[Issue]:** [Description]
- **Impact:** [What goes wrong]
- **Fix:** [Recommendation]
#### 🟡 Medium
- **[Issue]:** [Description]
- **Fix:** [Recommendation]
#### 🟢 Low
- **[Issue]:** [Description]
- **Fix:** [Recommendation]
### Statistics
- Files reviewed: N
- Findings: N Critical, N High, N Medium, N Low
- Test coverage: Adequate / Insufficient / Missing
### Verdict
[APPROVE / REQUEST CHANGES / NEEDS DISCUSSION]
When YOU receive review feedback:
1. READ all feedback before responding
2. FIX Critical and High issues immediately
3. RESPOND to each point (agree, disagree with reasoning, or ask for clarification)
4. DON'T take it personally — reviews improve the code
5. PUSH BACK with technical reasoning if you disagree
6. VERIFY your fixes with evidence
executing-plans completes a taskgit-workflow merge operationsverification-before-completionsecurity-audit for deep security reviewperformance-audit for deep performance review