24 lines
1.7 KiB
JSON
24 lines
1.7 KiB
JSON
{
|
|
"_说明": "Le SPEC 触发用例。应触发:从想法/零散需求出发要梳理成规格;不应触发:已批准 SPEC 的实现、纯文案、无关任务。family 标注场景族。",
|
|
"recommended_threshold": 0.3,
|
|
"negative_patterns": ["直接写代码", "直接改代码", "别做 spec", "别做访谈", "润色", "排版", "只要总结", "翻译一下", "帮我实现"],
|
|
"should_trigger": [
|
|
{"text": "帮我把这个想法整理成 spec,我想做一个记账 App", "family": "idea_to_spec"},
|
|
{"text": "这些需求有点乱,你先帮我梳理梳理,想清楚了再动手", "family": "messy_requirements"},
|
|
{"text": "我要做个 App,先分析下需求,来一场深度访谈", "family": "explicit_interview"},
|
|
{"text": "用 openspec 给这个新功能写个正式的规格", "family": "openspec_named"},
|
|
{"text": "先 grill 我一下,把这个方案想透再写规格", "family": "grill_named"},
|
|
{"text": "需求变了,把之前批准的 spec 更新一下,加一个导出功能", "family": "spec_change"},
|
|
{"text": "refine these rough requirements into a testable spec", "family": "en_trigger"}
|
|
],
|
|
"should_not_trigger": [
|
|
{"text": "spec 已经批了,现在开始实现 tasks 里的任务吧", "family": "implementation_phase"},
|
|
{"text": "帮我把这份 PRD 润色一下排版更好看", "family": "doc_polish"},
|
|
{"text": "这段代码有个 bug,帮我修一下", "family": "unrelated_task"},
|
|
{"text": "别做 spec 了直接改代码,改完告诉我就行", "family": "explicit_skip"}
|
|
],
|
|
"near_neighbor": [
|
|
{"text": "帮我把这个想法整理成 skill", "family": "meta_confusion_should_route_le_meta_skill"}
|
|
]
|
|
}
|