speckit-init
Skill16 starsChanged 2 months agoMITView on GitHub
Scaffold a Spec Kit (spec-driven development) project for GitHub Copilot by running `specify init --integration copilot --integration-options="--skills"`. USE FOR: starting a new spec-kit project, bootstrapping spec-driven development in an existing repo, installing spec-kit templates/scripts/commands for Copilot. DO NOT USE FOR: managing extensions/presets/bundles of an already-initialized project (use the speckit-extension / speckit-preset / speckit-bundle skills instead).
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- speckit-artifactSkill
- speckit-bundleSkill
- speckit-checkSkill
- speckit-cli-setupSkill
- speckit-extensionSkill
- speckit-presetSkill
- speckit-selfSkill
- speckit-workflowSkill
- speckit-workflow-stepSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
If it is missing (command not found), use the speckit-cli-setup skill to install it first, then continue.
- Distinctive: line 91
Prefer non-interactive flags so the command does not block on prompts.
- Very specific: line 93
When specify init runs with a TTY on stdin — as it does in a PTY-backed agent session — omitting --script opens an interactive "Choose …
- Very specific: line 99
Always pass both --integration copilot and --integration-options="--skills".
- Very specific: line 102
After init, point the user at the generated skills under .github/skills/ and the .specify/ directory.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec Kit — init
Initialize a spec-driven development project for GitHub Copilot with the
Specify CLI (specify). This skill exposes the specify init command. You (the
agent) run the CLI on the user's behalf via the shell; the CLI does the scaffolding.
Because this is the Copilot plugin, always scaffold Copilot in skills mode:
--integration copilot --integration-options="--skills"This installs spec-kit commands (and any extensions added later) as Copilot
Agent Skills — .github/skills/speckit-<cmd>/SKILL.md — rather than the default
.github/agents/*.agent.md layout. Skills are what Copilot CLI discovers as SKILL.md,
so this keeps the project consistent with how this plugin works. Do not omit
--integration-options="--skills".
Prerequisite
This skill needs the specify CLI. Confirm it is available:
specify --versionIf it is missing (command not found), use the speckit-cli-setup skill to install
it first, then continue.
When to use
- The user wants to start a new spec-kit project.
- The user wants to add spec-driven development to the current directory.
How to invoke
specify init scaffolds templates, scripts, the spec-kit workflow, shared
infrastructure, and the Copilot command files. It runs offline from assets
bundled in the installed CLI.
Common forms (always Copilot + skills mode). Pick the --script flavor for the
user's OS — sh on macOS/Linux, ps on Windows (the examples below use
sh; swap in --script ps on Windows):
# New project directory
specify init <project-name> --integration copilot --integration-options="--skills" --script sh
# Initialize in the current directory
specify init . --integration copilot --integration-options="--skills" --script sh
specify init --here --integration copilot --integration-options="--skills" --script sh
# Current directory is non-empty: skip the confirmation prompt
specify init --here --integration copilot --integration-options="--skills" --script sh --force
# Install a preset at init time
specify init <project-name> --integration copilot --integration-options="--skills" --script sh --preset healthcare-complianceOn Windows, use --script ps instead:
specify init <project-name> --integration copilot --integration-options="--skills" --script psKey options
--integration copilot— always use this in the Copilot plugin.--integration-options="--skills"— required; scaffolds spec-kit commands as Copilot Agent Skills (SKILL.md) instead of.agent.mdfiles.--script <sh|ps|py>— choose the helper script flavor. Always pass this when runningspecify initfor the user. When stdin is a TTY — which the agent shell allocates — omitting--scriptopens an interactive "Choose script type" chooser that blocks the command. (With genuinely non-interactive stdin, e.g. a closed pipe, the CLI instead auto-selects the OS default, but you can't rely on that from a PTY-backed agent session.) Useshon macOS/Linux,pson Windows;pyis a cross-platform Python fallback.--ignore-agent-tools— skip checks for the agent's CLI tools. Recommended for the Copilot plugin so init doesn't fail on missing external agent CLIs.--here/.— initialize in the current directory instead of creating a new one.--force— skip the confirmation when--heretargets a non-empty directory.--preset <id>— install a preset during initialization.
Notes
- Prefer non-interactive flags so the command does not block on prompts.
- Always pass
--script(shon macOS/Linux,pson Windows,pyanywhere). Whenspecify initruns with a TTY on stdin — as it does in a PTY-backed agent session — omitting--scriptopens an interactive "Choose script type" chooser that blocks. (--integration copilotalready suppresses the integration chooser, but the script-type chooser still appears.) The CLI only auto-selects the OS default when stdin is genuinely non-interactive (e.g. a closed pipe), which you can't count on here, so this is the most common cause ofspecify initappearing to freeze. - Always pass both
--integration copilotand--integration-options="--skills"; the skills layout is what makes spec-kit commands (and later-added extensions) show up asSKILL.mdfor Copilot. - After init, point the user at the generated skills under
.github/skills/and the.specify/directory. Newly generated skills are picked up in the current Copilot session with/skills reload, and automatically on the next session start. Suggestspecify checkto verify their environment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

