cmd-speckit-init-update
Installation
SKILL.md
Refresh the .specify/ scripts and templates in the current project by downloading the latest versions from github/spec-kit. Never overwrites user-governed files.
Protected paths (never overwrite)
.specify/memory/— all files includingconstitution.md.specify/specs/— all feature artifacts
Steps
-
Verify setup: Check that
.specify/exists in the project root. If not, stop and tell the user to run/speckit.initfirst. -
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.
-
Update files by copying from upstream, skipping protected paths. For each file in the upstream
.specify/directory: