with one click
requirement-debt-tracker
跟踪 state.json pending_debts 的全生命周期——创建、超期提醒、清理、归档。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
跟踪 state.json pending_debts 的全生命周期——创建、超期提醒、清理、归档。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
校验业务代码与 IDL 契约同步、字段冻结状态是否被破坏。作为 8 维度 code review 的"契约一致"维度,可被 design-checker / code-review-preparer 调用,也可独立运行。
聚合 8 维度 review Agent 的产出,生成统一的 review 报告并写入 reviews/{ts}.md。
当 context/ 下新增/删除文件时,自动更新对应层级的 INDEX.md,避免"孤儿文件"。
按 templates/detail-design.md 模板撰写详细设计文档,包括数据模型、IDL 变更、接口设计、决策、错误处理、监控、灰度等。
运维操作中心(Operations Center)通用适配器——为团队的运营/运维操作(开关、灰度、限流、降级)提供统一调用约定。具体实现按团队接入。
DevOps CLI 通用适配器——把团队的部署/构建/发布命令包装成一致的高层接口。具体实现按团队接入。
| name | requirement-debt-tracker |
| description | 跟踪 state.json pending_debts 的全生命周期——创建、超期提醒、清理、归档。 |
| allowed-tools | Read, Write, Edit, Glob, Bash |
原文 §8.3 需求生命周期类。fast_track / NEEDS_REWORK / 临时绕过的债务,都由本 Skill 跟踪。
state.json pending_debts 数组每条:
{
"id": "DEBT-001",
"desc": "补 C2.2.7 风险章节",
"source": "fast-track-20260528",
"due_at": "2026-06-04T00:00:00Z",
"status": "open|in_progress|resolved",
"owner": "koka",
"created_at": "..."
}
| 操作 | 触发 |
|---|---|
| create | 任一门禁 PASSED+fast_track / NEEDS_REWORK 时调度自动加 |
| list | /req-task:debt-list |
| resolve | 用户显式声明清掉某条 → 移到 state.json.resolved_debts |
| 超期检测 | CI 每天扫一遍,over due 的项让 lint 报红 |
DEBT-001 open 补 C2.2.7 风险章节 due=2026-06-04 (剩 6d)
DEBT-002 in_progress 补 dead-letter 单测 due=2026-06-01 (剩 3d) ⚠️
DEBT-003 open 审计 SQL 注入修复证据 due=2026-05-30 (超期!) ❌
/requirement:next