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
* docs: add core commands reference and simplify README CLI section
- New docs/reference/core.md: reference for init (active options only,
copilot as main example), check, and version commands
- docs/toc.yml: add Core Commands under Reference
- README.md: replace verbose CLI Reference section (init options table,
30+ per-agent examples, deprecated flags, env vars) with links to
reference docs; use copilot as main example throughout
* docs: add CLI reference overview page
- New docs/reference/overview.md: explains each CLI surface area
(core, integrations, extensions, presets, workflows) with key
commands and links to detailed reference pages
- docs/toc.yml: add Overview as first item under Reference
- README.md: simplify CLI Reference to single link to overview page
* docs: remove command references from overview, keep paragraphs only
|`<PROJECT_NAME>`| Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
381
-
|`--ai`| Option | AI assistant to use (see `AGENT_CONFIG` for the full, up-to-date list). Common options include: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `junie`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `kiro-cli` (`kiro` alias), `agy`, `bob`, `qodercli`, `vibe`, `kimi`, `iflow`, `pi`, `forge`, or `generic` (requires `--ai-commands-dir`) |
382
-
|`--ai-commands-dir`| Option | Directory for agent command files (required with `--ai generic`, e.g. `.myagent/commands/`) |
383
-
|`--script`| Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
384
-
|`--ignore-agent-tools`| Flag | Skip checks for AI agent tools like Claude Code |
385
-
|`--no-git`| Flag | Skip git repository initialization |
386
-
|`--here`| Flag | Initialize project in the current directory instead of creating a new one |
387
-
|`--force`| Flag | Force merge/overwrite when initializing in current directory (skip confirmation) |
388
-
|`--skip-tls`| Flag | Skip SSL/TLS verification (not recommended) |
389
-
|`--debug`| Flag | Enable detailed debug output for troubleshooting |
390
-
|`--github-token`| Option | GitHub token for API requests (or set GH_TOKEN/GITHUB_TOKEN env variable) |
391
-
|`--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. |
392
-
|`--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 |
393
-
394
-
### Examples
395
-
396
-
```bash
397
-
# Basic project initialization
398
-
specify init my-project
399
-
400
-
# Initialize with specific AI assistant
401
-
specify init my-project --ai claude
402
-
403
-
# Initialize with Cursor support
404
-
specify init my-project --ai cursor-agent
405
-
406
-
# Initialize with Qoder support
407
-
specify init my-project --ai qodercli
408
-
409
-
# Initialize with Windsurf support
410
-
specify init my-project --ai windsurf
411
-
412
-
# Initialize with Kiro CLI support
413
-
specify init my-project --ai kiro-cli
414
-
415
-
# Initialize with Amp support
416
-
specify init my-project --ai amp
417
-
418
-
# Initialize with SHAI support
419
-
specify init my-project --ai shai
420
-
421
-
# Initialize with Mistral Vibe support
422
-
specify init my-project --ai vibe
423
-
424
-
# Initialize with IBM Bob support
425
-
specify init my-project --ai bob
426
-
427
-
# Initialize with Pi Coding Agent support
428
-
specify init my-project --ai pi
429
-
430
-
# Initialize with Codex CLI support
431
-
specify init my-project --ai codex --ai-skills
432
-
433
-
# Initialize with Antigravity support
434
-
specify init my-project --ai agy --ai-skills
435
-
436
-
# Initialize with Forge support
437
-
specify init my-project --ai forge
438
-
439
-
# Initialize with an unsupported agent (generic / bring your own agent)
|`SPECIFY_FEATURE`| Override feature detection for non-Git repositories. Set to the feature directory name (e.g., `001-photo-albums`) to work on a specific feature when not using Git branches.<br/>\*\*Must be set in the context of the agent you're working with prior to using `/speckit.plan` or follow-up commands. |
352
+
For full command details, options, and examples, see the [CLI Reference](https://github.github.io/spec-kit/reference/overview.html).
482
353
483
354
## 🧩 Making Spec Kit Your Own: Extensions & Presets
484
355
@@ -627,29 +498,29 @@ specify init --here --force
627
498
You will be prompted to select the AI agent you are using. You can also proactively specify it directly in the terminal:
628
499
629
500
```bash
630
-
specify init <project_name> --ai claude
501
+
specify init <project_name> --ai copilot
631
502
specify init <project_name> --ai gemini
632
503
specify init <project_name> --ai copilot
633
504
634
505
# Or in current directory:
635
-
specify init . --ai claude
506
+
specify init . --ai copilot
636
507
specify init . --ai codex --ai-skills
637
508
638
509
# or use --here flag
639
-
specify init --here --ai claude
510
+
specify init --here --ai copilot
640
511
specify init --here --ai codex --ai-skills
641
512
642
513
# Force merge into a non-empty current directory
643
-
specify init . --force --ai claude
514
+
specify init . --force --ai copilot
644
515
645
516
# or
646
-
specify init --here --force --ai claude
517
+
specify init --here --force --ai copilot
647
518
```
648
519
649
520
The CLI will check if you have Claude Code, Gemini CLI, Cursor CLI, Qwen CLI, opencode, Codex CLI, Qoder CLI, Tabnine CLI, Kiro CLI, Pi, Forge, Goose, or Mistral Vibe installed. If you do not, or you prefer to get the templates without checking for the right tools, use `--ignore-agent-tools` with your command:
650
521
651
522
```bash
652
-
specify init <project_name> --ai claude --ignore-agent-tools
|`--integration <key>`| AI coding agent integration to use (e.g. `copilot`, `claude`, `gemini`). See the [Integrations reference](integrations.md) for all available keys |
14
+
|`--integration-options`| Options for the integration (e.g. `--integration-options="--commands-dir .myagent/cmds"`) |
15
+
|`--script sh\|ps`| Script type: `sh` (bash/zsh) or `ps` (PowerShell) |
16
+
|`--here`| Initialize in the current directory instead of creating a new one |
17
+
|`--force`| Force merge/overwrite when initializing in an existing directory |
18
+
|`--no-git`| Skip git repository initialization |
19
+
|`--ignore-agent-tools`| Skip checks for AI coding agent CLI tools |
20
+
|`--preset <id>`| Install a preset during initialization |
21
+
|`--branch-numbering`| Branch numbering strategy: `sequential` (default) or `timestamp`|
22
+
23
+
Creates a new Spec Kit project with the necessary directory structure, templates, scripts, and AI coding agent integration files.
24
+
25
+
Use `<project_name>` to create a new directory, or `--here` (or `.`) to initialize in the current directory. If the directory already has files, use `--force` to merge without confirmation.
|`SPECIFY_FEATURE`| Override feature detection for non-Git repositories. Set to the feature directory name (e.g., `001-photo-albums`) to work on a specific feature when not using Git branches. Must be set in the context of the agent prior to using `/speckit.plan` or follow-up commands. |
57
+
58
+
## Check Installed Tools
59
+
60
+
```bash
61
+
specify check
62
+
```
63
+
64
+
Checks that required tools are available on your system: `git` and any CLI-based AI coding agents. IDE-based agents are skipped since they don't require a CLI tool.
65
+
66
+
## Version Information
67
+
68
+
```bash
69
+
specify version
70
+
```
71
+
72
+
Displays the Spec Kit CLI version, Python version, platform, and architecture.
0 commit comments