github / github/spec-kit

[Bug]: /speckit-implement counts checkbox markers inside fenced code blocks — example checkboxes can falsely block implementation

未关闭 适合新手
#4,272 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
137k
派生
12.3k
平均合并
2 天 12 小时
30 天内合并 PR
159

描述

## Version

spec-kit v1.0.1 (`.claude/skills/speckit-implement/SKILL.md`, "Check checklists status")

## Description

The checklist scan counts every `- [ ]` / `- [x]` / `- [X]` line in every checklist file, including lines inside fenced code blocks. A checklist that *documents* the checkbox format with an example fence therefore reports phantom unchecked items, and implementation is blocked by checkboxes that aren't real work items.

The clarify command already handles this correctly — `.claude/skills/speckit-clarify/SKILL.md` specifies parsing Markdown outside code fences — so this is an internal inconsistency between the two commands' parsers as much as a bug.

## Expected behavior

Count checkbox markers only outside fenced code blocks (same contract as the clarify parser), keeping the existing per-checklist total/checked/unchecked reporting.

贡献指南

打开贡献指南

调研方向

从 `.claude/skills/speckit-implement/SKILL.md` 中的“Check checklists status”指令开始,并将其 checklist 解析契约与 `.claude/skills/speckit-clarify/SKILL.md` 进行比较。使用一个包含 fenced code block 内复选框示例以及其外部实际 checklist 项目的 checklist 来验证行为。完成标准是忽略 fenced code blocks 中的示例,同时每个 checklist 的总数、已勾选数和未勾选数仍保持正确。

由索引模型根据 Issue 内容生成。

评估

技术栈
markdown
领域
cli
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
84/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。