You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(init): support extension install during initialization
Add repeatable --extension support to specify init for bundled extension IDs, local extension directories, and archive URLs. Persist requested extensions in init options and install them before the default git-extension auto-install so explicit git opt-in does not double-install.
Warn when legacy --ai and --no-git flags are used, and show a visible notice when the git extension is still auto-enabled by default ahead of the v1.0.0 opt-in change.
Update README init option docs and add CLI regression coverage for init-time extension installation and deprecation messaging.
Copy file name to clipboardExpand all lines: README.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,7 @@ Community projects that extend, visualize, or build on Spec Kit:
298
298
-**[SpecKit Companion](https://marketplace.visualstudio.com/items?itemName=alfredoperez.speckit-companion)** — A VS Code extension that brings a visual GUI to Spec Kit. Browse specs in a rich markdown viewer with clickable file references, create specifications with image attachments, comment and refine each step inline (GitHub-style review), track your progress through the SDD workflow with a visual phase stepper, and manage steering documents like constitutions and templates.
@@ -333,7 +334,7 @@ Community projects that extend, visualize, or build on Spec Kit:
333
334
334
335
After running `specify init`, your AI coding agent will have access to these slash commands for structured development. If you pass `--ai <agent> --ai-skills`, Spec Kit installs agent skills instead of slash-command prompt files; `--ai-skills` requires `--ai`.
335
336
336
-
####Core Commands
337
+
### Core Commands
337
338
338
339
Essential commands for the Spec-Driven Development workflow:
339
340
@@ -346,7 +347,7 @@ Essential commands for the Spec-Driven Development workflow:
346
347
|`/speckit.taskstoissues`|`speckit-taskstoissues`| Convert generated task lists into GitHub issues for tracking and execution |
347
348
|`/speckit.implement`|`speckit-implement`| Execute all tasks to build the feature according to the plan |
348
349
349
-
####Optional Commands
350
+
### Optional Commands
350
351
351
352
Additional commands for enhanced quality and validation:
|`--integration-options`| Option | Options passed to the selected integration, such as `--integration-options="--commands-dir .myagent/commands/"` for `generic`|
392
+
|`--ai`| Option | Deprecated legacy alias for `--integration`|
393
+
|`--ai-commands-dir`| Option | Deprecated legacy option for generic command directories. Use `--integration generic --integration-options="--commands-dir <dir>"` instead |
391
394
|`--script`| Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
392
395
|`--ignore-agent-tools`| Flag | Skip checks for AI agent tools like Claude Code |
393
-
|`--no-git`| Flag | Skip git repository initialization |
396
+
|`--no-git`| Flag |Deprecated. Skip git repository initialization and default git-extension installation|
394
397
|`--here`| Flag | Initialize project in the current directory instead of creating a new one |
395
398
|`--force`| Flag | Force merge/overwrite when initializing in current directory (skip confirmation) |
396
399
|`--skip-tls`| Flag | Skip SSL/TLS verification (not recommended) |
397
400
|`--debug`| Flag | Enable detailed debug output for troubleshooting |
398
401
|`--github-token`| Option | GitHub token for API requests (or set GH_TOKEN/GITHUB_TOKEN env variable) |
399
-
|`--ai-skills`| Flag | Install Prompt.MD templates as agent skills in agent-specific `skills/` directory (requires `--ai`). Extension commands are also auto-registered as skills when extensions are added later. |
402
+
|`--ai-skills`| Flag | Deprecated legacy option for integrations that support skills. Skills are now selected by the integration. |
403
+
|`--extension`| Option | Install an extension during initialization. Repeatable; accepts bundled IDs, local paths, or archive URLs. |
404
+
|`--preset`| Option | Install a preset during initialization |
400
405
|`--branch-numbering`| Option | Branch numbering strategy: `sequential` (default — `001`, `002`, `003`, …, `1000`, … — expands beyond 3 digits automatically) or `timestamp` (`YYYYMMDD-HHMMSS`). Timestamp mode is useful for distributed teams to avoid numbering conflicts |
0 commit comments