agentleFS
javatarzjavatarz/credit-card-lending/.claude/skills/review/SKILL.md

review

Skill4 starsChanged 11 months agoMITView on GitHub

Review code for quality, style, and potential issues. Use when code has been written or modified, when user asks for code review, or when TDD autonomous mode needs quality assessment. Supports configurable strictness levels.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan
  • Other versions190 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 190

    1. garrytan/gstack★ 143ksame name
    2. ansible/ansible★ 72ksame name
    3. docling-project/docling★ 71ksame name
    4. traefik/traefik★ 66ksame name
    5. ClickHouse/ClickHouse★ 51ksame name
    6. ccch1mneyyy/dsh-Go★ 34ksame name
    7. temporalio/temporal★ 25ksame name
    8. tisfeng/Easydict★ 15ksame name
    9. juicedata/juicefs★ 15ksame name
    10. elie222/inbox-zero★ 13ksame name

    180 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After code has been written or modified

    line 12
  2. Very specific:

    Check against standards: - use docs/context/conventions.md

    line 81
  3. Distinctive:

    When reviewing, check against:

    line 126
  4. Distinctive:

    No testing implementation details

    line 138
  5. Distinctive:

    No secrets in code

    line 141
  6. Distinctive:

    When invoked by TDD autonomous mode:

    line 149
  7. Distinctive:

    Explain why: - don't just flag, explain the impact

    line 173
  8. Distinctive:

    Respect context: - consider the codebase style and constraints

    line 175

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Code Review Skill

Assess code quality and provide structured feedback.

When This Skill Activates

  • After code has been written or modified
  • User explicitly asks for code review
  • TDD skill invokes review in autonomous mode
  • User says "review this", "check this code", "code review"

Review Scope

ScopeWhenWhat to Review
Changed files (default)Normal reviewsFiles modified in current cycle
Related filesUser says "review with context"Changed files + their imports/dependents
Specific filesUser names filesOnly the specified files

Threshold Levels

User can specify threshold:

  • review strict - report everything
  • review normal - report significant issues (default)
  • review relaxed - report blockers only

What Each Threshold Reports

CategoryStrictNormalRelaxed
BlockersYesYesYes
WarningsYesYesNo
SuggestionsYesNoNo

Finding Categories

Blockers (Must Fix)

Issues that prevent the code from working correctly or safely:

  • Failing tests
  • Compilation errors
  • Security vulnerabilities (injection, XSS, secrets in code)
  • Null pointer risks without handling
  • Resource leaks (unclosed connections, streams)
  • Race conditions
  • Breaking API contracts

Warnings (Should Fix)

Issues that work but violate good practices:

  • Code duplication (DRY violation)
  • Poor naming (unclear intent)
  • Long methods (> 20 lines)
  • Too many parameters (> 3)
  • Missing error handling
  • Violations of SOLID principles
  • Test coverage gaps
  • Magic numbers/strings

Suggestions (Nice to Have)

Minor improvements:

  • Style inconsistencies
  • Slightly better naming options
  • Minor simplifications
  • Documentation opportunities
  • Performance micro-optimizations

Review Process

  1. Identify scope - what files to review
  2. Read the code - understand intent and implementation
  3. Check against standards - use docs/context/conventions.md
  4. Categorize findings - blockers, warnings, suggestions
  5. Present structured output

Output Format

Present findings in this structure:

## Code Review: [threshold] mode

### Scope
- file1.java (modified)
- file2.java (modified)

### Blockers (X found)
1. **[File:Line]** Description of blocker
   - Why it's a problem
   - Suggested fix

### Warnings (X found)
1. **[File:Line]** Description of warning
   - Why it matters
   - Suggested improvement

### Suggestions (X found)
1. **[File:Line]** Description of suggestion

### Summary
- Blockers: X
- Warnings: X
- Suggestions: X
- **Verdict**: [PASS / NEEDS ATTENTION / BLOCKED]

Verdict Logic

VerdictCondition
PASSNo blockers, no warnings
NEEDS ATTENTIONNo blockers, has warnings
BLOCKEDHas blockers

Standards Reference

When reviewing, check against:

From conventions.md

  • Package structure (api/, internal/, web/)
  • Naming conventions (classes, methods, tests)
  • Self-documenting code (no unnecessary comments)
  • Clean code principles (small functions, single responsibility)

From testing.md

  • Test structure (Arrange-Act-Assert)
  • Test naming (should<Expected>_when<Condition>)
  • Single assertion per test (one logical concept)
  • No testing implementation details

Security Checklist

  • No secrets in code
  • Input validation at boundaries
  • Parameterized queries (no SQL injection)
  • Output encoding (no XSS)
  • Proper authentication/authorization checks

Integration with TDD Skill

When invoked by TDD autonomous mode:

  1. Review skill receives the threshold level
  2. Performs review on changed files
  3. Returns findings
  4. TDD skill decides to interrupt or continue based on threshold rules:
    • Strict: interrupt on any finding
    • Normal: interrupt on blockers or warnings
    • Relaxed: interrupt on blockers only

Standalone Usage

User can invoke directly:

CommandBehavior
"review this code"Normal threshold, changed files
"review strict"Strict threshold, changed files
"review with context"Normal threshold, related files
"review src/main/java/..."Normal threshold, specific file

Key Principles

  • Be helpful, not pedantic - focus on meaningful improvements
  • Explain why - don't just flag, explain the impact
  • Suggest fixes - provide actionable guidance
  • Respect context - consider the codebase style and constraints
  • Prioritize - blockers first, then warnings, then suggestions

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.