sdd-mcp: Skill for Claude Code

.claude/skills/sdd-review/SKILL.md

sdd-review is a skill for Claude Code from yi-john-huang/sdd-mcp. It costs 47 tokens per session (1,286 once invoked), scanned A, original, MIT.

A code-review skill for checking completed changes for correctness, simplicity, maintainability, and fit with the project’s existing patterns.

In plain words
What is it for?
Use it to review a file, directory, Git diff, or pull request after implementation.
Why use it?
It helps find bugs, edge cases, unnecessary complexity, and convention mismatches before code is merged.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is yi-john-huang/sdd-mcp's own configuration. It tells Claude Code how to work on sdd-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sdd-mcp configures →

Part of the sdd-mcp plugin — 11 skills, 6 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to yi-john-huang/sdd-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yi-john-huang/sdd-mcp/master/.claude/skills/sdd-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yi-john-huang/sdd-mcp

Made for: Claude Code.

Or install sdd-mcp, the plugin that ships this one along with the rest of its 11 skills, 6 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yi-john-huang/sdd-mcp/sdd-review"><img src="https://agentmods.dev/badge/skills/yi-john-huang/sdd-mcp/sdd-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,286 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00047 $0.01286
Opus 5 $0.00023 $0.00643
Sonnet 5 $0.00009 $0.00257
Haiku 4.5 $0.00005 $0.00129

Measured 12d ago against content hash 23eca008a62e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

sdd-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 12d 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/sdd-review/SKILL.md · 192 lines

How it starts

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

SDD Code Review

Perform comprehensive code reviews in the style of Linus Torvalds - direct, thorough, and focused on what matters: correctness, simplicity, and long-term maintainability.

Review Philosophy

"Talk is cheap. Show me the code." — Linus Torvalds

This review focuses on:

  1. Correctness - Does it actually work? Does it handle edge cases?
  2. Simplicity - Is it more complex than necessary?
  3. Maintainability - Will future developers understand this?
  4. Convention Adherence - Does it follow project patterns?

Workflow

Step 1: Identify Review Scope

Determine what to review:

  • Single file: /sdd-review src/services/UserService.ts
  • Directory: /sdd-review src/services/
  • Git diff: /sdd-review HEAD~3..HEAD
  • PR/MR: /sdd-review PR-123 or /sdd-review MR-45

Step 2: Load Project Context

Before reviewing:

  1. Read project steering documents from .spec/steering/
  2. Understand existing patterns in the codebase
  3. Check if there's a related spec in .spec/specs/

Step 3: Perform Review

Code Correctness Checks
## Correctness Issues

### Critical
- [ ] Logic errors that will cause bugs
- [ ] Race conditions or threading issues
- [ ] Resource leaks (files, connections, memory)
- [ ] Unhandled error conditions

### Important
- [ ] Edge cases not handled
- [ ] Assumptions that may not hold
- [ ] Off-by-one errors
- [ ] Type mismatches or unsafe casts
Simplicity Assessment

Ask these questions:

  • Could this be done with less code?
  • Is there a standard library function for this?
  • Is this abstraction earning its keep?
  • Would a junior developer understand this in 6 months?
Pattern Violations

Check against project conventions:

## Pattern Violations

### Naming
- [ ] Variables don't follow naming convention
- [ ] Functions named for implementation, not purpose

### Structure
- [ ] Logic in wrong layer (controller doing business logic)
- [ ] Missing separation of concerns
- [ ] Circular dependencies introduced

### Error Handling
- [ ] Swallowed exceptions
- [ ] Generic error messages
- [ ] Missing error propagation

Read the full file on GitHub · 192 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. 12d ago First seen · 192 lines · 47 tokens per session scan A 23eca008a62e

Subscribe to this mod's changes

sdd-review is a skill published in the GitHub repository yi-john-huang/sdd-mcp (51 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 1,286 once invoked, about $0.0002 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.