ma-agents 2.20.0 → 2.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/README.md +55 -1
  2. package/lib/agents.js +22 -11
  3. package/lib/bmad-cache/bmb/_git_preserved/HEAD +1 -0
  4. package/lib/bmad-cache/bmb/_git_preserved/config +13 -0
  5. package/lib/bmad-cache/bmb/_git_preserved/description +1 -0
  6. package/lib/bmad-cache/bmb/_git_preserved/hooks/applypatch-msg.sample +15 -0
  7. package/lib/bmad-cache/bmb/_git_preserved/hooks/commit-msg.sample +24 -0
  8. package/lib/bmad-cache/bmb/_git_preserved/hooks/fsmonitor-watchman.sample +174 -0
  9. package/lib/bmad-cache/bmb/_git_preserved/hooks/post-update.sample +8 -0
  10. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-applypatch.sample +14 -0
  11. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-commit.sample +49 -0
  12. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-merge-commit.sample +13 -0
  13. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-push.sample +53 -0
  14. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-rebase.sample +169 -0
  15. package/lib/bmad-cache/bmb/_git_preserved/hooks/pre-receive.sample +24 -0
  16. package/lib/bmad-cache/bmb/_git_preserved/hooks/prepare-commit-msg.sample +42 -0
  17. package/lib/bmad-cache/bmb/_git_preserved/hooks/push-to-checkout.sample +78 -0
  18. package/lib/bmad-cache/bmb/_git_preserved/hooks/sendemail-validate.sample +77 -0
  19. package/lib/bmad-cache/bmb/_git_preserved/hooks/update.sample +128 -0
  20. package/lib/bmad-cache/bmb/_git_preserved/index +0 -0
  21. package/lib/bmad-cache/bmb/_git_preserved/info/exclude +6 -0
  22. package/lib/bmad-cache/bmb/_git_preserved/logs/HEAD +1 -0
  23. package/lib/bmad-cache/bmb/_git_preserved/logs/refs/heads/main +1 -0
  24. package/lib/bmad-cache/bmb/_git_preserved/logs/refs/remotes/origin/HEAD +1 -0
  25. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-c6e539e2308f8ed764c5b54b6ab68a67f8a3796b.idx +0 -0
  26. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-c6e539e2308f8ed764c5b54b6ab68a67f8a3796b.pack +0 -0
  27. package/lib/bmad-cache/bmb/_git_preserved/objects/pack/pack-c6e539e2308f8ed764c5b54b6ab68a67f8a3796b.rev +0 -0
  28. package/lib/bmad-cache/bmb/_git_preserved/packed-refs +2 -0
  29. package/lib/bmad-cache/bmb/_git_preserved/refs/heads/main +1 -0
  30. package/lib/bmad-cache/bmb/_git_preserved/refs/remotes/origin/HEAD +1 -0
  31. package/lib/bmad-cache/bmb/_git_preserved/shallow +1 -0
  32. package/lib/bmad-cache/cache-manifest.json +6 -6
  33. package/lib/bmad-cache/cis/_git_preserved/HEAD +1 -0
  34. package/lib/bmad-cache/cis/_git_preserved/config +13 -0
  35. package/lib/bmad-cache/cis/_git_preserved/description +1 -0
  36. package/lib/bmad-cache/cis/_git_preserved/hooks/applypatch-msg.sample +15 -0
  37. package/lib/bmad-cache/cis/_git_preserved/hooks/commit-msg.sample +24 -0
  38. package/lib/bmad-cache/cis/_git_preserved/hooks/fsmonitor-watchman.sample +174 -0
  39. package/lib/bmad-cache/cis/_git_preserved/hooks/post-update.sample +8 -0
  40. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-applypatch.sample +14 -0
  41. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-commit.sample +49 -0
  42. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-merge-commit.sample +13 -0
  43. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-push.sample +53 -0
  44. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-rebase.sample +169 -0
  45. package/lib/bmad-cache/cis/_git_preserved/hooks/pre-receive.sample +24 -0
  46. package/lib/bmad-cache/cis/_git_preserved/hooks/prepare-commit-msg.sample +42 -0
  47. package/lib/bmad-cache/cis/_git_preserved/hooks/push-to-checkout.sample +78 -0
  48. package/lib/bmad-cache/cis/_git_preserved/hooks/sendemail-validate.sample +77 -0
  49. package/lib/bmad-cache/cis/_git_preserved/hooks/update.sample +128 -0
  50. package/lib/bmad-cache/cis/_git_preserved/index +0 -0
  51. package/lib/bmad-cache/cis/_git_preserved/info/exclude +6 -0
  52. package/lib/bmad-cache/cis/_git_preserved/logs/HEAD +1 -0
  53. package/lib/bmad-cache/cis/_git_preserved/logs/refs/heads/main +1 -0
  54. package/lib/bmad-cache/cis/_git_preserved/logs/refs/remotes/origin/HEAD +1 -0
  55. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-157d7eb8d527233a8607d926fc74ebf87f2ae0d3.idx +0 -0
  56. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-157d7eb8d527233a8607d926fc74ebf87f2ae0d3.pack +0 -0
  57. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-157d7eb8d527233a8607d926fc74ebf87f2ae0d3.rev +0 -0
  58. package/lib/bmad-cache/cis/_git_preserved/packed-refs +2 -0
  59. package/lib/bmad-cache/cis/_git_preserved/refs/heads/main +1 -0
  60. package/lib/bmad-cache/cis/_git_preserved/refs/remotes/origin/HEAD +1 -0
  61. package/lib/bmad-cache/cis/_git_preserved/shallow +1 -0
  62. package/lib/bmad-cache/gds/_git_preserved/HEAD +1 -0
  63. package/lib/bmad-cache/gds/_git_preserved/config +13 -0
  64. package/lib/bmad-cache/gds/_git_preserved/description +1 -0
  65. package/lib/bmad-cache/gds/_git_preserved/hooks/applypatch-msg.sample +15 -0
  66. package/lib/bmad-cache/gds/_git_preserved/hooks/commit-msg.sample +24 -0
  67. package/lib/bmad-cache/gds/_git_preserved/hooks/fsmonitor-watchman.sample +174 -0
  68. package/lib/bmad-cache/gds/_git_preserved/hooks/post-update.sample +8 -0
  69. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-applypatch.sample +14 -0
  70. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-commit.sample +49 -0
  71. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-merge-commit.sample +13 -0
  72. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-push.sample +53 -0
  73. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-rebase.sample +169 -0
  74. package/lib/bmad-cache/gds/_git_preserved/hooks/pre-receive.sample +24 -0
  75. package/lib/bmad-cache/gds/_git_preserved/hooks/prepare-commit-msg.sample +42 -0
  76. package/lib/bmad-cache/gds/_git_preserved/hooks/push-to-checkout.sample +78 -0
  77. package/lib/bmad-cache/gds/_git_preserved/hooks/sendemail-validate.sample +77 -0
  78. package/lib/bmad-cache/gds/_git_preserved/hooks/update.sample +128 -0
  79. package/lib/bmad-cache/gds/_git_preserved/index +0 -0
  80. package/lib/bmad-cache/gds/_git_preserved/info/exclude +6 -0
  81. package/lib/bmad-cache/gds/_git_preserved/logs/HEAD +1 -0
  82. package/lib/bmad-cache/gds/_git_preserved/logs/refs/heads/main +1 -0
  83. package/lib/bmad-cache/gds/_git_preserved/logs/refs/remotes/origin/HEAD +1 -0
  84. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-44faafb9245b4ca17ad81bd6c9e6fc52fb5915a1.idx +0 -0
  85. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-44faafb9245b4ca17ad81bd6c9e6fc52fb5915a1.pack +0 -0
  86. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-44faafb9245b4ca17ad81bd6c9e6fc52fb5915a1.rev +0 -0
  87. package/lib/bmad-cache/gds/_git_preserved/packed-refs +2 -0
  88. package/lib/bmad-cache/gds/_git_preserved/refs/heads/main +1 -0
  89. package/lib/bmad-cache/gds/_git_preserved/refs/remotes/origin/HEAD +1 -0
  90. package/lib/bmad-cache/gds/_git_preserved/refs/tags/v0.2.2 +1 -0
  91. package/lib/bmad-cache/gds/_git_preserved/shallow +1 -0
  92. package/lib/bmad-cache/gds/package.json +2 -4
  93. package/lib/bmad-cache/gds/src/agents/gds-agent-game-architect/bmad-skill-manifest.yaml +11 -0
  94. package/lib/bmad-cache/gds/src/agents/gds-agent-game-designer/bmad-skill-manifest.yaml +11 -0
  95. package/lib/bmad-cache/gds/src/agents/gds-agent-game-dev/bmad-skill-manifest.yaml +11 -0
  96. package/lib/bmad-cache/gds/src/agents/gds-agent-game-qa/bmad-skill-manifest.yaml +11 -0
  97. package/lib/bmad-cache/gds/src/agents/gds-agent-game-scrum-master/bmad-skill-manifest.yaml +11 -0
  98. package/lib/bmad-cache/gds/src/agents/gds-agent-game-solo-dev/bmad-skill-manifest.yaml +11 -0
  99. package/lib/bmad-cache/gds/src/agents/gds-agent-tech-writer/bmad-skill-manifest.yaml +11 -0
  100. package/lib/bmad-cache/gds/src/module-help.csv +28 -28
  101. package/lib/bmad-cache/gds/src/workflows/1-preproduction/gds-brainstorm-game/bmad-skill-manifest.yaml +1 -0
  102. package/lib/bmad-cache/gds/src/workflows/1-preproduction/gds-create-game-brief/bmad-skill-manifest.yaml +1 -0
  103. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-gdd/bmad-skill-manifest.yaml +1 -0
  104. package/lib/bmad-cache/gds/src/workflows/2-design/gds-create-narrative/bmad-skill-manifest.yaml +1 -0
  105. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
  106. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
  107. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-game-architecture/bmad-skill-manifest.yaml +1 -0
  108. package/lib/bmad-cache/gds/src/workflows/3-technical/gds-generate-project-context/bmad-skill-manifest.yaml +1 -0
  109. package/lib/bmad-cache/gds/src/workflows/4-production/gds-code-review/bmad-skill-manifest.yaml +1 -0
  110. package/lib/bmad-cache/gds/src/workflows/4-production/gds-correct-course/bmad-skill-manifest.yaml +1 -0
  111. package/lib/bmad-cache/gds/src/workflows/4-production/gds-retrospective/bmad-skill-manifest.yaml +1 -0
  112. package/lib/bmad-cache/gds/src/workflows/4-production/gds-sprint-planning/bmad-skill-manifest.yaml +1 -0
  113. package/lib/bmad-cache/gds/src/workflows/4-production/gds-sprint-status/bmad-skill-manifest.yaml +1 -0
  114. package/lib/bmad-cache/gds/src/workflows/gametest/gds-e2e-scaffold/bmad-skill-manifest.yaml +1 -0
  115. package/lib/bmad-cache/gds/src/workflows/gametest/gds-performance-test/bmad-skill-manifest.yaml +1 -0
  116. package/lib/bmad-cache/gds/src/workflows/gametest/gds-playtest-plan/bmad-skill-manifest.yaml +1 -0
  117. package/lib/bmad-cache/gds/src/workflows/gametest/gds-test-automate/bmad-skill-manifest.yaml +1 -0
  118. package/lib/bmad-cache/gds/src/workflows/gametest/gds-test-design/bmad-skill-manifest.yaml +1 -0
  119. package/lib/bmad-cache/gds/src/workflows/gametest/gds-test-framework/bmad-skill-manifest.yaml +1 -0
  120. package/lib/bmad-cache/gds/src/workflows/gametest/gds-test-review/bmad-skill-manifest.yaml +1 -0
  121. package/lib/bmad-cache/gds/src/workflows/gds-document-project/bmad-skill-manifest.yaml +1 -0
  122. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/gds-quick-dev/bmad-skill-manifest.yaml +1 -4
  123. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/gds-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -4
  124. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/gds-quick-spec/bmad-skill-manifest.yaml +1 -0
  125. package/lib/bmad-cache/tea/_git_preserved/HEAD +1 -0
  126. package/lib/bmad-cache/tea/_git_preserved/config +13 -0
  127. package/lib/bmad-cache/tea/_git_preserved/description +1 -0
  128. package/lib/bmad-cache/tea/_git_preserved/hooks/applypatch-msg.sample +15 -0
  129. package/lib/bmad-cache/tea/_git_preserved/hooks/commit-msg.sample +24 -0
  130. package/lib/bmad-cache/tea/_git_preserved/hooks/fsmonitor-watchman.sample +174 -0
  131. package/lib/bmad-cache/tea/_git_preserved/hooks/post-update.sample +8 -0
  132. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-applypatch.sample +14 -0
  133. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-commit.sample +49 -0
  134. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-merge-commit.sample +13 -0
  135. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-push.sample +53 -0
  136. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-rebase.sample +169 -0
  137. package/lib/bmad-cache/tea/_git_preserved/hooks/pre-receive.sample +24 -0
  138. package/lib/bmad-cache/tea/_git_preserved/hooks/prepare-commit-msg.sample +42 -0
  139. package/lib/bmad-cache/tea/_git_preserved/hooks/push-to-checkout.sample +78 -0
  140. package/lib/bmad-cache/tea/_git_preserved/hooks/sendemail-validate.sample +77 -0
  141. package/lib/bmad-cache/tea/_git_preserved/hooks/update.sample +128 -0
  142. package/lib/bmad-cache/tea/_git_preserved/index +0 -0
  143. package/lib/bmad-cache/tea/_git_preserved/info/exclude +6 -0
  144. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-96ec1ce3a9ef4c891e00e060795b4434ba8f7163.idx +0 -0
  145. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-96ec1ce3a9ef4c891e00e060795b4434ba8f7163.pack +0 -0
  146. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-96ec1ce3a9ef4c891e00e060795b4434ba8f7163.rev +0 -0
  147. package/lib/bmad-cache/tea/_git_preserved/packed-refs +2 -0
  148. package/lib/bmad-cache/tea/_git_preserved/refs/heads/main +1 -0
  149. package/lib/bmad-cache/tea/_git_preserved/refs/remotes/origin/HEAD +1 -0
  150. package/lib/bmad-cache/tea/_git_preserved/refs/tags/v1.7.0 +1 -0
  151. package/lib/bmad-cache/tea/_git_preserved/shallow +1 -0
  152. package/lib/bmad.js +33 -0
  153. package/lib/installer.js +60 -3
  154. package/package.json +1 -1
  155. package/scripts/build-bmad-cache.js +6 -3
  156. package/test/agent-injection-strategy.test.js +123 -0
  157. package/test/instruction-injection.test.js +336 -0
  158. package/.cline/clinerules.md +0 -14
  159. package/.cline/skills/.ma-agents.json +0 -199
  160. package/.cline/skills/MANIFEST.yaml +0 -204
  161. package/.cline/skills/ai-audit-trail/SKILL.md +0 -23
  162. package/.cline/skills/cmake-best-practices/SKILL.md +0 -64
  163. package/.cline/skills/cmake-best-practices/examples/cmake.md +0 -59
  164. package/.cline/skills/code-documentation/SKILL.md +0 -57
  165. package/.cline/skills/code-documentation/examples/cpp.md +0 -29
  166. package/.cline/skills/code-documentation/examples/csharp.md +0 -28
  167. package/.cline/skills/code-documentation/examples/javascript_typescript.md +0 -28
  168. package/.cline/skills/code-documentation/examples/python.md +0 -57
  169. package/.cline/skills/code-review/SKILL.md +0 -59
  170. package/.cline/skills/commit-message/SKILL.md +0 -79
  171. package/.cline/skills/cpp-concurrency-safety/SKILL.md +0 -60
  172. package/.cline/skills/cpp-concurrency-safety/examples/concurrency.md +0 -73
  173. package/.cline/skills/cpp-const-correctness/SKILL.md +0 -63
  174. package/.cline/skills/cpp-const-correctness/examples/const_correctness.md +0 -54
  175. package/.cline/skills/cpp-memory-handling/SKILL.md +0 -42
  176. package/.cline/skills/cpp-memory-handling/examples/modern-cpp.md +0 -49
  177. package/.cline/skills/cpp-memory-handling/examples/smart-pointers.md +0 -46
  178. package/.cline/skills/cpp-modern-composition/SKILL.md +0 -64
  179. package/.cline/skills/cpp-modern-composition/examples/composition.md +0 -51
  180. package/.cline/skills/cpp-robust-interfaces/SKILL.md +0 -55
  181. package/.cline/skills/cpp-robust-interfaces/examples/interfaces.md +0 -56
  182. package/.cline/skills/create-hardened-docker-skill/SKILL.md +0 -637
  183. package/.cline/skills/create-hardened-docker-skill/scripts/create-all.sh +0 -489
  184. package/.cline/skills/docker-hardening-verification/SKILL.md +0 -28
  185. package/.cline/skills/docker-hardening-verification/scripts/verify-hardening.sh +0 -39
  186. package/.cline/skills/docker-image-signing/SKILL.md +0 -28
  187. package/.cline/skills/docker-image-signing/scripts/sign-image.sh +0 -33
  188. package/.cline/skills/document-revision-history/SKILL.md +0 -104
  189. package/.cline/skills/git-workflow-skill/SKILL.md +0 -194
  190. package/.cline/skills/git-workflow-skill/hooks/commit-msg +0 -61
  191. package/.cline/skills/git-workflow-skill/hooks/pre-commit +0 -38
  192. package/.cline/skills/git-workflow-skill/hooks/prepare-commit-msg +0 -56
  193. package/.cline/skills/git-workflow-skill/scripts/finish-feature.sh +0 -192
  194. package/.cline/skills/git-workflow-skill/scripts/install-hooks.sh +0 -55
  195. package/.cline/skills/git-workflow-skill/scripts/start-feature.sh +0 -110
  196. package/.cline/skills/git-workflow-skill/scripts/validate-workflow.sh +0 -229
  197. package/.cline/skills/js-ts-dependency-mgmt/SKILL.md +0 -49
  198. package/.cline/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +0 -60
  199. package/.cline/skills/js-ts-security-skill/SKILL.md +0 -64
  200. package/.cline/skills/js-ts-security-skill/scripts/verify-security.sh +0 -136
  201. package/.cline/skills/logging-best-practices/SKILL.md +0 -50
  202. package/.cline/skills/logging-best-practices/docs/logging-standards.md +0 -29
  203. package/.cline/skills/logging-best-practices/examples/cpp.md +0 -36
  204. package/.cline/skills/logging-best-practices/examples/csharp.md +0 -49
  205. package/.cline/skills/logging-best-practices/examples/javascript.md +0 -77
  206. package/.cline/skills/logging-best-practices/examples/python.md +0 -57
  207. package/.cline/skills/opentelemetry-best-practices/SKILL.md +0 -34
  208. package/.cline/skills/opentelemetry-best-practices/docs/otel-standards.md +0 -37
  209. package/.cline/skills/opentelemetry-best-practices/examples/go.md +0 -32
  210. package/.cline/skills/opentelemetry-best-practices/examples/javascript.md +0 -58
  211. package/.cline/skills/opentelemetry-best-practices/examples/python.md +0 -37
  212. package/.cline/skills/python-dependency-mgmt/SKILL.md +0 -42
  213. package/.cline/skills/python-dependency-mgmt/examples/dependency_mgmt.md +0 -67
  214. package/.cline/skills/python-security-skill/SKILL.md +0 -56
  215. package/.cline/skills/python-security-skill/examples/security.md +0 -56
  216. package/.cline/skills/self-signed-cert/SKILL.md +0 -42
  217. package/.cline/skills/self-signed-cert/scripts/generate-cert.ps1 +0 -45
  218. package/.cline/skills/self-signed-cert/scripts/generate-cert.sh +0 -43
  219. package/.cline/skills/skill-creator/SKILL.md +0 -196
  220. package/.cline/skills/skill-creator/docs/output-patterns.md +0 -82
  221. package/.cline/skills/skill-creator/docs/workflows.md +0 -28
  222. package/.cline/skills/skill-creator/scripts/init_skill.py +0 -208
  223. package/.cline/skills/skill-creator/scripts/package_skill.py +0 -99
  224. package/.cline/skills/skill-creator/scripts/quick_validate.py +0 -113
  225. package/.cline/skills/test-accompanied-development/SKILL.md +0 -50
  226. package/.cline/skills/test-generator/SKILL.md +0 -73
  227. package/.cline/skills/vercel-react-best-practices/SKILL.md +0 -109
  228. package/.cline/skills/verify-hardened-docker-skill/SKILL.md +0 -442
  229. package/.cline/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +0 -439
  230. package/.clinerules +0 -14
  231. package/.cursor/cursor.md +0 -14
  232. package/.cursor/skills/.ma-agents.json +0 -199
  233. package/.cursor/skills/MANIFEST.yaml +0 -204
  234. package/.cursor/skills/ai-audit-trail/SKILL.md +0 -23
  235. package/.cursor/skills/cmake-best-practices/SKILL.md +0 -64
  236. package/.cursor/skills/cmake-best-practices/examples/cmake.md +0 -59
  237. package/.cursor/skills/code-documentation/SKILL.md +0 -57
  238. package/.cursor/skills/code-documentation/examples/cpp.md +0 -29
  239. package/.cursor/skills/code-documentation/examples/csharp.md +0 -28
  240. package/.cursor/skills/code-documentation/examples/javascript_typescript.md +0 -28
  241. package/.cursor/skills/code-documentation/examples/python.md +0 -57
  242. package/.cursor/skills/code-review/SKILL.md +0 -43
  243. package/.cursor/skills/commit-message/SKILL.md +0 -79
  244. package/.cursor/skills/cpp-concurrency-safety/SKILL.md +0 -60
  245. package/.cursor/skills/cpp-concurrency-safety/examples/concurrency.md +0 -73
  246. package/.cursor/skills/cpp-const-correctness/SKILL.md +0 -63
  247. package/.cursor/skills/cpp-const-correctness/examples/const_correctness.md +0 -54
  248. package/.cursor/skills/cpp-memory-handling/SKILL.md +0 -42
  249. package/.cursor/skills/cpp-memory-handling/examples/modern-cpp.md +0 -49
  250. package/.cursor/skills/cpp-memory-handling/examples/smart-pointers.md +0 -46
  251. package/.cursor/skills/cpp-modern-composition/SKILL.md +0 -64
  252. package/.cursor/skills/cpp-modern-composition/examples/composition.md +0 -51
  253. package/.cursor/skills/cpp-robust-interfaces/SKILL.md +0 -55
  254. package/.cursor/skills/cpp-robust-interfaces/examples/interfaces.md +0 -56
  255. package/.cursor/skills/create-hardened-docker-skill/SKILL.md +0 -637
  256. package/.cursor/skills/create-hardened-docker-skill/scripts/create-all.sh +0 -489
  257. package/.cursor/skills/docker-hardening-verification/SKILL.md +0 -28
  258. package/.cursor/skills/docker-hardening-verification/scripts/verify-hardening.sh +0 -39
  259. package/.cursor/skills/docker-image-signing/SKILL.md +0 -28
  260. package/.cursor/skills/docker-image-signing/scripts/sign-image.sh +0 -33
  261. package/.cursor/skills/document-revision-history/SKILL.md +0 -104
  262. package/.cursor/skills/git-workflow-skill/SKILL.md +0 -194
  263. package/.cursor/skills/git-workflow-skill/hooks/commit-msg +0 -61
  264. package/.cursor/skills/git-workflow-skill/hooks/pre-commit +0 -38
  265. package/.cursor/skills/git-workflow-skill/hooks/prepare-commit-msg +0 -56
  266. package/.cursor/skills/git-workflow-skill/scripts/finish-feature.sh +0 -192
  267. package/.cursor/skills/git-workflow-skill/scripts/install-hooks.sh +0 -55
  268. package/.cursor/skills/git-workflow-skill/scripts/start-feature.sh +0 -110
  269. package/.cursor/skills/git-workflow-skill/scripts/validate-workflow.sh +0 -229
  270. package/.cursor/skills/js-ts-dependency-mgmt/SKILL.md +0 -49
  271. package/.cursor/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +0 -60
  272. package/.cursor/skills/js-ts-security-skill/SKILL.md +0 -64
  273. package/.cursor/skills/js-ts-security-skill/scripts/verify-security.sh +0 -136
  274. package/.cursor/skills/logging-best-practices/SKILL.md +0 -50
  275. package/.cursor/skills/logging-best-practices/examples/cpp.md +0 -36
  276. package/.cursor/skills/logging-best-practices/examples/csharp.md +0 -49
  277. package/.cursor/skills/logging-best-practices/examples/javascript.md +0 -77
  278. package/.cursor/skills/logging-best-practices/examples/python.md +0 -57
  279. package/.cursor/skills/logging-best-practices/references/logging-standards.md +0 -29
  280. package/.cursor/skills/opentelemetry-best-practices/SKILL.md +0 -34
  281. package/.cursor/skills/opentelemetry-best-practices/examples/go.md +0 -32
  282. package/.cursor/skills/opentelemetry-best-practices/examples/javascript.md +0 -58
  283. package/.cursor/skills/opentelemetry-best-practices/examples/python.md +0 -37
  284. package/.cursor/skills/opentelemetry-best-practices/references/otel-standards.md +0 -37
  285. package/.cursor/skills/python-dependency-mgmt/SKILL.md +0 -42
  286. package/.cursor/skills/python-dependency-mgmt/examples/dependency_mgmt.md +0 -67
  287. package/.cursor/skills/python-security-skill/SKILL.md +0 -56
  288. package/.cursor/skills/python-security-skill/examples/security.md +0 -56
  289. package/.cursor/skills/self-signed-cert/SKILL.md +0 -42
  290. package/.cursor/skills/self-signed-cert/scripts/generate-cert.ps1 +0 -45
  291. package/.cursor/skills/self-signed-cert/scripts/generate-cert.sh +0 -43
  292. package/.cursor/skills/skill-creator/SKILL.md +0 -196
  293. package/.cursor/skills/skill-creator/references/output-patterns.md +0 -82
  294. package/.cursor/skills/skill-creator/references/workflows.md +0 -28
  295. package/.cursor/skills/skill-creator/scripts/init_skill.py +0 -208
  296. package/.cursor/skills/skill-creator/scripts/package_skill.py +0 -99
  297. package/.cursor/skills/skill-creator/scripts/quick_validate.py +0 -113
  298. package/.cursor/skills/test-accompanied-development/SKILL.md +0 -50
  299. package/.cursor/skills/test-generator/SKILL.md +0 -65
  300. package/.cursor/skills/vercel-react-best-practices/SKILL.md +0 -109
  301. package/.cursor/skills/verify-hardened-docker-skill/SKILL.md +0 -442
  302. package/.cursor/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +0 -439
  303. package/.gemini/gemini.md +0 -14
  304. package/.gemini/skills/.ma-agents.json +0 -199
  305. package/.gemini/skills/MANIFEST.yaml +0 -204
  306. package/.gemini/skills/ai-audit-trail/SKILL.md +0 -23
  307. package/.gemini/skills/cmake-best-practices/SKILL.md +0 -64
  308. package/.gemini/skills/cmake-best-practices/examples/cmake.md +0 -59
  309. package/.gemini/skills/code-documentation/SKILL.md +0 -57
  310. package/.gemini/skills/code-documentation/examples/cpp.md +0 -29
  311. package/.gemini/skills/code-documentation/examples/csharp.md +0 -28
  312. package/.gemini/skills/code-documentation/examples/javascript_typescript.md +0 -28
  313. package/.gemini/skills/code-documentation/examples/python.md +0 -57
  314. package/.gemini/skills/code-review/SKILL.md +0 -43
  315. package/.gemini/skills/commit-message/SKILL.md +0 -79
  316. package/.gemini/skills/cpp-concurrency-safety/SKILL.md +0 -60
  317. package/.gemini/skills/cpp-concurrency-safety/examples/concurrency.md +0 -73
  318. package/.gemini/skills/cpp-const-correctness/SKILL.md +0 -63
  319. package/.gemini/skills/cpp-const-correctness/examples/const_correctness.md +0 -54
  320. package/.gemini/skills/cpp-memory-handling/SKILL.md +0 -42
  321. package/.gemini/skills/cpp-memory-handling/examples/modern-cpp.md +0 -49
  322. package/.gemini/skills/cpp-memory-handling/examples/smart-pointers.md +0 -46
  323. package/.gemini/skills/cpp-modern-composition/SKILL.md +0 -64
  324. package/.gemini/skills/cpp-modern-composition/examples/composition.md +0 -51
  325. package/.gemini/skills/cpp-robust-interfaces/SKILL.md +0 -55
  326. package/.gemini/skills/cpp-robust-interfaces/examples/interfaces.md +0 -56
  327. package/.gemini/skills/create-hardened-docker-skill/SKILL.md +0 -637
  328. package/.gemini/skills/create-hardened-docker-skill/scripts/create-all.sh +0 -489
  329. package/.gemini/skills/docker-hardening-verification/SKILL.md +0 -28
  330. package/.gemini/skills/docker-hardening-verification/scripts/verify-hardening.sh +0 -39
  331. package/.gemini/skills/docker-image-signing/SKILL.md +0 -28
  332. package/.gemini/skills/docker-image-signing/scripts/sign-image.sh +0 -33
  333. package/.gemini/skills/document-revision-history/SKILL.md +0 -104
  334. package/.gemini/skills/git-workflow-skill/SKILL.md +0 -194
  335. package/.gemini/skills/git-workflow-skill/hooks/commit-msg +0 -61
  336. package/.gemini/skills/git-workflow-skill/hooks/pre-commit +0 -38
  337. package/.gemini/skills/git-workflow-skill/hooks/prepare-commit-msg +0 -56
  338. package/.gemini/skills/git-workflow-skill/scripts/finish-feature.sh +0 -192
  339. package/.gemini/skills/git-workflow-skill/scripts/install-hooks.sh +0 -55
  340. package/.gemini/skills/git-workflow-skill/scripts/start-feature.sh +0 -110
  341. package/.gemini/skills/git-workflow-skill/scripts/validate-workflow.sh +0 -229
  342. package/.gemini/skills/js-ts-dependency-mgmt/SKILL.md +0 -49
  343. package/.gemini/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +0 -60
  344. package/.gemini/skills/js-ts-security-skill/SKILL.md +0 -64
  345. package/.gemini/skills/js-ts-security-skill/scripts/verify-security.sh +0 -136
  346. package/.gemini/skills/logging-best-practices/SKILL.md +0 -50
  347. package/.gemini/skills/logging-best-practices/examples/cpp.md +0 -36
  348. package/.gemini/skills/logging-best-practices/examples/csharp.md +0 -49
  349. package/.gemini/skills/logging-best-practices/examples/javascript.md +0 -77
  350. package/.gemini/skills/logging-best-practices/examples/python.md +0 -57
  351. package/.gemini/skills/logging-best-practices/references/logging-standards.md +0 -29
  352. package/.gemini/skills/opentelemetry-best-practices/SKILL.md +0 -34
  353. package/.gemini/skills/opentelemetry-best-practices/examples/go.md +0 -32
  354. package/.gemini/skills/opentelemetry-best-practices/examples/javascript.md +0 -58
  355. package/.gemini/skills/opentelemetry-best-practices/examples/python.md +0 -37
  356. package/.gemini/skills/opentelemetry-best-practices/references/otel-standards.md +0 -37
  357. package/.gemini/skills/python-dependency-mgmt/SKILL.md +0 -42
  358. package/.gemini/skills/python-dependency-mgmt/examples/dependency_mgmt.md +0 -67
  359. package/.gemini/skills/python-security-skill/SKILL.md +0 -56
  360. package/.gemini/skills/python-security-skill/examples/security.md +0 -56
  361. package/.gemini/skills/self-signed-cert/SKILL.md +0 -42
  362. package/.gemini/skills/self-signed-cert/scripts/generate-cert.ps1 +0 -45
  363. package/.gemini/skills/self-signed-cert/scripts/generate-cert.sh +0 -43
  364. package/.gemini/skills/skill-creator/SKILL.md +0 -196
  365. package/.gemini/skills/skill-creator/references/output-patterns.md +0 -82
  366. package/.gemini/skills/skill-creator/references/workflows.md +0 -28
  367. package/.gemini/skills/skill-creator/scripts/init_skill.py +0 -208
  368. package/.gemini/skills/skill-creator/scripts/package_skill.py +0 -99
  369. package/.gemini/skills/skill-creator/scripts/quick_validate.py +0 -113
  370. package/.gemini/skills/test-accompanied-development/SKILL.md +0 -50
  371. package/.gemini/skills/test-generator/SKILL.md +0 -65
  372. package/.gemini/skills/vercel-react-best-practices/SKILL.md +0 -109
  373. package/.gemini/skills/verify-hardened-docker-skill/SKILL.md +0 -442
  374. package/.gemini/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +0 -439
  375. package/.github/copilot/copilot.md +0 -14
  376. package/.github/copilot/skills/.ma-agents.json +0 -199
  377. package/.github/copilot/skills/MANIFEST.yaml +0 -204
  378. package/.github/copilot/skills/ai-audit-trail/SKILL.md +0 -23
  379. package/.github/copilot/skills/cmake-best-practices/SKILL.md +0 -64
  380. package/.github/copilot/skills/cmake-best-practices/examples/cmake.md +0 -59
  381. package/.github/copilot/skills/code-documentation/SKILL.md +0 -57
  382. package/.github/copilot/skills/code-documentation/examples/cpp.md +0 -29
  383. package/.github/copilot/skills/code-documentation/examples/csharp.md +0 -28
  384. package/.github/copilot/skills/code-documentation/examples/javascript_typescript.md +0 -28
  385. package/.github/copilot/skills/code-documentation/examples/python.md +0 -57
  386. package/.github/copilot/skills/code-review/SKILL.md +0 -43
  387. package/.github/copilot/skills/commit-message/SKILL.md +0 -79
  388. package/.github/copilot/skills/cpp-concurrency-safety/SKILL.md +0 -60
  389. package/.github/copilot/skills/cpp-concurrency-safety/examples/concurrency.md +0 -73
  390. package/.github/copilot/skills/cpp-const-correctness/SKILL.md +0 -63
  391. package/.github/copilot/skills/cpp-const-correctness/examples/const_correctness.md +0 -54
  392. package/.github/copilot/skills/cpp-memory-handling/SKILL.md +0 -42
  393. package/.github/copilot/skills/cpp-memory-handling/examples/modern-cpp.md +0 -49
  394. package/.github/copilot/skills/cpp-memory-handling/examples/smart-pointers.md +0 -46
  395. package/.github/copilot/skills/cpp-modern-composition/SKILL.md +0 -64
  396. package/.github/copilot/skills/cpp-modern-composition/examples/composition.md +0 -51
  397. package/.github/copilot/skills/cpp-robust-interfaces/SKILL.md +0 -55
  398. package/.github/copilot/skills/cpp-robust-interfaces/examples/interfaces.md +0 -56
  399. package/.github/copilot/skills/create-hardened-docker-skill/SKILL.md +0 -637
  400. package/.github/copilot/skills/create-hardened-docker-skill/scripts/create-all.sh +0 -489
  401. package/.github/copilot/skills/docker-hardening-verification/SKILL.md +0 -28
  402. package/.github/copilot/skills/docker-hardening-verification/scripts/verify-hardening.sh +0 -39
  403. package/.github/copilot/skills/docker-image-signing/SKILL.md +0 -28
  404. package/.github/copilot/skills/docker-image-signing/scripts/sign-image.sh +0 -33
  405. package/.github/copilot/skills/document-revision-history/SKILL.md +0 -104
  406. package/.github/copilot/skills/git-workflow-skill/SKILL.md +0 -194
  407. package/.github/copilot/skills/git-workflow-skill/hooks/commit-msg +0 -61
  408. package/.github/copilot/skills/git-workflow-skill/hooks/pre-commit +0 -38
  409. package/.github/copilot/skills/git-workflow-skill/hooks/prepare-commit-msg +0 -56
  410. package/.github/copilot/skills/git-workflow-skill/scripts/finish-feature.sh +0 -192
  411. package/.github/copilot/skills/git-workflow-skill/scripts/install-hooks.sh +0 -55
  412. package/.github/copilot/skills/git-workflow-skill/scripts/start-feature.sh +0 -110
  413. package/.github/copilot/skills/git-workflow-skill/scripts/validate-workflow.sh +0 -229
  414. package/.github/copilot/skills/js-ts-dependency-mgmt/SKILL.md +0 -49
  415. package/.github/copilot/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +0 -60
  416. package/.github/copilot/skills/js-ts-security-skill/SKILL.md +0 -64
  417. package/.github/copilot/skills/js-ts-security-skill/scripts/verify-security.sh +0 -136
  418. package/.github/copilot/skills/logging-best-practices/SKILL.md +0 -50
  419. package/.github/copilot/skills/logging-best-practices/examples/cpp.md +0 -36
  420. package/.github/copilot/skills/logging-best-practices/examples/csharp.md +0 -49
  421. package/.github/copilot/skills/logging-best-practices/examples/javascript.md +0 -77
  422. package/.github/copilot/skills/logging-best-practices/examples/python.md +0 -57
  423. package/.github/copilot/skills/logging-best-practices/references/logging-standards.md +0 -29
  424. package/.github/copilot/skills/opentelemetry-best-practices/SKILL.md +0 -34
  425. package/.github/copilot/skills/opentelemetry-best-practices/examples/go.md +0 -32
  426. package/.github/copilot/skills/opentelemetry-best-practices/examples/javascript.md +0 -58
  427. package/.github/copilot/skills/opentelemetry-best-practices/examples/python.md +0 -37
  428. package/.github/copilot/skills/opentelemetry-best-practices/references/otel-standards.md +0 -37
  429. package/.github/copilot/skills/python-dependency-mgmt/SKILL.md +0 -42
  430. package/.github/copilot/skills/python-dependency-mgmt/examples/dependency_mgmt.md +0 -67
  431. package/.github/copilot/skills/python-security-skill/SKILL.md +0 -56
  432. package/.github/copilot/skills/python-security-skill/examples/security.md +0 -56
  433. package/.github/copilot/skills/self-signed-cert/SKILL.md +0 -42
  434. package/.github/copilot/skills/self-signed-cert/scripts/generate-cert.ps1 +0 -45
  435. package/.github/copilot/skills/self-signed-cert/scripts/generate-cert.sh +0 -43
  436. package/.github/copilot/skills/skill-creator/SKILL.md +0 -196
  437. package/.github/copilot/skills/skill-creator/references/output-patterns.md +0 -82
  438. package/.github/copilot/skills/skill-creator/references/workflows.md +0 -28
  439. package/.github/copilot/skills/skill-creator/scripts/init_skill.py +0 -208
  440. package/.github/copilot/skills/skill-creator/scripts/package_skill.py +0 -99
  441. package/.github/copilot/skills/skill-creator/scripts/quick_validate.py +0 -113
  442. package/.github/copilot/skills/test-accompanied-development/SKILL.md +0 -50
  443. package/.github/copilot/skills/test-generator/SKILL.md +0 -65
  444. package/.github/copilot/skills/vercel-react-best-practices/SKILL.md +0 -109
  445. package/.github/copilot/skills/verify-hardened-docker-skill/SKILL.md +0 -442
  446. package/.github/copilot/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +0 -439
  447. package/.kilocode/kilocode.md +0 -14
  448. package/.kilocode/skills/.ma-agents.json +0 -199
  449. package/.kilocode/skills/MANIFEST.yaml +0 -204
  450. package/.kilocode/skills/ai-audit-trail/SKILL.md +0 -23
  451. package/.kilocode/skills/cmake-best-practices/SKILL.md +0 -64
  452. package/.kilocode/skills/cmake-best-practices/examples/cmake.md +0 -59
  453. package/.kilocode/skills/code-documentation/SKILL.md +0 -57
  454. package/.kilocode/skills/code-documentation/examples/cpp.md +0 -29
  455. package/.kilocode/skills/code-documentation/examples/csharp.md +0 -28
  456. package/.kilocode/skills/code-documentation/examples/javascript_typescript.md +0 -28
  457. package/.kilocode/skills/code-documentation/examples/python.md +0 -57
  458. package/.kilocode/skills/code-review/SKILL.md +0 -43
  459. package/.kilocode/skills/commit-message/SKILL.md +0 -79
  460. package/.kilocode/skills/cpp-concurrency-safety/SKILL.md +0 -60
  461. package/.kilocode/skills/cpp-concurrency-safety/examples/concurrency.md +0 -73
  462. package/.kilocode/skills/cpp-const-correctness/SKILL.md +0 -63
  463. package/.kilocode/skills/cpp-const-correctness/examples/const_correctness.md +0 -54
  464. package/.kilocode/skills/cpp-memory-handling/SKILL.md +0 -42
  465. package/.kilocode/skills/cpp-memory-handling/examples/modern-cpp.md +0 -49
  466. package/.kilocode/skills/cpp-memory-handling/examples/smart-pointers.md +0 -46
  467. package/.kilocode/skills/cpp-modern-composition/SKILL.md +0 -64
  468. package/.kilocode/skills/cpp-modern-composition/examples/composition.md +0 -51
  469. package/.kilocode/skills/cpp-robust-interfaces/SKILL.md +0 -55
  470. package/.kilocode/skills/cpp-robust-interfaces/examples/interfaces.md +0 -56
  471. package/.kilocode/skills/create-hardened-docker-skill/SKILL.md +0 -637
  472. package/.kilocode/skills/create-hardened-docker-skill/scripts/create-all.sh +0 -489
  473. package/.kilocode/skills/docker-hardening-verification/SKILL.md +0 -28
  474. package/.kilocode/skills/docker-hardening-verification/scripts/verify-hardening.sh +0 -39
  475. package/.kilocode/skills/docker-image-signing/SKILL.md +0 -28
  476. package/.kilocode/skills/docker-image-signing/scripts/sign-image.sh +0 -33
  477. package/.kilocode/skills/document-revision-history/SKILL.md +0 -104
  478. package/.kilocode/skills/git-workflow-skill/SKILL.md +0 -194
  479. package/.kilocode/skills/git-workflow-skill/hooks/commit-msg +0 -61
  480. package/.kilocode/skills/git-workflow-skill/hooks/pre-commit +0 -38
  481. package/.kilocode/skills/git-workflow-skill/hooks/prepare-commit-msg +0 -56
  482. package/.kilocode/skills/git-workflow-skill/scripts/finish-feature.sh +0 -192
  483. package/.kilocode/skills/git-workflow-skill/scripts/install-hooks.sh +0 -55
  484. package/.kilocode/skills/git-workflow-skill/scripts/start-feature.sh +0 -110
  485. package/.kilocode/skills/git-workflow-skill/scripts/validate-workflow.sh +0 -229
  486. package/.kilocode/skills/js-ts-dependency-mgmt/SKILL.md +0 -49
  487. package/.kilocode/skills/js-ts-dependency-mgmt/examples/dependency_mgmt.md +0 -60
  488. package/.kilocode/skills/js-ts-security-skill/SKILL.md +0 -64
  489. package/.kilocode/skills/js-ts-security-skill/scripts/verify-security.sh +0 -136
  490. package/.kilocode/skills/logging-best-practices/SKILL.md +0 -50
  491. package/.kilocode/skills/logging-best-practices/examples/cpp.md +0 -36
  492. package/.kilocode/skills/logging-best-practices/examples/csharp.md +0 -49
  493. package/.kilocode/skills/logging-best-practices/examples/javascript.md +0 -77
  494. package/.kilocode/skills/logging-best-practices/examples/python.md +0 -57
  495. package/.kilocode/skills/logging-best-practices/references/logging-standards.md +0 -29
  496. package/.kilocode/skills/opentelemetry-best-practices/SKILL.md +0 -34
  497. package/.kilocode/skills/opentelemetry-best-practices/examples/go.md +0 -32
  498. package/.kilocode/skills/opentelemetry-best-practices/examples/javascript.md +0 -58
  499. package/.kilocode/skills/opentelemetry-best-practices/examples/python.md +0 -37
  500. package/.kilocode/skills/opentelemetry-best-practices/references/otel-standards.md +0 -37
  501. package/.kilocode/skills/python-dependency-mgmt/SKILL.md +0 -42
  502. package/.kilocode/skills/python-dependency-mgmt/examples/dependency_mgmt.md +0 -67
  503. package/.kilocode/skills/python-security-skill/SKILL.md +0 -56
  504. package/.kilocode/skills/python-security-skill/examples/security.md +0 -56
  505. package/.kilocode/skills/self-signed-cert/SKILL.md +0 -42
  506. package/.kilocode/skills/self-signed-cert/scripts/generate-cert.ps1 +0 -45
  507. package/.kilocode/skills/self-signed-cert/scripts/generate-cert.sh +0 -43
  508. package/.kilocode/skills/skill-creator/SKILL.md +0 -196
  509. package/.kilocode/skills/skill-creator/references/output-patterns.md +0 -82
  510. package/.kilocode/skills/skill-creator/references/workflows.md +0 -28
  511. package/.kilocode/skills/skill-creator/scripts/init_skill.py +0 -208
  512. package/.kilocode/skills/skill-creator/scripts/package_skill.py +0 -99
  513. package/.kilocode/skills/skill-creator/scripts/quick_validate.py +0 -113
  514. package/.kilocode/skills/test-accompanied-development/SKILL.md +0 -50
  515. package/.kilocode/skills/test-generator/SKILL.md +0 -65
  516. package/.kilocode/skills/vercel-react-best-practices/SKILL.md +0 -109
  517. package/.kilocode/skills/verify-hardened-docker-skill/SKILL.md +0 -442
  518. package/.kilocode/skills/verify-hardened-docker-skill/scripts/verify-docker-hardening.sh +0 -439
  519. package/lib/bmad-cache/gds/src/agents/game-architect.agent.yaml +0 -44
  520. package/lib/bmad-cache/gds/src/agents/game-designer.agent.yaml +0 -45
  521. package/lib/bmad-cache/gds/src/agents/game-dev.agent.yaml +0 -49
  522. package/lib/bmad-cache/gds/src/agents/game-qa.agent.yaml +0 -63
  523. package/lib/bmad-cache/gds/src/agents/game-scrum-master.agent.yaml +0 -52
  524. package/lib/bmad-cache/gds/src/agents/game-solo-dev.agent.yaml +0 -53
  525. package/lib/bmad-cache/gds/src/agents/tech-writer/tech-writer.agent.yaml +0 -45
  526. package/lib/bmad-cache/gds/src/teams/default-party.csv +0 -12
  527. package/lib/bmad-cache/gds/src/teams/team-gamedev.yaml +0 -29
  528. package/lib/bmad-cache/gds/src/workflows/1-preproduction/brainstorm-game/bmad-skill-manifest.yaml +0 -3
  529. package/lib/bmad-cache/gds/src/workflows/1-preproduction/game-brief/bmad-skill-manifest.yaml +0 -3
  530. package/lib/bmad-cache/gds/src/workflows/2-design/gdd/bmad-skill-manifest.yaml +0 -3
  531. package/lib/bmad-cache/gds/src/workflows/2-design/narrative/bmad-skill-manifest.yaml +0 -3
  532. package/lib/bmad-cache/gds/src/workflows/3-technical/check-implementation-readiness/bmad-skill-manifest.yaml +0 -3
  533. package/lib/bmad-cache/gds/src/workflows/3-technical/create-epics-and-stories/bmad-skill-manifest.yaml +0 -3
  534. package/lib/bmad-cache/gds/src/workflows/3-technical/game-architecture/bmad-skill-manifest.yaml +0 -3
  535. package/lib/bmad-cache/gds/src/workflows/3-technical/generate-project-context/bmad-skill-manifest.yaml +0 -3
  536. package/lib/bmad-cache/gds/src/workflows/4-production/code-review/bmad-skill-manifest.yaml +0 -3
  537. package/lib/bmad-cache/gds/src/workflows/4-production/correct-course/bmad-skill-manifest.yaml +0 -3
  538. package/lib/bmad-cache/gds/src/workflows/4-production/retrospective/bmad-skill-manifest.yaml +0 -3
  539. package/lib/bmad-cache/gds/src/workflows/4-production/sprint-planning/bmad-skill-manifest.yaml +0 -3
  540. package/lib/bmad-cache/gds/src/workflows/4-production/sprint-status/bmad-skill-manifest.yaml +0 -3
  541. package/lib/bmad-cache/gds/src/workflows/document-project/bmad-skill-manifest.yaml +0 -3
  542. package/lib/bmad-cache/gds/src/workflows/gametest/automate/bmad-skill-manifest.yaml +0 -3
  543. package/lib/bmad-cache/gds/src/workflows/gametest/e2e-scaffold/bmad-skill-manifest.yaml +0 -3
  544. package/lib/bmad-cache/gds/src/workflows/gametest/performance/bmad-skill-manifest.yaml +0 -3
  545. package/lib/bmad-cache/gds/src/workflows/gametest/playtest-plan/bmad-skill-manifest.yaml +0 -3
  546. package/lib/bmad-cache/gds/src/workflows/gametest/test-design/bmad-skill-manifest.yaml +0 -3
  547. package/lib/bmad-cache/gds/src/workflows/gametest/test-framework/bmad-skill-manifest.yaml +0 -3
  548. package/lib/bmad-cache/gds/src/workflows/gametest/test-review/bmad-skill-manifest.yaml +0 -3
  549. package/lib/bmad-cache/gds/src/workflows/gds-quick-flow/quick-spec/bmad-skill-manifest.yaml +0 -3
  550. package/lib/bmad-cache/tea/.github/CODE_OF_CONDUCT.md +0 -128
  551. package/lib/bmad-cache/tea/.github/FUNDING.yaml +0 -15
  552. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/config.yaml +0 -11
  553. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/feature_request.md +0 -70
  554. package/lib/bmad-cache/tea/.github/ISSUE_TEMPLATE/issue.md +0 -61
  555. package/lib/bmad-cache/tea/.github/workflows/docs.yaml +0 -66
  556. package/lib/bmad-cache/tea/.github/workflows/manual-release.yaml +0 -195
  557. package/lib/bmad-cache/tea/.github/workflows/quality.yaml +0 -114
  558. /package/lib/bmad-cache/gds/src/workflows/1-preproduction/{brainstorm-game → gds-brainstorm-game}/game-brain-methods.csv +0 -0
  559. /package/lib/bmad-cache/gds/src/workflows/2-design/{gdd → gds-create-gdd}/game-types.csv +0 -0
  560. /package/lib/bmad-cache/gds/src/workflows/3-technical/{game-architecture → gds-game-architecture}/architecture-patterns.yaml +0 -0
  561. /package/lib/bmad-cache/gds/src/workflows/3-technical/{game-architecture → gds-game-architecture}/decision-catalog.yaml +0 -0
  562. /package/lib/bmad-cache/gds/src/workflows/3-technical/{game-architecture → gds-game-architecture}/engine-mcps.yaml +0 -0
  563. /package/lib/bmad-cache/gds/src/workflows/3-technical/{game-architecture → gds-game-architecture}/pattern-categories.csv +0 -0
  564. /package/lib/bmad-cache/gds/src/workflows/4-production/{sprint-planning → gds-sprint-planning}/sprint-status-template.yaml +0 -0
  565. /package/lib/bmad-cache/gds/src/workflows/{document-project → gds-document-project}/documentation-requirements.csv +0 -0
  566. /package/lib/bmad-cache/gds/src/workflows/{document-project → gds-document-project}/templates/project-scan-report-schema.json +0 -0
@@ -1,104 +0,0 @@
1
- ---
2
- name: Document Revision History
3
- description: Manages a revision history table at the beginning of generated documents, tracking changes per version.
4
- ---
5
- # Document Revision History
6
-
7
- Manage a revision history table at the beginning of every generated or updated document. This ensures traceability of changes across document versions.
8
-
9
- ## Policy
10
-
11
- ### 1. Revision History Table Required
12
-
13
- Every document generated or updated by the agent MUST include a **Revision History** table immediately after the document title (before the Table of Contents or Section 1).
14
-
15
- ### 2. Table Format
16
-
17
- Use the following markdown table format:
18
-
19
- ```markdown
20
- | Version | Date | Author | Changes |
21
- |---------|------|--------|---------|
22
- | 1.0 | 2026-03-02 | Agent (Claude) | Initial document generation |
23
- ```
24
-
25
- ### 3. Column Definitions
26
-
27
- | Column | Description |
28
- |--------|-------------|
29
- | **Version** | Document version number (e.g., 1.0, 1.1, 2.0). Use semantic versioning: major version for structural changes, minor for content updates |
30
- | **Date** | Date of the change in `YYYY-MM-DD` format |
31
- | **Author** | Who made the change — use `Agent (<model>)` for AI-generated content, or the user's name for user-directed changes |
32
- | **Changes** | Brief summary of ALL changes made in this version. One line per version — consolidate multiple changes into a single descriptive entry |
33
-
34
- ### 4. Rules for New Documents
35
-
36
- When **generating a new document** for the first time:
37
- - Add the revision history table immediately after the document title
38
- - Set version to `1.0`
39
- - Set date to today's date
40
- - Set author to `Agent (<model>)` where `<model>` is the AI model name
41
- - Set changes to `Initial document generation`
42
-
43
- ### 5. Rules for Updated Documents
44
-
45
- When **updating an existing document**:
46
- - Read the existing revision history table
47
- - Determine the new version number:
48
- - **Minor increment** (e.g., 1.0 → 1.1): Content updates, corrections, additions to existing sections
49
- - **Major increment** (e.g., 1.1 → 2.0): Structural changes, section reorganization, significant rewrites
50
- - Add a **single new row** summarizing ALL changes made in this update session
51
- - Do NOT create multiple rows for changes made in the same session — consolidate them into one line
52
- - Preserve all previous revision history entries
53
-
54
- ### 6. Changes Column Guidelines
55
-
56
- Write concise but descriptive change summaries:
57
-
58
- **Good examples:**
59
- - `Added Sections 7-8 (impacts, analysis), expanded interface requirements to cover categories a-g`
60
- - `Updated capability requirements based on user feedback, added 3 new interfaces`
61
- - `Fixed traceability matrix, corrected section numbering`
62
-
63
- **Bad examples:**
64
- - `Updated document` (too vague)
65
- - `Changed section 3.2.1 requirement SRS-CAP-001 description from X to Y, then changed 3.2.2...` (too granular — summarize)
66
-
67
- ### 7. Placement
68
-
69
- The revision history table MUST appear in this order within the document:
70
-
71
- ```markdown
72
- # Document Title
73
-
74
- | Version | Date | Author | Changes |
75
- |---------|------|--------|---------|
76
- | 1.0 | 2026-03-02 | Agent (Claude) | Initial document generation |
77
-
78
- > MIL-STD-498 or other document metadata...
79
-
80
- ## Table of Contents (if applicable)
81
-
82
- ## 1. Scope
83
- ...
84
- ```
85
-
86
- ### 8. Multi-Author Sessions
87
-
88
- If the user provides their name or the changes are user-directed corrections:
89
- - Use the user's name as author
90
- - If both the agent and user contribute in the same session, use `{user_name} / Agent (<model>)`
91
-
92
- ## Example
93
-
94
- A document updated twice would have:
95
-
96
- ```markdown
97
- # Software Requirements Specification (SRS)
98
-
99
- | Version | Date | Author | Changes |
100
- |---------|------|--------|---------|
101
- | 1.0 | 2026-03-01 | Agent (Claude) | Initial document generation from SSDD and PRD artifacts |
102
- | 1.1 | 2026-03-02 | Joseph / Agent (Claude) | Added 4 interface requirements per user feedback, corrected capability traceability to SSDD |
103
- | 2.0 | 2026-03-15 | Agent (Claude) | Major rewrite: restructured CSCI decomposition after SSDD v2.0, updated all requirement IDs |
104
- ```
@@ -1,194 +0,0 @@
1
- ---
2
- name: Git Workflow
3
- description: MANDATORY worktree-based workflow for ALL file-changing activities. Enforces isolated feature branches, conventional commits, and PR-based merging.
4
- ---
5
- # Mandatory Usage Policy (CRITICAL)
6
-
7
- **This skill is MANDATORY for all activities that modify tracked files in this repository.**
8
-
9
- 1. **Before starting ANY work** that changes source code, config files, or documentation: You MUST run `./scripts/start-feature.sh` (or the equivalent `git worktree add`) to create an isolated feature branch and worktree.
10
- 2. **During development**: You MUST perform all file-writing activities inside the newly created worktree directory.
11
- 3. **After completing work**: You MUST run `./scripts/finish-feature.sh` (or the equivalent rebase/push/PR/cleanup sequence) to integrate your changes and clean up the worktree.
12
-
13
- **Failure to follow this workflow is a violation of repository standards.**
14
-
15
- ---
16
-
17
- # Git Workflow (Worktree-Based)
18
-
19
- Multi-agent parallel development using git worktrees. Each agent gets an isolated working directory — no branch switching, no conflicts between agents.
20
-
21
- ## Bundled Tools
22
-
23
- ### Scripts (scripts/)
24
- | Script | Purpose |
25
- |--------|---------|
26
- | `start-feature.sh <type> <desc>` | Create worktree + feature branch from dev |
27
- | `finish-feature.sh [path]` | Rebase, push, create PR, remove worktree |
28
- | `validate-workflow.sh [--list]` | Check workflow compliance / list worktrees |
29
- | `install-hooks.sh` | Install git hooks to repo |
30
-
31
- ### Git Hooks (hooks/)
32
- | Hook | Purpose |
33
- |------|---------|
34
- | `pre-commit` | Blocks commits on dev/main (shared across worktrees) |
35
- | `commit-msg` | Validates conventional commit format |
36
- | `prepare-commit-msg` | Adds commit message template |
37
-
38
- **Install hooks:** Run `scripts/install-hooks.sh` in target repository.
39
-
40
- ### Requirements
41
- - Git (2.15+ for worktree support)
42
- - GitHub CLI (`gh`) - Required for automatic PR creation
43
- ```bash
44
- # macOS
45
- brew install gh
46
- # Windows
47
- winget install --id GitHub.cli
48
- # Linux
49
- apt install gh
50
-
51
- # Authenticate
52
- gh auth login
53
- ```
54
-
55
- ---
56
-
57
- ## Mandatory Pre-Change Check
58
-
59
- Before making ANY change to repository files (that are not in .gitignore):
60
-
61
- 1. Check if files to be changed are tracked:
62
- ```bash
63
- git check-ignore -v <file-path>
64
- ```
65
- If file is ignored → proceed without this workflow
66
- If file is tracked → continue with steps below
67
-
68
- 2. Verify `dev` branch exists:
69
- ```bash
70
- git fetch origin
71
- git branch -a | grep -E '(^|\/)dev$'
72
- ```
73
- 3. If `dev` does not exist → **STOP and ask user** to create it or specify base branch
74
-
75
- ## Multi-Agent Development Flow
76
-
77
- ```
78
- Main repo (stays on dev) ─── always clean, never modified directly
79
-
80
- ├── .worktrees/auth-system/ ← Agent 1: feature/auth-system
81
- │ └── (isolated copy of repo, own branch, own changes)
82
-
83
- ├── .worktrees/api-refactor/ ← Agent 2: bugfix/api-refactor
84
- │ └── (isolated copy of repo, own branch, own changes)
85
-
86
- └── .worktrees/update-docs/ ← Agent 3: chore/update-docs
87
- └── (isolated copy of repo, own branch, own changes)
88
-
89
- Each worktree:
90
- 1. Has its own directory and branch
91
- 2. Shares git history with the main repo
92
- 3. Can commit, push, and create PRs independently
93
- 4. Gets cleaned up automatically after finish-feature.sh
94
- ```
95
-
96
- ### Starting Work
97
-
98
- **Using script (recommended):**
99
- ```bash
100
- ./scripts/start-feature.sh feature my-feature-name
101
- # Output: .worktrees/my-feature-name/ created
102
- cd .worktrees/my-feature-name/
103
- ```
104
-
105
- **Manual:**
106
- ```bash
107
- git worktree add .worktrees/<desc> -b feature/<desc> origin/dev
108
- cd .worktrees/<desc>
109
- ```
110
-
111
- ### Branch Naming
112
-
113
- | Type | Use Case |
114
- |------|----------|
115
- | `feature/<desc>` | New functionality |
116
- | `bugfix/<desc>` | Bug fixes |
117
- | `hotfix/<desc>` | Urgent production fixes |
118
- | `chore/<desc>` | Maintenance tasks |
119
-
120
- ### Completing Work
121
-
122
- **Using script (recommended):**
123
- ```bash
124
- # Run from inside the worktree
125
- ./scripts/finish-feature.sh
126
- ```
127
-
128
- This script will:
129
- 1. Validate you're on a feature branch
130
- 2. Validate commit messages (conventional commits)
131
- 3. Rebase on latest `dev` branch
132
- 4. Push the feature branch
133
- 5. **Automatically create a PR to `dev`** (requires `gh` CLI)
134
- 6. **Remove the worktree** (auto-cleanup)
135
-
136
- **Note:** If `gh` CLI is not installed, the script will skip PR creation. The branch will still be pushed.
137
-
138
- **Manual:**
139
- ```bash
140
- # From inside the worktree
141
- git fetch origin dev
142
- git rebase origin/dev
143
- git push -u origin <branch-name>
144
- gh pr create --base dev --head <branch-name>
145
-
146
- # Clean up from main repo
147
- cd /path/to/main/repo
148
- git worktree remove .worktrees/<desc>
149
- ```
150
-
151
- ### Managing Worktrees
152
-
153
- ```bash
154
- # List all active worktrees
155
- git worktree list
156
- # or
157
- ./scripts/validate-workflow.sh --list
158
-
159
- # Remove a specific worktree
160
- git worktree remove .worktrees/<desc>
161
-
162
- # Clean up stale references
163
- git worktree prune
164
-
165
- # Validate workflow compliance
166
- ./scripts/validate-workflow.sh
167
- ```
168
-
169
- ## Commit Format (Conventional Commits)
170
-
171
- ```
172
- <type>(<scope>): <description>
173
-
174
- [optional body]
175
- ```
176
-
177
- **Types:** `feat`, `fix`, `chore`, `docs`, `refactor`, `test`
178
-
179
- **Examples:**
180
- - `feat(auth): add OAuth2 flow support`
181
- - `fix(api): handle null response from endpoint`
182
- - `chore(deps): update Helm chart dependencies`
183
- - `docs(readme): add deployment instructions`
184
-
185
- ## Critical Rules
186
-
187
- - **NEVER** modify tracked files without being in a worktree on a feature branch.
188
- - **NEVER** commit directly to `dev` or `main`.
189
- - **ALWAYS** check if a file is gitignored before applying this workflow.
190
- - **ALWAYS** create a worktree **BEFORE** calling any file-writing tools (write_to_file, replace_file_content, etc.).
191
- - **ALWAYS** rebase on `dev` before pushing.
192
- - **ALWAYS** use conventional commit format.
193
- - **ALWAYS** add `.worktrees/` to your `.gitignore`.
194
- - **ALWAYS** finish the workflow by creating a PR and removing the worktree once work is verified.
@@ -1,61 +0,0 @@
1
- #!/bin/bash
2
- # commit-msg hook - Validate conventional commit format
3
- # Install: cp this file to .git/hooks/commit-msg && chmod +x .git/hooks/commit-msg
4
-
5
- RED='\033[0;31m'
6
- GREEN='\033[0;32m'
7
- YELLOW='\033[1;33m'
8
- NC='\033[0m'
9
-
10
- COMMIT_MSG_FILE="$1"
11
- COMMIT_MSG=$(cat "$COMMIT_MSG_FILE")
12
-
13
- # Skip merge commits
14
- if echo "$COMMIT_MSG" | grep -qE '^Merge '; then
15
- exit 0
16
- fi
17
-
18
- # Skip fixup/squash commits
19
- if echo "$COMMIT_MSG" | grep -qE '^(fixup|squash)! '; then
20
- exit 0
21
- fi
22
-
23
- # Conventional commit regex
24
- # Format: type(scope): description
25
- # Types: feat, fix, chore, docs, refactor, test
26
- PATTERN='^(feat|fix|chore|docs|refactor|test)(\([a-zA-Z0-9_-]+\))?: .{1,}'
27
-
28
- if ! echo "$COMMIT_MSG" | head -1 | grep -qE "$PATTERN"; then
29
- echo -e "${RED}=================================================${NC}"
30
- echo -e "${RED}ERROR: Commit message doesn't follow conventional format${NC}"
31
- echo -e "${RED}=================================================${NC}"
32
- echo ""
33
- echo "Your message: $(head -1 "$COMMIT_MSG_FILE")"
34
- echo ""
35
- echo "Expected format:"
36
- echo " <type>(<scope>): <description>"
37
- echo ""
38
- echo "Types:"
39
- echo " feat - New feature"
40
- echo " fix - Bug fix"
41
- echo " chore - Maintenance task"
42
- echo " docs - Documentation"
43
- echo " refactor - Code refactoring"
44
- echo " test - Tests"
45
- echo ""
46
- echo "Examples:"
47
- echo " feat(auth): add OAuth2 flow support"
48
- echo " fix(api): handle null response from endpoint"
49
- echo " chore(deps): update Helm dependencies"
50
- echo " docs: update README with deployment steps"
51
- echo ""
52
- exit 1
53
- fi
54
-
55
- # Check description length (warn if too long)
56
- FIRST_LINE=$(head -1 "$COMMIT_MSG_FILE")
57
- if [[ ${#FIRST_LINE} -gt 72 ]]; then
58
- echo -e "${YELLOW}WARNING: First line is ${#FIRST_LINE} characters (recommended: 72 max)${NC}"
59
- fi
60
-
61
- exit 0
@@ -1,38 +0,0 @@
1
- #!/bin/bash
2
- # pre-commit hook - Block commits on protected branches
3
- # Works in both main repo and worktrees.
4
- # Install: ./scripts/install-hooks.sh
5
-
6
- RED='\033[0;31m'
7
- YELLOW='\033[1;33m'
8
- NC='\033[0m'
9
-
10
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
11
-
12
- # Block commits on protected branches
13
- PROTECTED_BRANCHES="dev main master"
14
-
15
- for branch in $PROTECTED_BRANCHES; do
16
- if [[ "$CURRENT_BRANCH" == "$branch" ]]; then
17
- echo -e "${RED}=================================================${NC}"
18
- echo -e "${RED}ERROR: Direct commits to '$branch' are not allowed${NC}"
19
- echo -e "${RED}=================================================${NC}"
20
- echo ""
21
- echo "Create an isolated worktree for your changes:"
22
- echo " ./scripts/start-feature.sh feature <description>"
23
- echo ""
24
- echo "Or manually:"
25
- echo " git worktree add .worktrees/<desc> -b feature/<desc> origin/dev"
26
- echo ""
27
- exit 1
28
- fi
29
- done
30
-
31
- # Warn if branch doesn't follow naming convention
32
- if ! echo "$CURRENT_BRANCH" | grep -qE '^(feature|bugfix|hotfix|chore)/'; then
33
- echo -e "${YELLOW}WARNING: Branch '$CURRENT_BRANCH' doesn't follow naming convention${NC}"
34
- echo -e "${YELLOW}Expected: feature|bugfix|hotfix|chore/<description>${NC}"
35
- echo ""
36
- fi
37
-
38
- exit 0
@@ -1,56 +0,0 @@
1
- #!/bin/bash
2
- # prepare-commit-msg hook - Add template for conventional commits
3
- # Install: cp this file to .git/hooks/prepare-commit-msg && chmod +x .git/hooks/prepare-commit-msg
4
-
5
- COMMIT_MSG_FILE="$1"
6
- COMMIT_SOURCE="$2"
7
-
8
- # Only add template for new commits (not amend, merge, etc.)
9
- if [[ -z "$COMMIT_SOURCE" ]]; then
10
- # Get current branch to suggest type
11
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
12
-
13
- # Extract type from branch name if possible
14
- SUGGESTED_TYPE=""
15
- if echo "$CURRENT_BRANCH" | grep -qE '^feature/'; then
16
- SUGGESTED_TYPE="feat"
17
- elif echo "$CURRENT_BRANCH" | grep -qE '^bugfix/'; then
18
- SUGGESTED_TYPE="fix"
19
- elif echo "$CURRENT_BRANCH" | grep -qE '^hotfix/'; then
20
- SUGGESTED_TYPE="fix"
21
- elif echo "$CURRENT_BRANCH" | grep -qE '^chore/'; then
22
- SUGGESTED_TYPE="chore"
23
- fi
24
-
25
- # Only add template if commit message is empty or just comments
26
- if ! grep -qv '^#' "$COMMIT_MSG_FILE" 2>/dev/null || [[ ! -s "$COMMIT_MSG_FILE" ]]; then
27
- {
28
- if [[ -n "$SUGGESTED_TYPE" ]]; then
29
- echo "${SUGGESTED_TYPE}(scope): "
30
- else
31
- echo "type(scope): "
32
- fi
33
- echo ""
34
- echo "# Conventional Commit Format"
35
- echo "# --------------------------"
36
- echo "# <type>(<scope>): <description>"
37
- echo "#"
38
- echo "# Types:"
39
- echo "# feat - New feature"
40
- echo "# fix - Bug fix"
41
- echo "# chore - Maintenance"
42
- echo "# docs - Documentation"
43
- echo "# refactor - Code refactoring"
44
- echo "# test - Tests"
45
- echo "#"
46
- echo "# Scope: Component or area (optional)"
47
- echo "# Description: Short summary in present tense"
48
- echo "#"
49
- echo "# Examples:"
50
- echo "# feat(auth): add OAuth2 support"
51
- echo "# fix(api): handle null response"
52
- } > "$COMMIT_MSG_FILE"
53
- fi
54
- fi
55
-
56
- exit 0
@@ -1,192 +0,0 @@
1
- #!/bin/bash
2
- # finish-feature.sh - Rebase, validate, push, create PR, and clean up worktree
3
- # Usage: finish-feature.sh [worktree-path]
4
- #
5
- # Run from inside a worktree, or pass the worktree path as an argument.
6
- # After creating the PR, the worktree is removed automatically.
7
-
8
- set -e
9
-
10
- RED='\033[0;31m'
11
- GREEN='\033[0;32m'
12
- YELLOW='\033[1;33m'
13
- CYAN='\033[0;36m'
14
- NC='\033[0m'
15
-
16
- error() { echo -e "${RED}ERROR: $1${NC}" >&2; exit 1; }
17
- warn() { echo -e "${YELLOW}WARNING: $1${NC}" >&2; }
18
- success() { echo -e "${GREEN}$1${NC}"; }
19
- info() { echo -e "${CYAN}$1${NC}"; }
20
-
21
- # Determine working directory
22
- WORK_DIR="${1:-$(pwd)}"
23
- cd "$WORK_DIR"
24
-
25
- # Check we're in a git repo
26
- git rev-parse --git-dir > /dev/null 2>&1 || error "Not in a git repository"
27
-
28
- # Detect if we're in a worktree
29
- GIT_COMMON=$(git rev-parse --git-common-dir 2>/dev/null)
30
- GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
31
- WORKTREE_PATH=$(git rev-parse --show-toplevel)
32
-
33
- IS_WORKTREE=false
34
- if [[ "$GIT_COMMON" != "$GIT_DIR" && "$GIT_COMMON" != "." ]]; then
35
- IS_WORKTREE=true
36
- MAIN_REPO=$(cd "$GIT_COMMON/.." && pwd)
37
- info "Working in worktree: ${WORKTREE_PATH}"
38
- else
39
- MAIN_REPO="$WORKTREE_PATH"
40
- info "Working in main repository (not a worktree)"
41
- fi
42
-
43
- # Get current branch
44
- CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
45
-
46
- # Validate we're on a feature branch
47
- if [[ "$CURRENT_BRANCH" == "dev" || "$CURRENT_BRANCH" == "main" || "$CURRENT_BRANCH" == "master" ]]; then
48
- error "You are on '$CURRENT_BRANCH'. Switch to a feature branch first."
49
- fi
50
-
51
- if ! echo "$CURRENT_BRANCH" | grep -qE '^(feature|bugfix|hotfix|chore)/'; then
52
- warn "Branch '$CURRENT_BRANCH' doesn't follow naming convention (feature|bugfix|hotfix|chore)/<description>"
53
- read -p "Continue anyway? (y/N) " -n 1 -r
54
- echo
55
- [[ $REPLY =~ ^[Yy]$ ]] || exit 1
56
- fi
57
-
58
- # Check for uncommitted changes
59
- if ! git diff-index --quiet HEAD -- 2>/dev/null; then
60
- error "You have uncommitted changes. Please commit them first."
61
- fi
62
-
63
- # Check there are commits to push
64
- COMMITS_AHEAD=$(git rev-list --count origin/dev..HEAD 2>/dev/null || echo "0")
65
- if [[ "$COMMITS_AHEAD" == "0" ]]; then
66
- error "No commits to push. Make some changes first."
67
- fi
68
-
69
- echo "Found $COMMITS_AHEAD commit(s) to push"
70
-
71
- # Validate commit messages
72
- echo ""
73
- echo "Validating commit messages..."
74
- INVALID_COMMITS=0
75
- while IFS= read -r commit_msg; do
76
- if ! echo "$commit_msg" | grep -qE '^(feat|fix|chore|docs|refactor|test)(\([^)]+\))?: .+'; then
77
- echo -e "${RED} x Invalid: $commit_msg${NC}"
78
- INVALID_COMMITS=$((INVALID_COMMITS + 1))
79
- else
80
- echo -e "${GREEN} + Valid: $commit_msg${NC}"
81
- fi
82
- done < <(git log origin/dev..HEAD --pretty=format:"%s")
83
-
84
- if [[ $INVALID_COMMITS -gt 0 ]]; then
85
- warn "$INVALID_COMMITS commit(s) don't follow conventional commit format"
86
- read -p "Continue anyway? (y/N) " -n 1 -r
87
- echo
88
- [[ $REPLY =~ ^[Yy]$ ]] || exit 1
89
- fi
90
-
91
- # Fetch and rebase on dev
92
- echo ""
93
- echo "Fetching latest from origin..."
94
- git fetch origin dev
95
-
96
- echo "Rebasing on dev..."
97
- if ! git rebase origin/dev; then
98
- error "Rebase failed. Resolve conflicts, then run 'git rebase --continue' and try again."
99
- fi
100
-
101
- success "Rebased successfully on dev"
102
-
103
- # Push to remote
104
- echo ""
105
- echo "Pushing branch to origin..."
106
- git push -u origin "$CURRENT_BRANCH" --force-with-lease
107
-
108
- success "Branch '${CURRENT_BRANCH}' pushed to origin"
109
-
110
- # Create Pull Request using gh CLI
111
- echo ""
112
- echo "Creating Pull Request..."
113
-
114
- PR_CREATED=false
115
-
116
- if ! command -v gh &> /dev/null; then
117
- warn "GitHub CLI (gh) not installed. Skipping PR creation."
118
- echo "Install gh: https://cli.github.com/"
119
- elif ! gh auth status &> /dev/null; then
120
- warn "GitHub CLI not authenticated. Run: gh auth login"
121
- else
122
- # Generate PR title from branch name
123
- PR_TITLE=$(echo "$CURRENT_BRANCH" | sed 's/^[^/]*\///' | sed 's/-/ /g' | sed 's/\b\(.\)/\u\1/g')
124
-
125
- # Get commit messages for PR body
126
- FIRST_COMMIT=$(git log origin/dev..HEAD --reverse --pretty=format:"%s" | head -1)
127
-
128
- if gh pr create --base dev --head "$CURRENT_BRANCH" --title "$PR_TITLE" --body "## Changes
129
-
130
- $FIRST_COMMIT
131
-
132
- ## Commits
133
- $(git log origin/dev..HEAD --pretty=format:"- %s")
134
-
135
- ---
136
- Generated with [AI Agent Skills](https://github.com/mayafit/AI_Agents)"; then
137
- success "Pull Request created successfully"
138
- PR_URL=$(gh pr view "$CURRENT_BRANCH" --json url -q .url 2>/dev/null || echo "")
139
- if [[ -n "$PR_URL" ]]; then
140
- echo ""
141
- info "PR URL: ${PR_URL}"
142
- fi
143
- PR_CREATED=true
144
- else
145
- warn "Failed to create PR. You may need to create it manually."
146
- fi
147
- fi
148
-
149
- # Clean up worktree
150
- if [[ "$IS_WORKTREE" == true ]]; then
151
- echo ""
152
- echo "Cleaning up worktree..."
153
-
154
- # Move back to main repo before removing the worktree
155
- cd "$MAIN_REPO"
156
-
157
- # Remove the worktree
158
- if git worktree remove "$WORKTREE_PATH" 2>/dev/null; then
159
- success "Worktree removed: ${WORKTREE_PATH}"
160
- else
161
- warn "Could not auto-remove worktree. Remove manually:"
162
- echo " cd ${MAIN_REPO}"
163
- echo " git worktree remove ${WORKTREE_PATH}"
164
- fi
165
- else
166
- # Not a worktree — switch back to dev (legacy behavior)
167
- echo ""
168
- echo "Switching back to dev branch..."
169
- git checkout dev
170
- git pull origin dev
171
- success "Switched back to dev branch"
172
- fi
173
-
174
- # Prune stale worktree references
175
- git worktree prune 2>/dev/null || true
176
-
177
- echo ""
178
- success "Done!"
179
- echo ""
180
- echo "Next steps:"
181
- if [[ "$PR_CREATED" == true ]]; then
182
- echo " 1. Request code review on the PR"
183
- echo " 2. Merge after approval"
184
- else
185
- echo " 1. Create a Pull Request to merge '${CURRENT_BRANCH}' into 'dev'"
186
- echo " 2. Request code review"
187
- echo " 3. Merge after approval"
188
- fi
189
- echo " Start new work: ./scripts/start-feature.sh <type> <description>"
190
- echo ""
191
- echo "Active worktrees:"
192
- git worktree list