code-review

code-review is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/tranhieutt/software_development_department/code-review
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00051 $0.01032
Opus 5 $0.00026 $0.00516
Sonnet 5 $0.00010 $0.00206
Haiku 4.5 $0.00005 $0.00103

Measured 4d ago against content hash 6cf641af2a6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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 (71 stars, last pushed 3mo ago), licensed MIT. It adds 51 tokens to every session and 1,032 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

best-practices

Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) + gap roadmap + debate proof. Use when: auditing current implementation against industry standards, checking compliance with best practices, benchmarking implementation quality, verifying a…

sd0xdev/sd0x-harness · 101 tokens

cloud-architect

Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns. Masters serverless, microservices, security, compliance, and disaster recovery. Use PROACTIVELY for cloud architecture, cost…

rmyndharis/antigravity-skills · 75 tokens

codebase-cleanup-deps-audit

You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.

rmyndharis/antigravity-skills · 47 tokens

law-to-markdown

将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx 时先检查是否已安装 mineru-ocr skill;未安装先引导安装,安装后优先用 mineru-ocr;仅在用户明确同意时再用本地回退方案。.

pa1nrui1/legal-skills · 90 tokens

Code Patent Scanner

Scan your codebase for distinctive patterns — get structured scoring and evidence for patent consultation. NOT legal advice.

Obviously-Not/patent-skills · 25 tokens

Patent Scanner

Describe your concept and discover what makes it distinctive — structured analysis for patent consultation. NOT legal advice.

Obviously-Not/patent-skills · 23 tokens