cc-codeconductor 1.1.0 → 1.3.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 (355) hide show
  1. package/README.md +34 -12
  2. package/dist/core/config/codeconductor-config.d.ts +2 -1
  3. package/dist/core/presets/package-paths.d.ts +1 -0
  4. package/dist/core/runner/runner-target.d.ts +32 -0
  5. package/dist/core/verification/verification-runner.d.ts +7 -0
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +2934 -761
  8. package/dist/library.js +103 -14
  9. package/dist/validation/schemas.d.ts +294 -61
  10. package/package.json +4 -1
  11. package/presets/agy/AGENTS.md +11 -10
  12. package/presets/agy/hooks.json +3 -3
  13. package/presets/agy/scripts/invoke-hook.cjs +119 -0
  14. package/presets/agy/skills/backlog/SKILL.md +40 -70
  15. package/presets/agy/skills/cc-spec-mutation/SKILL.md +165 -0
  16. package/presets/agy/skills/cc-tdd-cycle/SKILL.md +3 -0
  17. package/presets/agy/skills/evaluation/SKILL.md +61 -2
  18. package/presets/agy/skills/openspec/SKILL.md +49 -19
  19. package/presets/agy/skills/testing-tdd/SKILL.md +53 -0
  20. package/presets/agy/skills/using-cc-skills/SKILL.md +48 -0
  21. package/presets/agy/workflows/cc-api-contract.md +18 -0
  22. package/presets/agy/workflows/cc-ask.md +10 -10
  23. package/presets/agy/workflows/cc-council.md +4 -0
  24. package/presets/agy/workflows/cc-db-migration.md +18 -0
  25. package/presets/agy/workflows/cc-explore.md +2 -2
  26. package/presets/agy/workflows/cc-feature.md +22 -0
  27. package/presets/agy/workflows/cc-fix.md +18 -0
  28. package/presets/agy/workflows/cc-handoff.md +1 -1
  29. package/presets/agy/workflows/cc-iterative.md +14 -0
  30. package/presets/agy/workflows/cc-openspec.md +14 -0
  31. package/presets/agy/workflows/cc-prototype.md +1 -1
  32. package/presets/agy/workflows/cc-refactor.md +5 -1
  33. package/presets/agy/workflows/cc-review.md +5 -1
  34. package/presets/agy/workflows/cc-scorecard.md +2 -0
  35. package/presets/agy/workflows/cc-security.md +4 -0
  36. package/presets/agy/workflows/cc-spec-mutation.md +195 -0
  37. package/presets/agy/workflows/cc-tdd-cycle.md +15 -1
  38. package/presets/agy/workflows/cc-test-plan.md +5 -1
  39. package/presets/claude/commands/cc/api-contract.md +19 -1
  40. package/presets/claude/commands/cc/ask.md +1 -1
  41. package/presets/claude/commands/cc/backlog.md +1 -1
  42. package/presets/claude/commands/cc/clarify.md +1 -1
  43. package/presets/claude/commands/cc/council.md +4 -0
  44. package/presets/claude/commands/cc/db-migration.md +19 -1
  45. package/presets/claude/commands/cc/explore.md +1 -1
  46. package/presets/claude/commands/cc/feature.md +23 -1
  47. package/presets/claude/commands/cc/fix.md +22 -1
  48. package/presets/claude/commands/cc/handoff.md +1 -1
  49. package/presets/claude/commands/cc/iterative.md +15 -1
  50. package/presets/claude/commands/cc/openspec.md +15 -1
  51. package/presets/claude/commands/cc/prototype.md +1 -1
  52. package/presets/claude/commands/cc/refactor.md +5 -1
  53. package/presets/claude/commands/cc/review.md +8 -1
  54. package/presets/claude/commands/cc/scorecard.md +3 -1
  55. package/presets/claude/commands/cc/security.md +5 -1
  56. package/presets/claude/commands/cc/spec-mutation.md +194 -0
  57. package/presets/claude/commands/cc/tdd-cycle.md +18 -1
  58. package/presets/claude/commands/cc/test-plan.md +5 -1
  59. package/presets/claude/commands/cc/triage.md +1 -1
  60. package/presets/claude/settings.json +13 -11
  61. package/presets/claude/skills/android/SKILL.md +0 -1
  62. package/presets/claude/skills/api-versioning/SKILL.md +0 -1
  63. package/presets/claude/skills/backlog/SKILL.md +40 -70
  64. package/presets/claude/skills/django-orm/SKILL.md +0 -1
  65. package/presets/claude/skills/django-testing/SKILL.md +0 -1
  66. package/presets/claude/skills/evaluation/SKILL.md +47 -24
  67. package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
  68. package/presets/claude/skills/openspec/SKILL.md +46 -38
  69. package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
  70. package/presets/claude/skills/python/SKILL.md +0 -1
  71. package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
  72. package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
  73. package/presets/claude/skills/security/SKILL.md +0 -1
  74. package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
  75. package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
  76. package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
  77. package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
  78. package/presets/claude/skills/testing-tdd/SKILL.md +53 -0
  79. package/presets/claude/skills/using-cc-skills/SKILL.md +48 -0
  80. package/presets/codex/AGENTS.md +19 -14
  81. package/presets/codex/commands/cc-ask.md +10 -10
  82. package/presets/codex/skills/android/SKILL.md +0 -1
  83. package/presets/codex/skills/api-versioning/SKILL.md +0 -1
  84. package/presets/codex/skills/backlog/SKILL.md +61 -0
  85. package/presets/codex/skills/cc-api-contract/SKILL.md +91 -0
  86. package/presets/codex/skills/cc-backlog/SKILL.md +108 -0
  87. package/presets/codex/skills/cc-clarify/SKILL.md +36 -0
  88. package/presets/codex/skills/cc-council/SKILL.md +96 -0
  89. package/presets/codex/skills/cc-db-migration/SKILL.md +92 -0
  90. package/presets/codex/skills/cc-explore/SKILL.md +40 -0
  91. package/presets/codex/skills/cc-feature/SKILL.md +162 -0
  92. package/presets/codex/skills/cc-fix/SKILL.md +172 -0
  93. package/presets/codex/skills/cc-handoff/SKILL.md +45 -0
  94. package/presets/codex/skills/cc-iterative/SKILL.md +150 -0
  95. package/presets/codex/skills/cc-openspec/SKILL.md +191 -0
  96. package/presets/codex/skills/cc-pagespeed/SKILL.md +124 -0
  97. package/presets/codex/skills/cc-prototype/SKILL.md +42 -0
  98. package/presets/codex/skills/cc-refactor/SKILL.md +167 -0
  99. package/presets/codex/skills/cc-review/SKILL.md +156 -0
  100. package/presets/codex/skills/cc-scorecard/SKILL.md +82 -0
  101. package/presets/codex/skills/cc-security/SKILL.md +186 -0
  102. package/presets/codex/skills/cc-spec-mutation/SKILL.md +196 -0
  103. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +266 -0
  104. package/presets/codex/skills/cc-test-plan/SKILL.md +157 -0
  105. package/presets/codex/skills/cc-triage/SKILL.md +38 -0
  106. package/presets/codex/skills/django-orm/SKILL.md +0 -1
  107. package/presets/codex/skills/django-testing/SKILL.md +0 -1
  108. package/presets/codex/skills/evaluation/SKILL.md +65 -0
  109. package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
  110. package/presets/codex/skills/openspec/SKILL.md +66 -0
  111. package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
  112. package/presets/codex/skills/python/SKILL.md +0 -1
  113. package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
  114. package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
  115. package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
  116. package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
  117. package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
  118. package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
  119. package/presets/codex/skills/testing-tdd/SKILL.md +53 -0
  120. package/presets/codex/skills/using-cc-skills/SKILL.md +48 -0
  121. package/presets/cursor/agents/architect.md +1 -1
  122. package/presets/cursor/agents/complexity-auditor.md +1 -1
  123. package/presets/cursor/agents/contract-builder.md +1 -1
  124. package/presets/cursor/agents/docs.md +1 -1
  125. package/presets/cursor/agents/goal-planner.md +1 -1
  126. package/presets/cursor/agents/implementer.md +2 -2
  127. package/presets/cursor/agents/orchestrator.md +3 -3
  128. package/presets/cursor/agents/reviewer.md +4 -4
  129. package/presets/cursor/agents/security-reviewer.md +1 -1
  130. package/presets/cursor/agents/task-coach.md +1 -1
  131. package/presets/cursor/agents/tester.md +1 -1
  132. package/presets/cursor/commands/cc/api-contract.md +19 -1
  133. package/presets/cursor/commands/cc/ask.md +1 -1
  134. package/presets/cursor/commands/cc/backlog.md +1 -1
  135. package/presets/cursor/commands/cc/clarify.md +1 -1
  136. package/presets/cursor/commands/cc/council.md +4 -0
  137. package/presets/cursor/commands/cc/db-migration.md +19 -1
  138. package/presets/cursor/commands/cc/explore.md +1 -1
  139. package/presets/cursor/commands/cc/feature.md +23 -1
  140. package/presets/cursor/commands/cc/fix.md +22 -1
  141. package/presets/cursor/commands/cc/handoff.md +1 -1
  142. package/presets/cursor/commands/cc/iterative.md +15 -1
  143. package/presets/cursor/commands/cc/openspec.md +15 -1
  144. package/presets/cursor/commands/cc/prototype.md +1 -1
  145. package/presets/cursor/commands/cc/refactor.md +5 -1
  146. package/presets/cursor/commands/cc/review.md +5 -1
  147. package/presets/cursor/commands/cc/scorecard.md +3 -1
  148. package/presets/cursor/commands/cc/security.md +5 -1
  149. package/presets/cursor/commands/cc/spec-mutation.md +194 -0
  150. package/presets/cursor/commands/cc/tdd-cycle.md +15 -1
  151. package/presets/cursor/commands/cc/test-plan.md +5 -1
  152. package/presets/cursor/commands/cc/triage.md +1 -1
  153. package/presets/cursor/skills/android/SKILL.md +0 -1
  154. package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
  155. package/presets/cursor/skills/astro/SKILL.md +0 -1
  156. package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
  157. package/presets/cursor/skills/backlog/SKILL.md +40 -70
  158. package/presets/cursor/skills/code-review/SKILL.md +0 -1
  159. package/presets/cursor/skills/django-orm/SKILL.md +0 -1
  160. package/presets/cursor/skills/django-testing/SKILL.md +0 -1
  161. package/presets/cursor/skills/django-uv/SKILL.md +0 -1
  162. package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
  163. package/presets/cursor/skills/evaluation/SKILL.md +61 -4
  164. package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  165. package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
  166. package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
  167. package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
  168. package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
  169. package/presets/cursor/skills/openspec/SKILL.md +46 -36
  170. package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
  171. package/presets/cursor/skills/python/SKILL.md +0 -1
  172. package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
  173. package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
  174. package/presets/cursor/skills/security/SKILL.md +0 -1
  175. package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
  176. package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
  177. package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
  178. package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
  179. package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  180. package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
  181. package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  182. package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
  183. package/presets/cursor/skills/testing-tdd/SKILL.md +35 -574
  184. package/presets/cursor/skills/using-cc-skills/SKILL.md +48 -0
  185. package/presets/gemini/GEMINI.md +38 -0
  186. package/presets/gemini/commands/cc/api-contract.toml +86 -0
  187. package/presets/gemini/commands/cc/ask.toml +54 -0
  188. package/presets/gemini/commands/cc/backlog.toml +103 -0
  189. package/presets/gemini/commands/cc/clarify.toml +31 -0
  190. package/presets/gemini/commands/cc/council.toml +91 -0
  191. package/presets/gemini/commands/cc/db-migration.toml +87 -0
  192. package/presets/gemini/commands/cc/explore.toml +35 -0
  193. package/presets/gemini/commands/cc/feature.toml +157 -0
  194. package/presets/gemini/commands/cc/fix.toml +167 -0
  195. package/presets/gemini/commands/cc/handoff.toml +40 -0
  196. package/presets/gemini/commands/cc/iterative.toml +145 -0
  197. package/presets/gemini/commands/cc/openspec.toml +186 -0
  198. package/presets/gemini/commands/cc/pagespeed.toml +119 -0
  199. package/presets/gemini/commands/cc/prototype.toml +37 -0
  200. package/presets/gemini/commands/cc/refactor.toml +162 -0
  201. package/presets/gemini/commands/cc/review.toml +151 -0
  202. package/presets/gemini/commands/cc/scorecard.toml +77 -0
  203. package/presets/gemini/commands/cc/security.toml +181 -0
  204. package/presets/gemini/commands/cc/spec-mutation.toml +191 -0
  205. package/presets/gemini/commands/cc/tdd-cycle.toml +261 -0
  206. package/presets/gemini/commands/cc/test-plan.toml +152 -0
  207. package/presets/gemini/commands/cc/triage.toml +33 -0
  208. package/presets/gemini/settings.json +3 -0
  209. package/presets/opencode/README.md +24 -21
  210. package/presets/opencode/agents/architect.md +6 -0
  211. package/presets/opencode/agents/docs.md +1 -1
  212. package/presets/opencode/agents/implementer.md +7 -0
  213. package/presets/opencode/agents/reviewer.md +7 -1
  214. package/presets/opencode/agents/tester.md +6 -0
  215. package/presets/opencode/commands/cc-api-contract.md +18 -0
  216. package/presets/opencode/commands/cc-ask.md +10 -10
  217. package/presets/opencode/commands/cc-council.md +4 -0
  218. package/presets/opencode/commands/cc-db-migration.md +18 -0
  219. package/presets/opencode/commands/cc-explore.md +2 -2
  220. package/presets/opencode/commands/cc-feature.md +22 -0
  221. package/presets/opencode/commands/cc-fix.md +21 -0
  222. package/presets/opencode/commands/cc-handoff.md +1 -1
  223. package/presets/opencode/commands/cc-iterative.md +14 -0
  224. package/presets/opencode/commands/cc-openspec.md +14 -0
  225. package/presets/opencode/commands/cc-prototype.md +1 -1
  226. package/presets/opencode/commands/cc-refactor.md +5 -1
  227. package/presets/opencode/commands/cc-review.md +5 -1
  228. package/presets/opencode/commands/cc-scorecard.md +2 -0
  229. package/presets/opencode/commands/cc-security.md +4 -0
  230. package/presets/opencode/commands/cc-spec-mutation.md +194 -0
  231. package/presets/opencode/commands/cc-tdd-cycle.md +15 -1
  232. package/presets/opencode/commands/cc-test-plan.md +5 -1
  233. package/presets/opencode/opencode.jsonc +1 -1
  234. package/presets/opencode/prompts/v1.0.0/README.md +1 -1
  235. package/presets/opencode/prompts/v1.0.0/architect.md +6 -0
  236. package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
  237. package/presets/opencode/prompts/v1.0.0/implementer.md +7 -0
  238. package/presets/opencode/prompts/v1.0.0/reviewer.md +7 -1
  239. package/presets/opencode/prompts/v1.0.0/tester.md +6 -0
  240. package/presets/opencode/skills/android/SKILL.md +0 -1
  241. package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
  242. package/presets/opencode/skills/astro/SKILL.md +0 -1
  243. package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
  244. package/presets/opencode/skills/backlog/SKILL.md +40 -70
  245. package/presets/opencode/skills/code-review/SKILL.md +0 -1
  246. package/presets/opencode/skills/django-orm/SKILL.md +0 -1
  247. package/presets/opencode/skills/django-testing/SKILL.md +0 -1
  248. package/presets/opencode/skills/django-uv/SKILL.md +0 -1
  249. package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
  250. package/presets/opencode/skills/evaluation/SKILL.md +61 -2
  251. package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  252. package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
  253. package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
  254. package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
  255. package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
  256. package/presets/opencode/skills/openspec/SKILL.md +46 -34
  257. package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
  258. package/presets/opencode/skills/python/SKILL.md +0 -1
  259. package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
  260. package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
  261. package/presets/opencode/skills/security/SKILL.md +0 -1
  262. package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
  263. package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
  264. package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
  265. package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
  266. package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  267. package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
  268. package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  269. package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
  270. package/presets/opencode/skills/testing-tdd/SKILL.md +35 -574
  271. package/presets/opencode/skills/using-cc-skills/SKILL.md +48 -0
  272. package/presets/pi/AGENTS.md +43 -0
  273. package/presets/pi/settings.json +3 -0
  274. package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
  275. package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
  276. package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
  277. package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
  278. package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
  279. package/presets/shared/invoke-hook.cjs +119 -0
  280. package/presets/shared/mutation_runner.py +273 -0
  281. package/src/presets/council/council.yml +12 -9
  282. package/src/presets/manifests/agy.yml +3 -1
  283. package/src/presets/manifests/claude.yml +3 -0
  284. package/src/presets/manifests/gemini.yml +15 -0
  285. package/src/presets/manifests/pi.yml +25 -0
  286. package/src/presets/models/agy.yml +2 -128
  287. package/src/presets/models/claude.yml +2 -144
  288. package/src/presets/models/codex.yml +2 -144
  289. package/src/presets/models/cursor.yml +2 -144
  290. package/src/presets/models/gemini.yml +2 -144
  291. package/src/presets/models/opencode.yml +3 -101
  292. package/src/presets/models/pi.yml +5 -0
  293. package/src/presets/models/roles.yml +193 -0
  294. package/src/presets/shared-skills.yml +64 -0
  295. package/src/presets/targets/agy.yml +11 -0
  296. package/src/presets/targets/claude.yml +12 -0
  297. package/src/presets/targets/codex.yml +14 -0
  298. package/src/presets/targets/cursor.yml +11 -0
  299. package/src/presets/targets/gemini.yml +15 -0
  300. package/src/presets/targets/opencode.yml +13 -0
  301. package/src/presets/targets/pi.yml +12 -0
  302. package/presets/agy/scripts/post-tool.sh +0 -25
  303. package/presets/agy/scripts/pre-tool.sh +0 -56
  304. package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
  305. package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
  306. package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
  307. package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
  308. package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
  309. package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
  310. package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
  311. package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
  312. package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
  313. package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
  314. package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
  315. package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
  316. package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
  317. package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
  318. package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
  319. package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
  320. package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
  321. package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
  322. package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
  323. package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
  324. package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
  325. package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
  326. package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
  327. package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
  328. package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
  329. package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
  330. package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
  331. package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
  332. package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
  333. package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
  334. package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
  335. package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
  336. package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
  337. package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
  338. package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
  339. package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
  340. package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
  341. package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
  342. package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
  343. package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
  344. package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
  345. package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
  346. package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
  347. package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
  348. package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
  349. package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
  350. package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
  351. package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
  352. package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
  353. package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
  354. package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
  355. package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
@@ -0,0 +1,266 @@
1
+ ---
2
+ name: cc-tdd-cycle
3
+ description: Run a structured Red-Green-Refactor TDD cycle — write a failing test first, implement the minimum code to pass it, then refactor with the suite green.
4
+ ---
5
+
6
+ # tdd-cycle
7
+
8
+ Invoke as `$cc-tdd-cycle`. The user request follows the skill mention.
9
+
10
+ # TDD Cycle — Red → Green → Refactor
11
+
12
+ Scope: $ARGUMENTS
13
+
14
+ Describe what behavior you want to implement. Include:
15
+
16
+ - The function, method, or feature to implement
17
+ - The expected behavior (inputs and outputs, or acceptance criteria)
18
+ - Any known constraints or edge cases
19
+ - Relevant files or modules (if known)
20
+
21
+ ---
22
+
23
+ ## Step 0 — CCEP Bootstrap
24
+
25
+ Command: `tdd-cycle` (fixed for this workflow — do not infer from user text)
26
+
27
+ 1. Run: `npx cc-codeconductor ccep parse --command tdd-cycle "$ARGUMENTS" --output json`
28
+ 2. Run: `npx cc-codeconductor ccep resolve --command tdd-cycle "$ARGUMENTS" --output json`
29
+ 3. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json`
30
+ 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command tdd-cycle --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
31
+ 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
32
+ Canonical delivery order is test-before-implement whenever both phases apply.
33
+
34
+ ---
35
+
36
+ ## Step 0b — OpenSpec quality gates
37
+
38
+ If `openspec status` reports an active change folder:
39
+
40
+ 1. Run: `npx cc-codeconductor openspec validate --output json`
41
+ 2. Run: `npx cc-codeconductor openspec analyze --output json`
42
+ 3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
43
+ 4. Next command spelling on this runner: `$cc-tdd-cycle`
44
+
45
+ Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
46
+
47
+ ---
48
+
49
+
50
+ ## Before you begin — mandatory pre-check
51
+
52
+ This command enforces strict TDD discipline. The three phases are sequential and
53
+ non-negotiable:
54
+
55
+ 1. **RED** — a failing test exists before any implementation code is written
56
+ 2. **GREEN** — the minimum implementation to make the test pass (no more)
57
+ 3. **REFACTOR** — clean up the code while keeping all tests green
58
+
59
+ Do not write implementation code during RED. Do not refactor during GREEN.
60
+ Mixing phases invalidates the cycle.
61
+
62
+ ## Verifiable phase gates
63
+
64
+ RED → GREEN and GREEN → REFACTOR are enforced by `tddCycleStateMachine` in
65
+ `domain/loop`. Evidence must be captured with `captureTddSuiteEvidence` (verification
66
+ runner) — do not hand-edit JSON under `.codeconductor/evidence/`.
67
+
68
+ - RED→GREEN requires runner evidence that the suite **failed**.
69
+ - GREEN→REFACTOR requires runner evidence that the suite **passed**.
70
+
71
+ Do not advance phases until that evidence exists.
72
+
73
+ ---
74
+
75
+ ## Phase 1 — RED (Tester role)
76
+
77
+ Adopt the `tester` role as defined in `AGENTS.md`.
78
+
79
+ ### 1a — Scope clarification
80
+
81
+ Before writing any test, confirm:
82
+
83
+ - What is the unit of behavior being tested? (function, method, endpoint, domain
84
+ rule)
85
+ - What are the inputs and expected outputs?
86
+ - What are the failure cases?
87
+
88
+ If the scope is ambiguous, ask one clarifying question and wait for the answer.
89
+
90
+ ### 1b — Write the failing test
91
+
92
+ Write a test that:
93
+
94
+ - Targets exactly the behavior described in the scope
95
+ - Fails for the right reason (not a compile error, not a missing dependency —
96
+ the logic does not exist yet)
97
+ - Has a name that describes the behavior: `given_X_when_Y_then_Z` or equivalent
98
+ in the project's test naming convention
99
+ - Covers at minimum: one happy path, one edge case, one failure case
100
+
101
+ Do not write the implementation. Do not make the test pass by any means other
102
+ than the implementation that will follow in Phase 2.
103
+
104
+ ### 1c — Run the test suite and confirm RED
105
+
106
+ Run the test suite. The new test must fail. Existing tests must pass.
107
+
108
+ If the new test passes without implementation, the test is wrong. Fix the test
109
+ before continuing.
110
+
111
+ **RED Phase Report:**
112
+
113
+ ```
114
+ ## RED Phase Report
115
+
116
+ **Test file**: [path/to/test/file]
117
+ **Tests written**:
118
+ - [test name] — [what it verifies]
119
+
120
+ **Suite result**: [X passing, Y failing]
121
+ **New test status**: FAIL ✓
122
+ **Failure reason**: [quoted error or assertion message]
123
+ **Existing tests**: [all passing | N failing — list]
124
+ ```
125
+
126
+ **STOP. Show the RED Phase Report. Do not proceed to GREEN without
127
+ confirmation.**
128
+
129
+ ---
130
+
131
+ ## Phase 2 — GREEN (Implementer role)
132
+
133
+ Adopt the `implementer` role as defined in `AGENTS.md`.
134
+
135
+ ### 2a — Read the failing test before writing any code
136
+
137
+ Understand exactly what the test asserts. Write only the code that satisfies
138
+ that assertion. Nothing more.
139
+
140
+ ### 2b — Implement the minimum
141
+
142
+ Rules for GREEN phase:
143
+
144
+ - Write the smallest amount of code that makes the failing test pass
145
+ - Do not add features not tested
146
+ - Do not clean up or restructure existing code — that is Refactor's job
147
+ - Do not add new tests — that is another RED cycle
148
+ - Hardcoding a return value is acceptable if it makes the test pass (the
149
+ Refactor phase will generalize it)
150
+
151
+ ### 2c — Run the test suite and confirm GREEN
152
+
153
+ Run the test suite. The new test must pass. All previously passing tests must
154
+ still pass.
155
+
156
+ If any previously passing test now fails, you introduced a regression. Fix it
157
+ before continuing.
158
+
159
+ **GREEN Phase Report:**
160
+
161
+ ```
162
+ ## GREEN Phase Report
163
+
164
+ **Files changed**:
165
+ - [path/to/file] — [what was added, one sentence]
166
+
167
+ **Implementation approach**: [one sentence — what the code does]
168
+ **Suite result**: [X passing, Y failing]
169
+ **New test status**: PASS ✓
170
+ **Regressions**: [none | list failing tests]
171
+ ```
172
+
173
+ **STOP. Show the GREEN Phase Report. Do not proceed to REFACTOR without
174
+ confirmation.**
175
+
176
+ ---
177
+
178
+ ## Phase 3 — REFACTOR (Implementer role, then Reviewer role)
179
+
180
+ Adopt the `implementer` role as defined in `AGENTS.md`.
181
+
182
+ ### 3a — Assess what needs cleaning
183
+
184
+ Before touching any code, identify:
185
+
186
+ - Duplication introduced during GREEN
187
+ - Names that do not clearly express intent
188
+ - Abstractions that belong in a separate function or module
189
+ - Logic that is hardcoded and should be generalized
190
+
191
+ Do not invent improvements. Only address what is directly in the implementation
192
+ written in Phase 2.
193
+
194
+ ### 3b — Refactor
195
+
196
+ Rules for REFACTOR phase:
197
+
198
+ - All tests must remain GREEN throughout — run the suite after each change
199
+ - Do not add new behavior
200
+ - Do not add new tests (if you discover untested behavior, note it for a new RED
201
+ cycle)
202
+ - Do not change function signatures unless the original was clearly wrong
203
+
204
+ ### 3c — Run the test suite and confirm GREEN after refactor
205
+
206
+ The full suite must pass. If any test fails during refactor, undo the last
207
+ change and investigate.
208
+
209
+ ### 3d — Review (Reviewer role)
210
+
211
+ Adopt the `reviewer` role as defined in `AGENTS.md`.
212
+
213
+ Review only the refactored code against these axes:
214
+
215
+ | Axis | What to check |
216
+ | ------------- | --------------------------------------------------------------- |
217
+ | Scope | Did the refactor change any behavior? |
218
+ | Correctness | Does the logic still satisfy the original test intent? |
219
+ | Architecture | Does the code follow existing project patterns? |
220
+ | Test coverage | Are all written tests still meaningful (not trivially passing)? |
221
+
222
+ Produce a Review Report. CRITICAL findings block completion.
223
+
224
+ **REFACTOR Phase Report:**
225
+
226
+ ```
227
+ ## REFACTOR Phase Report
228
+
229
+ **Changes made**:
230
+ - [path/to/file] — [what was cleaned up]
231
+
232
+ **Suite result**: [X passing, Y failing]
233
+ **Behavioral changes**: none (refactor only)
234
+
235
+ ### Review findings
236
+ **CRITICAL**: (none) | [list]
237
+ **WARNING**: (none) | [list]
238
+ **SUGGESTION**: (none) | [list]
239
+
240
+ **Verdict**: approved | approved with warnings | blocked
241
+ ```
242
+
243
+ ---
244
+
245
+ ## Completion
246
+
247
+ The TDD cycle is complete when:
248
+
249
+ - RED: at least one failing test was written and confirmed failing
250
+ - GREEN: the minimum implementation makes the test pass
251
+ - REFACTOR: the code is clean, all tests pass, no CRITICAL review findings
252
+
253
+ **Final Summary:**
254
+
255
+ ```
256
+ ## TDD Cycle Summary
257
+
258
+ **Behavior implemented**: [one sentence]
259
+ **Tests written**: [count] — [list test names]
260
+ **Files changed**: [list]
261
+ **Suite result**: [X passing, Y failing]
262
+ **Cycle status**: complete | blocked (reason)
263
+ ```
264
+
265
+ If the behavior requires additional test cases, start a new `/tdd-cycle` with
266
+ the next scenario. One cycle = one behavior.
@@ -0,0 +1,157 @@
1
+ ---
2
+ name: cc-test-plan
3
+ description: Generate a structured test plan for a feature or module — covers unit, integration, contract, and edge cases without writing implementation code.
4
+ ---
5
+
6
+ # test-plan
7
+
8
+ Invoke as `$cc-test-plan`. The user request follows the skill mention.
9
+
10
+ # Test Plan Workflow
11
+
12
+ Scope: $ARGUMENTS
13
+
14
+ Specify what to plan tests for. Examples:
15
+
16
+ - A feature name: `user authentication`
17
+ - A module or file path: `src/orders/OrderService.kt`
18
+ - A Task Card title: `Add paginated product listing endpoint`
19
+ - A PR or branch: `feature/payment-retry`
20
+
21
+ If $ARGUMENTS is empty, describe the scope in your next message before
22
+ proceeding.
23
+
24
+ ---
25
+
26
+ ## Step 0 — CCEP Bootstrap
27
+
28
+ Command: `test-plan` (fixed for this workflow — do not infer from user text)
29
+
30
+ 1. Run: `npx cc-codeconductor ccep parse --command test-plan "$ARGUMENTS" --output json`
31
+ 2. Run: `npx cc-codeconductor ccep resolve --command test-plan "$ARGUMENTS" --output json`
32
+ 3. Run: `npx cc-codeconductor ccep profile test-plan --output json`
33
+ 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command test-plan --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
34
+ 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
35
+
36
+ ---
37
+
38
+ ## Step 1 — Scope confirmation
39
+
40
+ Before generating the test plan, confirm the scope is well-defined.
41
+
42
+ A valid scope includes:
43
+
44
+ - The behavior or module under test
45
+ - The acceptance criteria or expected behavior (from the Task Card if available)
46
+ - Known edge cases or failure modes
47
+
48
+ If the scope is vague (e.g., "test the whole service"), ask one clarifying
49
+ question and wait for the answer.
50
+
51
+ ---
52
+
53
+ ## Step 2 — Test plan generation (Tester role, planning mode)
54
+
55
+ Adopt the `tester` role as defined in `AGENTS.md`.
56
+
57
+ Produce a test plan document — not test code. The plan will be used as input
58
+ when tests are actually written.
59
+
60
+ Cover the following layers:
61
+
62
+ **Unit tests**
63
+
64
+ - Individual functions or methods in isolation
65
+ - One test per behavior, not per method
66
+ - Input/output contracts, null handling, type coercion
67
+
68
+ **Integration tests**
69
+
70
+ - Interactions between two or more components
71
+ - Database read/write cycles (if applicable)
72
+ - External service boundaries (mocked or stubbed)
73
+
74
+ **Contract tests**
75
+
76
+ - API endpoint contracts: request shape, response shape, status codes
77
+ - Event schema contracts (if event-driven components are in scope)
78
+
79
+ **Edge cases**
80
+
81
+ - Empty inputs, boundary values, max/min limits
82
+ - Concurrent access (if shared state is involved)
83
+ - Failure paths: what happens when a dependency is unavailable
84
+
85
+ **Regression cases**
86
+
87
+ - Known past bugs that must not recur (include reference if available)
88
+
89
+ ---
90
+
91
+ ## Step 3 — Test Plan format
92
+
93
+ Produce the plan in this format:
94
+
95
+ ```markdown
96
+ ## Test Plan — [Scope Name]
97
+
98
+ ### Scope
99
+ [What is being tested and why]
100
+
101
+ ### Unit Tests
102
+ | Test ID | Target | Scenario | Expected Result |
103
+ | ------- | ------ | -------- | --------------- |
104
+ | U-001 | ... | ... | ... |
105
+
106
+ ### Integration Tests
107
+ | Test ID | Components | Scenario | Expected Result |
108
+ | ------- | ---------- | -------- | --------------- |
109
+ | I-001 | ... | ... | ... |
110
+
111
+ ### Contract Tests
112
+ | Test ID | Endpoint/Event | Property | Expected Value |
113
+ | ------- | -------------- | -------- | -------------- |
114
+ | C-001 | ... | ... | ... |
115
+
116
+ ### Edge Cases
117
+ | Test ID | Input/Condition | Expected Behavior |
118
+ | ------- | --------------- | ----------------- |
119
+ | E-001 | ... | ... |
120
+
121
+ ### Regression Cases
122
+ | Test ID | Reference | Scenario | Must Not Happen |
123
+ | ------- | --------- | -------- | --------------- |
124
+ | R-001 | ... | ... | ... |
125
+
126
+ ### Coverage Targets
127
+ - Minimum unit coverage: [% or "all acceptance criteria covered"]
128
+ - Integration scenarios: [count]
129
+ - Contract validations: [count]
130
+
131
+ ### Out of Scope
132
+ [What this test plan explicitly does not cover and why]
133
+ ```
134
+
135
+ ---
136
+
137
+ ## Step 4 — Human review
138
+
139
+ Show the Test Plan before any tests are written. The Test Plan is an artifact
140
+ for review and approval.
141
+
142
+ Writing test code is a separate action — run `/feature` or add a test task to
143
+ implement from this plan.
144
+
145
+ ---
146
+
147
+ ## Completion
148
+
149
+ Deliver the complete Test Plan document. Save it as
150
+ `docs/test-plans/[scope-slug].md` if requested.
151
+
152
+ This command produces a plan, not test files. No production code and no test
153
+ code is written during this command.
154
+
155
+ ## Next
156
+
157
+ Implement against this plan with `$cc-tdd-cycle` or `$cc-feature`.
@@ -0,0 +1,38 @@
1
+ ---
2
+ name: cc-triage
3
+ description: Classify a request into type, risk, and the destination CodeConductor command.
4
+ ---
5
+
6
+ # triage
7
+
8
+ Invoke as `$cc-triage`. The user request follows the skill mention.
9
+
10
+ # Triage Workflow
11
+
12
+ Triage request: $ARGUMENTS
13
+
14
+ ## Step 0 — CCEP Bootstrap
15
+
16
+ Command: `triage` (fixed for this workflow — do not infer from user text)
17
+
18
+ 1. Run: `npx cc-codeconductor ccep parse --command triage "$ARGUMENTS" --output json`
19
+ 2. Run: `npx cc-codeconductor ccep resolve --command triage "$ARGUMENTS" --output json`
20
+ 3. Run: `npx cc-codeconductor ccep profile triage --output json`
21
+ 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command triage --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
22
+ 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
23
+
24
+ ---
25
+
26
+ ## Step 1 — Classify (task-coach)
27
+
28
+ Invoke `task-coach`. Produce: title, type (`feature` | `fix` | `refactor` | `review` | `docs` | `test`), risk, named scope, and the destination command (`feature`, `fix`, `refactor`, `review`, `explore`, …).
29
+
30
+ Ask one question per unresolved branch. If the human is unavailable, emit a Markdown questionnaire and stop at ConfirmationGate.
31
+
32
+ **STOP here. Show the classification and wait for confirmation before running the destination workflow.**
33
+
34
+ ---
35
+
36
+ ## Completion
37
+
38
+ Do not implement. Hand the human a destination slash command and a partial Task Card.
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: django-orm
3
- version: 1.0.0
4
3
  name: Django ORM
5
4
  description: >
6
5
  Django ORM patterns for multi-tenant POS projects: efficient queries,
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: django-testing
3
- version: 1.0.0
4
3
  name: Django Testing
5
4
  description: >
6
5
  Testing patterns for multi-tenant Django POS projects using pytest-django,
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: evaluation
3
+ description:
4
+ Guides agents through scorecards, outcomes, model profiles, and eval suites.
5
+ Use when running /cc-scorecard or /cc:scorecard, measuring a deliverable, or
6
+ checking workflow gates with suite-run.
7
+ ---
8
+
9
+ # Evaluation
10
+
11
+ ## Overview
12
+
13
+ A scorecard measures the deliverable against eight weighted criteria. Spec
14
+ quality checklists are reviewer-owned. "Seems right" is not a verdict.
15
+
16
+ Pass threshold: weighted score >= 2.0 and no criterion at 0.
17
+
18
+ ## When to Use
19
+
20
+ - After implement/review, before `openspec archive`
21
+ - Comparing models or prompt versions
22
+ - Proving the workflow tools still work (`suite-run`)
23
+
24
+ **NOT** for rewriting specs (reviewer checklist) or for implementing code.
25
+
26
+ ## Process
27
+
28
+ Local: `bun run dev`. Published: `npx cc-codeconductor`.
29
+
30
+ ```text
31
+ scorecard create --task BC-001 --from-diff
32
+ scorecard record --task BC-001 --verdict PASS --score 2.5
33
+ scorecard list | aggregate | models | regression | matrix | compare-models
34
+ scorecard prompt-diff 0.4.0 0.5.0 --agent architect
35
+ scorecard experiment start --suite harness-v1
36
+ scorecard suite-run --suite workflow-gates
37
+ scorecard suite-run --suite hook-guardrails
38
+ scorecard suite-run --suite scorecard-signals
39
+ ```
40
+
41
+ `openspec analyze` can auto-suggest `acceptance` / `tests` on `--from-diff`.
42
+ Archive needs PASS when review is required.
43
+
44
+ Outcomes append to `.codeconductor/evaluation/outcomes.jsonl`.
45
+
46
+ ## Common Rationalizations
47
+
48
+ | Rationalization | Reality |
49
+ | --- | --- |
50
+ | I'll fill the scorecard by hand without a diff | Use `--from-diff` and runner evidence. |
51
+ | Suites are optional toys | `suite-run` is the workflow tool that proves gates. |
52
+ | Handmade TDD JSON is fine | The runner rejects it. |
53
+
54
+ ## Red Flags
55
+
56
+ - PASS with a criterion at 0
57
+ - Archive without a recorded scorecard when review is required
58
+ - Declaring the workflow ready without `suite-run` or `scorecard record`
59
+
60
+ ## Verification
61
+
62
+ - [ ] Scorecard created from diff (or explicit scores)
63
+ - [ ] Verdict PASS / REVISE / REJECT recorded
64
+ - [ ] For process changes: `scorecard suite-run --suite hook-guardrails` (and
65
+ `workflow-gates` / `scorecard-signals` when those gates changed)
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: jpa-postgres
3
- version: 1.0.0
4
3
  name: JPA + PostgreSQL
5
4
  description: >
6
5
  Provides expert knowledge of JPA entity design, relationship mapping, Flyway
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: openspec
3
+ description:
4
+ Guides agents through OpenSpec delivery from BACKLOG.md (validate, analyze,
5
+ test-before-implement, scorecard, archive). Use when running /cc-openspec,
6
+ /cc:openspec, or delivering an existing backlog item. Authoring BACKLOG.md
7
+ is skill backlog, not this skill.
8
+ ---
9
+
10
+ # OpenSpec delivery
11
+
12
+ ## Overview
13
+
14
+ This skill delivers an existing `BACKLOG.md` item. It is a workflow with CLI
15
+ gates, not a reference doc. Specs describe WHAT; `design.md` describes HOW.
16
+
17
+ ## When to Use
18
+
19
+ - `/cc-openspec` or `openspec next` / `plan` / `done` / `archive`
20
+ - An item is `READY` or later and must move through the state machine
21
+
22
+ **NOT** for creating `BACKLOG.md` (use skill `backlog`) or for stack-specific
23
+ coding rules.
24
+
25
+ ## Process
26
+
27
+ Local CLI is `bun run dev`. Published package is `npx cc-codeconductor`.
28
+
29
+ 1. `openspec validate` — must pass before delivery.
30
+ 2. `openspec plan BC-xxx` if the item is not yet `PLANNED`.
31
+ 3. `openspec analyze --output json` — CRITICAL findings exit 1. Do not implement.
32
+ 4. Phases: discover (`repo-explorer`) → design (`architect`) → test (`tester`) →
33
+ implement (`implementer`) → review (`reviewer`). If Global `TDD required: yes`,
34
+ test runs before implement.
35
+ 5. `openspec done` on test/implement requires `captureTddSuiteEvidence`. Handmade
36
+ evidence JSON is rejected.
37
+ 6. `scorecard create --task BC-xxx --from-diff` then record a verdict.
38
+ 7. `openspec archive` only after human review when `Review required: yes` and
39
+ the scorecard is PASS.
40
+
41
+ Status machine: `TODO` → `READY` → `PLANNED` → `IN_PROGRESS` → `REVIEW` → `DONE`
42
+ → Archive. `BLOCKED` returns to `READY`. Reviewer rejection: `REVIEW` →
43
+ `IN_PROGRESS`.
44
+
45
+ ## Common Rationalizations
46
+
47
+ | Rationalization | Reality |
48
+ | --- | --- |
49
+ | Validate is bureaucracy | `openspec validate` is the gate. Skipping it is a defect. |
50
+ | I'll add tests after green | Global TDD required means tester before implementer. |
51
+ | I'll write the evidence JSON myself | Handmade TDD JSON is rejected. Use the verification runner. |
52
+ | The item is small; skip analyze | `openspec analyze` CRITICAL still stops implement. |
53
+
54
+ ## Red Flags
55
+
56
+ - Implementing while analyze reports CRITICAL
57
+ - Archive without a PASS scorecard when review is required
58
+ - Acceptance like "improve UX" with no measurable check
59
+
60
+ ## Verification
61
+
62
+ - [ ] `openspec validate` exit 0
63
+ - [ ] `openspec analyze --output json` has no CRITICAL
64
+ - [ ] TDD evidence from the runner when TDD is required
65
+ - [ ] `scorecard create --from-diff` recorded
66
+ - [ ] Suite check (optional): `bun run dev scorecard suite-run --suite workflow-gates`
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: pagespeed-perf
3
- version: 1.0.0
4
3
  name: PageSpeed Performance Audit
5
4
  description: >
6
5
  Web Performance Engineering — analyzes Core Web Vitals using the PageSpeed
@@ -32,7 +31,7 @@ inputs:
32
31
  - name: url
33
32
  type: string
34
33
  required: true
35
- description: Full URL to audit (must include scheme: https://...)
34
+ description: "Full URL to audit (must include scheme: https://...)"
36
35
  - name: strategy
37
36
  type: string
38
37
  required: false
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: python
3
- version: 1.0.0
4
3
  name: Python
5
4
  description: >
6
5
  Python development best practices: clean code, patterns,
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: python-django-stack
3
- version: 1.0.0
4
3
  name: Python Django Stack
5
4
  description: >
6
5
  Python and Django conventions for multi-tenant SaaS POS projects:
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: python-fastapi-stack
3
- version: 1.0.0
4
3
  name: Python FastAPI Stack
5
4
  description: >
6
5
  FastAPI conventions for REST APIs: routers, Pydantic v2 schemas, dependency
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: spring-boot-feature
3
- version: 1.0.0
4
3
  name: Spring Boot Feature Creation
5
4
  description: >
6
5
  Guides the creation of complete Spring Boot features following a structured,
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: spring-boot-kotlin
3
- version: 1.0.0
4
3
  name: Spring Boot + Kotlin
5
4
  description: >
6
5
  Provides expert knowledge of Spring Boot conventions, Kotlin idioms, and MVC
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: sqlalchemy
3
- version: 1.0.0
4
3
  name: SQLAlchemy
5
4
  description: >
6
5
  SQLAlchemy 2.x patterns for async FastAPI projects: models, sessions, queries,
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  id: testing-strategy
3
- version: 1.0.0
4
3
  name: Testing Strategy
5
4
  description: >
6
5
  Provides expert knowledge of the testing pyramid, test design principles,