tools-speckit-init
Initialize a new directory with spec-kit (specify) and install the spec-kit-sync extension
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 3
- Forks
- 4
01 前言 Front Matter
- name
- tools-speckit-init
- description
- Initialize a new directory with spec-kit (specify) and install the spec-kit-sync extension
- argument-hint
- <directory-name> (e.g. my-new-component)
03 SKILL.md 正文
This skill creates a new directory, initializes it with specify init . --ai claude, and installs the spec-kit-sync extension.
Input
The user must provide a directory name as an argument (e.g. /tools-speckit-init my-new-component).
If no argument is provided, show the hint and stop.
Prerequisites
specifymust be installed and available on PATH (which specifyshould succeed)- If not installed, inform the user that
specifyis required and stop
Steps
-
Verify that
specifyis installed by runningwhich specify. If it fails, tell the user to install specify first and stop. -
Check that the target directory does not already exist. If it does, inform the user and stop.
-
Create the new directory:
mkdir -p <directory-name> -
Initialize spec-kit in the new directory:
cd <directory-name> && specify init . --ai claude -
Install the spec-kit-sync extension:
cd <directory-name> && specify extension add spec-kit-sync --from https://github.com/bgervin/spec-kit-sync/archive/refs/heads/master.zip -
Report success and tell the user:
- The directory has been created and initialized
- spec-kit-sync extension has been installed
- They can now use specify commands in the new directory (e.g.
/speckit-specify,/speckit-clarify) - The path to the new directory
Notes
- The directory is created relative to the current working directory
- If
specify initor the extension install fails, report the error to the user with the command output
04 同仓库更多 Skills
tools-spin-sync
Synchronize Spin/Promela models with current source code and re-verify
tools-spin-model
Create a new Spin/Promela formal verification model for a system property
tools-creusot-install
Install the Creusot Rust verification tool
tools-creusot-init
Prepare an existing Cargo project to use Creusot formal verification
tools-creusot-coq-install
Add Coq 8.20 as an additional prover to an existing Creusot installation, for verification conditions that SMT solvers cannot discharge
tools-creusot-annotate-interfaces
Formally verify a component's properties with Creusot and annotate its interface definitions