Skip to content

Instantly share code, notes, and snippets.

@wyattowalsh
Last active November 18, 2025 23:06
Show Gist options
  • Select an option

  • Save wyattowalsh/bb3bbe2ecc3dd810a14942e66fb87094 to your computer and use it in GitHub Desktop.

Select an option

Save wyattowalsh/bb3bbe2ecc3dd810a14942e66fb87094 to your computer and use it in GitHub Desktop.
spec-kit one-liners
# 2) zsh: init Spec-Kit here for all AIs (assumes `specify` already in PATH)
for ai in claude codex cursor-agent gemini copilot q; do
specify init --here --force --ai "$ai" --script sh --ignore-agent-tools
done
# 1) zsh: ensure `specify` exists (install uv if missing, then install/upgrade specify)
if ! (( $+commands[specify] )); then
if ! (( $+commands[uv] )); then
curl -LsSf https://astral.sh/uv/install.sh | zsh
export PATH="$HOME/.local/bin:$PATH"
fi
uv tool install specify-cli --from git+https://github.com/github/spec-kit.git --force
fi
# 3) zsh: update agent context for all AIs (assumes .specify/... script exists)
for ai in claude codex cursor-agent gemini copilot q; do
if [[ -x .specify/scripts/bash/update-agent-context.sh ]]; then
.specify/scripts/bash/update-agent-context.sh "$ai"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment