Skip to content

Commit 64ea94d

Browse files
0xrafasecclaude
andcommitted
feat: add claude-ask-questions preset for AskUserQuestion rendering
Delivers the /speckit.clarify and /speckit.checklist AskUserQuestion integration as a stackable preset under presets/claude-ask-questions/ instead of modifying core templates or ClaudeIntegration. - presets/claude-ask-questions/preset.yml registers command overrides for speckit.clarify and speckit.checklist following the same pattern as the bundled lean preset. - Override commands replace the Markdown-table question-rendering blocks with AskUserQuestion instructions. Option | Description maps to {label, description} for clarify; Option | Candidate | Why It Matters maps to {label: Candidate, description: Why It Matters} for checklist. Recommended option is placed first with a "Recommended — <reasoning>" prefix; a final "Custom"/"Short" option preserves the free-form ≤5-word escape hatch. - Registered in presets/catalog.json as a bundled preset. Core templates, ClaudeIntegration, and the existing test suite are left untouched, so non-Claude agents and users who do not install this preset see no behavior change. Closes #2181 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cdbea09 commit 64ea94d

File tree

4 files changed

+665
-1
lines changed

4 files changed

+665
-1
lines changed

presets/catalog.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schema_version": "1.0",
3-
"updated_at": "2026-04-10T00:00:00Z",
3+
"updated_at": "2026-04-13T00:00:00Z",
44
"catalog_url": "https://raw.githubusercontent.com/github/spec-kit/main/presets/catalog.json",
55
"presets": {
66
"lean": {
@@ -17,6 +17,21 @@
1717
"workflow",
1818
"core"
1919
]
20+
},
21+
"claude-ask-questions": {
22+
"name": "Claude AskUserQuestion",
23+
"id": "claude-ask-questions",
24+
"version": "1.0.0",
25+
"description": "Replaces Markdown-table question rendering in /speckit.clarify and /speckit.checklist with Claude Code's native AskUserQuestion structured picker",
26+
"author": "0xrafasec",
27+
"repository": "https://github.com/github/spec-kit",
28+
"bundled": true,
29+
"tags": [
30+
"claude",
31+
"ask-user-question",
32+
"clarify",
33+
"checklist"
34+
]
2035
}
2136
}
2237
}

0 commit comments

Comments
 (0)