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.
npx agentmods add skills/timzaak/web-dev-skills/t-task-checknpx skills add timzaak/web-dev-skills --skill t-task-checkgit clone --depth 1 https://github.com/timzaak/web-dev-skillsWrote 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.
[](https://agentmods.dev/skills/timzaak/web-dev-skills/t-task-check)<a href="https://agentmods.dev/skills/timzaak/web-dev-skills/t-task-check"><img src="https://agentmods.dev/badge/skills/timzaak/web-dev-skills/t-task-check.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00027 | $0.03354 |
| Opus 5 | $0.00014 | $0.01677 |
| Sonnet 5 | $0.00005 | $0.00671 |
| Haiku 4.5 | $0.00003 | $0.00335 |
Grade A, and why
t-task-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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
任务规划质量检查
运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md
需求来源边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/requirement-source-contract.md
决策连续性和用户决策暴露统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/decision-continuity-contract.md
目标
- 评估任务文档可执行性与一致性。
- 验证
phase -> slot -> item结构。 - 给出可复查的 100 分量化结果。
- 输出 P0/P1/P2 修复清单。
- 必须按当前阶段调度对应 sub agent 做专业校验,再由主流程聚合结论。
- 本检查为可选,不作为
/t-run的硬性前置;但一旦运行,报告必须严格按 rubric 给出准入风险。 - 发现必须由用户裁决的规划问题时,使用
AskUserQuestion阻塞式提问,不得只写入 P0/P1/P2 后继续准入。
评分、阻塞条件、报告要求、跨轮收敛和 agent 评审边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md
事实优先级(强制)
证据优先级和争议处理统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md
使用方式
/t-task-check [feature] [--phase <backend|frontend|miniapp|flutter|web-demo|flutter-demo>]
| 参数 | 说明 |
|---|---|
[feature] |
功能名(必填) |
--phase <phase> |
指定阶段检查;未指定时检查 .state.json 当前阶段 |
输入范围
- 设计文档:
.ai/design/[feature].md - 决策账本:
.ai/decision-log/[feature].md(存在时必须读取) - 需求来源:
.ai/user-stories/**/*.md、docs/user-stories/**/*.md、.ai/prd/**/*.md、docs/prd/**/*.md、.ai/tech-research/**/*.md(按设计文档引用读取) - 状态文件:
.ai/task/[feature]/.state.json - 阶段目录:
.ai/task/[feature]/[phase]/ - 阶段索引:
index.md - slot manifest:
- backend/frontend/miniapp/flutter:
dev.md、test.md、accept.md - web-demo / flutter-demo:
dev.md、accept.md
- backend/frontend/miniapp/flutter:
- item 文件:
- backend/frontend/miniapp/flutter:
dev/*.md、test/*.md、accept/*.md - web-demo / flutter-demo:
dev/*.md、accept/*.md
- backend/frontend/miniapp/flutter:
Schema 校验
.state.json 的 schema 要求统一参考:
${CLAUDE_PLUGIN_ROOT}/protocols/task-state-contract.md${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md
任一项缺失或非法即返回 TASK_SCHEMA_INVALID
旧格式 item(缺少 Goal/Work/Files/Validation/Handoff 五章节)不做兼容迁移;返回结构问题并提示重新运行 /t-task [feature] --phase [phase]。
执行流程
- 校验设计文档是否存在。
- 读取
.state.json并验证 schema。 - 若指定
--phase,仅检查该阶段;否则检查当前阶段。指定阶段必须存在于.state.json.phases的 active phases 中。 - 读取阶段目录下的
index.md、slot manifest,并建立 item 文件清单。 - 对当前 phase 全部 Markdown 运行
python ${CLAUDE_PLUGIN_ROOT}/scripts/check-decision-closure.py <all-phase-markdown-paths>,并核对index.md的 Decision Trace 覆盖相关 Active Decision。 - 校验 item 时按以下顺序读取:
- 从
.state.json、slot manifest 和 item 文件头/关键章节抽取id/title/agent/test_item_type以及Goal/Work/Files/Validation/Handoff。 - 用抽取结果完成 item 存在性、路径一致性、manifest 顺序与覆盖、agent/slot 匹配和 backend test authoring/集中 runner 覆盖校验。
- 发现字段缺失、顺序/manifest 不一致、拆分阈值可疑、过度拆分可疑、设计一致性可疑或需要为 P0/P1 补证时,读取对应 item 全文。
- 大型 phase 先用
Grep、路径清单或 manifest 定位目标 item,再读取命中的 item 文件。
- 从
- 按
${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md校验 manifest 执行顺序与覆盖关系。 - 验证 item 文件结构与内容:
- 必须包含
id/title/agent和Goal/Work/Files/Validation/Handoff五个章节 - backend/test item 必须声明
test_item_type: authoring|runner - backend/test runner item 必须使用
agent: general-purpose,并引用${CLAUDE_PLUGIN_ROOT}/protocols/backend-test-execution.md - backend/test 必须有 runner item 覆盖全部相关 authoring item,且 runner 在 manifest 中排在这些 authoring item 之后
- backend/accept 前的 backend/test slot 必须至少有一个 runner 完成测试执行闭环
- frontend/test、miniapp/test、flutter/test、web-demo/dev 和 flutter-demo/dev 涉及测试代码 authoring 时,必须有集中定向执行 item,且在 manifest 中排在其覆盖的全部相关 authoring item 之后
- 集中测试执行 item 必须包含
Expected Test Manifest,逐项列出测试文件、测试函数/用例标题、来源 authoring item 和 runner 命令 - 测试执行 item 必须从覆盖来源推导定向命令;如升级全量,必须说明定向范围不足或门禁要求
- 对 backend/frontend/miniapp/flutter/web-demo/flutter-demo 的集中测试执行 item,优先运行
uv run scripts/check-test-runner-coverage.py [feature] --layer [layer]做覆盖校验;backend 动态校验失败应记 P1 或 P0(取决于是否导致新增测试无法执行),其他层静态校验失败至少记 P1 - 后端测试命令必须使用目标项目内脚本入口
uv run scripts/backend-test.py -- [filter];即使没有 filter,也必须写为uv run scripts/backend-test.py --。不得写成${CLAUDE_PLUGIN_ROOT}/scripts/backend-test.py或省略--。若测试 item 使用cargo run、裸cargo test、插件根路径或省略--的后端测试命令,记 P1,并改为统一入口。 - 不得把完整 slot 内容塞进一个 item
- 超过拆分阈值,或职责、验证边界可疑时,必须有合理说明,否则记 P1
Goal或Work中包含两个可独立交付、独立验证的主交付物时,必须拆分,否则记 P1- 单个 HTTP/API item 覆盖超过 10 个 endpoint,或混合不同资源域、读写操作、状态操作、配置类接口时,必须拆分,否则记 P1
- 单个 web-demo / flutter-demo item 同时创建复用 helper 并覆盖多个完整用户故事或多个业务状态流时,必须拆分,否则记 P1
- 必须包含
- 核对设计文档与任务文档的一致性;纯技术方案任务可只追溯设计文档中的技术预研来源,不得因缺少 PRD/用户故事扣 P0。
- 若任务或设计引用
.ai/user-stories,确认其为 draft 候选来源且路径存在;不得要求先发布到docs/user-stories才能进入/t-run。 - 通过
Agenttool 调度当前阶段对应 subagent 做专业校验。每个 subagent 独立启动,传入 prompt 包含:该 agent/slot 相关 item 的文件路径、关键字段摘要、必要 item 全文或片段、设计文档相关节、验证范围、${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md中的 agent 评审边界、输出格式要求(score/findings/fixes/summary)。可并行调度同阶段多个 subagent。- 不得默认把当前 phase 的全部 item 全文传给每个 subagent。
- dev agent 默认只接收 dev item 与直接影响实现的跨 slot 摘要。
- test agent 默认只接收 test item、相关 dev
Handoff/Files摘要和集中定向测试执行闭环约束。 - accept agent 默认只接收 accept item、顺序中相关 runner/dev
Handoff摘要和验收闭环约束。 - web-demo / flutter-demo 阶段按 dev/accept slot 同样做最小分发。
- backend: subagent_type="backend-dev", "backend-test", "backend-accept"
- frontend: subagent_type="frontend-dev", "frontend-test", "frontend-accept"
- miniapp: subagent_type="miniapp-dev", "miniapp-test", "miniapp-accept"
- flutter: subagent_type="flutter-dev", "flutter-test", "flutter-accept"
- web-demo: subagent_type="web-demo-dev", "web-demo-accept"
- flutter-demo: subagent_type="flutter-demo-dev", "flutter-demo-accept"
- 聚合 agent 结果并进行主流程复核:同类问题合并,P0/P1 必须补齐任务文档证据和真源证据。
- 若复核后存在
${CLAUDE_PLUGIN_ROOT}/protocols/task-check-rubric.md定义的needs_user_answer,先查 Decision Log;仍未解决时立即使用AskUserQuestion。回答前不得给出可进入/t-run的结论;回答后先更新 Decision Log 和拥有该事实的设计/任务文档,再重新扫描和评分。 - 按评分体系生成评分与问题清单。
- 执行报告一致性自检。
- 输出下一步建议:通过或风险可接受时进入
/t-run [feature] --phase [phase];修复后可重新运行/t-task-check [feature] --phase [phase]。 - 写入报告:
.ai/quality/task-check-[feature]-[YYYYMMDD-HHMMSS].md。
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.
- 5d ago First seen · 171 lines · 27 tokens per session scan A ed5aa64a46db
t-task-check is a skill published in the GitHub repository timzaak/web-dev-skills (69 stars, last pushed yesterday), licensed Apache-2.0. It adds 27 tokens to every session and 3,354 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.
Other skills, from other repositories
chinese-documentation
中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.
chinese-git-workflow
国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.
chinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。.
chinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.
systematic-debugging
Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.
dispatching-parallel-agents
当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用.