-
Notifications
You must be signed in to change notification settings - Fork 7.1k
feat(extensions): add pipeline extension for end-to-end SDD workflow #1977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+84
−0
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| description: "Run the full speckit workflow end-to-end (specify → clarify → plan → tasks → analyze → implement) with automatic progression between steps." | ||
| --- | ||
|
|
||
| ## User Input | ||
|
|
||
| ```text | ||
| $ARGUMENTS | ||
| ``` | ||
|
|
||
| You **MUST** consider the user input before proceeding (if not empty). | ||
|
|
||
| ## Pipeline Overview | ||
|
|
||
| This command orchestrates the full Spec-Driven Development workflow automatically. You MUST execute each step in sequence by invoking the corresponding `/speckit.*` command. After each step completes, proceed immediately to the next one WITHOUT returning control to the user, UNLESS a step explicitly requires user input (e.g., clarification questions). | ||
|
|
||
| **Pipeline Steps:** | ||
|
|
||
| 1. `/speckit.specify` — Create feature specification | ||
| 2. `/speckit.clarify` — Resolve ambiguities (interactive: user answers questions) | ||
| 3. `/speckit.plan` — Generate technical plan | ||
| 4. `/speckit.tasks` — Break plan into actionable tasks | ||
| 5. `/speckit.analyze` — Cross-artifact consistency analysis | ||
| 6. `/speckit.implement` — Execute all tasks | ||
|
|
||
| ## Execution Rules | ||
|
|
||
| ### Auto-Progression (CRITICAL) | ||
|
|
||
| - After each step completes successfully, **immediately invoke the next step**. Do NOT ask the user "shall I proceed?" or "ready for the next step?". Just do it. | ||
| - The ONLY reasons to pause are: | ||
| - A step requires user input (e.g., `/speckit.clarify` asking clarification questions, or `/speckit.implement` asking about incomplete checklists) | ||
| - `/speckit.analyze` reports CRITICAL issues (ask user whether to proceed or fix first) | ||
| - A step fails with an error | ||
| - When user input is received and the step completes, resume auto-progression to the next step. | ||
|
|
||
| ### Step Invocation | ||
|
|
||
| - Use the agent's native mechanism to invoke each slash command (e.g., Claude Code's Skill tool, Copilot's chat commands). | ||
| - Step 1 (`/speckit.specify`): Pass the full `$ARGUMENTS` as the feature description. | ||
| - Steps 2-6: Invoke with no arguments (they auto-detect the feature context from the current branch and feature directory). | ||
|
|
||
| ### Error Handling | ||
|
|
||
| - If any step fails, report the error and suggest the corrective action. Do NOT auto-proceed past a failed step. | ||
| - If `/speckit.analyze` reports CRITICAL issues, pause and present the user with two options: | ||
| 1. Fix the issues before proceeding to implementation | ||
| 2. Proceed to implementation despite the issues | ||
|
|
||
| ### Progress Reporting | ||
|
|
||
| - Before each step, output a single line: `## Pipeline Step N/6: [step name]` | ||
| - After each step completes, output: `Step N/6 complete. Proceeding to next step...` | ||
| - Keep progress reporting minimal — the individual commands already produce their own output. | ||
|
|
||
| ## Start | ||
|
|
||
| Begin by invoking `/speckit.specify` with the feature description from `$ARGUMENTS`. If `$ARGUMENTS` is empty, ask the user for a feature description before starting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| schema_version: "1.0" | ||
|
|
||
| extension: | ||
| id: pipeline | ||
| name: Spec Kit Pipeline | ||
| version: 1.0.0 | ||
| description: End-to-end SDD workflow orchestration — runs specify, clarify, plan, tasks, analyze, and implement in sequence with automatic progression. | ||
| author: RchrdHndrcks | ||
| repository: https://github.com/github/spec-kit | ||
| license: MIT | ||
|
|
||
| requires: | ||
| speckit_version: ">=0.1.0" | ||
|
|
||
| provides: | ||
| commands: | ||
| - name: speckit.pipeline.run | ||
| file: commands/pipeline.md | ||
| description: Run the full speckit workflow end-to-end (specify → clarify → plan → tasks → analyze → implement) with automatic progression between steps. | ||
| aliases: | ||
| - speckit.pipeline | ||
|
|
||
| tags: | ||
| - workflow | ||
| - automation | ||
| - pipeline | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As added, this extension is not installable via the default extension catalogs and it’s not bundled into the CLI wheel’s
core_packassets. Unless users manually clone the repo and usespecify extension add --dev, they won’t be able to consume it. If the intent is for this to be a usable, shipped extension (and to close #1966), it likely needs a published ZIP artifact (containingextension.ymlat the ZIP root) and a catalog entry (coreextensions/catalog.jsonor communitycatalog.community.json) pointing at that download URL.