Bug Assessment: <short title>

发布时间:2026/9/5 16:15:46
Bug Assessment: <short title> Bug Assessment:【免费下载链接】spec-kit Toolkit to help you get started with Spec-Driven Development项目地址: https://gitcode.com/GitHub_Trending/sp/spec-kitSlug: BUG_SLUGCreated: ISO 8601 dateSource: URL or pasted textVerdict: valid | likely valid, needs reproduction | invalidSeverity: critical | high | medium | lowReport (verbatim or summarized)引用/浓缩的报告内容若抓取了 URL包含标题与短摘录并链接 URL。Symptom一两句话描述观察到的行为与预期行为。Reproduction未知处标记为 [NEEDS CLARIFICATION: …]Suspected Code Pathspath/to/file.py:42—path/to/other.ts:func()—Root Cause Hypothesis一段话并注明置信度high / medium / lowProposed RemediationPreferred: 一到两段描述变更。Alternatives可选:alternative trade-offFiles likely to change:path/to/file.pypath/to/test_file.pyTests to add or update:Risks ConsiderationsOpen Questions[NEEDS CLARIFICATION: …]7. **汇报** — 必须输出所用 slug 及其来源用户提供 / 询问所得 / 自动生成并**单独占一行**如 Slug: BUG_SLUG方便同一下游命令从上下文直接复用而无需再次询问assessment.md 的路径 .specify/bugs/BUG_SLUG/assessment.mdverdict 与 severity以及下一步建议 __SPECKIT_COMMAND_BUG_FIX__ slugBUG_SLUG。 ## 6. 下游衔接占位符如何变成真实命令 assessment.md 中出现的 __SPECKIT_COMMAND_BUG_FIX__、__SPECKIT_COMMAND_BUG_TEST__ 是命令间解耦的关键。安装/注册阶段Spec-Kit 会把这类占位符替换为当前 Agent 实际暴露的调用形式。源码中这一逻辑集中在 [resolve_command_refs](https://link.gitcode.com/i/20259975329e4c516d9ad6eb08ffb3de) python staticmethod def resolve_command_refs(content: str, separator: str ., prefix: str /) - str: Replace __SPECKIT_COMMAND_NAME__ placeholders with invocations. return re.sub( r__SPECKIT_COMMAND_([A-Z][A-Z0-9_]*)__, lambda m: prefix speckit separator m.group(1).lower().replace(_, separator), content, )【免费下载链接】spec-kit Toolkit to help you get started with Spec-Driven Development项目地址: https://gitcode.com/GitHub_Trending/sp/spec-kit创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考