- Home
- Skills
- Code Quality & Review
- Code Review Depth Pack — Severity + Fix Plan
Code Review Depth Pack — Severity + Fix Plan
Code Review Depth Pack turns a supplied diff or PR into a structured, severity-rated review: correctness, security, performance, reliability, tests, and maintainability.
$8
Works with the AI tools you already use
Code Review Depth Pack — Severity + Fix Plan
Example session with this skill installed
intent: Add password reset token endpoint
diff_or_files: |
- router.post('/reset', (req, res) => {
- const token = crypto.randomBytes(20).toString('hex');
- db.query(
UPDATE users SET token = '${token}' WHERE email = '${req.body.email}'); - sendEmail(req.body.email, token);
- res.status(200).send('Sent');
- });
language_stack: Node, Express, Postgres
risk_context: Auth and user data
- Read your context and instructions
- Compiled the code review depth
Code review: Add password reset token endpoint
Intent: Add password reset token endpoint
Scope: Express router snippet
Stack: Node, Express, Postgres
Risk context: Auth and user data
Base: Not stated
Generated: 2023-10-27 · Draft for human verification
1. Executive readout
- Merge recommendation: hold
- Blockers (critical/high): 2 — SQL Injection and lack of token expiration.
- Notable mediums: 1 — Potential for email enumeration.
- Confidence in this review: high
- Biggest unknown: Token expiration logic and database schema details.
2. Change map
| Area / file | What appears to change | Notes |
|---|---|---|
router.post | New /reset endpoint | Handles token generation and DB update |
3. Findings
Critical
| ID | Location | Issue | Evidence | Suggested fix / verify | Confidence |
|---|---|---|---|---|---|
| C1 | db.query | SQL Injection | WHERE email = '${req.body.email}' | Use parameterized queries: WHERE email = $1 | High |
High
| ID | Location | Issue | Evidence | Suggested fix / verify | Confidence |
|---|---|---|---|---|---|
| H1 | UPDATE users | No Token Expiry | Token is set without a expires_at timestamp | Add a timestamp column and check it during reset | High |
Medium
| ID | Location | Issue | Evidence | Suggested fix / verify | Confidence |
|---|---|---|---|---|---|
| M1 | res.send | Email Enumeration | Success response sent regardless of user existence | Return a generic message for all inputs | Medium |
4. Lens summary
| Lens | Status | Top note |
|---|---|---|
| Correctness | mixed | Lacks check if user actually exists |
| Security | risk | Critical SQL injection vulnerability |
| Performance | clear | Single query operation |
| Reliability | risk | No error handling for db.query or sendEmail |
| Tests & observability | not assessed | No tests provided |
| Maintainability | clear | Logic is simple but unsafe |
6. Merge checklist
- Critical/high findings addressed (SQL Injection fix required)
- Secrets not committed
- New behaviour has meaningful checks
- Error paths for external calls handled
- Human reviewer sign-off for Auth changes
Next steps
- Refactor the database query to use placeholders to prevent SQL injection.
- Implement a
token_expiryfield in the database to prevent permanent reset links. - Wrap the database and email operations in a try/catch block for better reliability.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Code Review Depth Pack turns a supplied diff or PR into a structured, severity-rated review: correctness, security, performance, reliability, tests, and maintainability. You get evidence-tied findings, suggested fixes, test gaps, and a merge checklist—without fake CVE scores, invented auto-fixes, or “guaranteed safe to merge” claims. Built for developers and small teams who want a sharper first-pass review than a generic chat prompt. Human verification required.
Built by Cygnix Labs · info@cygnixlabs.com · cygnixlabs.com
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- Passed all security checks, Safe to install