/req-tpm:req-intakefrom Requirement TPM
Challenges whether a requirement is worth doing, writes a verifiable expected outcome, then creates a Feishu doc and Meegle work item linked together. Use when someone raises a product or technical requirement without a doc or work item.
Ships in Requirement TPM. 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.
None: SKILL.md is the whole skill.
需求跟丢,多半丢在第一步:一句话在群里提了,没有文档,没有工作项,也没人写下"做成什么样算成"。这一步我们只做三件事:问清值不值得做,写下可验证的预期效果,把文档和工作项建出来并互相挂上。提出人是这个需求的 TPM,Agent 是他的搭档,不是替他拍板。
按下面顺序问提出人,答不上来的写进文档「待确认问题」,不替他编:
结论只有三种:立项 / 建议不做(附原因,提出人确认后关闭) / 先补信息。
这是整条链路最后验收的依据(req-outcome 会回来对它)。每条必须同时有:
| 项 | 例子 |
|---|---|
| 指标或可观察行为 | /resume 列表首屏加载 P95 |
| 基线(现在的值,带来源) | 2.4 s,来自上周埋点 |
| 目标 | ≤ 800 ms |
| 怎么测、谁来测 | 同一埋点,上线后 7 天窗口,提出人看 |
| 观察窗口 | 上线后 7 天 |
写不出基线就先写「基线待测」和测法,不允许只写「体验更好」「更稳定」。
用 templates/requirement-doc.md 填好后创建(Markdown 导入):
lark-cli docs +create --as user --doc-format markdown \
--title "【需求】<一句话标题>" --content @req.md \
[--parent-token <需求文件夹或 wiki 节点 token>]
记下返回的文档 URL。
meegle workitem meta-create-fields --project-key <PK> --work-item-type <类型 key> --format json
meegle workitem meta-roles --project-key <PK> --work-item-type <类型 key> --format json
meegle workitem create --project-key <PK> --work-item-type <类型 key> \
--fields '[{"field_key":"name","field_value":"<标题>"},{"field_key":"<需求文档链接字段>","field_value":"<文档 URL>"}]' \
--format json
meta-create-fields 里取。description。lark-cli docs +update --as user --doc <文档 URL> --command str_replace \
--pattern "工作项:待创建" --content "工作项:<Meegle 链接>"
meegle workitem get --project-key <PK> --work-item-id <ID> --format json 能读回标题和文档链接。lark-cli docs +fetch --as user --doc <URL> --keyword "工作项" 能看到 Meegle 链接。给提出人一张卡片:结论、预期效果表、文档链接、工作项链接、待确认问题。下一步通常是 req-prioritize。
先确认身份和空间(每个会话一次):
meegle project search --project-key "<空间名或 key>" --format json
meegle workitem meta-types --project-key <PK> --format json
lark-cli docs +fetch --as user --doc <需求文档 URL> --scope outline
字段 key、状态 key、transition_id 一律现查,不要凭记忆填,见 templates/meegle-field-mapping.md。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
requirement-intake, feishu, meegle, expected-outcome, work-item
npx claudepluginhub minimax-ai/mcode-stack --plugin req-tpm6 skills in this plugin
/req-design为已排期的需求做方案:列至少两个选项、写决策记录、评估波及面(blast radius)、定验收检查点,全部落进需求文档。Use when a requirement is scheduled and before implementation, or when someone asks 方案怎么定 / 这个改动会影响哪些地方./req-outcome上线后对照 intake 写下的预期效果收集证据,判断是否达成;没达成就写清差距和下一步;只有拿到证据才关闭需求。Use after the observation window of a shipped requirement, when someone asks 这个需求效果怎么样 / 可以关了吗, or before closing a work item./req-prioritize对一个已受理的需求,对照当前在做的工作(WIP)评估成本、影响、风险,给出排期建议和理由;提出人提建议,负责人拍板。Use after req-intake, at backlog grooming or sprint planning, or when someone asks 这个需求优先级多高 / 能不能插队./req-ship上线前做就绪检查(回滚方案、可观测性、完成定义 DoD),全部有证据后再推进 Meegle 状态或节点。Use before a requirement is deployed or marked done, when someone says 可以上线了吗 / 准备发布, or before transitioning the work item to a released state./req-track按固定节奏跟进进行中的需求,用站会格式记录进展、阻塞和下一步;超过约定时间没有更新的需求要显式标出来,不能悄悄沉下去。Use for daily or weekly requirement check-ins, when asked 这个需求到哪了 / 有没有卡住的, or from a scheduled routine.Other plugins' skills for the same job