Last active
November 18, 2025 23:06
-
-
Save wyattowalsh/bb3bbe2ecc3dd810a14942e66fb87094 to your computer and use it in GitHub Desktop.
spec-kit one-liners
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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