Spec Kit 0.5.1: Git Extension & Dependency Fixes

Spec Kit 0.5.1 bundles Git extension with stage 2 improvements, fixes critical import crash, and adds 7 new community extensions to the catalog.

Spec Kit 0.5.1: Git Extension & Dependency Fixes

TL;DR

  • Git extension now bundled with hooks on all core commands, plus stage 2 improvements (branch override, force flag, auto-install tests)
  • Fixed critical import crash from typer/click version pins
  • New community extensions added: Spec Diagram, Branch Convention, Spec Refine, canon, Confluence

New

  • Git extension stage 2 — GIT_BRANCH_NAME override, --force flag for existing directories, auto-install tests for better workflow control
  • specify integration subcommand — manage post-init integrations without reinitializing
  • Argument-hint frontmatter for Claude Code — improved command hints for AI-assisted workflows
  • VS Code Ask Questions preset — new community preset for IDE integration
  • Forgecode agent support — added to extension ecosystem
  • Fleet extension v1.1.0 — updated with latest features
  • Community extensions catalog — Spec Diagram, Branch Convention, Spec Refine, canon, Confluence, optimize, security-review v1.1.1

Fixed

  • Import crash — pinned typer>=0.24.0 and click>=8.2.1 to resolve dependency conflicts
  • Git checkout errors — now surface errors for existing branches properly
  • Forge frontmatter — use hyphen notation in name field
  • Bash portability — sed replacement escaping and BSD compatibility in update-agent-context.sh
  • TOML closing quotes — prevent ambiguous quotes when body ends with double quote
  • Community extension aliases — restored compatibility
  • YAML frontmatter in TOML — strip from integration prompts
  • Multiline descriptions — serialize correctly in legacy TOML renderer
  • Spec number validation — accept 4+ digit spec numbers in tests and docs
  • Git branch creation errors — improved error handling in scripts
  • Stale workflow permissions — added actions:write permission
  • Claude user-invocable — fixed for skill frontmatter

Breaking Changes

  • Git extension now bundled by default with hooks on all core commands — verify your workflows don't conflict with auto-installed git hooks

Update with: uv tool install specify-cli --from git+https://github.com/github/spec-kit.git@v0.5.1

Source: Spec Kit