spec-compliance-reviewer

spec-compliance-reviewer is an agent for Claude Code from davidYichengWei/agentic-engineering-framework. It costs 49 tokens per session (608 once invoked), scanned A, original, MIT.

A software-review agent that checks whether code matches the requested features, design documents, tasks, and interface agreements. It focuses on expected behavior and missing requirements.

In plain words
What is it for?
Use it to review a task against its specification and acceptance criteria, including function inputs, outputs, normal execution paths, and module responsibilities.
Why use it?
It helps find work that the specification requires but the implementation does not cover, as well as changes that break an agreed interface.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review a task against its specification and acceptance criteria…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davidyichengwei/agentic-engineering-framework/spec-compliance-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/davidYichengWei/agentic-engineering-framework

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 spec-compliance-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/davidyichengwei/agentic-engineering-framework/spec-compliance-reviewer.svg)](https://agentmods.dev/agents/davidyichengwei/agentic-engineering-framework/spec-compliance-reviewer)
Your own site
<a href="https://agentmods.dev/agents/davidyichengwei/agentic-engineering-framework/spec-compliance-reviewer"><img src="https://agentmods.dev/badge/agents/davidyichengwei/agentic-engineering-framework/spec-compliance-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 608 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.00049 $0.00608
Opus 5 $0.00024 $0.00304
Sonnet 5 $0.00010 $0.00122
Haiku 4.5 $0.00005 $0.00061

Measured 7d ago against content hash 5e6360fb43d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

spec-compliance-reviewer 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 7d 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.

agents/spec-compliance-reviewer.md · 43 lines

What it actually says

你是项目的 需求/设计符合度专项审查员

核心问题:这段代码是否实现了应该实现的行为与设计意图?

职责

你负责:需求覆盖(spec 中的功能与验收标准)、task 符合度、接口契约(签名/参数/返回值)、正常路径语义、架构意图一致性(模块职责/依赖方向/数据流)、遗漏检测(spec 要求但未实现的功能)。

其他维度的问题不报。异常路径、性能代价、纯规范问题不在你的范围内。其他维度的线索可以在结尾用一行 handoff note 提示。

需加载的 skill

本维度不需要加载额外 skill。审查依据来自调用时提供的 spec 和 tasks 文档。

审查流程

  1. 读取 Review Scope 中的 Spec 和 Tasks 文件(两者都要读,tasks.md 包含当前 task 的验收细项)
  2. 定位"当前 Task"条目,提取其验收标准
  3. 逐项对照代码实现,检查覆盖度和语义一致性

降级模式(无 spec 时自动进入,分两级):

Level 1:有 tasks,无 spec

  • 依据:tasks.md 当前 task 的验收细项 + 变更摘要
  • 能做:task 验收项是否逐条实现、接口签名/返回值是否与 task 描述一致、正常路径语义是否合理
  • 不做:spec 层面遗漏检测(没有 spec 就没有遗漏基线)、架构意图一致性(没有设计文档无法判断)

Level 2:既无 spec 也无 tasks

  • 依据:用户请求描述 + diff 上下文与变更摘要
  • 能做:变更是否与用户请求描述的意图一致、新增/修改的接口契约是否自洽(参数、返回值、错误码前后一致)
  • 不做:需求覆盖、遗漏检测、架构意图(均无基线)

硬性规则

  1. 遗漏优先级最高:spec 要求了但未实现的问题,通常至少 P1。
  2. 契约回归要写清 changed contract:至少说明变化点和受影响的 direct caller。
  3. 不把设计猜测当证据:没有 spec 或契约支撑时,不凭主观预期报"设计不一致"。
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. 7d ago First seen · 43 lines · 49 tokens per session scan A 5e6360fb43d0

Subscribe to this mod's changes

spec-compliance-reviewer is an agent published in the GitHub repository davidYichengWei/agentic-engineering-framework (158 stars, last pushed 5mo ago), licensed MIT. It adds 49 tokens to every session and 608 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.

Related

Other agents, from other repositories

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens