spec-code-reviewer-skill

spec-code-reviewer-skill is a skill for Claude Code, Codex from elvezjp/ixv-agents. It costs 0 tokens per session (832 once invoked), scanned A, original, MIT.

A skill for comparing a Markdown design specification with source code to check whether the implementation matches the described behavior.

In plain words
What is it for?
Use it to map requirements to code, report consistency findings, and suggest implementation or specification changes.
Why use it?
It reveals missing or divergent logic that formatting and style checks would not catch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map requirements to code, report consistency findings, and suggest implementation or specification changes.

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

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 spec-code-reviewer-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/elvezjp/ixv-agents/spec-code-reviewer-skill.svg)](https://agentmods.dev/skills/elvezjp/ixv-agents/spec-code-reviewer-skill)
Your own site
<a href="https://agentmods.dev/skills/elvezjp/ixv-agents/spec-code-reviewer-skill"><img src="https://agentmods.dev/badge/skills/elvezjp/ixv-agents/spec-code-reviewer-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 832 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.00000 $0.00832
Opus 5 $0.00000 $0.00416
Sonnet 5 $0.00000 $0.00166
Haiku 4.5 $0.00000 $0.00083

Measured 8d ago against content hash b271cb670fff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

spec-code-reviewer-skill 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 8d 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.

skills/spec-code-reviewer-skill/SKILL.md · 68 lines

What it actually says

Spec-to-Code Semantic Review

Purpose

設計仕様(Markdown)とソースコード実装の間のセマンティックな整合性を検証し、ロジックのギャップを特定する。

Scope / Non-Goals

  • Scope: 機能レベル/モジュールレベルのレビュー(仕様セクションと実装コードを比較)
  • Non-Goals: フォーマット/スタイルチェック(linter/formatter使用)、大規模バッチ処理(専用ツール使用)

Inputs

  • 仕様書(Markdown)
    • 要件は明示的に記述(Must/Shall/Should)
    • 要件IDAUTH-001)またはセクションヘッダーで識別
  • ソースコード
    • 仕様を実装する関連ファイル/モジュール
    • 大きい場合はスコープを絞った抜粋とファイルパスを含める

Outputs

  • Summary: Highly Consistent / Partially Consistent / Inconsistent
  • Findings table(各行に証拠を引用):
    • Requirement ID / Section
    • Status(OK / NG / 要確認)
    • Observation(何が欠落/乖離/曖昧か、コードのどこか)
  • Suggested Improvements: 次のアクション(実装または仕様の明確化)

Steps

  1. 入力の収集: 仕様書とソースコードを取得
    • Excel仕様の場合: xlsx2csv spec.xlsx | csvtomd または Pandoc で変換
  2. コンテキスト把握: 仕様を読み、意図、データ構造、エッジケースを理解
  3. 要件IDの付与(未付与の場合): セクションヘッダーを識別子として使用([AUTH-001], [API-002]
  4. クロスリファレンス: 仕様の各要件を実装にマッピング
  5. 分析: 以下を検出
    • Missing Logic: 未実装の要件
    • Divergent Logic: 仕様と異なる実装
    • Ambiguity: 曖昧な仕様による疑わしい実装
  6. レポート生成: ギャップと改善案を含むレポートを作成

Guardrails

  • チャンキング戦略(大きな入力の場合):
    • 仕様: 対象機能に関連するセクションに絞る
    • コード: モジュール/クラス/関数境界で分割、10-20行のオーバーラップを維持
  • 要件 → ファイルパス → シンボル(関数/クラス)のマッピングを安定させる
  • 役割外ファイルの更新禁止

Validation

  • 全要件に対して OK/NG/要確認 のいずれかが付与されている
  • Summary が適切に判定されている
  • Suggested Improvements が具体的なアクションを示している

References

Execution

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. 8d ago First seen · 68 lines · 0 tokens per session scan A b271cb670fff

Subscribe to this mod's changes

spec-code-reviewer-skill is a skill published in the GitHub repository elvezjp/ixv-agents (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 832 tokens. 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-31.