speclite-code-review-contract

speclite-code-review-contract is a skill for Claude Code from flanliulf/SpecLite. It costs 98 tokens per session (850 once invoked), scanned A, original, MIT.

A code-review contract auditor is a read-only checker for the shared rules and records used by a multi-step code review process. It validates review identities, schemas, decisions, scope, rounds, source versions, freshness, and closeout records.

In plain words
What is it for?
Use it to validate review, evaluation, fix, and finalizer records, including their Story links, version fingerprints, round bindings, and completion conditions.
Why use it?
It detects malformed, stale, mismatched, or incomplete review records without changing source code or review artifacts. This helps determine what is inconsistent and what should happen next.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to validate review, evaluation, fix, and finalizer records, including their Story links, version fingerprints, round bindings, and completion conditions.

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

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 speclite-code-review-contract

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-code-review-contract"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-code-review-contract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 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.00098 $0.00850
Opus 5.5 $0.00039 $0.00340
Sonnet 5.5 $0.00020 $0.00170
Haiku 4.5 $0.00010 $0.00085

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

Security

Grade A, and why

speclite-code-review-contract 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 2mo 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.

assets/source/speclite/sdlc-skills/4-implementation/speclite-code-review-contract/SKILL.md · 48 lines

How it starts

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

Speclite Code Review Contract(代码审查共享契约)

Overview(概述)

本 Skill 是 SpecLite CR01–06 与相关 runner 的共享契约 owner。它可在 fresh session 中独立解析并验证 CR v2 identity、路径、artifact schema、verdict、fingerprint、quorum、round binding、freshness 和 closeout 条件,不依赖任何 runner。

本 Skill 只读,不创建 review、evaluation、fix、TODO 或 finalizer artifact,也不修改源码、Story 或 tracker。

Core Capabilities(核心能力)

  • 契约唯一来源:以 references/cr-contract.md 作为 CR v2 唯一规范性定义。
  • 独立运行:支持人工按顺序单独调用 CR01–06,不要求先调用 Epic runner。
  • 结构校验:验证 schema、exact verdict、Story identity、series、round、scope 和 source hash。
  • 时效校验:检查 review、evaluation、fixRecord 与 Flow Gate 的 freshness 关系。
  • Closeout 校验:验证 rules extraction、TODO result 与 finalizer durable report 的 canonical path、schema 和 binding。
  • 只读诊断:输出具体不一致项和下一步,不替代 reviewer、evaluator、fixer 或 finalizer。

Workflow(工作流)

  1. 完整读取 references/cr-contract.md;文件不可读时 HALT。
  2. 运行 speclite resolve config --project-root {project-root},解析 merged planning_artifacts 与 implementation_artifacts;失败时 HALT。
  3. 根据输入建立唯一 storyId -> storyKey -> storyFile;CR 目录只通过 speclite resolve cr-directory 解析(见 references/cr-contract.md 的 CR Directory Resolution),再定位指定或 current CR artifact。
  4. 按共享契约检查 artifact schema、identity、path、series、round、hash、scope、verdict、freshness 与 CR04–06 durable closeout binding。
  5. 输出只读验证结论:VALID | INVALID | INCOMPLETE、逐项证据和精确下一步;不得修改被检查文件。

Notes(注意事项)

  • CR01–06 和 runner 都是本契约的 consumer,不得在各自 package 中复制契约定义。
  • runner/manual 只描述 orchestration source;CR Skill 不得把 runner 当成 scope、authorization、convergence 或 freshness 的唯一 authority。
  • 固定 artifact path 来自本 CR workflow contract;目标项目源码路径只有 owning SPEC 明确要求时才是 hard gate,否则接受有测试或 fixture 证据的 equivalent implementation。
  • SKILL.md 与 references/cr-contract.md 是中文 canonical 内容;字段名、enum、schema id、hash 与命令保留英文。
  • Bash 只可用于只读 resolver、hash 与状态检查,不得执行写入、删除、commit 或 push。
  • 本 Skill 不推进 Story/Epic 状态,不执行 commit 或 push。

Generation Metadata(生成信息)

本 Skill 由 speclite-skill-creator 体系维护。如需修改,必须同步更新 SKILL.md、SKILL.en.md、CHANGELOG.md、references/ 与实际安装副本。

Read the full file on GitHub · 48 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 48 lines · 98 tokens per session scan A 55c0b4a16bea

Subscribe to this mod's changes

speclite-code-review-contract is a skill published in the GitHub repository flanliulf/SpecLite (5 stars, last pushed 7d ago), licensed MIT. It adds 98 tokens to every session and 850 once invoked, about $0.0004 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-09-16.

Related

speclite-code-review-contract compared with skills from other repositories

speclite-code-review-contract next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speclite-code-review-contractflanliulf/SpecLiteSkill57d agoMITA98Claude Code
review-commentsdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A33Claude Code, Codex
review-implementation-craftdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A10Claude Code, Codex
review-implementation-functionality-evidencedoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A19Claude Code, Codex
final-fixdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A23Claude Code, Codex
review-implementation-cleanlinessdoordash-oss/agentic-orchestratorSkill1362d agoApache-2.0A13Claude Code, Codex
Security Audit Checklistniels-emmer/myaceSkill12d agoMITA33Claude Code, Codex