create-yss-spec 1.1.3 → 2.0.0

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 (574) hide show
  1. package/README.md +20 -2
  2. package/package.json +13 -2
  3. package/src/cli.js +367 -51
  4. package/template/.agents/skills/ask-matt/SKILL.md +8 -4
  5. package/template/.agents/skills/ask-matt/agents/openai.yaml +5 -0
  6. package/template/.agents/skills/code-review/SKILL.md +4 -4
  7. package/template/.agents/skills/code-review/agents/openai.yaml +3 -0
  8. package/template/.agents/skills/codebase-design/agents/openai.yaml +3 -0
  9. package/template/.agents/skills/competitive-intelligence/SKILL.md +5 -5
  10. package/template/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  11. package/template/.agents/skills/domain-modeling/agents/openai.yaml +3 -0
  12. package/template/.agents/skills/excalidraw-diagram-generator/SKILL.md +4 -4
  13. package/template/.agents/skills/grill-me/SKILL.md +7 -0
  14. package/template/.agents/skills/grill-me/agents/openai.yaml +5 -0
  15. package/template/.agents/skills/grill-with-docs/agents/openai.yaml +5 -0
  16. package/template/.agents/skills/grilling/SKILL.md +12 -0
  17. package/template/.agents/skills/grilling/agents/openai.yaml +3 -0
  18. package/template/.agents/skills/handoff/SKILL.md +16 -0
  19. package/template/.agents/skills/handoff/agents/openai.yaml +5 -0
  20. package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +6 -6
  21. package/template/.agents/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
  22. package/template/.agents/skills/implement/SKILL.md +2 -2
  23. package/template/.agents/skills/implement/agents/openai.yaml +5 -0
  24. package/template/.agents/skills/improve-codebase-architecture/SKILL.md +6 -1
  25. package/template/.agents/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  26. package/template/.agents/skills/lombok/SKILL.md +345 -0
  27. package/template/.agents/skills/mapstruct/SKILL.md +328 -0
  28. package/template/.agents/skills/prototype/LOGIC.md +3 -3
  29. package/template/.agents/skills/prototype/SKILL.md +2 -6
  30. package/template/.agents/skills/prototype/UI.md +4 -4
  31. package/template/.agents/skills/prototype/agents/openai.yaml +3 -0
  32. package/template/.agents/skills/research/agents/openai.yaml +3 -0
  33. package/template/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  34. package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  35. package/template/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  36. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  37. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  38. package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  39. package/template/.agents/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  40. package/template/.agents/skills/tdd/agents/openai.yaml +3 -0
  41. package/template/.agents/skills/teach/GLOSSARY-FORMAT.md +35 -0
  42. package/template/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  43. package/template/.agents/skills/teach/MISSION-FORMAT.md +31 -0
  44. package/template/.agents/skills/teach/RESOURCES-FORMAT.md +32 -0
  45. package/template/.agents/skills/teach/SKILL.md +140 -0
  46. package/template/.agents/skills/teach/agents/openai.yaml +5 -0
  47. package/template/.agents/skills/to-spec/SKILL.md +58 -0
  48. package/template/.agents/skills/to-spec/agents/openai.yaml +5 -0
  49. package/template/.agents/skills/to-tickets/SKILL.md +62 -0
  50. package/template/.agents/skills/to-tickets/agents/openai.yaml +5 -0
  51. package/template/.agents/skills/triage/SKILL.md +4 -4
  52. package/template/.agents/skills/triage/agents/openai.yaml +5 -0
  53. package/template/.agents/skills/wayfinder/SKILL.md +128 -0
  54. package/template/.agents/skills/wayfinder/agents/openai.yaml +5 -0
  55. package/template/.agents/skills/web-design-engineer/SKILL.md +2 -2
  56. package/template/.agents/skills/writing-great-skills/GLOSSARY.md +201 -0
  57. package/template/.agents/skills/writing-great-skills/SKILL.md +83 -0
  58. package/template/.agents/skills/writing-great-skills/agents/openai.yaml +5 -0
  59. package/template/.agents/skills/yss-cache/SKILL.md +44 -0
  60. package/template/.agents/skills/yss-cache/agents/openai.yaml +5 -0
  61. package/template/.agents/skills/yss-cache/references/annotations.md +39 -0
  62. package/template/.agents/skills/yss-cache/references/architecture.md +25 -0
  63. package/template/.agents/skills/yss-cache/references/configuration.md +34 -0
  64. package/template/.agents/skills/yss-cache/references/redis-fallback.md +23 -0
  65. package/template/.agents/skills/yss-cache/references/redis-topology.md +62 -0
  66. package/template/.agents/skills/yss-cache/references/serialization.md +17 -0
  67. package/template/.agents/skills/yss-cache/references/source-index.md +64 -0
  68. package/template/.agents/skills/yss-cache/references/troubleshooting.md +33 -0
  69. package/template/.agents/skills/yss-cache/references/verification.md +34 -0
  70. package/template/.agents/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  71. package/template/.agents/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  72. package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  73. package/template/.claude/skills/ask-matt/SKILL.md +8 -4
  74. package/template/.claude/skills/ask-matt/agents/openai.yaml +5 -0
  75. package/template/.claude/skills/code-review/SKILL.md +4 -4
  76. package/template/.claude/skills/code-review/agents/openai.yaml +3 -0
  77. package/template/.claude/skills/codebase-design/agents/openai.yaml +3 -0
  78. package/template/.claude/skills/competitive-intelligence/SKILL.md +5 -5
  79. package/template/.claude/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  80. package/template/.claude/skills/domain-modeling/agents/openai.yaml +3 -0
  81. package/template/.claude/skills/excalidraw-diagram-generator/SKILL.md +37 -16
  82. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
  83. package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
  84. package/template/.claude/skills/grill-me/SKILL.md +7 -0
  85. package/template/.claude/skills/grill-me/agents/openai.yaml +5 -0
  86. package/template/.claude/skills/grill-with-docs/agents/openai.yaml +5 -0
  87. package/template/.claude/skills/grilling/SKILL.md +12 -0
  88. package/template/.claude/skills/grilling/agents/openai.yaml +3 -0
  89. package/template/.claude/skills/handoff/SKILL.md +16 -0
  90. package/template/.claude/skills/handoff/agents/openai.yaml +5 -0
  91. package/template/.claude/skills/implement/SKILL.md +2 -2
  92. package/template/.claude/skills/implement/agents/openai.yaml +5 -0
  93. package/template/.claude/skills/improve-codebase-architecture/SKILL.md +6 -1
  94. package/template/.claude/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  95. package/template/.claude/skills/prototype/LOGIC.md +3 -3
  96. package/template/.claude/skills/prototype/SKILL.md +2 -6
  97. package/template/.claude/skills/prototype/UI.md +4 -4
  98. package/template/.claude/skills/prototype/agents/openai.yaml +3 -0
  99. package/template/.claude/skills/research/agents/openai.yaml +3 -0
  100. package/template/.claude/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  101. package/template/.claude/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  102. package/template/.claude/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  103. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  104. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  105. package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  106. package/template/.claude/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  107. package/template/.claude/skills/tdd/agents/openai.yaml +3 -0
  108. package/template/.claude/skills/teach/GLOSSARY-FORMAT.md +35 -0
  109. package/template/.claude/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  110. package/template/.claude/skills/teach/MISSION-FORMAT.md +31 -0
  111. package/template/.claude/skills/teach/RESOURCES-FORMAT.md +32 -0
  112. package/template/.claude/skills/teach/SKILL.md +140 -0
  113. package/template/.claude/skills/teach/agents/openai.yaml +5 -0
  114. package/template/.claude/skills/to-spec/SKILL.md +58 -0
  115. package/template/.claude/skills/to-spec/agents/openai.yaml +5 -0
  116. package/template/.claude/skills/to-tickets/SKILL.md +62 -0
  117. package/template/.claude/skills/to-tickets/agents/openai.yaml +5 -0
  118. package/template/.claude/skills/triage/SKILL.md +4 -4
  119. package/template/.claude/skills/triage/agents/openai.yaml +5 -0
  120. package/template/.claude/skills/wayfinder/SKILL.md +128 -0
  121. package/template/.claude/skills/wayfinder/agents/openai.yaml +5 -0
  122. package/template/.claude/skills/web-design-engineer/SKILL.md +2 -2
  123. package/template/.claude/skills/writing-great-skills/GLOSSARY.md +201 -0
  124. package/template/.claude/skills/writing-great-skills/SKILL.md +83 -0
  125. package/template/.claude/skills/writing-great-skills/agents/openai.yaml +5 -0
  126. package/template/.claude/skills/yss-cache/SKILL.md +44 -0
  127. package/template/.claude/skills/yss-cache/agents/openai.yaml +5 -0
  128. package/template/.claude/skills/yss-cache/references/annotations.md +39 -0
  129. package/template/.claude/skills/yss-cache/references/architecture.md +25 -0
  130. package/template/.claude/skills/yss-cache/references/configuration.md +34 -0
  131. package/template/.claude/skills/yss-cache/references/redis-fallback.md +23 -0
  132. package/template/.claude/skills/yss-cache/references/redis-topology.md +62 -0
  133. package/template/.claude/skills/yss-cache/references/serialization.md +17 -0
  134. package/template/.claude/skills/yss-cache/references/source-index.md +64 -0
  135. package/template/.claude/skills/yss-cache/references/troubleshooting.md +33 -0
  136. package/template/.claude/skills/yss-cache/references/verification.md +34 -0
  137. package/template/.claude/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  138. package/template/.claude/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  139. package/template/.claude/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  140. package/template/.codex/config.toml +3 -0
  141. package/template/.codex/skills/ask-matt/SKILL.md +8 -4
  142. package/template/.codex/skills/ask-matt/agents/openai.yaml +5 -0
  143. package/template/.codex/skills/code-review/SKILL.md +4 -4
  144. package/template/.codex/skills/code-review/agents/openai.yaml +3 -0
  145. package/template/.codex/skills/code-review-process/references/automation-and-standards.md +1 -1
  146. package/template/.codex/skills/codebase-design/agents/openai.yaml +3 -0
  147. package/template/.codex/skills/competitive-intelligence/SKILL.md +5 -5
  148. package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +2 -2
  149. package/template/.codex/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  150. package/template/.codex/skills/domain-modeling/agents/openai.yaml +3 -0
  151. package/template/.codex/skills/grill-with-docs/agents/openai.yaml +5 -0
  152. package/template/.codex/skills/handoff/SKILL.md +16 -0
  153. package/template/.codex/skills/handoff/agents/openai.yaml +5 -0
  154. package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +6 -6
  155. package/template/.codex/skills/implement/SKILL.md +2 -2
  156. package/template/.codex/skills/implement/agents/openai.yaml +5 -0
  157. package/template/.codex/skills/improve-codebase-architecture/SKILL.md +6 -1
  158. package/template/.codex/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  159. package/template/.codex/skills/product-design-prototype/SKILL.md +14 -10
  160. package/template/.codex/skills/product-design-prototype/agents/openai.yaml +1 -1
  161. package/template/.codex/skills/prototype/LOGIC.md +3 -3
  162. package/template/.codex/skills/prototype/SKILL.md +2 -6
  163. package/template/.codex/skills/prototype/UI.md +4 -4
  164. package/template/.codex/skills/prototype/agents/openai.yaml +3 -0
  165. package/template/.codex/skills/prototype-review/SKILL.md +6 -6
  166. package/template/.codex/skills/prototype-review/agents/openai.yaml +2 -2
  167. package/template/.codex/skills/research/agents/openai.yaml +3 -0
  168. package/template/.codex/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  169. package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  170. package/template/.codex/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  171. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  172. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  173. package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  174. package/template/.codex/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  175. package/template/.codex/skills/tdd/agents/openai.yaml +3 -0
  176. package/template/.codex/skills/to-spec/SKILL.md +58 -0
  177. package/template/.codex/skills/to-spec/agents/openai.yaml +5 -0
  178. package/template/.codex/skills/to-tickets/SKILL.md +62 -0
  179. package/template/.codex/skills/to-tickets/agents/openai.yaml +5 -0
  180. package/template/.codex/skills/triage/SKILL.md +4 -4
  181. package/template/.codex/skills/triage/agents/openai.yaml +5 -0
  182. package/template/.codex/skills/wayfinder/SKILL.md +128 -0
  183. package/template/.codex/skills/wayfinder/agents/openai.yaml +5 -0
  184. package/template/.codex/skills/writing-great-skills/GLOSSARY.md +201 -0
  185. package/template/.codex/skills/writing-great-skills/SKILL.md +83 -0
  186. package/template/.codex/skills/writing-great-skills/agents/openai.yaml +5 -0
  187. package/template/.codex/skills/yss-api-integration/SKILL.md +1 -1
  188. package/template/.codex/skills/yss-cache/SKILL.md +29 -58
  189. package/template/.codex/skills/yss-cache/agents/openai.yaml +2 -2
  190. package/template/.codex/skills/yss-cache/references/annotations.md +39 -0
  191. package/template/.codex/skills/yss-cache/references/architecture.md +25 -0
  192. package/template/.codex/skills/yss-cache/references/configuration.md +34 -0
  193. package/template/.codex/skills/yss-cache/references/redis-fallback.md +23 -0
  194. package/template/.codex/skills/yss-cache/references/redis-topology.md +62 -0
  195. package/template/.codex/skills/yss-cache/references/serialization.md +17 -0
  196. package/template/.codex/skills/yss-cache/references/source-index.md +1 -1
  197. package/template/.codex/skills/yss-cache/references/troubleshooting.md +33 -0
  198. package/template/.codex/skills/yss-cache/references/verification.md +34 -0
  199. package/template/.codex/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  200. package/template/.codex/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  201. package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  202. package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -0
  203. package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +2 -2
  204. package/template/.codex/skills/yss-design-system/SKILL.md +9 -2
  205. package/template/.codex/skills/yss-design-system/references/design-system.md +12 -0
  206. package/template/.codex/skills/yss-domain-modeling/SKILL.md +3 -3
  207. package/template/.codex/skills/yss-domain-modeling/agents/openai.yaml +1 -1
  208. package/template/.codex/skills/yss-domain-modeling/references/modeling-workflow.md +2 -2
  209. package/template/.codex/skills/yss-filerunner/SKILL.md +1 -1
  210. package/template/.codex/skills/yss-openapi/SKILL.md +35 -47
  211. package/template/.codex/skills/yss-openapi/img.png +0 -0
  212. package/template/.codex/skills/yss-openapi/img_1.png +0 -0
  213. package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +3 -3
  214. package/template/.codex/skills/yss-openapi-governance/SKILL.md +4 -4
  215. package/template/.codex/skills/yss-product-lifecycle/SKILL.md +57 -34
  216. package/template/.codex/skills/yss-product-lifecycle/references/artifact-checklist.md +23 -21
  217. package/template/.codex/skills/yss-product-lifecycle/references/stage-routing.md +15 -15
  218. package/template/.codex/skills/yss-product-lifecycle/references/yss-skill-routing.md +13 -8
  219. package/template/.codex/skills/yss-repository/SKILL.md +11 -3
  220. package/template/.codex/skills/yss-router/SKILL.md +2 -3
  221. package/template/.codex/skills/yss-router/references/boundaries.md +0 -1
  222. package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -1
  223. package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -3
  224. package/template/.codex/skills/yss-web-controller/SKILL.md +9 -3
  225. package/template/.hermes/skills/ask-matt/SKILL.md +8 -4
  226. package/template/.hermes/skills/ask-matt/agents/openai.yaml +5 -0
  227. package/template/.hermes/skills/code-review/SKILL.md +4 -4
  228. package/template/.hermes/skills/code-review/agents/openai.yaml +3 -0
  229. package/template/.hermes/skills/codebase-design/agents/openai.yaml +3 -0
  230. package/template/.hermes/skills/competitive-intelligence/SKILL.md +5 -5
  231. package/template/.hermes/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  232. package/template/.hermes/skills/domain-modeling/agents/openai.yaml +3 -0
  233. package/template/.hermes/skills/excalidraw-diagram-generator/SKILL.md +37 -16
  234. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
  235. package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
  236. package/template/.hermes/skills/grill-me/SKILL.md +7 -0
  237. package/template/.hermes/skills/grill-me/agents/openai.yaml +5 -0
  238. package/template/.hermes/skills/grill-with-docs/agents/openai.yaml +5 -0
  239. package/template/.hermes/skills/grilling/SKILL.md +12 -0
  240. package/template/.hermes/skills/grilling/agents/openai.yaml +3 -0
  241. package/template/.hermes/skills/handoff/SKILL.md +16 -0
  242. package/template/.hermes/skills/handoff/agents/openai.yaml +5 -0
  243. package/template/.hermes/skills/implement/SKILL.md +2 -2
  244. package/template/.hermes/skills/implement/agents/openai.yaml +5 -0
  245. package/template/.hermes/skills/improve-codebase-architecture/SKILL.md +6 -1
  246. package/template/.hermes/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  247. package/template/.hermes/skills/prototype/LOGIC.md +3 -3
  248. package/template/.hermes/skills/prototype/SKILL.md +2 -6
  249. package/template/.hermes/skills/prototype/UI.md +4 -4
  250. package/template/.hermes/skills/prototype/agents/openai.yaml +3 -0
  251. package/template/.hermes/skills/research/agents/openai.yaml +3 -0
  252. package/template/.hermes/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  253. package/template/.hermes/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  254. package/template/.hermes/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  255. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  256. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  257. package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  258. package/template/.hermes/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  259. package/template/.hermes/skills/tdd/agents/openai.yaml +3 -0
  260. package/template/.hermes/skills/teach/GLOSSARY-FORMAT.md +35 -0
  261. package/template/.hermes/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  262. package/template/.hermes/skills/teach/MISSION-FORMAT.md +31 -0
  263. package/template/.hermes/skills/teach/RESOURCES-FORMAT.md +32 -0
  264. package/template/.hermes/skills/teach/SKILL.md +140 -0
  265. package/template/.hermes/skills/teach/agents/openai.yaml +5 -0
  266. package/template/.hermes/skills/to-spec/SKILL.md +58 -0
  267. package/template/.hermes/skills/to-spec/agents/openai.yaml +5 -0
  268. package/template/.hermes/skills/to-tickets/SKILL.md +62 -0
  269. package/template/.hermes/skills/to-tickets/agents/openai.yaml +5 -0
  270. package/template/.hermes/skills/triage/SKILL.md +4 -4
  271. package/template/.hermes/skills/triage/agents/openai.yaml +5 -0
  272. package/template/.hermes/skills/wayfinder/SKILL.md +128 -0
  273. package/template/.hermes/skills/wayfinder/agents/openai.yaml +5 -0
  274. package/template/.hermes/skills/web-design-engineer/SKILL.md +2 -2
  275. package/template/.hermes/skills/writing-great-skills/GLOSSARY.md +201 -0
  276. package/template/.hermes/skills/writing-great-skills/SKILL.md +83 -0
  277. package/template/.hermes/skills/writing-great-skills/agents/openai.yaml +5 -0
  278. package/template/.hermes/skills/yss-cache/SKILL.md +44 -0
  279. package/template/.hermes/skills/yss-cache/agents/openai.yaml +5 -0
  280. package/template/.hermes/skills/yss-cache/references/annotations.md +39 -0
  281. package/template/.hermes/skills/yss-cache/references/architecture.md +25 -0
  282. package/template/.hermes/skills/yss-cache/references/configuration.md +34 -0
  283. package/template/.hermes/skills/yss-cache/references/redis-fallback.md +23 -0
  284. package/template/.hermes/skills/yss-cache/references/redis-topology.md +62 -0
  285. package/template/.hermes/skills/yss-cache/references/serialization.md +17 -0
  286. package/template/.hermes/skills/yss-cache/references/source-index.md +64 -0
  287. package/template/.hermes/skills/yss-cache/references/troubleshooting.md +33 -0
  288. package/template/.hermes/skills/yss-cache/references/verification.md +34 -0
  289. package/template/.hermes/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  290. package/template/.hermes/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  291. package/template/.hermes/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  292. package/template/.obsidian/app.json +3 -0
  293. package/template/.obsidian/appearance.json +5 -0
  294. package/template/.obsidian/community-plugins.json +4 -0
  295. package/template/.obsidian/core-plugins.json +33 -0
  296. package/template/.obsidian/graph.json +22 -0
  297. package/template/.obsidian/plugins/obsidian-excalidraw-plugin/data.json +1085 -0
  298. package/template/.obsidian/plugins/obsidian-excalidraw-plugin/main.js +30 -0
  299. package/template/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json +12 -0
  300. package/template/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css +1 -0
  301. package/template/.obsidian/plugins/obsidian-git/main.js +415 -0
  302. package/template/.obsidian/plugins/obsidian-git/manifest.json +10 -0
  303. package/template/.obsidian/plugins/obsidian-git/styles.css +705 -0
  304. package/template/.obsidian/workspace.json +222 -0
  305. package/template/.pi/skills/ask-matt/SKILL.md +8 -4
  306. package/template/.pi/skills/ask-matt/agents/openai.yaml +5 -0
  307. package/template/.pi/skills/code-review/SKILL.md +4 -4
  308. package/template/.pi/skills/code-review/agents/openai.yaml +3 -0
  309. package/template/.pi/skills/codebase-design/agents/openai.yaml +3 -0
  310. package/template/.pi/skills/competitive-intelligence/SKILL.md +5 -5
  311. package/template/.pi/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  312. package/template/.pi/skills/domain-modeling/agents/openai.yaml +3 -0
  313. package/template/.pi/skills/excalidraw-diagram-generator/SKILL.md +37 -16
  314. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
  315. package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
  316. package/template/.pi/skills/grill-me/SKILL.md +7 -0
  317. package/template/.pi/skills/grill-me/agents/openai.yaml +5 -0
  318. package/template/.pi/skills/grill-with-docs/agents/openai.yaml +5 -0
  319. package/template/.pi/skills/grilling/SKILL.md +12 -0
  320. package/template/.pi/skills/grilling/agents/openai.yaml +3 -0
  321. package/template/.pi/skills/handoff/SKILL.md +16 -0
  322. package/template/.pi/skills/handoff/agents/openai.yaml +5 -0
  323. package/template/.pi/skills/implement/SKILL.md +2 -2
  324. package/template/.pi/skills/implement/agents/openai.yaml +5 -0
  325. package/template/.pi/skills/improve-codebase-architecture/SKILL.md +6 -1
  326. package/template/.pi/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  327. package/template/.pi/skills/prototype/LOGIC.md +3 -3
  328. package/template/.pi/skills/prototype/SKILL.md +2 -6
  329. package/template/.pi/skills/prototype/UI.md +4 -4
  330. package/template/.pi/skills/prototype/agents/openai.yaml +3 -0
  331. package/template/.pi/skills/research/agents/openai.yaml +3 -0
  332. package/template/.pi/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  333. package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  334. package/template/.pi/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  335. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  336. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  337. package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  338. package/template/.pi/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  339. package/template/.pi/skills/tdd/agents/openai.yaml +3 -0
  340. package/template/.pi/skills/teach/GLOSSARY-FORMAT.md +35 -0
  341. package/template/.pi/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  342. package/template/.pi/skills/teach/MISSION-FORMAT.md +31 -0
  343. package/template/.pi/skills/teach/RESOURCES-FORMAT.md +32 -0
  344. package/template/.pi/skills/teach/SKILL.md +140 -0
  345. package/template/.pi/skills/teach/agents/openai.yaml +5 -0
  346. package/template/.pi/skills/to-spec/SKILL.md +58 -0
  347. package/template/.pi/skills/to-spec/agents/openai.yaml +5 -0
  348. package/template/.pi/skills/to-tickets/SKILL.md +62 -0
  349. package/template/.pi/skills/to-tickets/agents/openai.yaml +5 -0
  350. package/template/.pi/skills/triage/SKILL.md +4 -4
  351. package/template/.pi/skills/triage/agents/openai.yaml +5 -0
  352. package/template/.pi/skills/wayfinder/SKILL.md +128 -0
  353. package/template/.pi/skills/wayfinder/agents/openai.yaml +5 -0
  354. package/template/.pi/skills/web-design-engineer/SKILL.md +2 -2
  355. package/template/.pi/skills/writing-great-skills/GLOSSARY.md +201 -0
  356. package/template/.pi/skills/writing-great-skills/SKILL.md +83 -0
  357. package/template/.pi/skills/writing-great-skills/agents/openai.yaml +5 -0
  358. package/template/.pi/skills/yss-cache/SKILL.md +44 -0
  359. package/template/.pi/skills/yss-cache/agents/openai.yaml +5 -0
  360. package/template/.pi/skills/yss-cache/references/annotations.md +39 -0
  361. package/template/.pi/skills/yss-cache/references/architecture.md +25 -0
  362. package/template/.pi/skills/yss-cache/references/configuration.md +34 -0
  363. package/template/.pi/skills/yss-cache/references/redis-fallback.md +23 -0
  364. package/template/.pi/skills/yss-cache/references/redis-topology.md +62 -0
  365. package/template/.pi/skills/yss-cache/references/serialization.md +17 -0
  366. package/template/.pi/skills/yss-cache/references/source-index.md +64 -0
  367. package/template/.pi/skills/yss-cache/references/troubleshooting.md +33 -0
  368. package/template/.pi/skills/yss-cache/references/verification.md +34 -0
  369. package/template/.pi/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  370. package/template/.pi/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  371. package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  372. package/template/.trae/skills/ask-matt/SKILL.md +8 -4
  373. package/template/.trae/skills/ask-matt/agents/openai.yaml +5 -0
  374. package/template/.trae/skills/code-review/SKILL.md +4 -4
  375. package/template/.trae/skills/code-review/agents/openai.yaml +3 -0
  376. package/template/.trae/skills/codebase-design/agents/openai.yaml +3 -0
  377. package/template/.trae/skills/competitive-intelligence/SKILL.md +5 -5
  378. package/template/.trae/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  379. package/template/.trae/skills/domain-modeling/agents/openai.yaml +3 -0
  380. package/template/.trae/skills/excalidraw-diagram-generator/SKILL.md +37 -16
  381. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
  382. package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
  383. package/template/.trae/skills/grill-me/SKILL.md +7 -0
  384. package/template/.trae/skills/grill-me/agents/openai.yaml +5 -0
  385. package/template/.trae/skills/grill-with-docs/agents/openai.yaml +5 -0
  386. package/template/.trae/skills/grilling/SKILL.md +12 -0
  387. package/template/.trae/skills/grilling/agents/openai.yaml +3 -0
  388. package/template/.trae/skills/handoff/SKILL.md +16 -0
  389. package/template/.trae/skills/handoff/agents/openai.yaml +5 -0
  390. package/template/.trae/skills/implement/SKILL.md +2 -2
  391. package/template/.trae/skills/implement/agents/openai.yaml +5 -0
  392. package/template/.trae/skills/improve-codebase-architecture/SKILL.md +6 -1
  393. package/template/.trae/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  394. package/template/.trae/skills/prototype/LOGIC.md +3 -3
  395. package/template/.trae/skills/prototype/SKILL.md +2 -6
  396. package/template/.trae/skills/prototype/UI.md +4 -4
  397. package/template/.trae/skills/prototype/agents/openai.yaml +3 -0
  398. package/template/.trae/skills/research/agents/openai.yaml +3 -0
  399. package/template/.trae/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  400. package/template/.trae/skills/setup-matt-pocock-skills/SKILL.md +21 -32
  401. package/template/.trae/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
  402. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
  403. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
  404. package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
  405. package/template/.trae/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
  406. package/template/.trae/skills/tdd/agents/openai.yaml +3 -0
  407. package/template/.trae/skills/teach/GLOSSARY-FORMAT.md +35 -0
  408. package/template/.trae/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  409. package/template/.trae/skills/teach/MISSION-FORMAT.md +31 -0
  410. package/template/.trae/skills/teach/RESOURCES-FORMAT.md +32 -0
  411. package/template/.trae/skills/teach/SKILL.md +140 -0
  412. package/template/.trae/skills/teach/agents/openai.yaml +5 -0
  413. package/template/.trae/skills/to-spec/SKILL.md +58 -0
  414. package/template/.trae/skills/to-spec/agents/openai.yaml +5 -0
  415. package/template/.trae/skills/to-tickets/SKILL.md +62 -0
  416. package/template/.trae/skills/to-tickets/agents/openai.yaml +5 -0
  417. package/template/.trae/skills/triage/SKILL.md +4 -4
  418. package/template/.trae/skills/triage/agents/openai.yaml +5 -0
  419. package/template/.trae/skills/wayfinder/SKILL.md +128 -0
  420. package/template/.trae/skills/wayfinder/agents/openai.yaml +5 -0
  421. package/template/.trae/skills/web-design-engineer/SKILL.md +2 -2
  422. package/template/.trae/skills/writing-great-skills/GLOSSARY.md +201 -0
  423. package/template/.trae/skills/writing-great-skills/SKILL.md +83 -0
  424. package/template/.trae/skills/writing-great-skills/agents/openai.yaml +5 -0
  425. package/template/.trae/skills/yss-cache/SKILL.md +44 -0
  426. package/template/.trae/skills/yss-cache/agents/openai.yaml +5 -0
  427. package/template/.trae/skills/yss-cache/references/annotations.md +39 -0
  428. package/template/.trae/skills/yss-cache/references/architecture.md +25 -0
  429. package/template/.trae/skills/yss-cache/references/configuration.md +34 -0
  430. package/template/.trae/skills/yss-cache/references/redis-fallback.md +23 -0
  431. package/template/.trae/skills/yss-cache/references/redis-topology.md +62 -0
  432. package/template/.trae/skills/yss-cache/references/serialization.md +17 -0
  433. package/template/.trae/skills/yss-cache/references/source-index.md +64 -0
  434. package/template/.trae/skills/yss-cache/references/troubleshooting.md +33 -0
  435. package/template/.trae/skills/yss-cache/references/verification.md +34 -0
  436. package/template/.trae/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
  437. package/template/.trae/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
  438. package/template/.trae/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
  439. package/template/AGENTS.md +89 -250
  440. package/template/CONTEXT.md +24 -11
  441. package/template/README.md +31 -45
  442. package/template/docs/adr/{adr-product-design-prototype-entrypoint.md → 0001-product-design-prototype-entrypoint.md} +3 -3
  443. package/template/docs/adr/0002-yss-project-repository-mode.md +3 -0
  444. package/template/docs/agents/README.md +4 -5
  445. package/template/docs/agents/domain.md +13 -15
  446. package/template/docs/agents/gitlab-workflow-skills.md +5 -5
  447. package/template/docs/agents/issue-tracker.md +15 -14
  448. package/template/docs/agents/skills-maintenance.md +44 -109
  449. package/template/docs/agents/triage-labels.md +10 -12
  450. package/template/docs/api/templates/openapi-draft-review-checklist.md +4 -4
  451. package/template/docs/api/templates/openapi-freeze-record-template.md +5 -5
  452. package/template/docs/architecture/README.md +4 -4
  453. package/template/docs/architecture/templates/architecture-review-checklist.md +4 -4
  454. package/template/docs/architecture/templates/business-architecture-template.md +7 -7
  455. package/template/docs/architecture/templates/data-architecture-template.md +4 -4
  456. package/template/docs/architecture/templates/engineering-baseline-review-template.md +4 -3
  457. package/template/docs/architecture/templates/functional-architecture-template.md +7 -7
  458. package/template/docs/architecture/templates/system-overview-design-template.md +5 -6
  459. package/template/docs/architecture/templates/tech-design-template.md +2 -2
  460. package/template/docs/design/README.md +8 -8
  461. package/template/docs/design/design.md +10 -1
  462. package/template/docs/design/diagrams/README.md +1 -1
  463. package/template/docs/design/templates/interaction-spec-template.md +6 -6
  464. package/template/docs/design/templates/product-overview-design-template.md +8 -8
  465. package/template/docs/design/templates/prototype-confirmation-template.md +4 -4
  466. package/template/docs/design/templates/prototype-review-checklist.md +5 -5
  467. package/template/docs/design/templates/state-matrix-template.md +1 -1
  468. package/template/docs/discovery/IDEATION.md +2 -2
  469. package/template/docs/discovery/README.md +4 -4
  470. package/template/docs/discovery/templates/competitive-analysis-template.md +4 -4
  471. package/template/docs/discovery/templates/discovery-template.md +8 -8
  472. package/template/docs/implementation/create-yss-spec-repository-mode-contract.md +59 -0
  473. package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +49 -30
  474. package/template/docs/process/harness-automation-candidates.md +10 -13
  475. package/template/docs/process/harness-executive-blueprint.md +11 -11
  476. package/template/docs/process/harness-optimization-backlog.md +6 -6
  477. package/template/docs/process/harness-pilot-retro-metrics.md +8 -8
  478. package/template/docs/process/harness-pilot-selection.md +8 -8
  479. package/template/docs/process/harness-process-tailoring.md +35 -16
  480. package/template/docs/process/harness-work-unit-map.md +9 -9
  481. package/template/docs/process/implementation-repo-integration.md +25 -11
  482. package/template/docs/process/lifecycle-artifact-map.md +66 -40
  483. package/template/docs/process/product-prototype-workflow.md +10 -10
  484. package/template/docs/process/skill-governance.md +12 -4
  485. package/template/docs/process/subagent-collaboration-validation.md +53 -0
  486. package/template/docs/process/subagent-collaboration.md +111 -0
  487. package/template/docs/process/template-governance-grilling-record.md +38 -0
  488. package/template/docs/process/template-governance-skill-validation.md +44 -0
  489. package/template/docs/process/templates/stage-checkpoint-template.md +42 -7
  490. package/template/docs/releases/next-major-template-governance.md +32 -0
  491. package/template/docs/requirements/README.md +11 -11
  492. package/template/docs/{adr/template.md → templates/adr-template.md} +2 -2
  493. package/template/docs/templates/agent-brief-template.md +5 -5
  494. package/template/docs/templates/build-architecture-checklist-template.md +41 -11
  495. package/template/docs/templates/implementation-repo-registry-template.md +8 -3
  496. package/template/docs/templates/implementation-routing-template.md +85 -19
  497. package/template/docs/templates/requirement-freeze-template.md +8 -8
  498. package/template/docs/templates/review-report-template.md +50 -0
  499. package/template/docs/templates/spec-delta-template.md +5 -5
  500. package/template/docs/templates/{prd-template.md → spec-template.md} +19 -9
  501. package/template/docs/templates/subagent-task-package-template.md +93 -0
  502. package/template/docs/templates/verification-record-template.md +2 -2
  503. package/template/docs/templates/vertical-slice-ticket-template.md +88 -0
  504. package/template/docs/user-guide/README.md +2 -2
  505. package/template/docs/user-guide/create-yss-spec-cli-guide.md +27 -209
  506. package/template/docs/user-guide/excalidraw-diagram-generator-guide.md +8 -8
  507. package/template/docs/user-guide/grill-with-docs-best-practices.md +16 -16
  508. package/template/docs/user-guide/grill-with-docs-guide.md +19 -19
  509. package/template/docs/user-guide/lifecycle-best-practices.md +40 -40
  510. package/template/docs/user-guide/product-lifecycle-workflow.md +31 -31
  511. package/template/docs/user-guide/product-rd-lifecycle-best-practices.md +121 -121
  512. package/template/docs/user-guide/spec-ticket-migration-guide.md +35 -0
  513. package/template/scripts/sync-skills +126 -0
  514. package/template/scripts/update-skill-lock +202 -0
  515. package/template/scripts/verify-lifecycle-scenarios +136 -0
  516. package/template/scripts/verify-template +148 -155
  517. package/template/skills-lock.json +1068 -65
  518. package/template/yss-project.yaml +2 -0
  519. package/template.manifest.json +3 -16
  520. package/template/.agent/skills/ask-matt/SKILL.md +0 -74
  521. package/template/.agent/skills/code-review/SKILL.md +0 -89
  522. package/template/.agent/skills/codebase-design/DEEPENING.md +0 -37
  523. package/template/.agent/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
  524. package/template/.agent/skills/codebase-design/SKILL.md +0 -114
  525. package/template/.agent/skills/competitive-intelligence/SKILL.md +0 -94
  526. package/template/.agent/skills/diagnosing-bugs/SKILL.md +0 -134
  527. package/template/.agent/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -41
  528. package/template/.agent/skills/domain-modeling/ADR-FORMAT.md +0 -47
  529. package/template/.agent/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
  530. package/template/.agent/skills/domain-modeling/SKILL.md +0 -74
  531. package/template/.agent/skills/grill-with-docs/SKILL.md +0 -7
  532. package/template/.agent/skills/implement/SKILL.md +0 -15
  533. package/template/.agent/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
  534. package/template/.agent/skills/improve-codebase-architecture/SKILL.md +0 -66
  535. package/template/.agent/skills/prototype/LOGIC.md +0 -79
  536. package/template/.agent/skills/prototype/SKILL.md +0 -30
  537. package/template/.agent/skills/prototype/UI.md +0 -112
  538. package/template/.agent/skills/research/SKILL.md +0 -12
  539. package/template/.agent/skills/resolving-merge-conflicts/SKILL.md +0 -14
  540. package/template/.agent/skills/setup-matt-pocock-skills/SKILL.md +0 -127
  541. package/template/.agent/skills/setup-matt-pocock-skills/domain.md +0 -51
  542. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
  543. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
  544. package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
  545. package/template/.agent/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
  546. package/template/.agent/skills/tdd/SKILL.md +0 -36
  547. package/template/.agent/skills/tdd/mocking.md +0 -59
  548. package/template/.agent/skills/tdd/tests.md +0 -77
  549. package/template/.agent/skills/to-issues/SKILL.md +0 -84
  550. package/template/.agent/skills/to-prd/SKILL.md +0 -75
  551. package/template/.agent/skills/triage/AGENT-BRIEF.md +0 -207
  552. package/template/.agent/skills/triage/OUT-OF-SCOPE.md +0 -105
  553. package/template/.agent/skills/triage/SKILL.md +0 -112
  554. package/template/.agents/skills/to-issues/SKILL.md +0 -84
  555. package/template/.agents/skills/to-prd/SKILL.md +0 -75
  556. package/template/.claude/skills/to-issues/SKILL.md +0 -84
  557. package/template/.claude/skills/to-prd/SKILL.md +0 -75
  558. package/template/.codex/skills/to-issues/SKILL.md +0 -84
  559. package/template/.codex/skills/to-prd/SKILL.md +0 -75
  560. package/template/.codex/skills/yss-anti-scheduler/SKILL.md +0 -53
  561. package/template/.codex/skills/yss-anti-scheduler/agents/openai.yaml +0 -4
  562. package/template/.codex/skills/yss-anti-scheduler/references/source-index.md +0 -157
  563. package/template/.codex/skills/yss-cache/assets/ClearCache.java +0 -34
  564. package/template/.codex/skills/yss-cache/assets/QueryCache.java +0 -36
  565. package/template/.codex/skills/yss-cache/assets/UpdateCache.java +0 -34
  566. package/template/.codex/skills/yss-cache/references/README.md +0 -5
  567. package/template/.hermes/skills/to-issues/SKILL.md +0 -84
  568. package/template/.hermes/skills/to-prd/SKILL.md +0 -75
  569. package/template/.pi/skills/to-issues/SKILL.md +0 -84
  570. package/template/.pi/skills/to-prd/SKILL.md +0 -75
  571. package/template/.trae/skills/to-issues/SKILL.md +0 -84
  572. package/template/.trae/skills/to-prd/SKILL.md +0 -75
  573. package/template/docs/templates/vertical-slice-issue-template.md +0 -61
  574. /package/template/docs/requirements/{issues → tickets}/.gitkeep +0 -0
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Codebase Design"
3
+ short_description: "Vocabulary for deep-module design"
@@ -1,13 +1,13 @@
1
1
  ---
2
2
  name: competitive-intelligence
3
- description: Use when researching competitors, market positioning, pricing, feature gaps, customer sentiment, or category trends before Discovery, PRD, product strategy, or roadmap decisions.
3
+ description: Use when researching competitors, market positioning, pricing, feature gaps, customer sentiment, or category trends before Discovery, Spec, product strategy, or roadmap decisions.
4
4
  ---
5
5
 
6
6
  # Competitive Intelligence
7
7
 
8
8
  Source requested for this project: `anthropics/knowledge-work-plugins`, `sales/skills/competitive-intelligence`.
9
9
 
10
- Use this skill when competitive or market facts are needed to shape product Discovery, PRD scope, positioning, differentiation, pricing assumptions, or roadmap tradeoffs.
10
+ Use this skill when competitive or market facts are needed to shape product Discovery, Spec scope, positioning, differentiation, pricing assumptions, or roadmap tradeoffs.
11
11
 
12
12
  ## Core Rules
13
13
 
@@ -43,11 +43,11 @@ Use this skill when competitive or market facts are needed to shape product Disc
43
43
  - Differentiators and defensibility.
44
44
  - Gaps and underserved jobs-to-be-done.
45
45
  - Risks if we copy the competitor too closely.
46
- - Product opportunities for PRD or roadmap.
46
+ - Product opportunities for Spec or roadmap.
47
47
  5. Hand off to lifecycle assets:
48
48
  - Update Discovery findings in `docs/discovery/`.
49
49
  - Create or update a competitor matrix in `docs/discovery/reports/`.
50
- - Feed stable user, pain, MVP, non-goal, and success criteria into `grill-with-docs` and `to-prd`.
50
+ - Feed stable user, pain, MVP, non-goal, and success criteria into `grill-with-docs` and `to-spec`.
51
51
  - Record uncertain claims as assumptions, not requirements.
52
52
 
53
53
  ## Output Shape
@@ -76,7 +76,7 @@ For a quick brief:
76
76
  | 维度 | 竞品 A | 竞品 B | 我们的机会 |
77
77
  |---|---|---|---|
78
78
 
79
- ### PRD 输入
79
+ ### Spec 输入
80
80
  - 用户 / 痛点:
81
81
  - MVP 建议:
82
82
  - 非目标范围:
@@ -9,8 +9,8 @@ description: Use when a Harness change or vertical slice may require work across
9
9
 
10
10
  ## Inputs
11
11
 
12
- - Harness change / OpenSpec / Comet change。
13
- - 垂直切片 Issue 或实施计划。
12
+ - Harness change / Spec Delta change。
13
+ - 垂直切片 Ticket 或实施计划。
14
14
  - OpenAPI Freeze 或无 API 影响记录。
15
15
  - 已登记的实现仓库记录;没有登记时先使用 `implementation-repo-onboarding`。
16
16
 
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Diagnosing Bugs"
3
+ short_description: "Diagnose hard bugs and regressions"
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Domain Modeling"
3
+ short_description: "Build and sharpen a domain model"
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: "Grill with Docs"
3
+ short_description: "Grill a design and write its docs"
4
+ policy:
5
+ allow_implicit_invocation: false
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: handoff
3
+ description: Compact the current conversation into a handoff document for another agent to pick up.
4
+ argument-hint: "What will the next session be used for?"
5
+ disable-model-invocation: true
6
+ ---
7
+
8
+ Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS - not the current workspace.
9
+
10
+ Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
11
+
12
+ Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
13
+
14
+ Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
15
+
16
+ If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: "Handoff"
3
+ short_description: "Compact a conversation into a handoff"
4
+ policy:
5
+ allow_implicit_invocation: false
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: high-fidelity-html-prototype
3
- description: Use after low-fidelity prototype review is approved and before PRD calibration, requirement freeze, OpenAPI Draft, or UI implementation when a user-facing YSS feature needs a high-fidelity interactive HTML prototype using Ant Design v6.
3
+ description: Use after low-fidelity prototype review is approved and before Spec calibration, requirement freeze, OpenAPI Draft, or UI implementation when a user-facing YSS feature needs a high-fidelity interactive HTML prototype using Ant Design v6.
4
4
  ---
5
5
 
6
6
  # High Fidelity HTML Prototype
@@ -9,7 +9,7 @@ Use this skill only after `prototype-review` approves the low-fidelity prototype
9
9
 
10
10
  ## Required Inputs
11
11
 
12
- - PRD baseline: `docs/requirements/<feature>-prd.md`.
12
+ - Spec baseline: `docs/requirements/<feature>-spec.md`.
13
13
  - Product overview design / functional architecture: `docs/design/<feature>-product-overview-design.md`.
14
14
  - Interaction spec: `docs/design/<feature>-interaction-spec.md`.
15
15
  - State matrix: `docs/design/<feature>-state-matrix.md`.
@@ -47,7 +47,7 @@ Use the latest verified v6.x version instead of `6.5.0` when npm reports a newer
47
47
  - Prefer Ant Design components and tokens over hand-built controls: `Layout`, `Menu`, `Breadcrumb`, `Button`, `Input`, `Select`, `Table`, `Form`, `Tabs`, `Steps`, `Drawer`, `Modal`, `Alert`, `Tooltip`, `Tag`, `Badge`, `DatePicker`, `Upload`, `Pagination`, `Empty`, `Spin`, `Result`.
48
48
  - Do not create extra data-service or fixture artifacts. Use embedded sample data inside the HTML/JS for visual and interaction demonstration only.
49
49
  - Mark the file clearly as `PROTOTYPE ONLY - NOT PRODUCTION CODE`.
50
- - Do not treat the HTML prototype as a stable frontend implementation, generated-client contract, or OpenAPI source of truth. It informs PRD calibration and OpenAPI Draft.
50
+ - Do not treat the HTML prototype as a stable frontend implementation, generated-client contract, or OpenAPI source of truth. It informs Spec calibration and OpenAPI Draft.
51
51
 
52
52
  ## Interaction Coverage
53
53
 
@@ -80,7 +80,7 @@ Run a local browser verification before calling the artifact ready:
80
80
  High-fidelity HTML prototype
81
81
 
82
82
  ### 输入资产
83
- - <PRD / product overview / interaction spec / state matrix / prototype review>
83
+ - <Spec / product overview / interaction spec / state matrix / prototype review>
84
84
 
85
85
  ### 高保真产物
86
86
  - `docs/design/prototypes/<feature>/index.html`
@@ -94,9 +94,9 @@ High-fidelity HTML prototype
94
94
  ### 验证证据
95
95
  - <render command or file open path, viewport checks, interaction checks>
96
96
 
97
- ### 是否可进入 PRD 校准 / API 影响分析
97
+ ### 是否可进入 Spec 校准 / API 影响分析
98
98
  - <yes/no; list blocking gaps>
99
99
 
100
100
  ### 下一步
101
- - <PRD calibration / return to high-fidelity prototype / return to product-design-prototype>
101
+ - <Spec calibration / return to high-fidelity prototype / return to product-design-prototype>
102
102
  ```
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: implement
3
- description: "Implement a piece of work based on a PRD or set of issues."
3
+ description: "Implement a piece of work based on a spec or set of tickets."
4
4
  disable-model-invocation: true
5
5
  ---
6
6
 
7
- Implement the work described by the user in the PRD or issues.
7
+ Implement the work described by the user in the spec or tickets.
8
8
 
9
9
  Use /tdd where possible, at pre-agreed seams.
10
10
 
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: "Implement"
3
+ short_description: "Build work from a spec or tickets"
4
+ policy:
5
+ allow_implicit_invocation: false
@@ -17,6 +17,11 @@ This command is _informed_ by the project's domain model and built on a shared d
17
17
 
18
18
  ### 1. Explore
19
19
 
20
+ **Scope before you scan — YAGNI.** Deepening a module pays off by making future changes to it easier, so put extra weight on the parts of the codebase that have recently changed. Decide *where* to look before you look:
21
+
22
+ - If the user named a direction — a module, a subsystem, a pain point — take it, and skip the inference below.
23
+ - Otherwise, walk back a good stretch of the commit history (`git log --oneline`) to find the codebase's hot spots — the files and areas that keep coming up — and let those paths pull your attention first. If the changes are scattered with no clear hot spot, widen the net.
24
+
20
25
  Read the project's domain glossary (`CONTEXT.md`) and any ADRs in the area you're touching first.
21
26
 
22
27
  Then use the Agent tool with `subagent_type=Explore` to walk the codebase. Don't follow rigid heuristics — explore organically and note where you experience friction:
@@ -56,7 +61,7 @@ Do NOT propose interfaces yet. After the file is written, ask the user: "Which o
56
61
 
57
62
  ### 3. Grilling loop
58
63
 
59
- Once the user picks a candidate, run the `/grilling` skill to walk the design tree with them — constraints, dependencies, the shape of the deepened module, what sits behind the seam, what tests survive.
64
+ Once the user picks a candidate, run the `/grilling` skill to walk the decision tree with them — constraints, dependencies, the shape of the deepened module, what sits behind the seam, what tests survive.
60
65
 
61
66
  Side effects happen inline as decisions crystallize — run the `/domain-modeling` skill to keep the domain model current as you go:
62
67
 
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: "Improve Codebase Architecture"
3
+ short_description: "Find and grill architecture improvements"
4
+ policy:
5
+ allow_implicit_invocation: false
@@ -1,31 +1,32 @@
1
1
  ---
2
2
  name: product-design-prototype
3
- description: Use when a PRD baseline or user story has UI impact and needs page maps, user flows, wireframes, interaction states, or API implications before PRD calibration, OpenAPI Draft, or implementation.
3
+ description: Use when a Spec baseline or user story has UI impact and needs page maps, user flows, wireframes, interaction states, or API implications before Spec calibration, OpenAPI Draft, or implementation.
4
4
  ---
5
5
 
6
6
  # Product Design Prototype
7
7
 
8
- Use this skill after PRD baseline and before PRD calibration / OpenAPI Draft for features with user interfaces. Its job is to turn requirements into design assets that can drive calibrated PRD, API, frontend acceptance, and vertical slices.
8
+ Use this skill after Spec baseline and before Spec calibration / OpenAPI Draft for features with user interfaces. Its job is to turn requirements into design assets that can drive a calibrated Spec, API, frontend acceptance, and vertical slices.
9
9
 
10
10
  ## Required Inputs
11
11
 
12
- - PRD baseline or confirmed user stories.
12
+ - Spec baseline or confirmed user stories.
13
13
  - `CONTEXT.md` terms when domain language matters.
14
14
  - Existing `docs/design/` assets or prototype links.
15
15
  - Known component/page constraints, such as YSS UI, Formily, tables, trees, drawers, modals, permissions, or generated API clients.
16
16
 
17
- If no PRD baseline exists, route back to `yss-product-lifecycle` / `grill-with-docs` / `to-prd`. If the change has no UI impact, record the no-UI decision and continue to PRD calibration, OpenAPI, or engineering baseline.
17
+ If no Spec baseline exists, route back to `yss-product-lifecycle` / `grill-with-docs` / `to-spec`. If the change has no UI impact, record the no-UI decision and continue to Spec calibration, OpenAPI, or engineering baseline.
18
18
 
19
19
  ## Core Flow
20
20
 
21
- 1. Inspect current assets: PRD, `docs/design/`, `docs/api/specs/`, `docs/architecture/`, and active OpenSpec/Comet changes.
21
+ 1. Inspect current assets: Spec, `docs/design/`, `docs/api/specs/`, `docs/architecture/`, and active Spec Delta changes.
22
22
  2. Create or update a design artifact under `docs/design/<feature>-interaction-spec.md` using `docs/design/templates/interaction-spec-template.md`.
23
23
  3. Capture page map, primary user flow, exception flow, and low-fidelity prototype or wireframe link.
24
24
  4. Fill the state matrix using `docs/design/templates/state-matrix-template.md`.
25
25
  5. Write the OpenAPI implication list: fields, filters, actions, errors, permissions, pagination, optimistic/concurrency states, and audit/version data.
26
26
  6. For every primary page action, add an action-to-contract row: page/component, action label, `actionKey`, endpoint or explicit non-goal, request fields, response shape, permission behavior, state transition, idempotency/concurrency rule, and error codes.
27
27
  7. For every P0 requirement containing verbs such as manage, maintain, configure, create, update, archive, retry, cancel, publish, export, or create draft, confirm the interaction spec either names the API implication or records that the capability is intentionally out of scope.
28
- 8. Hand off to `prototype-review`. After low-fidelity review is approved, hand off to `high-fidelity-html-prototype`. Do not freeze/calibrate the PRD or enter OpenAPI Draft for UI work until the Ant Design v6 high-fidelity HTML prototype exists and has no blocking findings.
28
+ 8. Hand off to `prototype-review`. After low-fidelity review is approved, hand off to `high-fidelity-html-prototype`. Do not freeze/calibrate the Spec or enter OpenAPI Draft for UI work until the Ant Design v6 high-fidelity HTML prototype exists and has no blocking findings.
29
+ 9. 交互原型应标注 semantic token 角色、single primary action、interaction feedback 和不可逆操作确认;若页面使用 Ant Design,主题密度或暗色策略必须使用 theme algorithm,并在关键文本上复核 accessibility contrast。
29
30
 
30
31
  ## Tool Routing
31
32
 
@@ -44,7 +45,7 @@ Return:
44
45
  Product design / prototype / interaction design
45
46
 
46
47
  ### 输入资产
47
- - <PRD / discovery / CONTEXT / existing design paths>
48
+ - <Spec / discovery / CONTEXT / existing design paths>
48
49
 
49
50
  ### 设计产物
50
51
  - <docs/design/... or prototype link>
@@ -61,11 +62,14 @@ Product design / prototype / interaction design
61
62
  ### 页面动作到契约映射
62
63
  - <page/component action -> actionKey -> endpoint/non-goal -> permission -> state transition -> error codes>
63
64
 
64
- ### 是否可进入 PRD 校准 / OpenAPI Draft
65
- - <yes/no; include whether PRD calibration is needed first>
65
+ ### Ant Design v6 体验检查
66
+ - <semantic token / theme algorithm / single primary action / interaction feedback / accessibility contrast>
67
+
68
+ ### 是否可进入 Spec 校准 / OpenAPI Draft
69
+ - <yes/no; include whether Spec calibration is needed first>
66
70
 
67
71
  ### 下一步
68
- - <prototype-review / high-fidelity-html-prototype / routing back to PRD/design>
72
+ - <prototype-review / high-fidelity-html-prototype / routing back to Spec/design>
69
73
  ```
70
74
 
71
75
  ## Data Modeling Example
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Product Design Prototype"
3
3
  short_description: "UI flow and state design before API draft"
4
- default_prompt: "Use $product-design-prototype to turn a PRD baseline into interaction design assets before PRD calibration."
4
+ default_prompt: "Use $product-design-prototype to turn a Spec baseline into interaction design assets before Spec calibration."
@@ -36,7 +36,7 @@ The right shape depends on the question:
36
36
 
37
37
  Pick whichever shape best fits the question being asked, *not* whichever is easiest to wire to a TUI. Keep it pure: no I/O, no terminal code, no `console.log` for control flow. The TUI imports it and calls into it; nothing flows the other direction.
38
38
 
39
- This is what makes the prototype useful past its own lifetime. When the question's been answered, the validated reducer / machine / function set can be lifted into the real module — the TUI shell gets deleted.
39
+ This is what makes the prototype useful past its own lifetime: when the question's been answered, the validated reducer / machine / function set can be lifted into the real module on its own.
40
40
 
41
41
  ### 4. Build the smallest TUI that exposes the state
42
42
 
@@ -66,9 +66,9 @@ If the host project has no task runner, just put the command at the top of the p
66
66
 
67
67
  Give the user the run command. They'll drive it themselves; the interesting moments are when they say "wait, that shouldn't be possible" or "huh, I assumed X would be different" — those are the bugs in the _idea_, which is the whole point. If they want new actions added, add them. Prototypes evolve.
68
68
 
69
- ### 7. Capture the answer
69
+ ### 7. Capture the answer and the prototype
70
70
 
71
- When the prototype has done its job, the answer to the question is the only thing worth keeping. If the user is around, ask what it taught them. If not, leave a `NOTES.md` next to the prototype so the answer can be filled in (or filled in by you, if you've watched the session) before the prototype gets deleted.
71
+ Once the prototype has answered its question, capture the answer, then capture the prototype the way the [SKILL](SKILL.md) describes. The logic-specific mapping: the validated reducer / machine / function set lifts into the real module (the decision, absorbed); the TUI shell rides along to the throwaway branch that keeps the prototype as a primary source.
72
72
 
73
73
  ## Anti-patterns
74
74
 
@@ -21,10 +21,6 @@ The two branches produce very different artifacts — getting this wrong wastes
21
21
  1. **Throwaway from day one, and clearly marked as such.** Locate the prototype code close to where it will actually be used (next to the module or page it's prototyping for) so context is obvious — but name it so a casual reader can see it's a prototype, not production. For throwaway UI routes, obey whatever routing convention the project already uses; don't invent a new top-level structure.
22
22
  2. **One command to run.** Whatever the project's existing task runner supports — `pnpm <name>`, `python <path>`, `bun <path>`, etc. The user must be able to start it without thinking.
23
23
  3. **No persistence by default.** State lives in memory. Persistence is the thing the prototype is _checking_, not something it should depend on. If the question explicitly involves a database, hit a scratch DB or a local file with a clear "PROTOTYPE — wipe me" name.
24
- 4. **Skip the polish.** No tests, no error handling beyond what makes the prototype _runnable_, no abstractions. The point is to learn something fast and then delete it.
24
+ 4. **Skip the polish.** No tests, no error handling beyond what makes the prototype _runnable_, no abstractions. The point is to learn something fast.
25
25
  5. **Surface the state.** After every action (logic) or on every variant switch (UI), print or render the full relevant state so the user can see what changed.
26
- 6. **Delete or absorb when done.** When the prototype has answered its question, either delete it or fold the validated decision into the real code — don't leave it rotting in the repo.
27
-
28
- ## When done
29
-
30
- The _answer_ is the only thing worth keeping from a prototype. Capture it somewhere durable (commit message, ADR, issue, or a `NOTES.md` next to the prototype) along with the question it was answering. If the user is around, that capture is a quick conversation; if not, leave the placeholder so they (or you, on the next pass) can fill in the verdict before deleting the prototype.
26
+ 6. **Capture it when done.** Fold any validated decision into the real code, then capture the prototype itself as a **primary source**: commit it to a throwaway branch, out of main, and leave a context pointer to that branch on the implementation issue. Capture the answer too — the verdict and the question it settled — in the issue or a commit. The main branch keeps only the validated decision.
@@ -97,12 +97,12 @@ Surface the URL (and the `?variant=` keys). The user will flip through whenever
97
97
 
98
98
  ### 6. Capture the answer and clean up
99
99
 
100
- Once a variant has won, write down which one and why (commit message, ADR, issue, or a `NOTES.md` next to the prototype if running AFK and the user hasn't responded yet). Then:
100
+ Once a variant has won, capture the answer — which variant and why — then capture the prototype the way the [SKILL](SKILL.md) describes. Fold the winner into the real code and move the rest onto the throwaway branch, not into main:
101
101
 
102
- - **Sub-shape A** — delete the losing variants and the switcher; fold the winner into the existing page.
103
- - **Sub-shape B** — promote the winning variant to a real route, delete the throwaway route and the switcher.
102
+ - **Sub-shape A** — fold the winner into the existing page; drop the losing variants and the switcher from main.
103
+ - **Sub-shape B** — promote the winning variant to a real route; drop the throwaway route and the switcher from main.
104
104
 
105
- Don't leave variant components or the switcher lying around. They rot fast and confuse the next reader.
105
+ The full set of variants is the primary source, so it lands on the throwaway branch, not the bin — variant components and the switcher left in the main branch rot fast and confuse the next reader.
106
106
 
107
107
  ## Anti-patterns
108
108
 
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Prototype"
3
+ short_description: "Prototype to answer a design question"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: prototype-review
3
- description: Use when reviewing low-fidelity UI design, wireframes, prototype links, interaction specs, or state matrices before high-fidelity HTML prototype work, PRD calibration, OpenAPI Draft, vertical slicing, or implementation.
3
+ description: Use when reviewing low-fidelity UI design, wireframes, prototype links, interaction specs, or state matrices before high-fidelity HTML prototype work, Spec calibration, OpenAPI Draft, vertical slicing, or implementation.
4
4
  ---
5
5
 
6
6
  # Prototype Review
@@ -9,7 +9,7 @@ Use this skill as the low-fidelity gate between product design/prototype work an
9
9
 
10
10
  ## Required Inputs
11
11
 
12
- - PRD baseline or confirmed user stories.
12
+ - Spec baseline or confirmed user stories.
13
13
  - `docs/design/<feature>-interaction-spec.md` or prototype link.
14
14
  - State matrix, preferably based on `docs/design/templates/state-matrix-template.md`.
15
15
  - Existing OpenAPI Draft only if the review is checking alignment; do not require OpenAPI before product design.
@@ -31,10 +31,10 @@ Use this skill as the low-fidelity gate between product design/prototype work an
31
31
 
32
32
  ## Decision Rules
33
33
 
34
- - If a feature has UI impact and lacks page map, user flow, prototype/wireframe, or state matrix, block high-fidelity HTML prototype work, PRD calibration, and OpenAPI Draft.
34
+ - If a feature has UI impact and lacks page map, user flow, prototype/wireframe, or state matrix, block high-fidelity HTML prototype work, Spec calibration, and OpenAPI Draft.
35
35
  - If the prototype hides business rules behind generic text such as "校验失败", require field-level errors and recovery behavior.
36
- - If a page shows a user action but the OpenAPI implication list lacks endpoint/non-goal mapping, block high-fidelity HTML prototype work, PRD calibration, or OpenAPI Draft.
37
- - If PRD P0 scope says a user can manage or configure an object but the design only shows read-only data, block until the write path or scope downgrade is explicit.
36
+ - If a page shows a user action but the OpenAPI implication list lacks endpoint/non-goal mapping, block high-fidelity HTML prototype work, Spec calibration, or OpenAPI Draft.
37
+ - If Spec P0 scope says a user can manage or configure an object but the design only shows read-only data, block until the write path or scope downgrade is explicit.
38
38
  - If a state is intentionally out of scope, record why and who owns the decision.
39
39
  - If implementation dependencies are unclear, route to `yss-router` only after the prototype passes this review.
40
40
 
@@ -53,7 +53,7 @@ Use this skill as the low-fidelity gate between product design/prototype work an
53
53
  ### OpenAPI Draft Readiness
54
54
  - <paths, fields, errors, permissions, pagination/YSS wrappers, action mappings, rule sources, concurrency notes>
55
55
 
56
- ### PRD Calibration Readiness
56
+ ### Spec Calibration Readiness
57
57
  - <requirements gaps, acceptance criteria updates, non-goals, pending decisions>
58
58
 
59
59
  ### Frontend Prototype Readiness
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Prototype Review"
3
- short_description: "Gate UI prototypes before PRD calibration"
4
- default_prompt: "Use $prototype-review to review prototype readiness before PRD calibration and OpenAPI Draft."
3
+ short_description: "Gate UI prototypes before Spec calibration"
4
+ default_prompt: "Use $prototype-review to review prototype readiness before Spec calibration and OpenAPI Draft."
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Research"
3
+ short_description: "Research from high-trust sources"
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Resolving Merge Conflicts"
3
+ short_description: "Resolve merge and rebase conflicts"
@@ -8,7 +8,7 @@ disable-model-invocation: true
8
8
 
9
9
  Scaffold the per-repo configuration that the engineering skills assume:
10
10
 
11
- - **Issue tracker** — where issues live (GitHub by default; local markdown is also supported out of the box)
11
+ - **Ticket tracker** — where Tickets live (GitHub by default; local markdown is also supported out of the box)
12
12
  - **Triage labels** — the strings used for the five canonical triage roles
13
13
  - **Domain docs** — where `CONTEXT.md` and ADRs live, and the consumer rules for reading them
14
14
 
@@ -26,16 +26,18 @@ Look at the current repo to understand its starting state. Read whatever exists;
26
26
  - `docs/adr/` and any `src/*/docs/adr/` directories
27
27
  - `docs/agents/` — does this skill's prior output already exist?
28
28
  - `.scratch/` — sign that a local-markdown issue tracker convention is already in use
29
+ - Is the `triage` skill installed? (a `triage` skill folder alongside this one, or `triage` in your available skills.) This decides whether Section B runs at all.
30
+ - Monorepo signals — a `pnpm-workspace.yaml`, a `workspaces` field in `package.json`, or a populated `packages/*` with its own `src/`. Present only in a genuinely large multi-package repo; their absence means single-context, which is almost every repo.
29
31
 
30
32
  ### 2. Present findings and ask
31
33
 
32
- Summarise what's present and what's missing. Then walk the user through the three decisions **one at a time** — present a section, get the user's answer, then move to the next. Don't dump all three at once.
34
+ Summarise what's present and what's missing. Then take the sections in order — one section, one answer, then the next.
33
35
 
34
- Assume the user does not know what these terms mean. Each section starts with a short explainer (what it is, why these skills need it, what changes if they pick differently). Then show the choices and the default.
36
+ Lead each section with the recommended answer so the user can accept it in a word. Give a one-line explainer only when the choice genuinely branches; skip the section entirely when exploration already settled it (Section B when `triage` isn't installed, Section C when there's no monorepo).
35
37
 
36
- **Section A — Issue tracker.**
38
+ **Section A — Ticket tracker.**
37
39
 
38
- > Explainer: The "issue tracker" is where issues live for this repo. Skills like `to-issues`, `triage`, `to-prd`, and `qa` read from and write to it — they need to know whether to call `gh issue create`, write a markdown file under `.scratch/`, or follow some other workflow you describe. Pick the place you actually track work for this repo.
40
+ > Explainer: The "issue tracker" is where issues live for this repo. Skills like `to-tickets`, `triage`, `to-spec`, and `qa` read from and write to it — they need to know whether to call `gh issue create`, write a markdown file under `.scratch/`, or follow some other workflow you describe. Pick the place you actually track work for this repo.
39
41
 
40
42
  Default posture: these skills were designed for GitHub. If a `git remote` points at GitHub, propose that. If a `git remote` points at GitLab (`gitlab.com` or a self-hosted host), propose GitLab. Otherwise (or if the user prefers), offer:
41
43
 
@@ -44,41 +46,26 @@ Default posture: these skills were designed for GitHub. If a `git remote` points
44
46
  - **Local markdown** — issues live as files under `.scratch/<feature>/` in this repo (good for solo projects or repos without a remote)
45
47
  - **Other** (Jira, Linear, etc.) — ask the user to describe the workflow in one paragraph; the skill will record it as freeform prose
46
48
 
47
- If — and only if — the user picked **GitHub** or **GitLab**, ask one follow-up:
49
+ Record the choice in `docs/agents/issue-tracker.md`. The GitHub and GitLab templates carry a "PRs as a request surface" flag, defaulted **off** — leave it off and don't raise it; a user who wants external PRs in the triage queue can flip the flag in the file later.
48
50
 
49
- > Explainer: Open-source repos often receive feature requests as pull requests, not just issues — a PR is an issue with attached code. If you turn this on, `/triage` pulls *external* PRs into the same queue and runs them through the same labels and states as issues (collaborators' in-flight PRs are left alone). Leave it off if PRs aren't a request surface for you.
51
+ **Section B — Triage label vocabulary.** Skip this section entirely if the `triage` skill isn't installed (exploration told you) — an uninstalled skill needs no labels.
50
52
 
51
- - **PRs as a request surface** — yes / no (default: no). Record the answer in `docs/agents/issue-tracker.md`. For local-markdown and other trackers, skip this question — there are no PRs.
53
+ If it is installed, ask exactly one question:
52
54
 
53
- **Section B — Triage label vocabulary.**
55
+ > Do you want to keep the default triage labels? (recommended: **yes**)
54
56
 
55
- > Explainer: When the `triage` skill processes an incoming issue, it moves it through a state machine — needs evaluation, waiting on reporter, ready for an AFK agent to pick up, ready for a human, or won't fix. To do that, it needs to apply labels (or the equivalent in your issue tracker) that match strings *you've actually configured*. If your repo already uses different label names (e.g. `bug:triage` instead of `needs-triage`), map them here so the skill applies the right ones instead of creating duplicates.
57
+ The defaults are the five canonical roles, each label string equal to its name: `needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`. On **yes**, write them as-is. Only if the user says no — usually because their tracker already uses other names (e.g. `bug:triage` for `needs-triage`) — collect the overrides so `triage` applies existing labels instead of creating duplicates.
56
58
 
57
- The five canonical roles:
59
+ **Section C — Domain docs.** Default to **single-context** — one `CONTEXT.md` + `docs/adr/` at the repo root. This fits almost every repo; write it without asking.
58
60
 
59
- - `needs-triage` — maintainer needs to evaluate
60
- - `needs-info` — waiting on reporter
61
- - `ready-for-agent` — fully specified, AFK-ready (an agent can pick it up with no human context)
62
- - `ready-for-human` — needs human implementation
63
- - `wontfix` — will not be actioned
64
-
65
- Default: each role's string equals its name. Ask the user if they want to override any. If their issue tracker has no existing labels, the defaults are fine.
66
-
67
- **Section C — Domain docs.**
68
-
69
- > Explainer: Some skills (`improve-codebase-architecture`, `diagnosing-bugs`, `tdd`) read a `CONTEXT.md` file to learn the project's domain language, and `docs/adr/` for past architectural decisions. They need to know whether the repo has one global context or multiple (e.g. a monorepo with separate frontend/backend contexts) so they look in the right place.
70
-
71
- Confirm the layout:
72
-
73
- - **Single-context** — one `CONTEXT.md` + `docs/adr/` at the repo root. Most repos are this.
74
- - **Multi-context** — `CONTEXT-MAP.md` at the root pointing to per-context `CONTEXT.md` files (typically a monorepo).
61
+ Offer **multi-context** — a root `CONTEXT-MAP.md` pointing to per-context `CONTEXT.md` files — only when exploration found monorepo signals. Then confirm which layout they want.
75
62
 
76
63
  ### 3. Confirm and edit
77
64
 
78
65
  Show the user a draft of:
79
66
 
80
67
  - The `## Agent skills` block to add to whichever of `CLAUDE.md` / `AGENTS.md` is being edited (see step 4 for selection rules)
81
- - The contents of `docs/agents/issue-tracker.md`, `docs/agents/triage-labels.md`, `docs/agents/domain.md`
68
+ - The contents of `docs/agents/issue-tracker.md`, `docs/agents/domain.md`, and `docs/agents/triage-labels.md` (the last only when `triage` is installed)
82
69
 
83
70
  Let them edit before writing.
84
71
 
@@ -99,9 +86,9 @@ The block:
99
86
  ```markdown
100
87
  ## Agent skills
101
88
 
102
- ### Issue tracker
89
+ ### Ticket tracker
103
90
 
104
- [one-line summary of where issues are tracked, plus whether external PRs are a triage surface]. See `docs/agents/issue-tracker.md`.
91
+ [one-line summary of where issues are tracked]. See `docs/agents/issue-tracker.md`.
105
92
 
106
93
  ### Triage labels
107
94
 
@@ -112,12 +99,14 @@ The block:
112
99
  [one-line summary of layout — "single-context" or "multi-context"]. See `docs/agents/domain.md`.
113
100
  ```
114
101
 
115
- Then write the three docs files using the seed templates in this skill folder as a starting point:
102
+ Include the `### Triage labels` sub-block, and write `docs/agents/triage-labels.md`, only when `triage` is installed and Section B ran. When it isn't, both are omitted.
103
+
104
+ Then write the docs files using the seed templates in this skill folder as a starting point:
116
105
 
117
106
  - [issue-tracker-github.md](./issue-tracker-github.md) — GitHub issue tracker
118
107
  - [issue-tracker-gitlab.md](./issue-tracker-gitlab.md) — GitLab issue tracker
119
108
  - [issue-tracker-local.md](./issue-tracker-local.md) — local-markdown issue tracker
120
- - [triage-labels.md](./triage-labels.md) — label mapping
109
+ - [triage-labels.md](./triage-labels.md) — label mapping (only if `triage` is installed)
121
110
  - [domain.md](./domain.md) — domain doc consumer rules + layout
122
111
 
123
112
  For "other" issue trackers, write `docs/agents/issue-tracker.md` from scratch using the user's description.
@@ -0,0 +1,5 @@
1
+ interface:
2
+ display_name: "Setup Matt Pocock Skills"
3
+ short_description: "Configure a repo for the skills"
4
+ policy:
5
+ allow_implicit_invocation: false
@@ -1,6 +1,6 @@
1
- # Issue tracker: GitHub
1
+ # Ticket tracker: GitHub
2
2
 
3
- Issues and PRDs for this repo live as GitHub issues. Use the `gh` CLI for all operations.
3
+ Tickets and Specs for this repo live as GitHub Issues. Use the `gh` CLI for all operations.
4
4
 
5
5
  ## Conventions
6
6
 
@@ -1,6 +1,6 @@
1
- # Issue tracker: GitLab
1
+ # Ticket tracker: GitLab
2
2
 
3
- Issues and PRDs for this repo live as GitLab issues. Use the [`glab`](https://gitlab.com/gitlab-org/cli) CLI for all operations.
3
+ Tickets and Specs for this repo live as GitLab Issues. Use the [`glab`](https://gitlab.com/gitlab-org/cli) CLI for all operations.
4
4
 
5
5
  ## Conventions
6
6
 
@@ -1,12 +1,12 @@
1
- # Issue tracker: Local Markdown
1
+ # Ticket tracker: Local Markdown
2
2
 
3
- Issues and PRDs for this repo live as markdown files in `.scratch/`.
3
+ Tickets and Specs for this repo live as markdown files in `.scratch/`.
4
4
 
5
5
  ## Conventions
6
6
 
7
7
  - One feature per directory: `.scratch/<feature-slug>/`
8
- - The PRD is `.scratch/<feature-slug>/PRD.md`
9
- - Implementation issues are `.scratch/<feature-slug>/issues/<NN>-<slug>.md`, numbered from `01`
8
+ - The spec is `.scratch/<feature-slug>/spec.md`
9
+ - Implementation tickets are one file per ticket at `.scratch/<feature-slug>/tickets/<NN>-<slug>.md`, numbered from `01` — never a single combined tickets file
10
10
  - Triage state is recorded as a `Status:` line near the top of each issue file (see `triage-labels.md` for the role strings)
11
11
  - Comments and conversation history append to the bottom of the file under a `## Comments` heading
12
12
 
@@ -23,8 +23,8 @@ Read the file at the referenced path. The user will normally pass the path or th
23
23
  Used by `/wayfinder`. The **map** is a file with one **child** file per ticket.
24
24
 
25
25
  - **Map**: `.scratch/<effort>/map.md` — the Notes / Decisions-so-far / Fog body.
26
- - **Child ticket**: `.scratch/<effort>/issues/NN-<slug>.md`, numbered from `01`, with the question in the body. A `Type:` line records the ticket type (`research`/`prototype`/`grilling`/`task`); a `Status:` line records `claimed`/`resolved`.
26
+ - **Child ticket**: `.scratch/<effort>/tickets/NN-<slug>.md`, numbered from `01`, with the question in the body. A `Type:` line records the ticket type (`research`/`prototype`/`grilling`/`task`); a `Status:` line records `claimed`/`resolved`.
27
27
  - **Blocking**: a `Blocked by: NN, NN` line near the top. A ticket is unblocked when every file it lists is `resolved`.
28
- - **Frontier**: scan `.scratch/<effort>/issues/` for files that are open, unblocked, and unclaimed; first by number wins.
28
+ - **Frontier**: scan `.scratch/<effort>/tickets/` for files that are open, unblocked, and unclaimed; first by number wins.
29
29
  - **Claim**: set `Status: claimed` and save before any work.
30
30
  - **Resolve**: append the answer under an `## Answer` heading, set `Status: resolved`, then append a context pointer (gist + link) to the map's Decisions-so-far in `map.md`.
@@ -6,8 +6,8 @@ The skills speak in terms of five canonical triage roles. This file maps those r
6
6
  | -------------------------- | -------------------- | ---------------------------------------- |
7
7
  | `needs-triage` | `needs-triage` | Maintainer needs to evaluate this issue |
8
8
  | `needs-info` | `needs-info` | Waiting on reporter for more information |
9
- | `ready-for-agent` | `ready-for-agent` | Fully specified, ready for an AFK agent |
10
- | `ready-for-human` | `ready-for-human` | Requires human implementation |
9
+ | `ready-for-agent` | `ready-for-agent` | Unblocked vertical-slice ticket whose required gates passed |
10
+ | `ready-for-human` | `ready-for-human` | Spec, design, draft contract, or other item needing human judgment or access |
11
11
  | `wontfix` | `wontfix` | Will not be actioned |
12
12
 
13
13
  When a skill mentions a role (e.g. "apply the AFK-ready triage label"), use the corresponding label string from this table.
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "TDD"
3
+ short_description: "Test-driven red-green-refactor"