/t-tools:t-decision [feature-name]from t-tools
Guides product feature decisions before tech research or PRD. Runs structured interrogation (six questions) to validate problem, scope, and evidence strength.
Ships in t-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
契约:${CLAUDE_PLUGIN_ROOT}/protocols/decision-brief-contract.md
跨阶段决策连续性:${CLAUDE_PLUGIN_ROOT}/protocols/decision-continuity-contract.md
/t-decision 位于 /t-tech-research 和 /t-prd 之前,用来判断一个 feature 是否值得进入后续工程流程。它只做产品立项和范围取舍,不写 PRD、不做技术设计、不拆任务、不实现代码。
.ai/decision/<feature>.md.ai/decision-log/<feature>.mdMarkdown 使用 template.md。
$ARGUMENTS 必须是 feature 名称缺失或非法时终止并提示:/t-decision <feature>
如果 .ai/decision/<feature>.md 已存在,先询问覆盖、更新或终止。
更新已有 Product Decision 时不得复用原 DEC ID 改写历史结论;创建新 DEC、设置 Supersedes,并把旧记录移入 Decision Log 的 Superseded Decisions。
按需读取,缺失则跳过:
docs/prd/00-index.mddocs/user-stories/00-index.md.ai/user-stories/**/*.md.ai/decision/**/*.md.ai/decision-log/**/*.md.ai/prd/**/*.mddocs/prd/**/*.md.ai/tech-research/<feature>.md.ai/design/<feature>.md可少量搜索代码,用于判断已有能力、替代方案和复用事实;不得展开技术方案。
这一阶段的价值是辅导人类做判断,不是快速生成文档。要帮助用户把模糊想法压成可决策的问题。
保持直接、具体、可验证:
主动重构问题(reframe):锁定 problem statement 前,至少主动提出一个替代问题定义让用户确认或否决,而不是只在心里做代理问题检查。
对每个关键回答都形成判断:支持继续、削弱继续、还是需要更多证据。
不迎合模糊表达。用户说“体验更好”“更智能”“更完整”时,追问到具体场景、指标、行为或后果。
不把“有人觉得有用”当需求证据。行为、付费、业务阻塞、替代方案成本更重要。
不急着推进到 PRD。PRD 是承接已确认方向的产物,不是替用户做方向判断的地方。
可以推荐,但最终 scope 由用户决定。任何扩 scope、砍 scope、暂缓或拒绝都必须显式记录。
避免这些表达:
这是 /t-decision 的诘问主线,但只保留门禁。写 Verdict 前六问必须逐项有结论(或显式写跳过理由);上下文已能回答的直接引用,不重复问;一次只问一个,只问会影响 Verdict、Scope 或成功标准的问题。
范围方向收敛为 Expand / Selective Expand / Hold / Reduce / Explore 之一(见 Scope 模式)。
如果用户要求跳过,最多再问 1-2 个最高影响问题,然后继续写简报,并把证据弱点和未跑完的六问项写清楚。
四套框架(Product / Internal / Engineering Enabler / Builder)是六问主线跑完后的场景深化透镜,不重复六问,只补充该场景特有的判断。按场景选择问题,不需要机械问完;已有上下文能回答的,直接引用,不重复问。
问题与红旗清单见 references/inquiry-lenses.md(六问已有结论、需要按场景深化追问时读取对应一节)。
写 Verdict 前必须挑战一次前提:
如果前提不成立,不要为了推进流程而给 Proceed。
Expand:当前想法太小,扩大后价值显著更高。必须逐项让用户接受扩展。Selective Expand:主范围保持,但列出候选增强项让用户 cherry-pick。Hold:当前范围合理,后续阶段不得静默扩缩。Reduce:当前范围过大,先收缩到最小可验证价值。Explore:问题、用户或证据不足,先探索。默认倾向:
Selective Expand/t-decision;如用户坚持,默认 Hold 或 ReduceReduceResearch First写简报前至少生成两个选项:
Wedge:最薄能产生真实学习的切片,比 Minimal 更窄、更快,用于快速验证致命假设。Minimal:最小可验证价值,最少范围。Recommended:当前证据下最合理路径。Ambitious:更大或 10x 版本,仅在确有价值时列出。每个选项说明:
如果推荐选项会扩大或收缩 scope,必须先问用户确认。
必须给出一个:
Proceed:值得继续,产品方向足够明确。Research First:值得探索,但技术可行性、成本或依赖会影响范围。若存在致命假设,把“最小证伪计划”明确写入 Handoff 交给 /t-tech-research。Needs Clarification:关键产品判断缺失,继续写 PRD 会制造假设。Park:暂存,记录重启条件。Reject:不建议做。Needs Clarification、Park、Reject 也要写简报。Park 和 Reject 必须引用已写明的 Kill Criteria 作为依据,不能只凭直觉暂缓或否决。
使用 AskUserQuestion 时,问题必须是决策 brief,而不是表单:
不要把多个无关问题合并成一个大问题。若有多个 scope 项要用户选择,逐项问;用户未接受的项进入 Possible Expansions 或 Not in Scope。
如果 AskUserQuestion 不可用,用普通对话提出同样结构的问题,然后停止等待用户回答。
.ai/decision/ 和 .ai/decision-log/ 存在。Minimal 和 Recommended;若六问识别出致命假设,加 Wedge;确有价值时加 Ambitious。.ai/decision/<feature>.md,并同步创建或更新 .ai/decision-log/<feature>.md。Open Questions 不得进入 Active Decisions。说明:
/t-tech-research <feature>、/t-prd <feature>、重跑 /t-decision <feature> 或停止Park / Reject 引用了 Kill CriteriaWhat SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (timzaak/web-dev-skills) — no native marketplace selected
npx claudepluginhub p/timzaak-t-tools34 skills in this plugin
/t-designGenerate technical design documents including API design, database schema, and implementation details for a feature./t-design-checkEvaluate technical design documents for implementability, completeness, and consistency with a quantitative 100-point score./t-docGenerate human-readable project documentation — tutorials, getting-started guides, architecture overviews, API references, deployment or onboarding docs — by scanning the codebase for real facts. Output prefers an existing docs-web site over docs/tutorials/. Use when the user asks to write project docs, tutorials, guides, onboarding material, or a module walkthrough. Not for PRDs, technical designs, or API schema generation./t-dreamOrganize and realign published PRDs, user stories, implementation facts, and project structure so the target project keeps a clean current context instead of accumulating stale or misleading information. Audits published docs and code only; never reads the temporary .ai/ workflow directory. Use when asked to audit documentation drift, structure drift, traceability gaps, whether PRD/code/test/demo directory organization and module boundaries are reasonable, or to get PRD governance recommendations (merge/archive/rewrite/reference fixes) as read-only report output. Use --phase <phase> to check published PRD/story versus implementation-or-demo consistency for one delivery phase at phase wrap-up./t-extension-demo-accept独立验收 Chrome 扩展真实加载后的 Playwright 用户故事演示并汇总报告;普通 Web 页面演示使用 t-web-demo-accept。/t-extension-demo-run运行单个 Chrome 扩展 Playwright 用户故事演示,诊断并修复真实加载后的集成失败;普通 Web 页面演示使用 t-web-demo-run。Other plugins' skills for the same job