cmd-speckit-init
Installation
SKILL.md
Set up the .specify/ directory structure for Specification-Driven Development in the current project by downloading the latest files from the upstream github/spec-kit repository.
Steps
-
Check for existing setup: Look for
.specify/in the project root. If it already exists, stop and tell the user to run/speckit.init.updateinstead. -
Clone upstream:
UPSTREAM_DIR=$(mktemp -d) git clone --depth 1 https://github.com/github/spec-kit.git "$UPSTREAM_DIR"If the clone fails, report the error and stop.
-
Copy files from upstream into the project root, preserving the paths exactly: