checklist

checklist is a command for Claude Code from loulanyue/spec-kit-zh. It costs 14 tokens per session (3,942 once invoked), scanned A, a copy of checklist, MIT.

A command that turns a written feature request into a checklist for checking whether the requirements are clear, complete, consistent, and ready to build.

In plain words
What is it for?
Use it to review requirements for missing edge cases, unclear measurements, inconsistent rules, accessibility coverage, and undefined behavior.
Why use it?
It catches gaps and ambiguity in the specification itself, rather than checking whether finished code works.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to review requirements for missing edge cases, unclear measurements, inconsistent rules, accessibility coverage, and undefined behavior.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/loulanyue/spec-kit-zh/checklist
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/loulanyue/spec-kit-zh

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 checklist

README.md
[![agentmods](https://agentmods.dev/badge/commands/loulanyue/spec-kit-zh/checklist.svg)](https://agentmods.dev/commands/loulanyue/spec-kit-zh/checklist)
Your own site
<a href="https://agentmods.dev/commands/loulanyue/spec-kit-zh/checklist"><img src="https://agentmods.dev/badge/commands/loulanyue/spec-kit-zh/checklist.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,942 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 88% copy Near-identical to another mod 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.00014 $0.03942
Opus 5 $0.00007 $0.01971
Sonnet 5 $0.00003 $0.00788
Haiku 4.5 $0.00001 $0.00394

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

Security

Grade A, and why

checklist 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.

Origin

This is a copy

88% identical to checklist — 129 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

templates/commands/checklist.md · 307 lines

How it starts

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

检查清单定位:"面向需求文本的单元测试"

关键概念:检查清单本质上是针对需求写作质量的单元测试,用于验证特定领域中的需求是否清晰、完整且可执行。

不是用来做实现验证/功能测试的

  • ❌ NOT "Verify the button clicks correctly"
  • ❌ NOT "Test error handling works"
  • ❌ NOT "Confirm the API returns 200"
  • ❌ NOT checking if code/implementation matches the spec

而是用来验证需求质量的

  • ✅ "Are visual hierarchy requirements defined for all card types?" (completeness)
  • ✅ "Is 'prominent display' quantified with specific sizing/positioning?" (clarity)
  • ✅ "Are hover state requirements consistent across all interactive elements?" (consistency)
  • ✅ "Are accessibility requirements defined for keyboard navigation?" (coverage)
  • ✅ "Does the spec define what happens when logo image fails to load?" (edge cases)

类比理解:如果把规格说明看成“用自然语言写成的代码”,那么检查清单就是它的单元测试套件。你验证的是需求本身是否写得好、是否完整、是否无歧义、是否已准备好进入实现阶段,而不是验证实现结果是否正确。

用户输入

$ARGUMENTS

在继续之前,你必须考虑用户输入(如果不为空)。

语言要求

  • 所有问题、生成的检查项、分类标题、摘要和报告都必须使用简体中文。
  • CHK001[Spec §X.Y]、文件路径与命令等可追踪标记保持原始机器可读形式。

执行步骤

  1. 设置:从仓库根目录运行 {SCRIPT} 并解析 JSON 输出,获取 FEATURE_DIR 和 AVAILABLE_DOCS 列表。

    • 所有文件路径必须是绝对路径。
    • 对于参数中的单引号(例如 "I'm Groot"),使用转义语法:例如 'I'\''m Groot'(或尽量使用双引号)。
  2. Clarify intent (dynamic): Derive up to THREE initial contextual clarifying questions (no pre-baked catalog). They MUST:

    • Be generated from the user's phrasing + extracted signals from spec/plan/tasks
    • Only ask about information that materially changes checklist content
    • Be skipped individually if already unambiguous in $ARGUMENTS
    • Prefer precision over breadth

    Generation algorithm:

    1. Extract signals: feature domain keywords (e.g., auth, latency, UX, API), risk indicators ("critical", "must", "compliance"), stakeholder hints ("QA", "review", "security team"), and explicit deliverables ("a11y", "rollback", "contracts").
    2. Cluster signals into candidate focus areas (max 4) ranked by relevance.
    3. Identify probable audience & timing (author, reviewer, QA, release) if not explicit.
    4. Detect missing dimensions: scope breadth, depth/rigor, risk emphasis, exclusion boundaries, measurable acceptance criteria.
    5. Formulate questions chosen from these archetypes:
      • Scope refinement (e.g., "Should this include integration touchpoints with X and Y or stay limited to local module correctness?")
      • Risk prioritization (e.g., "Which of these potential risk areas should receive mandatory gating checks?")
      • Depth calibration (e.g., "Is this a lightweight pre-commit sanity list or a formal release gate?")
      • Audience framing (e.g., "Will this be used by the author only or peers during PR review?")
      • Boundary exclusion (e.g., "Should we explicitly exclude performance tuning items this round?")
      • Scenario class gap (e.g., "No recovery flows detected—are rollback / partial failure paths in scope?")

Read the full file on GitHub · 307 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. 8d ago First seen · 307 lines · 14 tokens per session scan A 916e54b8eb69

Subscribe to this mod's changes

checklist is a command published in the GitHub repository loulanyue/spec-kit-zh (339 stars, last pushed 6d ago), licensed MIT. It adds 14 tokens to every session and 3,942 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to checklist, differing in 129 lines, and is treated as a copy.