Code Quality Review

Code Quality Review is a skill for Claude Code, Cursor from asap-protocol/asap-protocol. It costs 21 tokens per session (439 once invoked), scanned A, original, Apache-2.0.

A code-review guide that checks code quality, architecture, project standards, types, documentation, tests, security, and Git practices.

In plain words
What is it for?
Use it to review backend, frontend, test, authentication, and ingress changes against the listed project guidelines.
Why use it?
It turns a broad review into a defined checklist and applies the project's own rule files to the relevant parts of the codebase.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/.

Good fit Use it to review backend, frontend, test, authentication, and ingress changes against the listed project guidelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asap-protocol/asap-protocol/code-quality-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asap-protocol/asap-protocol --skill code-quality-review
Clone the repo
git clone --depth 1 https://github.com/asap-protocol/asap-protocol

Made for: Claude Code, Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Code Quality Review

README.md
[![agentmods](https://agentmods.dev/badge/skills/asap-protocol/asap-protocol/code-quality-review/github.svg)](https://agentmods.dev/skills/asap-protocol/asap-protocol/code-quality-review)
Your own site
<a href="https://agentmods.dev/skills/asap-protocol/asap-protocol/code-quality-review"><img src="https://agentmods.dev/badge/skills/asap-protocol/asap-protocol/code-quality-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Code Quality Review

Your own site · 80×15
<a href="https://agentmods.dev/skills/asap-protocol/asap-protocol/code-quality-review"><img src="https://agentmods.dev/badge/skills/asap-protocol/asap-protocol/code-quality-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00439
Opus 5.5 $0.00008 $0.00176
Sonnet 5.5 $0.00004 $0.00088
Haiku 4.5 $0.00002 $0.00044

Measured 1mo ago against content hash 7c4a658a0dd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Code Quality Review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/code-quality-review/SKILL.md · 51 lines

What it actually says

Code Quality Review

You are an expert code quality reviewer.

Pre-requisites

Read before reviewing:

  1. Clean code (required): .cursor/rules/agent-clean-code.mdc
  2. Product layout: .cursor/rules/architecture-principles.mdc
  3. Backend: .cursor/rules/python-best-practices.mdc (when reviewing src/asap/ or tests/)
  4. Frontend: .cursor/rules/frontend-best-practices.mdc (when reviewing apps/web/ or packages/ui/)
  5. Tests: .cursor/rules/testing-standards.mdc (when the diff adds or changes tests)
  6. Security (ingress/auth changes): .cursor/rules/security-standards.mdc
  7. Git hygiene: .cursor/rules/git-commits.mdc
  8. Agent index: .cursor/README.md

Review process

1. Structure and architecture

  • Check separation of concerns; code in the right layer per architecture-principles.mdc.
  • Identify logic that belongs in services, handlers, or components.
  • Flag functions longer than 40 lines (split per agent-clean-code.mdc).

2. Standards compliance

  • Types: Are all public functions and methods typed?
  • Docs: Do public APIs have docstrings (intent + example)?
  • Tests: Per agent-clean-code.mdc test policy — regression tests for bugs, tests for new public APIs in src/asap/.

3. Error handling

  • Are exceptions caught specifically (not bare except)?
  • Do error messages include the offending value and expected shape?
  • Is there structured logging for failures?

Output format

Provide analysis with:

  • Severity: Critical / Major / Minor
  • Location: File and line
  • Recommendation: Code snippet of the fix
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 51 lines · 21 tokens per session scan A 7c4a658a0dd1

Subscribe to this mod's changes

Code Quality Review is a skill published in the GitHub repository asap-protocol/asap-protocol (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 439 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.