feat(preset): add copilot-ask-questions clarify preset#2003
feat(preset): add copilot-ask-questions clarify preset#2003fdcastel wants to merge 2 commits intogithub:mainfrom
Conversation
Packages the vscode/askQuestions enhancement as a community preset, as recommended by maintainer in github#1962. When installed, overrides the /speckit.clarify command to batch all queued questions in a single askQuestions call when the tool is available, falling back to standard sequential flow otherwise. Addresses github#1657.
|
@mnriem I don't know what I’m doing here !😄 If you’ve got any wisdom to share, I’m all ears! 🤗 |
There was a problem hiding this comment.
Pull request overview
Adds a new opt-in preset intended to override /speckit.clarify with a GitHub Copilot-specific interaction model that batches clarification questions via vscode/askQuestions when available, while keeping the core clarify command unchanged.
Changes:
- Adds a new preset manifest defining
copilot-ask-questionsand a command override forspeckit.clarify. - Introduces a customized
speckit.clarifycommand template that conditionally batches questions usingvscode/askQuestions. - Adds preset documentation (README) and an MIT license.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| copilot-ask-questions/preset.yml | Declares the new preset and command override metadata. |
| copilot-ask-questions/commands/speckit.clarify.md | Implements the batched questioning behavior in the clarify command instructions. |
| copilot-ask-questions/README.md | Documents the preset’s purpose and installation/usage. |
| copilot-ask-questions/LICENSE | Adds MIT license for the preset contents. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
copilot-ask-questions/README.md
Outdated
| ### From a release URL | ||
|
|
||
| ```bash | ||
| # FIXME ? | ||
| specify preset add --from https://github.com/github/spec-kit/releases/.../copilot-ask-questions.zip |
There was a problem hiding this comment.
The installation snippet still contains a “FIXME” placeholder and a non-existent .../copilot-ask-questions.zip URL. This makes the README unusable as-is. Replace this with a real install path (e.g., specify preset add copilot-ask-questions once it’s in the community catalog, or a concrete GitHub release asset/archive URL for this preset’s repo).
| ### From a release URL | |
| ```bash | |
| # FIXME ? | |
| specify preset add --from https://github.com/github/spec-kit/releases/.../copilot-ask-questions.zip | |
| ### From the community catalog | |
| ```bash | |
| specify preset add copilot-ask-questions |
There was a problem hiding this comment.
This was intentional.
I'm looking for guidance on how this will be distributed and what URL should be put here in case this PR lands on main.
- Resolve step 3/4 conflict: qualify 'Do NOT output all at once' to apply only when vscode/askQuestions is unavailable; batching is explicitly allowed when the tool is available - Add preset to presets/catalog.community.json (sorted by ID) - Update README install section with community catalog command and concrete release URL (remove FIXME placeholder)
Summary
Adds a community preset that packages the
vscode/askQuestionsenhancement for/speckit.clarifyinstead of changing the coreclarifycommand directly.This follows the guidance on #1962 to publish the Copilot-specific behavior as a preset for the community to try.
What This Adds
copilot-ask-questionsspeckit.clarifythat:vscode/askQuestionsto present all queued clarification questions in a single batched call when availableWhy Preset-Based
The previous PR attempted to change the shared core command. This version keeps the core workflow untouched and makes the Copilot-specific interaction model opt-in.
Testing
uv run python -m pytest tests/test_presets.py -v --tb=shortRelated
vscode/askQuestions. Fix #1657. #1962