mirror of
https://github.com/github/spec-kit.git
synced 2026-03-24 14:23:09 +00:00
Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/spec-kit/sessions/809a1dbf-1301-4312-b4d2-e18f9b3e8b2f
50 lines
1.3 KiB
YAML
50 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
|
|
branch_template: "{number}-{short_name}"
|
|
auto_fetch: true
|