Agent skill

Code Quality Review

by StudentWeis in StudentWeis/ropy

Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality.

MITAuto-check passedDevelopment

Install Code Quality Review

skills CLI
$ npx skills add StudentWeis/ropy --skill code-quality-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install StudentWeis/ropy code-quality-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/StudentWeis/ropy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/code-quality-review .claude/skills/code-quality-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-quality-review
GitHub stars
193
Token cost
~2.2k tokens
SKILL.md length
1,084 words
Files
2
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality.

  • Works in 5 steps: Determine the target from the user's… → If the target is ambiguous, choose the… → Read repository instructions and the… → …
  • Asked to review code
  • SKILL.md covers Establish the Review Contract, Build an Evidence Base, Review Code Quality and Review Comment and…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Quality Review is an agent skill from StudentWeis/ropy. Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality. Use when asked to review code, audit maintainability, inspect comments, assess test coverage or test usefulness, perform a pre-merge quality check, or produce prioritized quality findings. Support both repository-wide and language-agnostic reviews; remain read-only unless the user explicitly asks for fixes.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Code quality, Code review and Test generation. The repository describes itself as: Cross-platform, lightweight clipboard manager written in Rust and GPUI. The licence is MIT.

When your agent uses it

  • Asked to review code
  • Audit maintainability
  • Inspect comments
  • Assess test coverage

Example prompts

  • “/code-quality-review”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Determine the target from the user's request: explicit files, working-tree changes, a commit range, a branch, a pull request, or the whole…
  2. If the target is ambiguous, choose the narrowest reasonable scope available from the current context and state the assumption. Ask only…
  3. Read repository instructions and the testing guide before judging the change. Treat local conventions and documented requirements as…
  4. Infer the intended behavior from the issue, request, surrounding code, public API, and tests. Separate confirmed requirements from…
  5. Keep review and implementation separate. Inspect and report by default; modify files only when the user explicitly requests fixes.

What it can do on your machine

Read from SKILL.md and the folder at commit 4e784df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Quality Review loads about 2.2k tokens when it runs. Until then it costs about 116 tokens; SKILL.md has 1,084 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~116
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from StudentWeis/ropy at commit 4e784df, republished under its MIT licence (© StudentWeis). 1,084 words, ~2,190 tokens.

Download SKILL.mdSave it as .claude/skills/code-quality-review/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
code-quality-review
description
Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality. Use when asked to review code, audit maintainability, inspect comments, assess test coverage or test usefulness, perform a pre-merge quality check, or produce prioritized quality findings. Support both repository-wide and language-agnostic reviews; remain read-only unless the user explicitly asks for fixes.

Code Quality Review

Perform an evidence-based review across three dimensions: production code, comments and documentation, and tests. Prioritize defects and maintainability risks that can change behavior or make future changes unsafe. Do not turn personal style preferences into findings.

Establish the Review Contract

  1. Determine the target from the user's request: explicit files, working-tree changes, a commit range, a branch, a pull request, or the whole repository.
  2. If the target is ambiguous, choose the narrowest reasonable scope available from the current context and state the assumption. Ask only when different scopes would materially change the result.
  3. Read repository instructions and the testing guide before judging the change. Treat local conventions and documented requirements as authoritative.
  4. Infer the intended behavior from the issue, request, surrounding code, public API, and tests. Separate confirmed requirements from assumptions.
  5. Keep review and implementation separate. Inspect and report by default; modify files only when the user explicitly requests fixes.

For a diff review, inspect both the diff and enough surrounding code to understand callers, invariants, error paths, and existing tests. Do not review changed lines in isolation.

Build an Evidence Base

  • Enumerate changed files and classify production code, tests, generated files, configuration, and documentation.
  • Search for call sites, analogous implementations, shared helpers, and tests that exercise the affected behavior.
  • Run the smallest relevant formatter, compiler, linter, and test commands that the repository supports. Expand only when risk or failures justify it.
  • Treat command success as supporting evidence, not proof of quality. Review behavior and assertions directly.
  • Distinguish introduced problems from pre-existing problems. Report pre-existing issues only when the change makes them newly reachable, more severe, or directly relevant to the request.
  • Record uncertainty. Do not present an unverified suspicion as a finding.

Review Code Quality

Check correctness before aesthetics.

Behavior and safety
  • Trace normal, boundary, error, cancellation, retry, and cleanup paths.
  • Check validation at trust boundaries and assumptions about ordering, uniqueness, nullability, encoding, time, concurrency, and platform behavior.
  • Check whether errors are preserved, classified, handled at the right layer, and observable without exposing sensitive data.
  • Check resource ownership, lifecycle, atomicity, idempotency, and partial-failure behavior where relevant.
  • Check security and privacy implications when input, permissions, secrets, serialization, filesystem access, or external commands are involved.
Design and maintainability
  • Prefer the simplest design that preserves required behavior.
  • Flag duplication only when it creates a realistic divergence or maintenance risk; do not demand abstraction for superficial similarity.
  • Check names, module boundaries, dependency direction, cohesion, coupling, and API contracts.
  • Identify hidden side effects, surprising control flow, boolean blindness, temporal coupling, and invalid states that the design permits unnecessarily.
  • Check consistency with established repository patterns unless those patterns conflict with an explicit requirement.
  • Treat formatter and linter output as authoritative for mechanical style. Avoid repeating automated diagnostics unless they explain a larger problem.

Review Comment and Documentation Quality

Evaluate comments for truthfulness and decision value, not quantity.

  • Verify that comments and API documentation match current behavior, parameters, errors, side effects, units, ownership, and concurrency guarantees.
  • Prefer explanations of intent, constraints, invariants, tradeoffs, or non-obvious reasons. Flag comments that merely narrate clear syntax when they add noise or can become stale.
  • Require documentation for public contracts and safety-critical or surprising behavior when repository conventions call for it.
  • Check that workarounds explain the external constraint and, when appropriate, include a traceable issue or removal condition.
  • Check TODO, FIXME, and SAFETY comments for specificity, ownership context, and validity.
  • Flag commented-out code and obsolete explanations when version control is the better record.
  • Do not demand comments to compensate for confusing code when a small code improvement would express the idea more reliably.

Review Test Quality

Map tests to behavioral risks before considering line coverage.

Show full SKILL.md (472 more words)Show less
Behavioral coverage
  • Identify the change's important behaviors and failure modes, then map each to an existing or missing test.
  • Check happy paths, boundaries, invalid inputs, error propagation, state transitions, regressions, and platform-specific behavior in proportion to risk.
  • Require a regression test for a bug fix when the failure can be reproduced deterministically at a sensible test layer.
  • Do not demand tests for declarations or trivial forwarding that cannot fail meaningfully; test the behavior at the layer where a defect would be observable.
Assertion strength
  • Verify that each test could fail for the defect it claims to catch.
  • Prefer assertions on externally meaningful outputs, state, events, or errors over incidental implementation details.
  • Flag tests that only prove setup completed, duplicate the implementation, assert tautologies, or would pass after removing the behavior under test.
  • Check that parameterized cases are meaningfully distinct and that snapshots or golden files are narrowly scoped and reviewed.
Reliability and maintainability
  • Check isolation from execution order, shared mutable state, wall-clock timing, random seeds, network availability, locale, and machine-specific paths.
  • Prefer deterministic fakes at external boundaries. Flag excessive mocking when it only verifies call choreography and misses real behavior.
  • Check cleanup, temporary resource handling, concurrency synchronization, and retry or timeout behavior.
  • Check test names and structure against repository conventions. Keep fixtures readable and focused on behavior.
  • Treat coverage percentages as a discovery aid, never as a substitute for evaluating risk and assertion quality.

Validate Each Finding

Report a finding only when all of these are true:

  1. A specific behavior, contract, repository rule, or maintainability property is violated.
  2. The evidence identifies an exact location and a realistic triggering scenario.
  3. The impact is material enough that the author would likely act on it.
  4. The recommendation addresses the cause without requiring an unjustified redesign.
  5. The finding is not a duplicate or merely the downstream symptom of a stronger root-cause finding.

Use these severities:

  • P0 — release-blocking or catastrophic: data loss, severe security exposure, or broadly unusable behavior.
  • P1 — high: likely correctness, security, or reliability failure in normal use.
  • P2 — medium: real defect or maintainability/test weakness with bounded impact.
  • P3 — low: worthwhile improvement with limited immediate risk. Use sparingly; omit pure polish.

Calibrate severity from likelihood, blast radius, detectability, and reversibility. Never inflate severity to make a review look thorough.

Report the Review

Lead with findings ordered by severity, then source location. For each finding include:

text
[P2] Concise, actionable title — path/to/file:line
Evidence: What the code or test does and the triggering scenario.
Impact: The concrete failure or maintenance cost.
Recommendation: The smallest robust direction for correction.

Use exact file and line references whenever available. Keep code excerpts minimal.

After findings, include:

  • assumptions or unresolved questions that materially affect the verdict;
  • a short three-axis summary for code, comments, and tests;
  • commands run and any validation limits.

If there are no actionable findings, say so explicitly and still note validation performed and residual risks. Do not invent findings to fill every category. Match the report language to the user's language unless requested otherwise.

© StudentWeis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/code-quality-review of StudentWeis/ropy.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 4e784df

Compare with similar skills

Code Quality Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Quality Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Quality Review this skillStudentWeis/ropy193—~2.2kAutomated safety check: PassMIT
Code ReviewerYikai-Liao/symusic1891 repos~1.3kAutomated safety check: PassMIT
Reviewing Changesbitwarden/ios694—~1.1kAutomated safety check: PassGPL-3.0
Code Reviewluongnv89/skills131—~2.4kAutomated safety check: PassMIT
Aidd Reviewparalleldrive/aidd384—~945Automated safety check: PassMIT
Code Review AssistantArabelaTso/Skills-4-SE253—~3kAutomated safety check: PassApache-2.0

Similar skills

  • Code Reviewer

    Yikai-Liao/symusic

    Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…

    189 GitHub starsUsed in 1 repo~1.3k tokens
    DevelopmentAuto-check passed
  • Reviewing Changes

    bitwarden/ios

    Official

    Performs comprehensive code reviews for Bitwarden iOS projects, verifying architecture compliance, style guidelines, compilation safety, test coverage, and security requirements.

    694 GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review

    luongnv89/skills

    Review or improve code — one skill, four modes: bug/security review (default), performance, clean-code audit, slop cleanup.

    131 GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Aidd Review

    paralleldrive/aidd

    Conduct a thorough code review focusing on code quality, best practices, security, test coverage, and adherence to project standards and functional requirements.

    384 GitHub stars~945 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Code Review Assistant

    ArabelaTso/Skills-4-SE

    Conduct comprehensive code reviews identifying bugs, security issues, performance problems, code quality concerns, and best practice violations.

    253 GitHub stars~3k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Structured code review workflow for .NET projects using Roslyn MCP tools.

    229 GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed

More from StudentWeis/ropy

All 17 skills in this repo
  • Gpui Element

    StudentWeis/ropy

    Implementing custom elements using GPUI's low-level Element API (vs.

    193 GitHub stars~1.1k tokensUpdated 28 days ago
    Auto-check passed
  • Gpui Entity

    StudentWeis/ropy

    Entity management and state handling in GPUI. An agent skill from StudentWeis/ropy.

    193 GitHub stars~1.1k tokensUpdated 28 days ago
    Auto-check passed
  • Contribution Flow

    StudentWeis/ropy

    Repository contribution workflow. An agent skill from StudentWeis/ropy.

    193 GitHub stars~705 tokensUpdated 28 days ago
    Auto-check passed
  • Gpui Action

    StudentWeis/ropy

    Action definitions and keyboard shortcuts in GPUI. An agent skill from StudentWeis/ropy.

    193 GitHub stars~916 tokensUpdated 28 days ago
    Auto-check passed
  • Gpui Async

    StudentWeis/ropy

    Async operations and background tasks in GPUI. An agent skill from StudentWeis/ropy.

    193 GitHub stars~934 tokensUpdated 28 days ago
    Auto-check passed
  • Gpui Context

    StudentWeis/ropy

    Context management in GPUI including App, Window, and AsyncApp.

    193 GitHub stars~802 tokensUpdated 28 days ago
    Auto-check passed

Categories

Questions about Code Quality Review

What does Code Quality Review do?

Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality. Code Quality Review is an agent skill from StudentWeis/ropy. Review a code change, diff, pull request, module, or test suite for code quality, comment and documentation quality, and test quality.

When should I use Code Quality Review?

Code Quality Review fits situations like: asked to review code; audit maintainability; inspect comments; assess test coverage.

How do I install Code Quality Review in Claude Code?

Run `npx skills add StudentWeis/ropy --skill code-quality-review -a claude-code`. Or copy the skill folder (.agents/skills/code-quality-review in StudentWeis/ropy) into .claude/skills/code-quality-review in your project. Claude Code loads it when a task matches its description.

How do I install Code Quality Review in Codex?

Run `npx skills add StudentWeis/ropy --skill code-quality-review -a codex`. Or copy the skill folder (.agents/skills/code-quality-review in StudentWeis/ropy) into .agents/skills/code-quality-review in your project. Codex loads it when a task matches its description.

Can I use Code Quality Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add StudentWeis/ropy --skill code-quality-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-quality-review, .gemini/skills/code-quality-review, .github/skills/code-quality-review and .opencode/skills/code-quality-review in your project.

What does Code Quality Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Quality Review is instructions for the agent only.

Does Code Quality Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Quality Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Quality Review use?

Code Quality Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Code Quality Review use?

About 2.2k tokens (SKILL.md is roughly 8.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code Quality Review?

Skills that share tags, products or a category with Code Quality Review: Code Reviewer (Yikai-Liao/symusic, 189 stars), Reviewing Changes (bitwarden/ios, 694 stars), Code Review (luongnv89/skills, 131 stars) and Aidd Review (paralleldrive/aidd, 384 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Quality Review?

StudentWeis (a GitHub user) maintains it in StudentWeis/ropy, which has 193 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on September 9, 2026.

Source: StudentWeis/ropy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.