feat: Register "What-if Analysis" community extension#2182
feat: Register "What-if Analysis" community extension#2182DevAbdullah90 wants to merge 5 commits intogithub:mainfrom
Conversation
mnriem
left a comment
There was a problem hiding this comment.
Please deliver this as an extension as per https://github.com/github/spec-kit/tree/main/extensions
|
I have refactored the implementation to deliver the "what-if" analysis as a standalone extension rather than a core feature. Changes in this PR:
The feature is now fully optional and can be added via |
mnriem
left a comment
There was a problem hiding this comment.
Community extensions are hosted in your own GitHub repository. Once you have it there you we can include it in the community catalog and list it on the README.
If you need more information let me know.
Thanks!
|
Hi @mnriem, I have completed the migration of the What-if Analysis extension to a standalone repository as you suggested. Changes in this PR:
I've also updated the command metadata in the standalone repo to ensure script paths work correctly when installed into a Please let me know if there are any further adjustments needed. Thanks! |
There was a problem hiding this comment.
Pull request overview
This PR publishes the “What-if Analysis” community extension by adding it to the community extension catalog and listing it in the README’s Community Extensions table.
Changes:
- Add “What-if Analysis” to
extensions/catalog.community.json. - Add “What-if Analysis” to the Community Extensions table in
README.md.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds the new extension to the Community Extensions table. |
| extensions/catalog.community.json | Registers the new “whatif” extension in the community catalog. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (2)
extensions/catalog.community.json:1922
- The new extension entry is missing
download_url, which is required for installing extensions from the catalog. Without it,specify extension add whatifwill fail with “has no download URL”. Add a HTTPS ZIPdownload_url(typically a GitHub release asset URL) to make the catalog entry installable.
"whatif": {
"name": "What-if Analysis",
"id": "whatif",
"description": "Preview the downstream impact (complexity, effort, tasks, risks) of requirement changes before committing to them.",
"author": "DevAbdullah90",
"version": "1.0.0",
"repository": "https://github.com/DevAbdullah90/spec-kit-whatif",
"homepage": "https://github.com/DevAbdullah90/spec-kit-whatif",
"documentation": "https://github.com/DevAbdullah90/spec-kit-whatif/blob/main/README.md",
"license": "MIT",
extensions/catalog.community.json:1916
- When adding a new extension to
extensions/catalog.community.json, the Extension Publishing Guide requires bumping the top-levelupdated_atto the current time. This PR adds a new entry but leaves the catalogupdated_atunchanged, so consumers can’t rely on it for freshness.
"whatif": {
"name": "What-if Analysis",
"id": "whatif",
"description": "Preview the downstream impact (complexity, effort, tasks, risks) of requirement changes before committing to them.",
- Files reviewed: 2/2 changed files
- Comments generated: 2
There was a problem hiding this comment.
Pull request overview
Adds the new “What-if Analysis” community extension to Spec Kit’s extension discovery surfaces (community catalog + README listing) so users can find/install it and see it documented alongside other extensions.
Changes:
- Added a
whatifentry toextensions/catalog.community.json. - Added a “What-if Analysis” row to the community extensions table in
README.md.
Show a summary per file
| File | Description |
|---|---|
| extensions/catalog.community.json | Registers the whatif extension in the community catalog (metadata, requirements, tags). |
| README.md | Documents the new extension in the community extensions list. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 3
| "stars": 0, | ||
| "created_at": "2026-04-13T00:00:00Z", | ||
| "updated_at": "2026-04-13T00:00:00Z" |
There was a problem hiding this comment.
Since this file was edited to add a new extension entry, the top-level updated_at field should be bumped to the current timestamp as required by the Extension Publishing Guide; otherwise the catalog metadata becomes stale.
| | Verify Tasks Extension | Detect phantom completions: tasks marked [X] in tasks.md with no real implementation | `code` | Read-only | [spec-kit-verify-tasks](https://github.com/datastone-inc/spec-kit-verify-tasks) | | ||
| | What-if Analysis | Preview the downstream impact (complexity, effort, tasks, risks) of requirement changes before committing to them | `visibility` | Read-only | [spec-kit-whatif](https://github.com/DevAbdullah90/spec-kit-whatif) | | ||
| | Worktree Isolation | Spawn isolated git worktrees for parallel feature development without checkout switching | `process` | Read+Write | [spec-kit-worktree](https://github.com/Quratulain-bilal/spec-kit-worktree) | |
There was a problem hiding this comment.
The PR description/title claim this PR "implements" the new /speckit.whatif command and template generation, but the changes shown here only add an extension catalog entry + README row. If the implementation lives in the external extension repository, please adjust the PR title/description to reflect that this PR is publishing/registering the extension in the community catalog (and link the implementation repo/tag).
| "id": "whatif", | ||
| "description": "Preview the downstream impact (complexity, effort, tasks, risks) of requirement changes before committing to them.", | ||
| "author": "DevAbdullah90", | ||
| "version": "1.0.0", |
There was a problem hiding this comment.
This new catalog entry is missing download_url. The CLI requires download_url for any installable extension and will raise Extension '<id>' has no download URL when attempting to add it. Add an HTTPS download_url (typically the GitHub tag ZIP for v1.0.0).
| "version": "1.0.0", | |
| "version": "1.0.0", | |
| "download_url": "https://github.com/DevAbdullah90/spec-kit-whatif/archive/refs/tags/v1.0.0.zip", |
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback
This pull request registers the "What-if Analysis" extension in the community catalog.
View Migration Details
Following maintainer feedback, the implementation has been moved to a standalone repository to comply with community hosting standards.
Changes:
extensions/whatif.whatiftoextensions/catalog.community.jsonin the correct alphabetical order (beforeworktree).README.md.All script paths in the standalone command have been adjusted to work correctly when the extension is installed via
specify extension add.