code-review

code-review is a skill for Claude Code from tranhieutt/software_development_department. It costs 51 tokens per session (1,032 once invoked), scanned A, original, MIT.

A code-review guide for checking source code before it is merged into a project. It examines coding standards, software structure, dependencies, and common problems.

In plain words
What is it for?
Use it to review a file or folder, assess different kinds of software components, check dependency direction and layer separation, and look for complexity, circular dependencies, hardcoded settings, and missing documentation.
Why use it?
It gives developers a consistent review checklist for finding quality and design issues before changes reach the main codebase.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; mentions CLAUDE.md.

Good fit Use it to review a file or folder, assess different kinds of software components, check dependency direction and layer separation, and look for complexity, circular dependencies, hardcoded settings, and missing documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/code-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 tranhieutt/software_development_department --skill code-review
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

Made for: Claude Code.

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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranhieutt/software_development_department/code-review/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/code-review)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/code-review"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/code-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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/code-review"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,032 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.00051 $0.01032
Opus 5.5 $0.00020 $0.00413
Sonnet 5.5 $0.00010 $0.00206
Haiku 4.5 $0.00005 $0.00103

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

Security

Grade A, and why

code-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.

.claude/skills/code-review/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When this skill is invoked:

  1. Read the target file(s) in full.

  2. Read the CLAUDE.md for project coding standards.

  3. Identify the system category (api, service, repository, component, utility, infrastructure) and apply category-specific standards.

  4. Evaluate against coding standards:

    • Public methods and classes have doc comments
    • Cyclomatic complexity under 10 per method
    • No method exceeds 40 lines (excluding data declarations)
    • Dependencies are injected (no singletons for business state)
    • Configuration values loaded from external config, not hardcoded
    • Systems expose interfaces (not concrete class dependencies)
  5. Check architectural compliance:

    • Correct dependency direction (infrastructure ← domain ← application)
    • No circular dependencies between modules
    • Proper layer separation (UI does not own business logic)
    • Events/messages used for cross-service communication
    • Consistent with established patterns in the codebase
    • Interfaces are earning their complexity: prefer deep modules over thin pass-through wrappers
    • Suspected abstractions survive the deletion test: deleting them would reintroduce complexity across callers, not simplify the system
  6. Check SOLID compliance:

    • Single Responsibility: Each class has one reason to change
    • Open/Closed: Extendable without modification
    • Liskov Substitution: Subtypes substitutable for base types
    • Interface Segregation: No fat interfaces
    • Dependency Inversion: Depends on abstractions, not concretions
  7. Check for common web/software issues:

    • No N+1 query patterns (use eager loading or joins)
    • Proper async/await usage (no unhandled promises, no floating async)
    • Input validation at system boundaries (user input, external APIs)
    • Proper error handling with meaningful, safe messages (no stack traces exposed)
    • No secrets or sensitive data hardcoded (API keys, passwords, tokens)
    • Resource cleanup (DB connections, streams, subscriptions, event listeners)
    • Thread/concurrency safety where required
  8. Output the review in this format:

## Code Review: [File/System Name]

### Standards Compliance: [X/6 passing]
[List failures with line references]

### Architecture: [CLEAN / MINOR ISSUES / VIOLATIONS FOUND]
[List specific architectural concerns]

### SOLID: [COMPLIANT / ISSUES FOUND]
[List specific violations]

### Web/Software Concerns
[List web and software-specific issues found]

### Positive Observations
[What is done well — always include this section]

### Required Changes
[Must-fix items before approval]

### Suggestions
[Nice-to-have improvements]

### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]

Protocol

Architecture vocabulary to use when it helps clarify a finding:

  • Module — unit with an interface and implementation
  • Deep module — small interface, high leverage behind it
  • Shallow module — interface nearly as complex as implementation
  • Deletion test — if deleting a wrapper mostly removes indirection instead of reintroducing complexity in callers, the abstraction may be shallow

Use this vocabulary to sharpen architectural findings, not to force jargon into every review.

  • Question: Auto-starts from argument (file or directory path); no clarification needed
  • Options: Skip — single review path
  • Decision: Skip — verdict is advisory
  • Draft: Full review shown in conversation only
  • Approval: Skip — read-only; no files written

Read the full file on GitHub · 113 lines

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 · 113 lines · 51 tokens per session scan A 6cf641af2a6a

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository tranhieutt/software_development_department (73 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 1,032 once invoked, about $0.0002 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.