@oyolincc/create 0.5.0 → 0.5.1

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 (292) hide show
  1. package/package.json +1 -1
  2. package/templates/{monorepo/.agents/skills/grilling → hono-fullstack/.agents/skills/ask-grilling}/SKILL.md +1 -1
  3. package/templates/hono-fullstack/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
  4. package/templates/hono-fullstack/.agents/skills/build-context-engineering/SKILL.md +353 -0
  5. package/templates/hono-fullstack/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
  6. package/templates/hono-fullstack/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
  7. package/templates/hono-fullstack/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
  8. package/templates/{monorepo/.agents/skills/prototype → hono-fullstack/.agents/skills/plan-prototype}/LOGIC.md +1 -1
  9. package/templates/{monorepo/.agents/skills/prototype → hono-fullstack/.agents/skills/plan-prototype}/SKILL.md +2 -2
  10. package/templates/hono-fullstack/.agents/skills/{prototype → plan-prototype}/UI.md +2 -2
  11. package/templates/{monorepo/.agents/skills/research → hono-fullstack/.agents/skills/plan-research}/SKILL.md +2 -2
  12. package/templates/hono-fullstack/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
  13. package/templates/{monorepo/.agents/skills/wayfinder → hono-fullstack/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
  14. package/templates/hono-fullstack/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
  15. package/templates/hono-fullstack/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
  16. package/templates/hono-fullstack/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
  17. package/templates/hono-fullstack/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
  18. package/templates/hono-fullstack/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
  19. package/templates/hono-fullstack/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
  20. package/templates/hono-fullstack/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
  21. package/templates/hono-fullstack/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
  22. package/templates/hono-fullstack/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
  23. package/templates/hono-fullstack/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
  24. package/templates/hono-fullstack/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
  25. package/templates/hono-fullstack/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
  26. package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
  27. package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
  28. package/templates/hono-fullstack/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
  29. package/templates/hono-fullstack/.agents/skills/spec-driven-development/SKILL.md +261 -0
  30. package/templates/hono-fullstack/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
  31. package/templates/hono-fullstack/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
  32. package/templates/hono-fullstack/.agents/skills/test-driven-development/SKILL.md +400 -0
  33. package/templates/hono-fullstack/AGENTS.md +9 -20
  34. package/templates/hono-server/.agents/skills/{grilling → ask-grilling}/SKILL.md +1 -1
  35. package/templates/hono-server/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
  36. package/templates/hono-server/.agents/skills/build-context-engineering/SKILL.md +353 -0
  37. package/templates/hono-server/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
  38. package/templates/hono-server/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
  39. package/templates/hono-server/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
  40. package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/LOGIC.md +1 -1
  41. package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/SKILL.md +2 -2
  42. package/templates/{monorepo/.agents/skills/prototype → hono-server/.agents/skills/plan-prototype}/UI.md +2 -2
  43. package/templates/{hono-fullstack/.agents/skills/research → hono-server/.agents/skills/plan-research}/SKILL.md +2 -2
  44. package/templates/hono-server/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
  45. package/templates/{hono-fullstack/.agents/skills/wayfinder → hono-server/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
  46. package/templates/hono-server/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
  47. package/templates/hono-server/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
  48. package/templates/hono-server/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
  49. package/templates/hono-server/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
  50. package/templates/hono-server/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
  51. package/templates/hono-server/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
  52. package/templates/hono-server/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
  53. package/templates/hono-server/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
  54. package/templates/hono-server/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
  55. package/templates/hono-server/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
  56. package/templates/hono-server/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
  57. package/templates/hono-server/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
  58. package/templates/hono-server/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
  59. package/templates/hono-server/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
  60. package/templates/hono-server/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
  61. package/templates/hono-server/.agents/skills/spec-driven-development/SKILL.md +261 -0
  62. package/templates/hono-server/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
  63. package/templates/hono-server/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
  64. package/templates/hono-server/.agents/skills/test-driven-development/SKILL.md +400 -0
  65. package/templates/hono-server/AGENTS.md +9 -20
  66. package/templates/{hono-fullstack/.agents/skills/grilling → monorepo/.agents/skills/ask-grilling}/SKILL.md +1 -1
  67. package/templates/monorepo/.agents/skills/build-api-and-interface-design/SKILL.md +369 -0
  68. package/templates/monorepo/.agents/skills/build-context-engineering/SKILL.md +353 -0
  69. package/templates/monorepo/.agents/skills/build-incremental-implementation/SKILL.md +249 -0
  70. package/templates/monorepo/.agents/skills/build-observability-and-instrumentation/SKILL.md +239 -0
  71. package/templates/monorepo/.agents/skills/plan-planning-and-task-breakdown/SKILL.md +257 -0
  72. package/templates/{hono-fullstack/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/LOGIC.md +1 -1
  73. package/templates/{hono-fullstack/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/SKILL.md +2 -2
  74. package/templates/{hono-server/.agents/skills/prototype → monorepo/.agents/skills/plan-prototype}/UI.md +2 -2
  75. package/templates/{hono-server/.agents/skills/research → monorepo/.agents/skills/plan-research}/SKILL.md +2 -2
  76. package/templates/monorepo/.agents/skills/plan-using-agent-skills/SKILL.md +185 -0
  77. package/templates/{hono-server/.agents/skills/wayfinder → monorepo/.agents/skills/plan-wayfinder}/SKILL.md +43 -29
  78. package/templates/monorepo/.agents/skills/review-code-review-and-quality/SKILL.md +400 -0
  79. package/templates/monorepo/.agents/skills/review-doubt-driven-development/SKILL.md +244 -0
  80. package/templates/monorepo/.agents/skills/review-security-and-hardening/SKILL.md +216 -0
  81. package/templates/monorepo/.agents/skills/review-security-and-hardening/references/hardening-patterns.md +331 -0
  82. package/templates/monorepo/.agents/skills/ship-ci-cd-and-automation/SKILL.md +393 -0
  83. package/templates/monorepo/.agents/skills/ship-deprecation-and-migration/SKILL.md +252 -0
  84. package/templates/monorepo/.agents/skills/ship-documentation-and-adrs/SKILL.md +298 -0
  85. package/templates/monorepo/.agents/skills/ship-git-workflow-and-versioning/SKILL.md +355 -0
  86. package/templates/monorepo/.agents/skills/ship-shipping-and-launch/SKILL.md +336 -0
  87. package/templates/monorepo/.agents/skills/simplify-code-simplification/SKILL.md +332 -0
  88. package/templates/monorepo/.agents/skills/simplify-performance-optimization/SKILL.md +268 -0
  89. package/templates/monorepo/.agents/skills/simplify-performance-optimization/references/optimization-patterns.md +250 -0
  90. package/templates/monorepo/.agents/skills/spec-constraint-driven-development/SKILL.md +318 -0
  91. package/templates/monorepo/.agents/skills/spec-constraint-driven-development/references/floor-guard.md +182 -0
  92. package/templates/monorepo/.agents/skills/spec-constraint-driven-development/scripts/quality-gate.mjs +45 -0
  93. package/templates/monorepo/.agents/skills/spec-driven-development/SKILL.md +261 -0
  94. package/templates/monorepo/.agents/skills/test-browser-testing-with-devtools/SKILL.md +319 -0
  95. package/templates/monorepo/.agents/skills/test-debugging-and-error-recovery/SKILL.md +300 -0
  96. package/templates/monorepo/.agents/skills/test-driven-development/SKILL.md +400 -0
  97. package/templates/monorepo/AGENTS.md +9 -20
  98. package/templates/hono-fullstack/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  99. package/templates/hono-fullstack/.agents/skills/ask-matt/SKILL.md +0 -90
  100. package/templates/hono-fullstack/.agents/skills/ask-matt/agents/openai.yaml +0 -5
  101. package/templates/hono-fullstack/.agents/skills/code-review/SKILL.md +0 -87
  102. package/templates/hono-fullstack/.agents/skills/code-review/agents/openai.yaml +0 -3
  103. package/templates/hono-fullstack/.agents/skills/codebase-design/DEEPENING.md +0 -37
  104. package/templates/hono-fullstack/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
  105. package/templates/hono-fullstack/.agents/skills/codebase-design/SKILL.md +0 -114
  106. package/templates/hono-fullstack/.agents/skills/codebase-design/agents/openai.yaml +0 -3
  107. package/templates/hono-fullstack/.agents/skills/confirm-requirements/SKILL.md +0 -25
  108. package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
  109. package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
  110. package/templates/hono-fullstack/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
  111. package/templates/hono-fullstack/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
  112. package/templates/hono-fullstack/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  113. package/templates/hono-fullstack/.agents/skills/domain-modeling/SKILL.md +0 -74
  114. package/templates/hono-fullstack/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
  115. package/templates/hono-fullstack/.agents/skills/grill-me/SKILL.md +0 -7
  116. package/templates/hono-fullstack/.agents/skills/grill-me/agents/openai.yaml +0 -5
  117. package/templates/hono-fullstack/.agents/skills/implement/SKILL.md +0 -15
  118. package/templates/hono-fullstack/.agents/skills/implement/agents/openai.yaml +0 -5
  119. package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
  120. package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
  121. package/templates/hono-fullstack/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
  122. package/templates/hono-fullstack/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
  123. package/templates/hono-fullstack/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
  124. package/templates/hono-fullstack/.agents/skills/scoped-code-review/SKILL.md +0 -113
  125. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
  126. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
  127. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
  128. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
  129. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
  130. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
  131. package/templates/hono-fullstack/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
  132. package/templates/hono-fullstack/.agents/skills/tdd/SKILL.md +0 -38
  133. package/templates/hono-fullstack/.agents/skills/tdd/agents/openai.yaml +0 -3
  134. package/templates/hono-fullstack/.agents/skills/tdd/mocking.md +0 -59
  135. package/templates/hono-fullstack/.agents/skills/tdd/tests.md +0 -77
  136. package/templates/hono-fullstack/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
  137. package/templates/hono-fullstack/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  138. package/templates/hono-fullstack/.agents/skills/teach/MISSION-FORMAT.md +0 -31
  139. package/templates/hono-fullstack/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
  140. package/templates/hono-fullstack/.agents/skills/teach/SKILL.md +0 -140
  141. package/templates/hono-fullstack/.agents/skills/teach/agents/openai.yaml +0 -5
  142. package/templates/hono-fullstack/.agents/skills/to-questionnaire/SKILL.md +0 -53
  143. package/templates/hono-fullstack/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
  144. package/templates/hono-fullstack/.agents/skills/triage/AGENT-BRIEF.md +0 -207
  145. package/templates/hono-fullstack/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
  146. package/templates/hono-fullstack/.agents/skills/triage/SKILL.md +0 -112
  147. package/templates/hono-fullstack/.agents/skills/triage/agents/openai.yaml +0 -5
  148. package/templates/hono-fullstack/.agents/skills/wait-what/SKILL.md +0 -7
  149. package/templates/hono-fullstack/.agents/skills/wait-what/agents/openai.yaml +0 -5
  150. package/templates/hono-fullstack/.agents/skills/wizard/SKILL.md +0 -44
  151. package/templates/hono-fullstack/.agents/skills/wizard/agents/openai.yaml +0 -3
  152. package/templates/hono-fullstack/.agents/skills/wizard/template.sh +0 -204
  153. package/templates/hono-fullstack/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
  154. package/templates/hono-fullstack/.agents/skills/writing-for-agents/SKILL.md +0 -81
  155. package/templates/hono-fullstack/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
  156. package/templates/hono-fullstack/docs/agents/domain.md +0 -41
  157. package/templates/hono-fullstack/docs/agents/issue-tracker.md +0 -30
  158. package/templates/hono-fullstack/docs/agents/triage-labels.md +0 -15
  159. package/templates/hono-server/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  160. package/templates/hono-server/.agents/skills/ask-matt/SKILL.md +0 -90
  161. package/templates/hono-server/.agents/skills/ask-matt/agents/openai.yaml +0 -5
  162. package/templates/hono-server/.agents/skills/code-review/SKILL.md +0 -87
  163. package/templates/hono-server/.agents/skills/code-review/agents/openai.yaml +0 -3
  164. package/templates/hono-server/.agents/skills/codebase-design/DEEPENING.md +0 -37
  165. package/templates/hono-server/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
  166. package/templates/hono-server/.agents/skills/codebase-design/SKILL.md +0 -114
  167. package/templates/hono-server/.agents/skills/codebase-design/agents/openai.yaml +0 -3
  168. package/templates/hono-server/.agents/skills/confirm-requirements/SKILL.md +0 -25
  169. package/templates/hono-server/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
  170. package/templates/hono-server/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
  171. package/templates/hono-server/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
  172. package/templates/hono-server/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
  173. package/templates/hono-server/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  174. package/templates/hono-server/.agents/skills/domain-modeling/SKILL.md +0 -74
  175. package/templates/hono-server/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
  176. package/templates/hono-server/.agents/skills/grill-me/SKILL.md +0 -7
  177. package/templates/hono-server/.agents/skills/grill-me/agents/openai.yaml +0 -5
  178. package/templates/hono-server/.agents/skills/implement/SKILL.md +0 -15
  179. package/templates/hono-server/.agents/skills/implement/agents/openai.yaml +0 -5
  180. package/templates/hono-server/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
  181. package/templates/hono-server/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
  182. package/templates/hono-server/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
  183. package/templates/hono-server/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
  184. package/templates/hono-server/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
  185. package/templates/hono-server/.agents/skills/scoped-code-review/SKILL.md +0 -113
  186. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
  187. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
  188. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
  189. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
  190. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
  191. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
  192. package/templates/hono-server/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
  193. package/templates/hono-server/.agents/skills/tdd/SKILL.md +0 -38
  194. package/templates/hono-server/.agents/skills/tdd/agents/openai.yaml +0 -3
  195. package/templates/hono-server/.agents/skills/tdd/mocking.md +0 -59
  196. package/templates/hono-server/.agents/skills/tdd/tests.md +0 -77
  197. package/templates/hono-server/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
  198. package/templates/hono-server/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  199. package/templates/hono-server/.agents/skills/teach/MISSION-FORMAT.md +0 -31
  200. package/templates/hono-server/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
  201. package/templates/hono-server/.agents/skills/teach/SKILL.md +0 -140
  202. package/templates/hono-server/.agents/skills/teach/agents/openai.yaml +0 -5
  203. package/templates/hono-server/.agents/skills/to-questionnaire/SKILL.md +0 -53
  204. package/templates/hono-server/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
  205. package/templates/hono-server/.agents/skills/triage/AGENT-BRIEF.md +0 -207
  206. package/templates/hono-server/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
  207. package/templates/hono-server/.agents/skills/triage/SKILL.md +0 -112
  208. package/templates/hono-server/.agents/skills/triage/agents/openai.yaml +0 -5
  209. package/templates/hono-server/.agents/skills/wait-what/SKILL.md +0 -7
  210. package/templates/hono-server/.agents/skills/wait-what/agents/openai.yaml +0 -5
  211. package/templates/hono-server/.agents/skills/wizard/SKILL.md +0 -44
  212. package/templates/hono-server/.agents/skills/wizard/agents/openai.yaml +0 -3
  213. package/templates/hono-server/.agents/skills/wizard/template.sh +0 -204
  214. package/templates/hono-server/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
  215. package/templates/hono-server/.agents/skills/writing-for-agents/SKILL.md +0 -81
  216. package/templates/hono-server/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
  217. package/templates/hono-server/docs/agents/domain.md +0 -41
  218. package/templates/hono-server/docs/agents/issue-tracker.md +0 -30
  219. package/templates/hono-server/docs/agents/triage-labels.md +0 -15
  220. package/templates/monorepo/.agents/skills/ask-matt/PHASE-BOUNDARIES.md +0 -55
  221. package/templates/monorepo/.agents/skills/ask-matt/SKILL.md +0 -90
  222. package/templates/monorepo/.agents/skills/ask-matt/agents/openai.yaml +0 -5
  223. package/templates/monorepo/.agents/skills/code-review/SKILL.md +0 -87
  224. package/templates/monorepo/.agents/skills/code-review/agents/openai.yaml +0 -3
  225. package/templates/monorepo/.agents/skills/codebase-design/DEEPENING.md +0 -37
  226. package/templates/monorepo/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
  227. package/templates/monorepo/.agents/skills/codebase-design/SKILL.md +0 -114
  228. package/templates/monorepo/.agents/skills/codebase-design/agents/openai.yaml +0 -3
  229. package/templates/monorepo/.agents/skills/confirm-requirements/SKILL.md +0 -25
  230. package/templates/monorepo/.agents/skills/diagnosing-bugs/SKILL.md +0 -140
  231. package/templates/monorepo/.agents/skills/diagnosing-bugs/agents/openai.yaml +0 -3
  232. package/templates/monorepo/.agents/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -44
  233. package/templates/monorepo/.agents/skills/domain-modeling/ADR-FORMAT.md +0 -47
  234. package/templates/monorepo/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  235. package/templates/monorepo/.agents/skills/domain-modeling/SKILL.md +0 -74
  236. package/templates/monorepo/.agents/skills/domain-modeling/agents/openai.yaml +0 -3
  237. package/templates/monorepo/.agents/skills/grill-me/SKILL.md +0 -7
  238. package/templates/monorepo/.agents/skills/grill-me/agents/openai.yaml +0 -5
  239. package/templates/monorepo/.agents/skills/implement/SKILL.md +0 -15
  240. package/templates/monorepo/.agents/skills/implement/agents/openai.yaml +0 -5
  241. package/templates/monorepo/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
  242. package/templates/monorepo/.agents/skills/improve-codebase-architecture/SKILL.md +0 -71
  243. package/templates/monorepo/.agents/skills/improve-codebase-architecture/agents/openai.yaml +0 -5
  244. package/templates/monorepo/.agents/skills/resolving-merge-conflicts/SKILL.md +0 -14
  245. package/templates/monorepo/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +0 -3
  246. package/templates/monorepo/.agents/skills/scoped-code-review/SKILL.md +0 -113
  247. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/SKILL.md +0 -116
  248. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +0 -5
  249. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/domain.md +0 -51
  250. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
  251. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
  252. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
  253. package/templates/monorepo/.agents/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
  254. package/templates/monorepo/.agents/skills/tdd/SKILL.md +0 -38
  255. package/templates/monorepo/.agents/skills/tdd/agents/openai.yaml +0 -3
  256. package/templates/monorepo/.agents/skills/tdd/mocking.md +0 -59
  257. package/templates/monorepo/.agents/skills/tdd/tests.md +0 -77
  258. package/templates/monorepo/.agents/skills/teach/GLOSSARY-FORMAT.md +0 -35
  259. package/templates/monorepo/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +0 -46
  260. package/templates/monorepo/.agents/skills/teach/MISSION-FORMAT.md +0 -31
  261. package/templates/monorepo/.agents/skills/teach/RESOURCES-FORMAT.md +0 -32
  262. package/templates/monorepo/.agents/skills/teach/SKILL.md +0 -140
  263. package/templates/monorepo/.agents/skills/teach/agents/openai.yaml +0 -5
  264. package/templates/monorepo/.agents/skills/to-questionnaire/SKILL.md +0 -53
  265. package/templates/monorepo/.agents/skills/to-questionnaire/agents/openai.yaml +0 -5
  266. package/templates/monorepo/.agents/skills/triage/AGENT-BRIEF.md +0 -207
  267. package/templates/monorepo/.agents/skills/triage/OUT-OF-SCOPE.md +0 -105
  268. package/templates/monorepo/.agents/skills/triage/SKILL.md +0 -112
  269. package/templates/monorepo/.agents/skills/triage/agents/openai.yaml +0 -5
  270. package/templates/monorepo/.agents/skills/wait-what/SKILL.md +0 -7
  271. package/templates/monorepo/.agents/skills/wait-what/agents/openai.yaml +0 -5
  272. package/templates/monorepo/.agents/skills/wizard/SKILL.md +0 -44
  273. package/templates/monorepo/.agents/skills/wizard/agents/openai.yaml +0 -3
  274. package/templates/monorepo/.agents/skills/wizard/template.sh +0 -204
  275. package/templates/monorepo/.agents/skills/writing-for-agents/SKILL-MECHANICS.md +0 -22
  276. package/templates/monorepo/.agents/skills/writing-for-agents/SKILL.md +0 -81
  277. package/templates/monorepo/.agents/skills/writing-for-agents/agents/openai.yaml +0 -3
  278. package/templates/monorepo/docs/agents/domain.md +0 -41
  279. package/templates/monorepo/docs/agents/issue-tracker.md +0 -30
  280. package/templates/monorepo/docs/agents/triage-labels.md +0 -15
  281. /package/templates/hono-fullstack/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
  282. /package/templates/hono-fullstack/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
  283. /package/templates/hono-fullstack/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
  284. /package/templates/hono-fullstack/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
  285. /package/templates/hono-server/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
  286. /package/templates/hono-server/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
  287. /package/templates/hono-server/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
  288. /package/templates/hono-server/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
  289. /package/templates/monorepo/.agents/skills/{grilling → ask-grilling}/agents/openai.yaml +0 -0
  290. /package/templates/monorepo/.agents/skills/{prototype → plan-prototype}/agents/openai.yaml +0 -0
  291. /package/templates/monorepo/.agents/skills/{research → plan-research}/agents/openai.yaml +0 -0
  292. /package/templates/monorepo/.agents/skills/{wayfinder → plan-wayfinder}/agents/openai.yaml +0 -0
@@ -0,0 +1,298 @@
1
+ ---
2
+ name: ship-documentation-and-adrs
3
+ description: Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.
4
+ ---
5
+
6
+ # Documentation and ADRs
7
+
8
+ ## Overview
9
+
10
+ Document decisions, not just code. The most valuable documentation captures the *why* — the context, constraints, and trade-offs that led to a decision. Code shows *what* was built; documentation explains *why it was built this way* and *what alternatives were considered*. This context is essential for future humans and agents working in the codebase.
11
+
12
+ ## When to Use
13
+
14
+ - Making a significant architectural decision
15
+ - Choosing between competing approaches
16
+ - Adding or changing a public API
17
+ - Shipping a feature that changes user-facing behavior
18
+ - Onboarding new team members (or agents) to the project
19
+ - When you find yourself explaining the same thing repeatedly
20
+
21
+ **When NOT to use:** Don't document obvious code. Don't add comments that restate what the code already says. Don't write docs for throwaway prototypes.
22
+
23
+ ## Architecture Decision Records (ADRs)
24
+
25
+ ADRs capture the reasoning behind significant technical decisions. They're the highest-value documentation you can write.
26
+
27
+ ### When to Write an ADR
28
+
29
+ - Choosing a framework, library, or major dependency
30
+ - Designing a data model or database schema
31
+ - Selecting an authentication strategy
32
+ - Deciding on an API architecture (REST vs. GraphQL vs. tRPC)
33
+ - Choosing between build tools, hosting platforms, or infrastructure
34
+ - Any decision that would be expensive to reverse
35
+
36
+ ### Match the existing convention first
37
+
38
+ Before creating an ADR, inspect the available repository context for an established convention — existing ADRs, project instructions, and ADR-related configuration or tooling (e.g. an `.adr-dir` file). An established convention overrides the defaults below. Match:
39
+
40
+ - **Location and format** — e.g. `docs/adr/*.md`, `Documentation/Decisions/*.rst`, a MADR layout, or an `adr-tools` setup. Match the existing directory, file extension, and markup (Markdown vs reStructuredText).
41
+ - **Numbering and naming** — continue the existing sequence and filename pattern (`ADR-004-Title.rst`, `0004-title.md`, …); don't restart at 001 or introduce a second scheme.
42
+ - **Section headings** — reuse the project's heading set rather than imposing this template's.
43
+
44
+ If the available evidence conflicts, surface the conflict rather than silently introducing another scheme. Only when no convention can be established do you apply the default below.
45
+
46
+ ### ADR Template
47
+
48
+ Store ADRs in `docs/decisions/` with sequential numbering (unless the project already uses another location — see above):
49
+
50
+ ```markdown
51
+ # ADR-001: Use PostgreSQL for primary database
52
+
53
+ ## Status
54
+ Proposed | Accepted | Superseded by ADR-XXX | Deprecated
55
+
56
+ ## Date
57
+ 2025-01-15
58
+
59
+ ## Context
60
+ We need a primary database for the task management application. Key requirements:
61
+ - Relational data model (users, tasks, teams with relationships)
62
+ - ACID transactions for task state changes
63
+ - Support for full-text search on task content
64
+ - Managed hosting available (for small team, limited ops capacity)
65
+
66
+ ## Decision
67
+ Use PostgreSQL with Prisma ORM.
68
+
69
+ ## Alternatives Considered
70
+
71
+ ### MongoDB
72
+ - Pros: Flexible schema, easy to start with
73
+ - Cons: Our data is inherently relational; would need to manage relationships manually
74
+ - Rejected: Relational data in a document store leads to complex joins or data duplication
75
+
76
+ ### SQLite
77
+ - Pros: Zero configuration, embedded, fast for reads
78
+ - Cons: Limited concurrent write support, no managed hosting for production
79
+ - Rejected: Not suitable for multi-user web application in production
80
+
81
+ ### MySQL
82
+ - Pros: Mature, widely supported
83
+ - Cons: PostgreSQL has better JSON support, full-text search, and ecosystem tooling
84
+ - Rejected: PostgreSQL is the better fit for our feature requirements
85
+
86
+ ## Consequences
87
+ - Prisma provides type-safe database access and migration management
88
+ - We can use PostgreSQL's full-text search instead of adding Elasticsearch
89
+ - Team needs PostgreSQL knowledge (standard skill, low risk)
90
+ - Hosting on managed service (Supabase, Neon, or RDS)
91
+ ```
92
+
93
+ ### ADR Lifecycle
94
+
95
+ ```
96
+ PROPOSED → ACCEPTED → (SUPERSEDED or DEPRECATED)
97
+ ```
98
+
99
+ - **Don't delete old ADRs.** They capture historical context.
100
+ - When a decision changes, write a new ADR that references and supersedes the old one.
101
+
102
+ ## Inline Documentation
103
+
104
+ ### When to Comment
105
+
106
+ Comment the *why*, not the *what*:
107
+
108
+ ```typescript
109
+ // BAD: Restates the code
110
+ // Increment counter by 1
111
+ counter += 1;
112
+
113
+ // GOOD: Explains non-obvious intent
114
+ // Rate limit uses a fixed window that opens on the first request after the
115
+ // previous one expires, not on a clock schedule. Known gap: a client can spend
116
+ // the full limit just before a reset and again just after (2x in a moment)
117
+ if (now - windowStart > WINDOW_SIZE_MS) {
118
+ counter = 0;
119
+ windowStart = now;
120
+ }
121
+ ```
122
+
123
+ ### When NOT to Comment
124
+
125
+ ```typescript
126
+ // Don't comment self-explanatory code
127
+ function calculateTotal(items: CartItem[]): number {
128
+ return items.reduce((sum, item) => sum + item.price * item.quantity, 0);
129
+ }
130
+
131
+ // Don't leave TODO comments for things you should just do now
132
+ // TODO: add error handling ← Just add it
133
+
134
+ // Don't leave commented-out code
135
+ // const oldImplementation = () => { ... } ← Delete it, git has history
136
+ ```
137
+
138
+ ### Document Known Gotchas
139
+
140
+ ```typescript
141
+ /**
142
+ * IMPORTANT: This function must be called before the first render.
143
+ * If called after hydration, it causes a flash of unstyled content
144
+ * because the theme context isn't available during SSR.
145
+ *
146
+ * See ADR-003 for the full design rationale.
147
+ */
148
+ export function initializeTheme(theme: Theme): void {
149
+ // ...
150
+ }
151
+ ```
152
+
153
+ ## API Documentation
154
+
155
+ For public APIs (REST, GraphQL, library interfaces):
156
+
157
+ ### Inline with Types (Preferred for TypeScript)
158
+
159
+ ```typescript
160
+ /**
161
+ * Creates a new task.
162
+ *
163
+ * @param input - Task creation data (title required, description optional)
164
+ * @returns The created task with server-generated ID and timestamps
165
+ * @throws {ValidationError} If title is empty or exceeds 200 characters
166
+ * @throws {AuthenticationError} If the user is not authenticated
167
+ *
168
+ * @example
169
+ * const task = await createTask({ title: 'Buy groceries' });
170
+ * console.log(task.id); // "task_abc123"
171
+ */
172
+ export async function createTask(input: CreateTaskInput): Promise<Task> {
173
+ // ...
174
+ }
175
+ ```
176
+
177
+ ### OpenAPI / Swagger for REST APIs
178
+
179
+ ```yaml
180
+ paths:
181
+ /api/tasks:
182
+ post:
183
+ summary: Create a task
184
+ requestBody:
185
+ required: true
186
+ content:
187
+ application/json:
188
+ schema:
189
+ $ref: '#/components/schemas/CreateTaskInput'
190
+ responses:
191
+ '201':
192
+ description: Task created
193
+ content:
194
+ application/json:
195
+ schema:
196
+ $ref: '#/components/schemas/Task'
197
+ '422':
198
+ description: Validation error
199
+ ```
200
+
201
+ ## README Structure
202
+
203
+ Every project should have a README that covers:
204
+
205
+ ```markdown
206
+ # Project Name
207
+
208
+ One-paragraph description of what this project does.
209
+
210
+ ## Quick Start
211
+ 1. Clone the repo
212
+ 2. Install dependencies: `npm install`
213
+ 3. Set up environment: `cp .env.example .env`
214
+ 4. Run the dev server: `npm run dev`
215
+
216
+ ## Commands
217
+ | Command | Description |
218
+ |---------|-------------|
219
+ | `npm run dev` | Start development server |
220
+ | `npm test` | Run tests |
221
+ | `npm run build` | Production build |
222
+ | `npm run lint` | Run linter |
223
+
224
+ ## Architecture
225
+ Brief overview of the project structure and key design decisions.
226
+ Link to ADRs for details.
227
+
228
+ ## Contributing
229
+ How to contribute, coding standards, PR process.
230
+ ```
231
+
232
+ ## Changelog Maintenance
233
+
234
+ For shipped features:
235
+
236
+ ```markdown
237
+ # Changelog
238
+
239
+ ## [1.2.0] - 2025-01-20
240
+ ### Added
241
+ - Task sharing: users can share tasks with team members (#123)
242
+ - Email notifications for task assignments (#124)
243
+
244
+ ### Fixed
245
+ - Duplicate tasks appearing when rapidly clicking create button (#125)
246
+
247
+ ### Changed
248
+ - Task list now loads 50 items per page (was 20) for better UX (#126)
249
+ ```
250
+
251
+ ## Documentation for Agents
252
+
253
+ Special consideration for AI agent context:
254
+
255
+ - **CLAUDE.md / rules files** — Document project conventions so agents follow them
256
+ - **Spec files** — Keep specs updated so agents build the right thing
257
+ - **ADRs** — Help agents understand why past decisions were made (prevents re-deciding)
258
+ - **Inline gotchas** — Prevent agents from falling into known traps
259
+
260
+ ## Prose Review
261
+
262
+ After checking the technical content, review the prose for the people who will use it. Clearer wording must not change the decision or its limits.
263
+
264
+ 1. Mark the details that must survive the edit: names, numbers and units, commands, paths, links, conditions, trade-offs, and uncertainty. Check them against the available code and decision context; flag anything you cannot substantiate.
265
+ 2. Replace stock introductions, promotional adjectives, and repeated summaries with the concrete information the reader needs. Do not replace an unsupported claim with an invented example or a stronger guarantee. Keep necessary technical repetition and the project's established terminology.
266
+ 3. Compare the edited document with the original and its sources. Restore any lost qualifier or caveat, verify command and code examples still work as documented, and explain any unresolved factual question rather than polishing it away.
267
+
268
+ ## Common Rationalizations
269
+
270
+ | Rationalization | Reality |
271
+ |---|---|
272
+ | "The code is self-documenting" | Code shows what. It doesn't show why, what alternatives were rejected, or what constraints apply. |
273
+ | "We'll write docs when the API stabilizes" | APIs stabilize faster when you document them. The doc is the first test of the design. |
274
+ | "Nobody reads docs" | Agents do. Future engineers do. Your 3-months-later self does. |
275
+ | "ADRs are overhead" | A 10-minute ADR prevents a 2-hour debate about the same decision six months later. |
276
+ | "Comments get outdated" | Comments on *why* are stable. Comments on *what* get outdated — that's why you only write the former. |
277
+
278
+ ## Red Flags
279
+
280
+ - Architectural decisions with no written rationale
281
+ - Public APIs with no documentation or types
282
+ - README that doesn't explain how to run the project
283
+ - Commented-out code instead of deletion
284
+ - TODO comments that have been there for weeks
285
+ - No ADRs in a project with significant architectural choices
286
+ - Documentation that restates the code instead of explaining intent
287
+
288
+ ## Verification
289
+
290
+ After documenting:
291
+
292
+ - [ ] ADRs exist for all significant architectural decisions
293
+ - [ ] README covers quick start, commands, and architecture overview
294
+ - [ ] API functions have parameter and return type documentation
295
+ - [ ] Known gotchas are documented inline where they matter
296
+ - [ ] No commented-out code remains
297
+ - [ ] Rules files (CLAUDE.md etc.) are current and accurate
298
+ - [ ] Prose edits preserve source details, decision trade-offs, and qualifiers without adding unsupported guarantees
@@ -0,0 +1,355 @@
1
+ ---
2
+ name: ship-git-workflow-and-versioning
3
+ description: Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple parallel streams. Use when cutting a release, choosing a semantic version bump, tagging, or writing a changelog. Use when asked to write a commit message or a changelog entry for a change, or to split a change into commits, even when the diff is pasted inline and the message seems easy to write from it.
4
+ ---
5
+
6
+ # Git Workflow and Versioning
7
+
8
+ ## Overview
9
+
10
+ Git is your safety net. Treat commits as save points, branches as sandboxes, and history as documentation. With AI agents generating code at high speed, disciplined version control is the mechanism that keeps changes manageable, reviewable, and reversible.
11
+
12
+ ## When to Use
13
+
14
+ Always. Every code change flows through git.
15
+
16
+ ## Core Principles
17
+
18
+ ### Trunk-Based Development (Recommended)
19
+
20
+ Keep `main` always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. DORA research consistently shows trunk-based development correlates with high-performing engineering teams.
21
+
22
+ ```
23
+ main ──●──●──●──●──●──●──●──●──●── (always deployable)
24
+ ╲ ╱ ╲ ╱
25
+ ●──●─╱ ●──╱ ← short-lived feature branches (1-3 days)
26
+ ```
27
+
28
+ This is the recommended default. Teams using gitflow or long-lived branches can adapt the principles (atomic commits, small changes, descriptive messages) to their branching model — the commit discipline matters more than the specific branching strategy.
29
+
30
+ - **Dev branches are costs.** Every day a branch lives, it accumulates merge risk.
31
+ - **Release branches are acceptable.** When you need to stabilize a release while main moves forward.
32
+ - **Feature flags > long branches.** Prefer deploying incomplete work behind flags rather than keeping it on a branch for weeks.
33
+
34
+ ### 1. Commit Early, Commit Often
35
+
36
+ Each successful increment gets its own commit. Don't accumulate large uncommitted changes.
37
+
38
+ ```
39
+ Work pattern:
40
+ Implement slice → Test → Verify → Commit → Next slice
41
+
42
+ Not this:
43
+ Implement everything → Hope it works → Giant commit
44
+ ```
45
+
46
+ Commits are save points. If the next change breaks something, you can revert to the last known-good state instantly.
47
+
48
+ ### 2. Atomic Commits
49
+
50
+ Each commit does one logical thing:
51
+
52
+ ```
53
+ # Good: Each commit is self-contained
54
+ git log --oneline
55
+ a1b2c3d Add task creation endpoint with validation
56
+ d4e5f6g Add task creation form component
57
+ h7i8j9k Connect form to API and add loading state
58
+ m1n2o3p Add task creation tests (unit + integration)
59
+
60
+ # Bad: Everything mixed together
61
+ git log --oneline
62
+ x1y2z3a Add task feature, fix sidebar, update deps, refactor utils
63
+ ```
64
+
65
+ ### 3. Descriptive Messages
66
+
67
+ Commit messages explain the *why*, not just the *what*:
68
+
69
+ ```
70
+ # Good: Explains intent
71
+ feat: add email validation to registration endpoint
72
+
73
+ Prevents invalid email formats from reaching the database.
74
+ Uses Zod schema validation at the route handler level,
75
+ consistent with existing validation patterns in auth.ts.
76
+
77
+ # Bad: Describes what's obvious from the diff
78
+ update auth.ts
79
+ ```
80
+
81
+ **Format:**
82
+ ```
83
+ <type>: <short description>
84
+
85
+ <optional body explaining why, not what>
86
+ ```
87
+
88
+ **Types:**
89
+ - `feat` — New feature
90
+ - `fix` — Bug fix
91
+ - `refactor` — Code change that neither fixes a bug nor adds a feature
92
+ - `test` — Adding or updating tests
93
+ - `docs` — Documentation only
94
+ - `chore` — Tooling, dependencies, config
95
+
96
+ ### 4. Keep Concerns Separate
97
+
98
+ Don't combine formatting changes with behavior changes. Don't combine refactors with features. Each type of change should be a separate commit — and ideally a separate PR:
99
+
100
+ ```
101
+ # Good: Separate concerns
102
+ git commit -m "refactor: extract validation logic to shared utility"
103
+ git commit -m "feat: add phone number validation to registration"
104
+
105
+ # Bad: Mixed concerns
106
+ git commit -m "refactor validation and add phone number field"
107
+ ```
108
+
109
+ **Separate refactoring from feature work.** A refactoring change and a feature change are two different changes — submit them separately. This makes each change easier to review, revert, and understand in history. Small cleanups (renaming a variable) can be included in a feature commit at reviewer discretion.
110
+
111
+ ### 5. Size Your Changes
112
+
113
+ Target ~100 lines per commit/PR. Changes over ~1000 lines should be split. See the splitting strategies in `review-code-review-and-quality` for how to break down large changes.
114
+
115
+ ```
116
+ ~100 lines → Easy to review, easy to revert
117
+ ~300 lines → Acceptable for a single logical change
118
+ ~1000 lines → Split into smaller changes
119
+ ```
120
+
121
+ ## Branching Strategy
122
+
123
+ ### Feature Branches
124
+
125
+ ```
126
+ main (always deployable)
127
+ │
128
+ ├── feature/task-creation ← One feature per branch
129
+ ├── feature/user-settings ← Parallel work
130
+ └── fix/duplicate-tasks ← Bug fixes
131
+ ```
132
+
133
+ - Branch from `main` (or the team's default branch)
134
+ - Keep branches short-lived (merge within 1-3 days) — long-lived branches are hidden costs
135
+ - Delete branches after merge
136
+ - Prefer feature flags over long-lived branches for incomplete features
137
+
138
+ ### Branch Naming
139
+
140
+ ```
141
+ feature/<short-description> → feature/task-creation
142
+ fix/<short-description> → fix/duplicate-tasks
143
+ chore/<short-description> → chore/update-deps
144
+ refactor/<short-description> → refactor/auth-module
145
+ ```
146
+
147
+ ## Working with Worktrees
148
+
149
+ For parallel AI agent work, use git worktrees to run multiple branches simultaneously:
150
+
151
+ ```bash
152
+ # Create a worktree for a feature branch
153
+ git worktree add ../project-feature-a feature/task-creation
154
+ git worktree add ../project-feature-b feature/user-settings
155
+
156
+ # Each worktree is a separate directory with its own branch
157
+ # Agents can work in parallel without interfering
158
+ ls ../
159
+ project/ ← main branch
160
+ project-feature-a/ ← task-creation branch
161
+ project-feature-b/ ← user-settings branch
162
+
163
+ # When done, merge and clean up
164
+ git worktree remove ../project-feature-a
165
+ ```
166
+
167
+ Benefits:
168
+ - Multiple agents can work on different features simultaneously
169
+ - No branch switching needed (each directory has its own branch)
170
+ - If one experiment fails, delete the worktree — nothing is lost
171
+ - Changes are isolated until explicitly merged
172
+
173
+ ## The Save Point Pattern
174
+
175
+ ```
176
+ Agent starts work
177
+ │
178
+ ├── Makes a change
179
+ │ ├── Test passes? → Commit → Continue
180
+ │ └── Test fails? → Revert to last commit → Investigate
181
+ │
182
+ ├── Makes another change
183
+ │ ├── Test passes? → Commit → Continue
184
+ │ └── Test fails? → Revert to last commit → Investigate
185
+ │
186
+ └── Feature complete → All commits form a clean history
187
+ ```
188
+
189
+ This pattern means you never lose more than one increment of work. If an agent goes off the rails, `git reset --hard HEAD` takes you back to the last successful state.
190
+
191
+ ## Change Summaries
192
+
193
+ After any modification, provide a structured summary. This makes review easier, documents scope discipline, and surfaces unintended changes:
194
+
195
+ ```
196
+ CHANGES MADE:
197
+ - src/routes/tasks.ts: Added validation middleware to POST endpoint
198
+ - src/lib/validation.ts: Added TaskCreateSchema using Zod
199
+
200
+ THINGS I DIDN'T TOUCH (intentionally):
201
+ - src/routes/auth.ts: Has similar validation gap but out of scope
202
+ - src/middleware/error.ts: Error format could be improved (separate task)
203
+
204
+ POTENTIAL CONCERNS:
205
+ - The Zod schema is strict — rejects extra fields. Confirm this is desired.
206
+ - Added zod as a dependency (72KB gzipped) — already in package.json
207
+ ```
208
+
209
+ This pattern catches wrong assumptions early and gives reviewers a clear map of the change. The "DIDN'T TOUCH" section is especially important — it shows you exercised scope discipline and didn't go on an unsolicited renovation.
210
+
211
+ ## Pre-Commit Hygiene
212
+
213
+ Before every commit:
214
+
215
+ ```bash
216
+ # 1. Check what you're about to commit
217
+ git diff --staged
218
+
219
+ # 2. Ensure no secrets (lists matching file names only — any output means review them)
220
+ git diff --staged -i -G'password|secret|api_key|token' --name-only
221
+
222
+ # 3. Run tests
223
+ npm test
224
+
225
+ # 4. Run linting
226
+ npm run lint
227
+
228
+ # 5. Run type checking
229
+ npx tsc --noEmit
230
+ ```
231
+
232
+ Automate this with git hooks:
233
+
234
+ ```json
235
+ // package.json (using lint-staged + husky)
236
+ {
237
+ "lint-staged": {
238
+ "*.{ts,tsx}": ["eslint --fix", "prettier --write"],
239
+ "*.{json,md}": ["prettier --write"]
240
+ }
241
+ }
242
+ ```
243
+
244
+ ## Handling Generated Files
245
+
246
+ - **Commit generated files** only if the project expects them (e.g., `package-lock.json`, Prisma migrations)
247
+ - **Don't commit** build output (`dist/`, `.next/`), environment files (`.env`), or IDE config (`.vscode/settings.json` unless shared)
248
+ - **Have a `.gitignore`** that covers: `node_modules/`, `dist/`, `.env`, `.env.local`, `*.pem`
249
+
250
+ ## Using Git for Debugging
251
+
252
+ ```bash
253
+ # Find which commit introduced a bug
254
+ git bisect start
255
+ git bisect bad HEAD
256
+ git bisect good <known-good-commit>
257
+ # Git checkouts midpoints; run your test at each to narrow down
258
+
259
+ # View what changed recently
260
+ git log --oneline -20
261
+ git diff HEAD~5..HEAD -- src/
262
+
263
+ # Find who last changed a specific line
264
+ git blame src/services/task.ts
265
+
266
+ # Search commit messages for a keyword
267
+ git log --grep="validation" --oneline
268
+ ```
269
+
270
+ ## Release & Versioning
271
+
272
+ Commits are how *you* track change; a **version** is how your *consumers* track it. The moment anything else depends on your code — another team, a published package, a deployed client — "latest on main" stops being a sufficient answer to "what am I running, and is it safe to upgrade?" A version number and a changelog are the contract that answers it.
273
+
274
+ ### Semantic Versioning
275
+
276
+ For anything with consumers, version `MAJOR.MINOR.PATCH` and let the number carry meaning:
277
+
278
+ ```
279
+ MAJOR breaking change — consumers must change their code to upgrade
280
+ MINOR new functionality, backward-compatible — safe to upgrade
281
+ PATCH bug fix, backward-compatible — safe to upgrade
282
+ ```
283
+
284
+ The number is a promise, so make the code match it. A "patch" that changes behavior consumers relied on is a major change wearing a disguise (Hyrum's Law — see the `build-api-and-interface-design` skill). When unsure whether a change is breaking, assume it is; a surprise major is far cheaper than a broken consumer.
285
+
286
+ ### Tag the release, and let the tag be the source of truth
287
+
288
+ A release is an immutable point in history, not a moving branch. Tag it so it can always be reproduced:
289
+
290
+ ```bash
291
+ git tag -a v1.4.0 -m "Release 1.4.0"
292
+ git push origin v1.4.0
293
+ ```
294
+
295
+ Derive the version from the tag rather than hand-editing it in scattered files, so the artifact, the tag, and the changelog can never disagree.
296
+
297
+ ### Keep a changelog written for humans
298
+
299
+ A changelog is not `git log`. It's the curated, consumer-facing answer to "what changed and do I care?" — grouped by `Added / Changed / Fixed / Deprecated / Removed / Security`, newest on top, every entry phrased around user impact, not internal mechanics.
300
+
301
+ ```markdown
302
+ ## [1.4.0] - 2025-06-12
303
+ ### Added
304
+ - Bulk task import via CSV
305
+ ### Fixed
306
+ - Timezone drift in recurring task due dates
307
+ ### Deprecated
308
+ - `GET /v1/tasks/all` — use the paginated `GET /v1/tasks` (removal in 2.0)
309
+ ```
310
+
311
+ Write the entry in the same change that makes the change, while the impact is fresh — not reconstructed from commit archaeology at release time. Breaking changes get a migration note and a deprecation window (follow the `ship-deprecation-and-migration` skill); shipping the actual release is the `ship-shipping-and-launch` skill's job — this section is the versioning contract that feeds it.
312
+
313
+ ## Common Rationalizations
314
+
315
+ | Rationalization | Reality |
316
+ |---|---|
317
+ | "I'll commit when the feature is done" | One giant commit is impossible to review, debug, or revert. Commit each slice. |
318
+ | "The message doesn't matter" | Messages are documentation. Future you (and future agents) will need to understand what changed and why. |
319
+ | "I'll squash it all later" | Squashing destroys the development narrative. Prefer clean incremental commits from the start. |
320
+ | "Branches add overhead" | Short-lived branches are free and prevent conflicting work from colliding. Long-lived branches are the problem — merge within 1-3 days. |
321
+ | "I'll split this change later" | Large changes are harder to review, riskier to deploy, and harder to revert. Split before submitting, not after. |
322
+ | "I don't need a .gitignore" | Until `.env` with production secrets gets committed. Set it up immediately. |
323
+ | "It's just a small fix, bump the patch" | Check what consumers can observe. A behavior change they relied on is a major, whatever the diff size. |
324
+ | "The changelog is just the commit log" | Commits are for you; the changelog is for consumers, curated by impact. Generating one from raw commits buries what matters. |
325
+ | "We'll write the changelog at release time" | By then the impact is reconstructed from memory and half of it is missing. Write the entry with the change. |
326
+
327
+ ## Red Flags
328
+
329
+ - Large uncommitted changes accumulating
330
+ - Commit messages like "fix", "update", "misc"
331
+ - Formatting changes mixed with behavior changes
332
+ - No `.gitignore` in the project
333
+ - Committing `node_modules/`, `.env`, or build artifacts
334
+ - Long-lived branches that diverge significantly from main
335
+ - Force-pushing to shared branches
336
+ - A breaking change shipped under a minor or patch version bump
337
+ - A release with no tag, or a version number hand-edited out of sync with the tag
338
+ - A user-facing release with no changelog entry, or a changelog that's just dumped commit messages
339
+
340
+ ## Verification
341
+
342
+ For every commit:
343
+
344
+ - [ ] Commit does one logical thing
345
+ - [ ] Message explains the why, follows type conventions
346
+ - [ ] Tests pass before committing
347
+ - [ ] No secrets in the diff
348
+ - [ ] No formatting-only changes mixed with behavior changes
349
+ - [ ] `.gitignore` covers standard exclusions
350
+
351
+ For every release (anything with consumers):
352
+
353
+ - [ ] The version bump matches the change: breaking → major, additive → minor, fix → patch
354
+ - [ ] The release is tagged, and the version is derived from the tag, not hand-edited out of sync
355
+ - [ ] The changelog has a curated, human-readable entry grouped by impact for this version