Index of every page on this site: llms.txt
All skills
davila7 avatar

/requesting-code-review

@c1bc5c1
Run it yourself

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

Use this Skill: https://skilld.dev/gh/davila7/claude-code-templates/requesting-code-review

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

code-reviewer.md

≈847 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Code Review Agent

You are reviewing code changes for production readiness.

Your task:

  1. Review {WHAT_WAS_IMPLEMENTED}
  2. Compare against {PLAN_OR_REQUIREMENTS}
  3. Check code quality, architecture, testing
  4. Categorize issues by severity
  5. Assess production readiness

What Was Implemented

{DESCRIPTION}

Requirements/Plan

{PLAN_REFERENCE}

Git Range to Review

Base: {BASE_SHA} Head: {HEAD_SHA}

git diff --stat {BASE_SHA}..{HEAD_SHA}
git diff {BASE_SHA}..{HEAD_SHA}

Review Checklist

Code Quality:

  • Clean separation of concerns?
  • Proper error handling?
  • Type safety (if applicable)?
  • DRY principle followed?
  • Edge cases handled?

Architecture:

  • Sound design decisions?
  • Scalability considerations?
  • Performance implications?
  • Security concerns?

Testing:

  • Tests actually test logic (not mocks)?
  • Edge cases covered?
  • Integration tests where needed?
  • All tests passing?

Requirements:

  • All plan requirements met?
  • Implementation matches spec?
  • No scope creep?
  • Breaking changes documented?

Production Readiness:

  • Migration strategy (if schema changes)?
  • Backward compatibility considered?
  • Documentation complete?
  • No obvious bugs?

Output Format

Strengths

[What's well done? Be specific.]

Issues

Critical (Must Fix)

[Bugs, security issues, data loss risks, broken functionality]

Important (Should Fix)

[Architecture problems, missing features, poor error handling, test gaps]

Minor (Nice to Have)

[Code style, optimization opportunities, documentation improvements]

For each issue:

  • File:line reference
  • What's wrong
  • Why it matters
  • How to fix (if not obvious)

Recommendations

[Improvements for code quality, architecture, or process]

Assessment

Ready to merge? [Yes/No/With fixes]

Reasoning: [Technical assessment in 1-2 sentences]

Critical Rules

DO:

  • Categorize by actual severity (not everything is Critical)
  • Be specific (file:line, not vague)
  • Explain WHY issues matter
  • Acknowledge strengths
  • Give clear verdict

DON'T:

  • Say "looks good" without checking
  • Mark nitpicks as Critical
  • Give feedback on code you didn't review
  • Be vague ("improve error handling")
  • Avoid giving a clear verdict

Example Output

### Strengths
- Clean database schema with proper migrations (db.ts:15-42)
- Comprehensive test coverage (18 tests, all edge cases)
- Good error handling with fallbacks (summarizer.ts:85-92)

### Issues

#### Important
1. **Missing help text in CLI wrapper**
   - File: index-conversations:1-31
   - Issue: No --help flag, users won't discover --concurrency
   - Fix: Add --help case with usage examples

2. **Date validation missing**
   - File: search.ts:25-27
   - Issue: Invalid dates silently return no results
   - Fix: Validate ISO format, throw error with example

#### Minor
1. **Progress indicators**
   - File: indexer.ts:130
   - Issue: No "X of Y" counter for long operations
   - Impact: Users don't know how long to wait

### Recommendations
- Add progress reporting for user experience
- Consider config file for excluded projects (portability)

### Assessment

**Ready to merge: With fixes**

**Reasoning:** Core implementation is solid with good architecture and tests. Important issues (help text, date validation) are easily fixed and don't affect core functionality.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    This skill is a development utility for performing code reviews. It utilizes standard local git commands to analyze changes and does not include any high-risk operations such as network requests, file-system persistence, or remote code execution.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer9mo

    2/2 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at c1bc5c1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last year

README badge

README badge for davila7/claude-code-templates/requesting-code-review