agentleFS
OneDro1dOneDro1d/dark-factory/skills/code-reviewer/SKILL.md

code-reviewer

Skill4 starsChanged 2 months agoApache-2.0View on GitHub

Comprehensive code review for quality, architecture, and performance. Use when reviewing PRs, auditing code quality, checking coding standards, evaluating design patterns, identifying performance bottlenecks, or analyzing technical debt. Triggers on "review", "audit", "analyze code", "check quality", "code smell".

182 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git-doc-updater, git-precommit 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.
  • u9401066Skill

    git-doc-updater

    Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布.

    Also in 5 projects that use this

  • u9401066Skill

    git-precommit

    Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送.

    Also in 5 projects that use this

  • JeffallanSkill

    shopify-expert

    Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing Shopify apps, implementing checkout UI extensions or Shopify Functions, optimizing performance, or integrating third-party services. Invoke for Liquid templating, Storefront API, app development, checkout customization, Shopify Plus features, App Bridge, Polaris, or Shopify CLI workflows.

    Also in 5 projects that use this

  • JeffallanSkill

    spec-miner

    Reverse-engineering specialist that extracts specifications from existing codebases. Use when working with legacy or undocumented systems, inherited projects, or old codebases with no documentation. Invoke to map code dependencies, generate API documentation from source, identify undocumented business logic, figure out what code does, or create architecture documentation from implementation. Trigger phrases: reverse engineer, old codebase, no docs, no documentation, figure out how this works, inherited project, legacy analysis, code archaeology, undocumented features.

    Also in 6 projects that use this

  • +4 more from u9401066
  • +4 more from Jeffallan

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 155 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before reviewing, gather context:

    line 23

“Common” is measured: kept by at least 6 in 10 of the 155 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 Reviewer

Perform thorough code reviews covering quality, architecture, and performance aspects.

When to Use

  • Reviewing pull requests or code changes
  • Auditing codebase quality and maintainability
  • Evaluating architecture and design decisions
  • Identifying performance issues and bottlenecks
  • Checking adherence to coding standards
  • Finding code smells and technical debt

Review Process

1. Understand Context

Before reviewing, gather context:

  • What is the purpose of this code/change?
  • What are the project's conventions? (check CLAUDE.md, .eslintrc, etc.)
  • Are there existing patterns to follow?

2. Quality Review

Check for:

  • Readability: Clear naming, appropriate comments, logical structure
  • Maintainability: Single responsibility, DRY principle, low coupling
  • Error handling: Proper try/catch, meaningful error messages
  • Edge cases: Null checks, boundary conditions, empty states
  • Code smells: Long methods, deep nesting, magic numbers

3. Architecture Review

Evaluate:

  • Design patterns: Appropriate use, consistency with codebase
  • Dependencies: Minimal coupling, clear interfaces
  • Modularity: Components have clear boundaries and responsibilities
  • Scalability: Can this handle growth without major rewrites?
  • Testability: Is the code easy to unit test?

4. Performance Review

Identify:

  • Algorithmic efficiency: Time/space complexity concerns
  • Memory management: Leaks, unnecessary allocations
  • Render performance: Unnecessary re-renders (React), DOM thrashing
  • Network efficiency: N+1 queries, missing caching, payload sizes
  • Resource cleanup: Event listeners, subscriptions, intervals

Output Format

Structure your review as:

## Code Review: [File/Component Name]

### Summary
[1-2 sentence overview of the review findings]

### Critical Issues
[Must fix before merge - bugs, security issues, data loss risks]

### Recommendations
[Should fix - quality, performance, maintainability improvements]

### Suggestions
[Nice to have - style preferences, minor optimizations]

### Positive Highlights
[Good patterns worth noting for team learning]

Severity Levels

LevelDescriptionAction
CriticalBugs, security vulnerabilities, data corruption riskBlock merge
HighPerformance issues, maintainability problemsShould fix
MediumCode smells, minor inefficienciesRecommend fix
LowStyle preferences, nitpicksOptional

Review Checklist

See CHECKLIST.md for the complete review checklist.

Examples

See EXAMPLES.md for sample reviews demonstrating proper format and tone.

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.

Reviews can't be read right now.

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.