mirror of
https://github.com/github/spec-kit.git
synced 2026-03-24 14:23:09 +00:00
- Fix bash common.sh sourcing: check .specify/scripts/bash/ first, then scripts/bash/, with explicit error if neither found - Fix PowerShell common.ps1 sourcing: use $fallbackRoot for reliable path resolution, with explicit error if not found - Remove undocumented branch_template and auto_fetch from extension.yml defaults and config-template.yml (scripts don't use them yet) - Remove unused ExtensionError import in _install_bundled_git_extension - Remove undocumented SPECKIT_GIT_BRANCH_NUMBERING env var from README - Fix specify.md: skip step 2 when before_specify hook already executed - Fix specify.md: add explicit FEATURE_DIR/SPEC_FILE in disabled-git path - Fix specify.md: add PowerShell path to script resolution - Add tests for git extension auto-install during specify init Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/spec-kit/sessions/008835a0-7778-40bb-bdb2-4182b22be315
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
schema_version: "1.0"
|
|
|
|
extension:
|
|
id: git
|
|
name: "Git Branching Workflow"
|
|
version: "1.0.0"
|
|
description: "Feature branch creation, numbering (sequential/timestamp), validation, and Git remote detection"
|
|
author: spec-kit-core
|
|
repository: https://github.com/github/spec-kit
|
|
license: MIT
|
|
|
|
requires:
|
|
speckit_version: ">=0.2.0"
|
|
tools:
|
|
- name: git
|
|
required: false
|
|
|
|
provides:
|
|
commands:
|
|
- name: speckit.git.feature
|
|
file: commands/speckit.git.feature.md
|
|
description: "Create a feature branch with sequential or timestamp numbering"
|
|
- name: speckit.git.validate
|
|
file: commands/speckit.git.validate.md
|
|
description: "Validate current branch follows feature branch naming conventions"
|
|
- name: speckit.git.remote
|
|
file: commands/speckit.git.remote.md
|
|
description: "Detect Git remote URL for GitHub integration"
|
|
|
|
hooks:
|
|
before_specify:
|
|
command: speckit.git.feature
|
|
optional: false
|
|
description: "Create feature branch before specification"
|
|
after_implement:
|
|
command: speckit.git.validate
|
|
optional: true
|
|
prompt: "Verify feature branch naming?"
|
|
description: "Validate branch naming after implementation"
|
|
|
|
tags:
|
|
- "git"
|
|
- "branching"
|
|
- "workflow"
|
|
|
|
defaults:
|
|
branch_numbering: sequential
|