with one click
f2s-kb-rm
删除某 stock-docs 文档对应的知识主题与索引映射;触发:删除项目上下文、f2s-kb-rm
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
删除某 stock-docs 文档对应的知识主题与索引映射;触发:删除项目上下文、f2s-kb-rm
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
Accept an explicit capability list or infer from zero input; first output a knowledge-base update outline, then write topics/index/manifest after confirmation; triggers: f2s-kb-sync、全局同步、知识库同步、已实现能力、global sync、sync knowledge base、implemented capability
可显式给出能力或零输入推断;先输出知识库更新大纲,确认后写入 topics/index/manifest;触发:f2s-kb-sync、全局同步、知识库同步、已实现能力
Clarify a PRD or requirement through follow-up questions until it is actionable, then use f2s-req-tech to produce a technical design; triggers: 需求澄清、PRD 澄清、requirement clarification、PRD clarification
Generate a technical design document from clarified requirements using the project knowledge base, Skills, and Rules; triggers: 生成技术方案、技术方案、f2s-req-tech、generate technical design、technical design
针对 PRD/需求反问直到清楚,再可用 f2s-req-tech 出技术方案;触发:需求澄清、PRD 澄清
根据澄清后的需求基于项目知识库/Skills/Rules 生成技术方案文档;触发:生成技术方案、技术方案、f2s-req-tech
| name | f2s-kb-rm |
| description | 删除某 stock-docs 文档对应的知识主题与索引映射;触发:删除项目上下文、f2s-kb-rm |
执行口径:仅维护
.Knowledge,不改配置根rules/skills。
subAgent / switchAgentVerification)语义以统一入口为唯一事实源:Cursor/Claude 读配置根 rules/f2s-flow2spec-unified-entry.*;Codex 读 .codex/topics/f2s-flow2spec-unified-entry.md(与上同源,flow2spec init 镜像)。不在此复述。subAgent=true 且批量删除一次 ≥ 5 主题时,才拆子执行删除与清引用。fallbackTopic 重指。manifest-routing.json 与 .Knowledge/index.md 恒由主 agent 落盘。.Knowledge/stock-docs/<文件名>.md 路径,或可匹配文件名片段。.Knowledge/index.md,匹配目标文档相关主题。.Knowledge/topics/<topic>.md 文件。.Knowledge/index.md 移除匹配项并写回。.Knowledge/manifest-routing.json:移除失效 topicPaths、taskToTopicRules、topicDependencies、topicMetadata 引用matchers/<matcherId>.json:移除失效规则或 includeAny 词条(与已删 task/matcherId 对齐)fallbackTopic,必须指定新的兜底主题topicDependencies(删除被依赖主题或孤儿边),须先 Read rules/f2s-topic-authoring.* 全文(Cursor/Claude:rules/f2s-topic-authoring.mdc;Codex:.codex/topics/f2s-topic-authoring.md),核对 DAG 与最小化约束后再落盘。.Knowledge/index.md 删除的条目用户输入文件名片段「回调」,匹配到 2 个主题文档。
fallbackTopic,必须先指定新的兜底主题再落盘。manifest-routing.json 与 .Knowledge/index.md 恒由主 agent 落盘(写权硬约束);范围确认与 fallbackTopic 重指不可下放给子 agent。manifest 引用(必须为否)。index 是否仍存在失效主题路径(必须为否)。topicMetadata 是否仍引用已删除 topic(必须为否)。fallbackTopic 是否仍有效。