extension.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. schema_version: "1.0"
  2. extension:
  3. id: git
  4. name: "Git Branching Workflow"
  5. version: "1.0.0"
  6. description: "Feature branch creation, numbering (sequential/timestamp), validation, and Git remote detection"
  7. author: spec-kit-core
  8. repository: https://github.com/github/spec-kit
  9. license: MIT
  10. requires:
  11. speckit_version: ">=0.2.0"
  12. tools:
  13. - name: git
  14. required: false
  15. provides:
  16. commands:
  17. - name: speckit.git.feature
  18. file: commands/speckit.git.feature.md
  19. description: "Create a feature branch with sequential or timestamp numbering"
  20. - name: speckit.git.validate
  21. file: commands/speckit.git.validate.md
  22. description: "Validate current branch follows feature branch naming conventions"
  23. - name: speckit.git.remote
  24. file: commands/speckit.git.remote.md
  25. description: "Detect Git remote URL for GitHub integration"
  26. - name: speckit.git.initialize
  27. file: commands/speckit.git.initialize.md
  28. description: "Initialize a Git repository with an initial commit"
  29. - name: speckit.git.commit
  30. file: commands/speckit.git.commit.md
  31. description: "Auto-commit changes after a Spec Kit command completes"
  32. config:
  33. - name: "git-config.yml"
  34. template: "config-template.yml"
  35. description: "Git branching configuration"
  36. required: false
  37. hooks:
  38. before_constitution:
  39. command: speckit.git.initialize
  40. optional: false
  41. description: "Initialize Git repository before constitution setup"
  42. before_specify:
  43. command: speckit.git.feature
  44. optional: false
  45. description: "Create feature branch before specification"
  46. before_clarify:
  47. command: speckit.git.commit
  48. optional: true
  49. prompt: "Commit outstanding changes before clarification?"
  50. description: "Auto-commit before spec clarification"
  51. before_plan:
  52. command: speckit.git.commit
  53. optional: true
  54. prompt: "Commit outstanding changes before planning?"
  55. description: "Auto-commit before implementation planning"
  56. before_tasks:
  57. command: speckit.git.commit
  58. optional: true
  59. prompt: "Commit outstanding changes before task generation?"
  60. description: "Auto-commit before task generation"
  61. before_implement:
  62. command: speckit.git.commit
  63. optional: true
  64. prompt: "Commit outstanding changes before implementation?"
  65. description: "Auto-commit before implementation"
  66. before_checklist:
  67. command: speckit.git.commit
  68. optional: true
  69. prompt: "Commit outstanding changes before checklist?"
  70. description: "Auto-commit before checklist generation"
  71. before_analyze:
  72. command: speckit.git.commit
  73. optional: true
  74. prompt: "Commit outstanding changes before analysis?"
  75. description: "Auto-commit before analysis"
  76. before_taskstoissues:
  77. command: speckit.git.commit
  78. optional: true
  79. prompt: "Commit outstanding changes before issue sync?"
  80. description: "Auto-commit before tasks-to-issues conversion"
  81. after_constitution:
  82. command: speckit.git.commit
  83. optional: true
  84. prompt: "Commit constitution changes?"
  85. description: "Auto-commit after constitution update"
  86. after_specify:
  87. command: speckit.git.commit
  88. optional: true
  89. prompt: "Commit specification changes?"
  90. description: "Auto-commit after specification"
  91. after_clarify:
  92. command: speckit.git.commit
  93. optional: true
  94. prompt: "Commit clarification changes?"
  95. description: "Auto-commit after spec clarification"
  96. after_plan:
  97. command: speckit.git.commit
  98. optional: true
  99. prompt: "Commit plan changes?"
  100. description: "Auto-commit after implementation planning"
  101. after_tasks:
  102. command: speckit.git.commit
  103. optional: true
  104. prompt: "Commit task changes?"
  105. description: "Auto-commit after task generation"
  106. after_implement:
  107. command: speckit.git.commit
  108. optional: true
  109. prompt: "Commit implementation changes?"
  110. description: "Auto-commit after implementation"
  111. after_checklist:
  112. command: speckit.git.commit
  113. optional: true
  114. prompt: "Commit checklist changes?"
  115. description: "Auto-commit after checklist generation"
  116. after_analyze:
  117. command: speckit.git.commit
  118. optional: true
  119. prompt: "Commit analysis results?"
  120. description: "Auto-commit after analysis"
  121. after_taskstoissues:
  122. command: speckit.git.commit
  123. optional: true
  124. prompt: "Commit after syncing issues?"
  125. description: "Auto-commit after tasks-to-issues conversion"
  126. tags:
  127. - "git"
  128. - "branching"
  129. - "workflow"
  130. config:
  131. defaults:
  132. branch_numbering: sequential
  133. init_commit_message: "[Spec Kit] Initial commit"