github / github/spec-kit

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

Aperta Adatta ai principianti
#4,272 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
137k
Fork
12.3k
Merge medio
2g 12h
PR unite (30g)
159

Descrizione

## 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with `.claude/skills/speckit-implement/SKILL.md`, at the “Check checklists status” instructions, and compare its checklist parsing contract with `.claude/skills/speckit-clarify/SKILL.md`. Verify the behavior using a checklist containing checkbox examples inside a fenced code block and real checklist items outside it. Done means fenced examples are ignored while per-checklist total, checked, and unchecked counts remain correct.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
markdown
Ambito
cli
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
84/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.