t-prd-check

t-prd-check is a skill for Claude Code from timzaak/web-dev-skills. It costs 23 tokens per session (825 once invoked), scanned A, original, Apache-2.0.

A quality check for draft product requirements documents and user stories. It examines whether the documents are complete, consistent, testable, and focused on product behaviour rather than implementation details.

In plain words
What is it for?
Use it to review PRD drafts, published PRD baselines, draft and published user stories, their consistency, and whether unresolved questions were handled explicitly.
Why use it?
It finds unclear stories, conflicts with published requirements, missing decisions, and technical details in the wrong documents before design or implementation begins. It also gives a score and a repair list.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the t-tools plugin — 29 skills, 31 agents shipped together

Good fit Use it to review PRD drafts, published PRD baselines, draft and published user stories, their consistency, and whether unresolved questions were handled explicitly.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add timzaak/web-dev-skills
Claude Code
/plugin install t-tools

Made for: Claude Code.

Or install t-tools, the plugin that ships this one along with the rest of its 29 skills, 31 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 t-prd-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-prd-check.svg)](https://agentmods.dev/skills/timzaak/web-dev-skills/t-prd-check)
Your own site
<a href="https://agentmods.dev/skills/timzaak/web-dev-skills/t-prd-check"><img src="https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-prd-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 825 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.00023 $0.00825
Opus 5 $0.00012 $0.00413
Sonnet 5 $0.00005 $0.00165
Haiku 4.5 $0.00002 $0.00082

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

Security

Grade A, and why

t-prd-check 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 3d 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/t-prd-check/SKILL.md · 61 lines

What it actually says

PRD 草稿与 User Story Quality Check

运行时边界:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md(判断产物写入位置或脚本入口与插件默认冲突时读) 需求来源边界:${CLAUDE_PLUGIN_ROOT}/protocols/requirement-source-contract.md(区分草稿与已发布需求来源或处理两者冲突时读) 决策连续性和用户决策暴露:${CLAUDE_PLUGIN_ROOT}/protocols/decision-continuity-contract.md(提问、更新决策账本或处理决策暴露门禁时读) 评估目标、评分维度、问题分级与报告结构:${CLAUDE_PLUGIN_ROOT}/protocols/prd-check-rubric.md(评分或分级前读)

本检查为可选质量检查:未运行或未通过不阻断 /t-design,但报告必须明确继续下游的已知风险。

输入范围

  • PRD 草稿:.ai/prd/**/*.md
  • 决策账本:.ai/decision-log/<feature>.md(存在时必须读取)
  • 已发布 PRD 基线:docs/prd/**/*.md
  • Draft 用户故事:.ai/user-stories/**/*.md
  • 已发布用户故事:docs/user-stories/**/*.md

执行流程

1. 确定检查范围

  • 单功能优先按文件名匹配 .ai/prd/**/*.md 草稿;无草稿则检查 docs/prd/**/*.md 正式 PRD(发布后质量检查);都不存在时提示检查功能名称或先运行 /t-prd [feature]
  • --all 默认检查全部草稿;无草稿时再检查全部正式 PRD
  • Glob 发现目标文件并排除特殊文件

2. 读取角色定义

读取 docs/user-stories/_roles.md,解析角色名称和技术标识,用于校验故事中的角色引用。

3. 评分与问题分级

全部按 ${CLAUDE_PLUGIN_ROOT}/protocols/prd-check-rubric.md 执行:

  • 先过 Decision Closure Gate:运行 check-decision-closure.pyneeds_user_answer 未解决时用 AskUserQuestion 阻塞提问;用户回答写入 Decision Log 后,先由 /t-prd [feature] 更新 PRD,重新扫描通过后再继续检查
  • 按 PRD Score / User Story Score 维度表逐项检查,并执行一致性门禁
  • .ai/user-storiesdocs/user-stories 分别标注 draft / published 来源
  • draft 与已发布基线的差异分类:补充新场景且不冲突记为 publish 候选;修改已发布语义必须识别差异性质;严重度按 rubric 的 P0/P1 定义

4. 输出

  • 控制台摘要与详细报告结构按 rubric 的 Output Requirements;报告写入 .ai/quality/prd-check-[YYYYMMDD-HHMMSS].md
  • 通过时建议下一步 /t-design [feature];未通过或修复后建议重新运行 /t-prd-check [feature]

失败处理

  • 文件解析错误:记录错误并继续其他文件
  • 报告目录不存在:使用 Bash 创建 .ai/quality/
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. 3d ago Changed · -49 lines 9aef4126a3aa
  2. 8d ago First seen · 110 lines · 23 tokens per session scan A 87c8be589e44

Subscribe to this mod's changes

t-prd-check is a skill published in the GitHub repository timzaak/web-dev-skills (71 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 825 once invoked, about $0.0001 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 skills, from other repositories