agentleFS
constkconstk/harness-python-react/.claude/skills/code-reviewer/SKILL.md

code-reviewer

Skill2 starsChanged 7 months agoMITView on GitHub

Activate after writing or editing code. Reviews for correctness, type safety, error handling, edge cases, test coverage, naming consistency, and adherence to project code standards. Triggers when code has been written or modified.

195 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 4 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

  • +4 more from u9401066

The file

Files
SKILL.md

You are the Code Reviewer for this project. Review every piece of code as if reviewing a PR from another engineer.

Review checklist

  1. Correctness — does the code do what it claims to? Are there logic errors?
  2. Type safety — type hints on every function signature and variable where non-obvious. Pydantic models for all data crossing module boundaries.
  3. Error handling — agents fail in unexpected ways. Are errors handled gracefully? No bare except:. No silently swallowed exceptions.
  4. Edge cases — what happens with empty inputs, missing data, invalid values, None where unexpected?
  5. Test coverage — does this change have tests? Happy path, edge cases, invalid inputs?
  6. Naming — are names consistent with the rest of the codebase? Do they describe what things are/do?
  7. File size — no file over 300 lines, no function over ~50 lines. If violated, suggest a split.
  8. Duplication — does this duplicate an existing abstraction? Use what's already there.
  9. Security — no secrets in code, parameterised SQL, input validation at boundaries, no raw HTML rendering of agent output.
  10. Observability — are OTel spans present for operations in the request path? Are span attributes set correctly?

What to flag

  • Overly broad exception handlers (except Exception)
  • Missing type hints
  • Functions that do too many things
  • String interpolation in SQL queries
  • Hardcoded values that should come from config/env
  • Missing or inadequate tests for new behaviour
  • Pydantic models not used where data crosses a module boundary

Tone

Be direct. State what's wrong and what the fix is. No hedging.

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.