dev-ready 0.6.0__tar.gz → 0.7.0__tar.gz

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 (250) hide show
  1. dev_ready-0.7.0/.agents/skills/codebase-design/DEEPENING.md +37 -0
  2. dev_ready-0.7.0/.agents/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  3. dev_ready-0.7.0/.agents/skills/codebase-design/SKILL.md +114 -0
  4. dev_ready-0.7.0/.agents/skills/codebase-design/agents/openai.yaml +3 -0
  5. dev_ready-0.7.0/.agents/skills/domain-modeling/ADR-FORMAT.md +47 -0
  6. dev_ready-0.7.0/.agents/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  7. dev_ready-0.7.0/.agents/skills/domain-modeling/SKILL.md +74 -0
  8. dev_ready-0.7.0/.agents/skills/domain-modeling/agents/openai.yaml +3 -0
  9. dev_ready-0.7.0/.agents/skills/grill-with-docs/SKILL.md +7 -0
  10. dev_ready-0.7.0/.agents/skills/grill-with-docs/agents/openai.yaml +5 -0
  11. dev_ready-0.7.0/.agents/skills/grilling/SKILL.md +12 -0
  12. dev_ready-0.7.0/.agents/skills/grilling/agents/openai.yaml +3 -0
  13. dev_ready-0.7.0/.agents/skills/handoff/SKILL.md +160 -0
  14. dev_ready-0.7.0/.agents/skills/implement/SKILL.md +36 -0
  15. dev_ready-0.7.0/.agents/skills/implement/agents/openai.yaml +5 -0
  16. dev_ready-0.7.0/.agents/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  17. dev_ready-0.7.0/.agents/skills/improve-codebase-architecture/SKILL.md +71 -0
  18. dev_ready-0.7.0/.agents/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  19. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/planning/SKILL.md +6 -0
  20. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/release/SKILL.md +9 -1
  21. dev_ready-0.7.0/.agents/skills/resolving-merge-conflicts/SKILL.md +14 -0
  22. dev_ready-0.7.0/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
  23. dev_ready-0.7.0/.agents/skills/to-spec/SKILL.md +87 -0
  24. dev_ready-0.7.0/.agents/skills/to-spec/agents/openai.yaml +5 -0
  25. dev_ready-0.7.0/.agents/skills/to-tickets/SKILL.md +102 -0
  26. dev_ready-0.7.0/.agents/skills/to-tickets/agents/openai.yaml +5 -0
  27. dev_ready-0.7.0/.claude/skills/code-review/SKILL.md +12 -0
  28. dev_ready-0.7.0/.claude/skills/codebase-design/SKILL.md +12 -0
  29. dev_ready-0.7.0/.claude/skills/diagnosing-bugs/SKILL.md +12 -0
  30. dev_ready-0.7.0/.claude/skills/domain-modeling/SKILL.md +12 -0
  31. dev_ready-0.7.0/.claude/skills/grill-with-docs/SKILL.md +13 -0
  32. dev_ready-0.7.0/.claude/skills/grilling/SKILL.md +12 -0
  33. dev_ready-0.7.0/.claude/skills/handoff/SKILL.md +12 -0
  34. dev_ready-0.7.0/.claude/skills/implement/SKILL.md +13 -0
  35. dev_ready-0.7.0/.claude/skills/improve-codebase-architecture/SKILL.md +13 -0
  36. dev_ready-0.7.0/.claude/skills/resolving-merge-conflicts/SKILL.md +12 -0
  37. dev_ready-0.7.0/.claude/skills/tdd/SKILL.md +12 -0
  38. dev_ready-0.7.0/.claude/skills/to-spec/SKILL.md +13 -0
  39. dev_ready-0.7.0/.claude/skills/to-tickets/SKILL.md +13 -0
  40. {dev_ready-0.6.0 → dev_ready-0.7.0}/.github/workflows/ci.yml +15 -0
  41. {dev_ready-0.6.0 → dev_ready-0.7.0}/.gitignore +2 -1
  42. dev_ready-0.7.0/AGENTS.md +74 -0
  43. dev_ready-0.7.0/CONTEXT.md +85 -0
  44. {dev_ready-0.6.0 → dev_ready-0.7.0}/PKG-INFO +46 -11
  45. {dev_ready-0.6.0 → dev_ready-0.7.0}/README-pypi.md +45 -10
  46. {dev_ready-0.6.0 → dev_ready-0.7.0}/README.md +74 -16
  47. {dev_ready-0.6.0 → dev_ready-0.7.0}/THIRD_PARTY_NOTICES.md +1 -1
  48. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/architecture.md +8 -3
  49. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/cli-spec.md +37 -2
  50. dev_ready-0.7.0/docs/decisions/adr-012-spec-loop-bundle-and-methodology-layering.md +96 -0
  51. dev_ready-0.7.0/docs/decisions/adr-013-internal-process-v2-spec-loop-adoption.md +51 -0
  52. dev_ready-0.7.0/docs/decisions/adr-014-truthful-overlay-lifecycle-state.md +6 -0
  53. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/requirements.md +15 -6
  54. dev_ready-0.7.0/docs/specs/v0.7/fr-22-n-minus-one-lifecycle-gate.md +69 -0
  55. dev_ready-0.7.0/docs/specs/v0.7/fr-23-handoff-protocol.md +80 -0
  56. dev_ready-0.7.0/docs/specs/v0.7/fr-24-dev-ready-init-skill.md +77 -0
  57. dev_ready-0.7.0/docs/specs/v0.7/fr-28-spec-loop.md +91 -0
  58. dev_ready-0.7.0/docs/specs/v0.7/fr-29-init-progress.md +88 -0
  59. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/version-plan.md +116 -16
  60. dev_ready-0.7.0/docs/version_overview/v0.7-overview.md +184 -0
  61. {dev_ready-0.6.0 → dev_ready-0.7.0}/pyproject.toml +1 -1
  62. dev_ready-0.7.0/skills/dev-ready/SKILL.md +82 -0
  63. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/__init__.py +1 -1
  64. dev_ready-0.7.0/src/dev_ready/catalog_effects.py +283 -0
  65. dev_ready-0.7.0/src/dev_ready/check.py +133 -0
  66. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/cli.py +153 -100
  67. dev_ready-0.7.0/src/dev_ready/generate.py +311 -0
  68. dev_ready-0.7.0/src/dev_ready/inspection.py +266 -0
  69. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/manifest/__init__.py +1 -2
  70. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/manifest/loader.py +82 -79
  71. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/manifest/models.py +4 -11
  72. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/manifest.json +74 -0
  73. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/overlay/__init__.py +25 -110
  74. dev_ready-0.7.0/src/dev_ready/overlay/rendering.py +127 -0
  75. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/prompts/__init__.py +2 -1
  76. dev_ready-0.7.0/src/dev_ready/prompts/answers.py +254 -0
  77. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/prompts/collect.py +27 -38
  78. dev_ready-0.7.0/src/dev_ready/templates/agents/.gitignore +1 -0
  79. dev_ready-0.7.0/src/dev_ready/templates/agents/README.md +12 -0
  80. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/03-review.md +17 -0
  81. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/04-qa-review.md +17 -0
  82. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/05-security-review.md +17 -0
  83. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/06-sre-review.md +17 -0
  84. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/reports/execution-report.md +17 -0
  85. dev_ready-0.7.0/src/dev_ready/templates/agents/phase-N/tickets/README.md +13 -0
  86. dev_ready-0.7.0/src/dev_ready/templates/agents/protocol.yaml.tmpl +86 -0
  87. dev_ready-0.7.0/src/dev_ready/templates/claude/CLAUDE.md.tmpl +46 -0
  88. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/code-review/SKILL.md +89 -0
  89. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/code-review/agents/openai.yaml +3 -0
  90. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/codebase-design/DEEPENING.md +37 -0
  91. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  92. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/codebase-design/SKILL.md +114 -0
  93. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/codebase-design/agents/openai.yaml +3 -0
  94. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/diagnosing-bugs/SKILL.md +134 -0
  95. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/diagnosing-bugs/agents/openai.yaml +3 -0
  96. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  97. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/domain-modeling/ADR-FORMAT.md +47 -0
  98. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  99. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/domain-modeling/SKILL.md +74 -0
  100. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/domain-modeling/agents/openai.yaml +3 -0
  101. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/grill-with-docs/SKILL.md +7 -0
  102. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/grill-with-docs/agents/openai.yaml +5 -0
  103. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/grilling/SKILL.md +12 -0
  104. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/grilling/agents/openai.yaml +3 -0
  105. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  106. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/improve-codebase-architecture/SKILL.md +71 -0
  107. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
  108. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/tdd/SKILL.md +36 -0
  109. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/tdd/agents/openai.yaml +3 -0
  110. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/tdd/mocking.md +59 -0
  111. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/tdd/tests.md +77 -0
  112. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/to-spec/SKILL.md +75 -0
  113. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/to-spec/agents/openai.yaml +5 -0
  114. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/to-tickets/SKILL.md +105 -0
  115. dev_ready-0.7.0/src/dev_ready/templates/claude/skills/to-tickets/agents/openai.yaml +5 -0
  116. dev_ready-0.7.0/src/dev_ready/templates/claude/spec-loop/domain.md +7 -0
  117. dev_ready-0.7.0/src/dev_ready/templates/claude/spec-loop/issue-tracker.md.tmpl +1 -0
  118. dev_ready-0.7.0/src/dev_ready/templates/claude/spec-loop/triage-labels.md +11 -0
  119. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/docs/architecture.md.tmpl +5 -3
  120. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/upgrade.py +64 -31
  121. dev_ready-0.7.0/src/dev_ready/verify.py +42 -0
  122. dev_ready-0.7.0/tests/README.md +9 -0
  123. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/e2e/test_init_real.py +10 -1
  124. dev_ready-0.7.0/tests/e2e/test_upgrade_from_release.py +439 -0
  125. dev_ready-0.7.0/tests/unit/project_factory.py +64 -0
  126. dev_ready-0.7.0/tests/unit/test_answers.py +126 -0
  127. dev_ready-0.7.0/tests/unit/test_catalog_effects.py +181 -0
  128. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_check.py +50 -24
  129. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_cli.py +173 -6
  130. dev_ready-0.7.0/tests/unit/test_generate.py +514 -0
  131. dev_ready-0.7.0/tests/unit/test_generate_skill.py +150 -0
  132. dev_ready-0.7.0/tests/unit/test_inspection.py +88 -0
  133. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_manifest.py +109 -11
  134. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_notices_sync.py +16 -1
  135. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_overlay.py +237 -101
  136. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_prompts.py +100 -53
  137. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_report.py +2 -4
  138. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_sync_vendored.py +31 -0
  139. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_upgrade.py +158 -7
  140. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_verify.py +72 -60
  141. {dev_ready-0.6.0 → dev_ready-0.7.0}/uv.lock +1 -1
  142. dev_ready-0.6.0/.agents/skills/handoff/SKILL.md +0 -140
  143. dev_ready-0.6.0/.claude/skills/handoff/SKILL.md +0 -13
  144. dev_ready-0.6.0/AGENTS.md +0 -56
  145. dev_ready-0.6.0/src/dev_ready/check.py +0 -195
  146. dev_ready-0.6.0/src/dev_ready/generate.py +0 -136
  147. dev_ready-0.6.0/src/dev_ready/prompts/answers.py +0 -41
  148. dev_ready-0.6.0/src/dev_ready/templates/agents/README.md +0 -47
  149. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/01-plan.md +0 -25
  150. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/02-implementation.md +0 -18
  151. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/03-review.md +0 -16
  152. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/04-qa-review.md +0 -16
  153. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/05-security-review.md +0 -16
  154. dev_ready-0.6.0/src/dev_ready/templates/agents/phase-N/06-sre-review.md +0 -16
  155. dev_ready-0.6.0/src/dev_ready/templates/claude/CLAUDE.md.tmpl +0 -48
  156. dev_ready-0.6.0/src/dev_ready/verify.py +0 -147
  157. dev_ready-0.6.0/tests/README.md +0 -9
  158. dev_ready-0.6.0/tests/unit/test_generate.py +0 -244
  159. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/code-review/SKILL.md +0 -0
  160. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/code-review/agents/openai.yaml +0 -0
  161. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/diagnosing-bugs/SKILL.md +0 -0
  162. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/diagnosing-bugs/agents/openai.yaml +0 -0
  163. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -0
  164. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/handoff/references/templates.md +0 -0
  165. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/review/SKILL.md +0 -0
  166. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/review/references/qa.md +0 -0
  167. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/review/references/security.md +0 -0
  168. {dev_ready-0.6.0 → dev_ready-0.7.0}/.agents/skills/review/references/sre.md +0 -0
  169. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/tdd/SKILL.md +0 -0
  170. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/tdd/agents/openai.yaml +0 -0
  171. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/tdd/mocking.md +0 -0
  172. {dev_ready-0.6.0/src/dev_ready/templates/claude → dev_ready-0.7.0/.agents}/skills/tdd/tests.md +0 -0
  173. {dev_ready-0.6.0 → dev_ready-0.7.0}/.claude/skills/planning/SKILL.md +0 -0
  174. {dev_ready-0.6.0 → dev_ready-0.7.0}/.claude/skills/release/SKILL.md +0 -0
  175. {dev_ready-0.6.0 → dev_ready-0.7.0}/.claude/skills/review/SKILL.md +0 -0
  176. {dev_ready-0.6.0 → dev_ready-0.7.0}/.github/dependabot.yml +0 -0
  177. {dev_ready-0.6.0 → dev_ready-0.7.0}/.github/workflows/release.yml +0 -0
  178. {dev_ready-0.6.0 → dev_ready-0.7.0}/.github/workflows/upstream-bump.yml +0 -0
  179. {dev_ready-0.6.0 → dev_ready-0.7.0}/.github/workflows/vendored-bump.yml +0 -0
  180. {dev_ready-0.6.0 → dev_ready-0.7.0}/.python-version +0 -0
  181. {dev_ready-0.6.0 → dev_ready-0.7.0}/CLAUDE.md +0 -0
  182. {dev_ready-0.6.0 → dev_ready-0.7.0}/LICENSE +0 -0
  183. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/catalog-candidates.md +0 -0
  184. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-001-two-stage-generation-no-fork.md +0 -0
  185. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-002-manifest-pinned-upstream.md +0 -0
  186. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-003-distribution-via-uvx.md +0 -0
  187. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-004-interactive-prompts-escape-hatch.md +0 -0
  188. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-005-consume-upstream-via-copier.md +0 -0
  189. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-006-manifest-prune-list.md +0 -0
  190. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-007-multi-agent-handoff-protocol.md +0 -0
  191. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-008-integration-modes-vendor-vs-pinned.md +0 -0
  192. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-009-manifest-vendored-provenance.md +0 -0
  193. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-010-item-level-catalog-selection.md +0 -0
  194. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/decisions/adr-011-agent-config-restructure.md +0 -0
  195. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/pin-maintenance.md +0 -0
  196. {dev_ready-0.6.0 → dev_ready-0.7.0}/docs/releasing.md +0 -0
  197. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.1-overview.md +0 -0
  198. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.2-overview.md +0 -0
  199. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.3-overview.md +0 -0
  200. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.4-overview.md +0 -0
  201. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.5-overview.md +0 -0
  202. {dev_ready-0.6.0/docs → dev_ready-0.7.0/docs/version_overview}/v0.6-overview.md +0 -0
  203. {dev_ready-0.6.0 → dev_ready-0.7.0}/scripts/bump_upstream.py +0 -0
  204. {dev_ready-0.6.0 → dev_ready-0.7.0}/scripts/bump_vendored.py +0 -0
  205. {dev_ready-0.6.0 → dev_ready-0.7.0}/scripts/check_notices_sync.py +0 -0
  206. {dev_ready-0.6.0 → dev_ready-0.7.0}/scripts/sync_vendored.py +0 -0
  207. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/README.md +0 -0
  208. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/__main__.py +0 -0
  209. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/errors.py +0 -0
  210. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/fetch/__init__.py +0 -0
  211. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/fetch/snapshot.py +0 -0
  212. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/prompts/_questionary_asker.py +0 -0
  213. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/prompts/asker.py +0 -0
  214. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/report/__init__.py +0 -0
  215. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/report/render.py +0 -0
  216. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/stamp.py +0 -0
  217. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/caveman/README.md +0 -0
  218. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/caveman/SKILL.md +0 -0
  219. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/frontend-design/LICENSE.txt +0 -0
  220. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/frontend-design/SKILL.md +0 -0
  221. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/project-orientation/SKILL.md +0 -0
  222. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/react-doctor/SKILL.md +0 -0
  223. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/AI-AND-LLM.md +0 -0
  224. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/ATTACK-CLASSES.md +0 -0
  225. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/CLIENT-SIDE.md +0 -0
  226. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/HUNTING.md +0 -0
  227. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/MEMORY-SAFETY-AND-BINARY.md +0 -0
  228. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/RECONNAISSANCE.md +0 -0
  229. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/SKILL.md +0 -0
  230. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/VALIDATION-AND-REPORTING.md +0 -0
  231. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/WEB-PROTOCOL-AND-AUTH.md +0 -0
  232. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/report-schema.json +0 -0
  233. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/security-audit/validate-findings.cjs +0 -0
  234. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/LICENSE.txt +0 -0
  235. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/SKILL.md +0 -0
  236. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/examples/console_logging.py +0 -0
  237. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/examples/element_discovery.py +0 -0
  238. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/examples/static_html_automation.py +0 -0
  239. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/claude/skills/webapp-testing/scripts/with_server.py +0 -0
  240. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/docs/design-linear.md +0 -0
  241. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/docs/design-stripe.md +0 -0
  242. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/docs/requirements.md.tmpl +0 -0
  243. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/mcp/mcp.json +0 -0
  244. {dev_ready-0.6.0 → dev_ready-0.7.0}/src/dev_ready/templates/readme/README.md.tmpl +0 -0
  245. {dev_ready-0.6.0 → dev_ready-0.7.0}/templates/README.md +0 -0
  246. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/e2e/.gitkeep +0 -0
  247. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/integration/.gitkeep +0 -0
  248. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/integration/test_fetch_real.py +0 -0
  249. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_bump_upstream.py +0 -0
  250. {dev_ready-0.6.0 → dev_ready-0.7.0}/tests/unit/test_fetch.py +0 -0
@@ -0,0 +1,37 @@
1
+ # Deepening
2
+
3
+ How to deepen a cluster of shallow modules safely, given its dependencies. Assumes the vocabulary in [SKILL.md](SKILL.md) — **module**, **interface**, **seam**, **adapter**.
4
+
5
+ ## Dependency categories
6
+
7
+ When assessing a candidate for deepening, classify its dependencies. The category determines how the deepened module is tested across its seam.
8
+
9
+ ### 1. In-process
10
+
11
+ Pure computation, in-memory state, no I/O. Always deepenable — merge the modules and test through the new interface directly. No adapter needed.
12
+
13
+ ### 2. Local-substitutable
14
+
15
+ Dependencies that have local test stand-ins (PGLite for Postgres, in-memory filesystem). Deepenable if the stand-in exists. The deepened module is tested with the stand-in running in the test suite. The seam is internal; no port at the module's external interface.
16
+
17
+ ### 3. Remote but owned (Ports & Adapters)
18
+
19
+ Your own services across a network boundary (microservices, internal APIs). Define a **port** (interface) at the seam. The deep module owns the logic; the transport is injected as an **adapter**. Tests use an in-memory adapter. Production uses an HTTP/gRPC/queue adapter.
20
+
21
+ Recommendation shape: *"Define a port at the seam, implement an HTTP adapter for production and an in-memory adapter for testing, so the logic sits in one deep module even though it's deployed across a network."*
22
+
23
+ ### 4. True external (Mock)
24
+
25
+ Third-party services (Stripe, Twilio, etc.) you don't control. The deepened module takes the external dependency as an injected port; tests provide a mock adapter.
26
+
27
+ ## Seam discipline
28
+
29
+ - **One adapter means a hypothetical seam. Two adapters means a real one.** Don't introduce a port unless at least two adapters are justified (typically production + test). A single-adapter seam is just indirection.
30
+ - **Internal seams vs external seams.** A deep module can have internal seams (private to its implementation, used by its own tests) as well as the external seam at its interface. Don't expose internal seams through the interface just because tests use them.
31
+
32
+ ## Testing strategy: replace, don't layer
33
+
34
+ - Old unit tests on shallow modules become waste once tests at the deepened module's interface exist — delete them.
35
+ - Write new tests at the deepened module's interface. The **interface is the test surface**.
36
+ - Tests assert on observable outcomes through the interface, not internal state.
37
+ - Tests should survive internal refactors — they describe behaviour, not implementation. If a test has to change when the implementation changes, it's testing past the interface.
@@ -0,0 +1,44 @@
1
+ # Design It Twice
2
+
3
+ When the user wants to explore alternative interfaces for a chosen deepening candidate, use this parallel sub-agent pattern. Based on "Design It Twice" (Ousterhout) — your first idea is unlikely to be the best.
4
+
5
+ Uses the vocabulary in [SKILL.md](SKILL.md) — **module**, **interface**, **seam**, **adapter**, **leverage**.
6
+
7
+ ## Process
8
+
9
+ ### 1. Frame the problem space
10
+
11
+ Before spawning sub-agents, write a user-facing explanation of the problem space for the chosen candidate:
12
+
13
+ - The constraints any new interface would need to satisfy
14
+ - The dependencies it would rely on, and which category they fall into (see [DEEPENING.md](DEEPENING.md))
15
+ - A rough illustrative code sketch to ground the constraints — not a proposal, just a way to make the constraints concrete
16
+
17
+ Show this to the user, then immediately proceed to Step 2. The user reads and thinks while the sub-agents work in parallel.
18
+
19
+ ### 2. Spawn sub-agents
20
+
21
+ Spawn 3+ sub-agents in parallel using the Agent tool. Each must produce a **radically different** interface for the deepened module.
22
+
23
+ Prompt each sub-agent with a separate technical brief (file paths, coupling details, dependency category from [DEEPENING.md](DEEPENING.md), what sits behind the seam). The brief is independent of the user-facing problem-space explanation in Step 1. Give each agent a different design constraint:
24
+
25
+ - Agent 1: "Minimize the interface — aim for 1–3 entry points max. Maximise leverage per entry point."
26
+ - Agent 2: "Maximise flexibility — support many use cases and extension."
27
+ - Agent 3: "Optimise for the most common caller — make the default case trivial."
28
+ - Agent 4 (if applicable): "Design around ports & adapters for cross-seam dependencies."
29
+
30
+ Include both [SKILL.md](SKILL.md) vocabulary and CONTEXT.md vocabulary in the brief so each sub-agent names things consistently with the architecture language and the project's domain language.
31
+
32
+ Each sub-agent outputs:
33
+
34
+ 1. Interface (types, methods, params — plus invariants, ordering, error modes)
35
+ 2. Usage example showing how callers use it
36
+ 3. What the implementation hides behind the seam
37
+ 4. Dependency strategy and adapters (see [DEEPENING.md](DEEPENING.md))
38
+ 5. Trade-offs — where leverage is high, where it's thin
39
+
40
+ ### 3. Present and compare
41
+
42
+ Present designs sequentially so the user can absorb each one, then compare them in prose. Contrast by **depth** (leverage at the interface), **locality** (where change concentrates), and **seam placement**.
43
+
44
+ After comparing, give your own recommendation: which design you think is strongest and why. If elements from different designs would combine well, propose a hybrid. Be opinionated — the user wants a strong read, not a menu.
@@ -0,0 +1,114 @@
1
+ ---
2
+ name: codebase-design
3
+ description: Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
4
+ ---
5
+
6
+ # Codebase Design
7
+
8
+ Design **deep modules**: a lot of behaviour behind a small interface, placed at a clean seam, testable through that interface. Use this language and these principles wherever code is being designed or restructured. The aim is leverage for callers, locality for maintainers, and testability for everyone.
9
+
10
+ ## Glossary
11
+
12
+ Use these terms exactly — don't substitute "component," "service," "API," or "boundary." Consistent language is the whole point.
13
+
14
+ **Module** — anything with an interface and an implementation. Deliberately scale-agnostic: a function, class, package, or tier-spanning slice. _Avoid_: unit, component, service.
15
+
16
+ **Interface** — everything a caller must know to use the module correctly: the type signature, but also invariants, ordering constraints, error modes, required configuration, and performance characteristics. _Avoid_: API, signature (too narrow — they refer only to the type-level surface).
17
+
18
+ **Implementation** — what's inside a module, its body of code. Distinct from **Adapter**: a thing can be a small adapter with a large implementation (a Postgres repo) or a large adapter with a small implementation (an in-memory fake). Reach for "adapter" when the seam is the topic; "implementation" otherwise.
19
+
20
+ **Depth** — leverage at the interface: the amount of behaviour a caller (or test) can exercise per unit of interface they have to learn. A module is **deep** when a large amount of behaviour sits behind a small interface, **shallow** when the interface is nearly as complex as the implementation.
21
+
22
+ **Seam** _(Michael Feathers)_ — a place where you can alter behaviour without editing in that place; the *location* at which a module's interface lives. Where to put the seam is its own design decision, distinct from what goes behind it. _Avoid_: boundary (overloaded with DDD's bounded context).
23
+
24
+ **Adapter** — a concrete thing that satisfies an interface at a seam. Describes *role* (what slot it fills), not substance (what's inside).
25
+
26
+ **Leverage** — what callers get from depth: more capability per unit of interface they learn. One implementation pays back across N call sites and M tests.
27
+
28
+ **Locality** — what maintainers get from depth: change, bugs, knowledge, and verification concentrate in one place rather than spreading across callers. Fix once, fixed everywhere.
29
+
30
+ ## Deep vs shallow
31
+
32
+ **Deep module** = small interface + lots of implementation:
33
+
34
+ ```
35
+ ┌─────────────────────┐
36
+ │ Small Interface │ ← Few methods, simple params
37
+ ├─────────────────────┤
38
+ │ │
39
+ │ Deep Implementation│ ← Complex logic hidden
40
+ │ │
41
+ └─────────────────────┘
42
+ ```
43
+
44
+ **Shallow module** = large interface + little implementation (avoid):
45
+
46
+ ```
47
+ ┌─────────────────────────────────┐
48
+ │ Large Interface │ ← Many methods, complex params
49
+ ├─────────────────────────────────┤
50
+ │ Thin Implementation │ ← Just passes through
51
+ └─────────────────────────────────┘
52
+ ```
53
+
54
+ When designing an interface, ask:
55
+
56
+ - Can I reduce the number of methods?
57
+ - Can I simplify the parameters?
58
+ - Can I hide more complexity inside?
59
+
60
+ ## Principles
61
+
62
+ - **Depth is a property of the interface, not the implementation.** A deep module can be internally composed of small, mockable, swappable parts — they just aren't part of the interface. A module can have **internal seams** (private to its implementation, used by its own tests) as well as the **external seam** at its interface.
63
+ - **The deletion test.** Imagine deleting the module. If complexity vanishes, it was a pass-through. If complexity reappears across N callers, it was earning its keep.
64
+ - **The interface is the test surface.** Callers and tests cross the same seam. If you want to test *past* the interface, the module is probably the wrong shape.
65
+ - **One adapter means a hypothetical seam. Two adapters means a real one.** Don't introduce a seam unless something actually varies across it.
66
+
67
+ ## Designing for testability
68
+
69
+ Good interfaces make testing natural:
70
+
71
+ 1. **Accept dependencies, don't create them.**
72
+
73
+ ```typescript
74
+ // Testable
75
+ function processOrder(order, paymentGateway) {}
76
+
77
+ // Hard to test
78
+ function processOrder(order) {
79
+ const gateway = new StripeGateway();
80
+ }
81
+ ```
82
+
83
+ 2. **Return results, don't produce side effects.**
84
+
85
+ ```typescript
86
+ // Testable
87
+ function calculateDiscount(cart): Discount {}
88
+
89
+ // Hard to test
90
+ function applyDiscount(cart): void {
91
+ cart.total -= discount;
92
+ }
93
+ ```
94
+
95
+ 3. **Small surface area.** Fewer methods = fewer tests needed. Fewer params = simpler test setup.
96
+
97
+ ## Relationships
98
+
99
+ - A **Module** has exactly one **Interface** (the surface it presents to callers and tests).
100
+ - **Depth** is a property of a **Module**, measured against its **Interface**.
101
+ - A **Seam** is where a **Module**'s **Interface** lives.
102
+ - An **Adapter** sits at a **Seam** and satisfies the **Interface**.
103
+ - **Depth** produces **Leverage** for callers and **Locality** for maintainers.
104
+
105
+ ## Rejected framings
106
+
107
+ - **Depth as ratio of implementation-lines to interface-lines** (Ousterhout): rewards padding the implementation. We use depth-as-leverage instead.
108
+ - **"Interface" as the TypeScript `interface` keyword or a class's public methods**: too narrow — interface here includes every fact a caller must know.
109
+ - **"Boundary"**: overloaded with DDD's bounded context. Say **seam** or **interface**.
110
+
111
+ ## Going deeper
112
+
113
+ - **Deepening a cluster given its dependencies** — see [DEEPENING.md](DEEPENING.md): dependency categories, seam discipline, and replace-don't-layer testing.
114
+ - **Exploring alternative interfaces** — see [DESIGN-IT-TWICE.md](DESIGN-IT-TWICE.md): spin up parallel sub-agents to design the interface several radically different ways, then compare on depth, locality, and seam placement.
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Codebase Design"
3
+ short_description: "Vocabulary for deep-module design"
@@ -0,0 +1,47 @@
1
+ # ADR Format
2
+
3
+ ADRs live in `docs/adr/` and use sequential numbering: `0001-slug.md`, `0002-slug.md`, etc.
4
+
5
+ Create the `docs/adr/` directory lazily — only when the first ADR is needed.
6
+
7
+ ## Template
8
+
9
+ ```md
10
+ # {Short title of the decision}
11
+
12
+ {1-3 sentences: what's the context, what did we decide, and why.}
13
+ ```
14
+
15
+ That's it. An ADR can be a single paragraph. The value is in recording *that* a decision was made and *why* — not in filling out sections.
16
+
17
+ ## Optional sections
18
+
19
+ Only include these when they add genuine value. Most ADRs won't need them.
20
+
21
+ - **Status** frontmatter (`proposed | accepted | deprecated | superseded by ADR-NNNN`) — useful when decisions are revisited
22
+ - **Considered Options** — only when the rejected alternatives are worth remembering
23
+ - **Consequences** — only when non-obvious downstream effects need to be called out
24
+
25
+ ## Numbering
26
+
27
+ Scan `docs/adr/` for the highest existing number and increment by one.
28
+
29
+ ## When to offer an ADR
30
+
31
+ All three of these must be true:
32
+
33
+ 1. **Hard to reverse** — the cost of changing your mind later is meaningful
34
+ 2. **Surprising without context** — a future reader will look at the code and wonder "why on earth did they do it this way?"
35
+ 3. **The result of a real trade-off** — there were genuine alternatives and you picked one for specific reasons
36
+
37
+ If a decision is easy to reverse, skip it — you'll just reverse it. If it's not surprising, nobody will wonder why. If there was no real alternative, there's nothing to record beyond "we did the obvious thing."
38
+
39
+ ### What qualifies
40
+
41
+ - **Architectural shape.** "We're using a monorepo." "The write model is event-sourced, the read model is projected into Postgres."
42
+ - **Integration patterns between contexts.** "Ordering and Billing communicate via domain events, not synchronous HTTP."
43
+ - **Technology choices that carry lock-in.** Database, message bus, auth provider, deployment target. Not every library — just the ones that would take a quarter to swap out.
44
+ - **Boundary and scope decisions.** "Customer data is owned by the Customer context; other contexts reference it by ID only." The explicit no-s are as valuable as the yes-s.
45
+ - **Deliberate deviations from the obvious path.** "We're using manual SQL instead of an ORM because X." Anything where a reasonable reader would assume the opposite. These stop the next engineer from "fixing" something that was deliberate.
46
+ - **Constraints not visible in the code.** "We can't use AWS because of compliance requirements." "Response times must be under 200ms because of the partner API contract."
47
+ - **Rejected alternatives when the rejection is non-obvious.** If you considered GraphQL and picked REST for subtle reasons, record it — otherwise someone will suggest GraphQL again in six months.
@@ -0,0 +1,60 @@
1
+ # CONTEXT.md Format
2
+
3
+ ## Structure
4
+
5
+ ```md
6
+ # {Context Name}
7
+
8
+ {One or two sentence description of what this context is and why it exists.}
9
+
10
+ ## Language
11
+
12
+ **Order**:
13
+ {A one or two sentence description of the term}
14
+ _Avoid_: Purchase, transaction
15
+
16
+ **Invoice**:
17
+ A request for payment sent to a customer after delivery.
18
+ _Avoid_: Bill, payment request
19
+
20
+ **Customer**:
21
+ A person or organization that places orders.
22
+ _Avoid_: Client, buyer, account
23
+ ```
24
+
25
+ ## Rules
26
+
27
+ - **Be opinionated.** When multiple words exist for the same concept, pick the best one and list the others under `_Avoid_`.
28
+ - **Keep definitions tight.** One or two sentences max. Define what it IS, not what it does.
29
+ - **Only include terms specific to this project's context.** General programming concepts (timeouts, error types, utility patterns) don't belong even if the project uses them extensively. Before adding a term, ask: is this a concept unique to this context, or a general programming concept? Only the former belongs.
30
+ - **Group terms under subheadings** when natural clusters emerge. If all terms belong to a single cohesive area, a flat list is fine.
31
+
32
+ ## Single vs multi-context repos
33
+
34
+ **Single context (most repos):** One `CONTEXT.md` at the repo root.
35
+
36
+ **Multiple contexts:** A `CONTEXT-MAP.md` at the repo root lists the contexts, where they live, and how they relate to each other:
37
+
38
+ ```md
39
+ # Context Map
40
+
41
+ ## Contexts
42
+
43
+ - [Ordering](./src/ordering/CONTEXT.md) — receives and tracks customer orders
44
+ - [Billing](./src/billing/CONTEXT.md) — generates invoices and processes payments
45
+ - [Fulfillment](./src/fulfillment/CONTEXT.md) — manages warehouse picking and shipping
46
+
47
+ ## Relationships
48
+
49
+ - **Ordering → Fulfillment**: Ordering emits `OrderPlaced` events; Fulfillment consumes them to start picking
50
+ - **Fulfillment → Billing**: Fulfillment emits `ShipmentDispatched` events; Billing consumes them to generate invoices
51
+ - **Ordering ↔ Billing**: Shared types for `CustomerId` and `Money`
52
+ ```
53
+
54
+ The skill infers which structure applies:
55
+
56
+ - If `CONTEXT-MAP.md` exists, read it to find contexts
57
+ - If only a root `CONTEXT.md` exists, single context
58
+ - If neither exists, create a root `CONTEXT.md` lazily when the first term is resolved
59
+
60
+ When multiple contexts exist, infer which one the current topic relates to. If unclear, ask.
@@ -0,0 +1,74 @@
1
+ ---
2
+ name: domain-modeling
3
+ description: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
4
+ ---
5
+
6
+ # Domain Modeling
7
+
8
+ Actively build and sharpen the project's domain model as you design. This is the *active* discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely *reading* `CONTEXT.md` for vocabulary is not this skill — that's a one-line habit any skill can do. This skill is for when you're changing the model, not just consuming it.)
9
+
10
+ ## File structure
11
+
12
+ Most repos have a single context:
13
+
14
+ ```
15
+ /
16
+ ├── CONTEXT.md
17
+ ├── docs/
18
+ │ └── adr/
19
+ │ ├── 0001-event-sourced-orders.md
20
+ │ └── 0002-postgres-for-write-model.md
21
+ └── src/
22
+ ```
23
+
24
+ If a `CONTEXT-MAP.md` exists at the root, the repo has multiple contexts. The map points to where each one lives:
25
+
26
+ ```
27
+ /
28
+ ├── CONTEXT-MAP.md
29
+ ├── docs/
30
+ │ └── adr/ ← system-wide decisions
31
+ ├── src/
32
+ │ ├── ordering/
33
+ │ │ ├── CONTEXT.md
34
+ │ │ └── docs/adr/ ← context-specific decisions
35
+ │ └── billing/
36
+ │ ├── CONTEXT.md
37
+ │ └── docs/adr/
38
+ ```
39
+
40
+ Create files lazily — only when you have something to write. If no `CONTEXT.md` exists, create one when the first term is resolved. If no `docs/adr/` exists, create it when the first ADR is needed.
41
+
42
+ ## During the session
43
+
44
+ ### Challenge against the glossary
45
+
46
+ When the user uses a term that conflicts with the existing language in `CONTEXT.md`, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
47
+
48
+ ### Sharpen fuzzy language
49
+
50
+ When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account' — do you mean the Customer or the User? Those are different things."
51
+
52
+ ### Discuss concrete scenarios
53
+
54
+ When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
55
+
56
+ ### Cross-reference with code
57
+
58
+ When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
59
+
60
+ ### Update CONTEXT.md inline
61
+
62
+ When a term is resolved, update `CONTEXT.md` right there. Don't batch these up — capture them as they happen. Use the format in [CONTEXT-FORMAT.md](./CONTEXT-FORMAT.md).
63
+
64
+ `CONTEXT.md` should be totally devoid of implementation details. Do not treat `CONTEXT.md` as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else.
65
+
66
+ ### Offer ADRs sparingly
67
+
68
+ Only offer to create an ADR when all three are true:
69
+
70
+ 1. **Hard to reverse** — the cost of changing your mind later is meaningful
71
+ 2. **Surprising without context** — a future reader will wonder "why did they do it this way?"
72
+ 3. **The result of a real trade-off** — there were genuine alternatives and you picked one for specific reasons
73
+
74
+ If any of the three is missing, skip the ADR. Use the format in [ADR-FORMAT.md](./ADR-FORMAT.md).
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Domain Modeling"
3
+ short_description: "Build and sharpen a domain model"
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: grill-with-docs
3
+ description: A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ Run a `/grilling` session, using the `/domain-modeling` skill.
@@ -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,12 @@
1
+ ---
2
+ name: grilling
3
+ description: Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.
4
+ ---
5
+
6
+ Interview me relentlessly about every aspect of this until we reach a shared understanding. Walk down each branch of the decision tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
7
+
8
+ Ask the questions one at a time, waiting for feedback on each question before continuing. Asking multiple questions at once is bewildering.
9
+
10
+ If a *fact* can be found by exploring the environment (filesystem, tools, etc.), look it up rather than asking me. The *decisions*, though, are mine — put each one to me and wait for my answer.
11
+
12
+ Do not act on it until I confirm we have reached a shared understanding.
@@ -0,0 +1,3 @@
1
+ interface:
2
+ display_name: "Grilling"
3
+ short_description: "Stress-test thinking one question at a time"
@@ -0,0 +1,160 @@
1
+ ---
2
+ name: handoff
3
+ description: Generate the phase document set for a dev-ready development phase under internal process v2 (ADR-013) - the review-gate docs (03-07) plus the reports scaffold; specs come from to-spec and tickets from to-tickets. Use when asked to open a phase, generate/regenerate handoff or gate docs for a version/phase - e.g. "open v0.7 phase 1", "generate the gate docs", "this phase releases, add the release handoff".
4
+ ---
5
+
6
+ # dev-ready Phase Handoff Generator (process v2, ADR-013)
7
+
8
+ Generate the working-document set for one dev-ready phase. Since ADR-013 the
9
+ phase runs as the four-layer loop, and the artifacts split accordingly:
10
+
11
+ ```
12
+ docs/specs/<version>/fr-NN-<slug>.md # Planning layer output (to-spec)
13
+ # COMMITTED durable doc — replaces 01-plan.md
14
+ docs/handoff/<version>/phase-<N>/ # gitignored working tree (ADR-011)
15
+ ├── tickets/<NN>-<slug>.md # Dispatch layer output (to-tickets)
16
+ │ # one per ticket — replaces 02-implementation.md
17
+ ├── 03-review.md # Senior's review brief (state machine entry)
18
+ ├── 04-qa-review.md # QA reviewer brief
19
+ ├── 05-security-review.md # Security reviewer brief
20
+ ├── 06-sre-review.md # SRE reviewer brief
21
+ ├── 07-release.md # Release Engineer brief — RELEASE PHASES ONLY
22
+ └── reports/README.md # explains execution-report.md / problems.md
23
+ ```
24
+
25
+ This skill generates `03`–`07` and `reports/README.md`. The spec is produced by
26
+ `to-spec` (Planning layer) and the tickets by `to-tickets` (Dispatch layer) —
27
+ do not duplicate their content here; reference them by path.
28
+
29
+ ## Why the documents look the way they do
30
+
31
+ The CEO (Moofon) runs a file-triggered state machine: handing an agent one
32
+ file must be enough for that agent to know its role and act, with zero chat
33
+ context from anyone else. Every design rule below exists to keep that true:
34
+
35
+ - Self-contained: each doc restates the agent's role, inputs, outputs.
36
+ - Each **ticket** is single-trigger: the Junior receives one ticket file and
37
+ nothing else. Tickets therefore carry a standing-rules header (inserted by
38
+ `to-tickets` from its dev-ready conventions): TDD mandatory, stay inside the
39
+ declared file footprint, NO state-changing git, the STOP rule, and the
40
+ four-command verification loop. The Junior also follows the `implement`
41
+ skill; the header exists so the rules survive even where skills don't reach.
42
+ - problems.md state machine: the Junior ALWAYS writes
43
+ `reports/execution-report.md`; hard bugs additionally go to
44
+ `reports/problems.md` whose header carries its own fix protocol for the
45
+ Senior (fix all -> delete file + update report; unfixable -> mark
46
+ `STATUS: ESCALATED-TO-CEO`). `03`'s entry check routes on the presence of
47
+ problems.md: present = FIX mode, absent = review mode. After review the
48
+ Senior ALWAYS appends a "Senior Review Addendum" to
49
+ `reports/execution-report.md` (diff summary vs the tickets, fixes made
50
+ or "none") — the report is the phase's single on-disk record.
51
+ - `03` reviews the work against the **spec** (`docs/specs/<version>/...`) and
52
+ the ticket set: every acceptance criterion checked off, no work outside the
53
+ declared footprints.
54
+ - All phase outputs land in `reports/`: the reviewer's three reports are
55
+ written to `docs/handoff/<version>/phase-<N>/reports/{qa,security,sre}-review.md`;
56
+ role definitions live in `.agents/skills/review/references/`.
57
+ - NO GIT for agents: all agents edit the working tree only. No commit,
58
+ branch, push, reset, merge — read-only git (`status`/`diff`/`log`) is
59
+ fine. Ticket headings carry Conventional Commit messages used at commit
60
+ time. (History: an agent once committed straight to main; this rule is
61
+ the countermeasure.) Parallel tickets (`parallel-safe: yes`) run in
62
+ separate git worktrees and deliver diffs; the CEO applies and commits —
63
+ see `to-tickets` dev-ready conventions.
64
+ - The ONE exemption — `07-release.md`: a phase that ships a version
65
+ ends with `07`, which delegates the ENTIRE release to the Senior acting
66
+ as Release Engineer — version bump, verification, phase overview report,
67
+ staged commits, push, CI wait, tag, PyPI (see `.agents/skills/release/`).
68
+ The exemption travels with the document, not the agent: the Senior holding
69
+ `03` still must not touch git state; only the agent holding `07` may
70
+ run state-changing git, and only for the release steps `07` lists. This
71
+ is safe because `07`'s entry check requires every review gate to already
72
+ be on disk: Senior verdict in `03`, three reviewer APPROVE reports, no
73
+ `problems.md`.
74
+ - `docs/handoff/` is gitignored: tickets and gate docs are working files,
75
+ never committed (ADR-011). Specs are the exception by design (ADR-013):
76
+ they live in `docs/specs/` and are committed — the durable record the
77
+ code is reviewed against, in this phase and forever after.
78
+ - Real-run checks generate into a scratch dir OUTSIDE the repo, once,
79
+ deleted afterwards.
80
+ - Final verification loop in BOTH the tickets and `03`: the same
81
+ four-command suite, run in order — `uv sync --dev`, `uv run pytest`,
82
+ `uv run ruff check .`, `uv run pytest -m network` — with fix-and-rerun
83
+ from step 1 on any failure. The loop is bounded by the existing STOP
84
+ rules (a failure surviving 2 real fix attempts is a hard bug →
85
+ problems.md), so it cannot thrash tokens. The Senior reruns the suite
86
+ himself in `03` Step 2 rather than trusting the Junior's report.
87
+
88
+ ## Steps
89
+
90
+ 1. Read the phase scope. Sources, in order:
91
+ `docs/handoff/<version>/<version>-plan.md` (the phase section +
92
+ "Standing constraints"), the phase's spec(s) in `docs/specs/<version>/`
93
+ (if already written), `docs/version-plan.md` (roadmap context),
94
+ `docs/requirements.md` (the FRs the phase cites), `docs/architecture.md`
95
+ (Module Boundary + Dependency Rules), `docs/decisions/` (the ADRs the
96
+ phase cites — always ADR-013), `docs/cli-spec.md` (exit codes),
97
+ `AGENTS.md` (hard rules),
98
+ `.agents/skills/review/references/{qa,security,sre}.md` (the reviewer's
99
+ standing role definitions). Extract: scope items (with concrete
100
+ `src/dev_ready/...` file paths), acceptance criteria, known traps the
101
+ plan calls out, and cross-phase couplings (things this phase must NOT do
102
+ because a later phase owns them).
103
+
104
+ 2. Check the loop position. If no spec exists yet for this phase's FR(s),
105
+ tell the CEO the Planning layer comes first (grill-with-docs → to-spec)
106
+ and stop — gate docs generated against no spec review nothing. If specs
107
+ exist but no tickets, note that `to-tickets` is the next step; `03`–`06`
108
+ can still be generated in advance from the spec.
109
+
110
+ 3. Determine whether this phase ships a release. Check the plan: does this
111
+ phase close out a version (version bump / release / tag mentioned in the
112
+ phase section or close-out notes)? Not every phase releases. If it does,
113
+ extract the release version `X.Y.Z` (must be greater than the current
114
+ `version` in `pyproject.toml`) and which phase(s) the release covers. If
115
+ the plan is ambiguous, ask the CEO instead of guessing — `07` grants git
116
+ authority, so generating it for a non-release phase is exactly the
117
+ failure mode to avoid.
118
+
119
+ 4. Read `references/templates.md` (next to this file) and instantiate
120
+ `03`–`06` plus `reports/README.md`, replacing every `{{...}}`
121
+ placeholder. (The `01`/`02` templates in that file are superseded by
122
+ specs/tickets — skip them.) For a release phase, additionally
123
+ instantiate `07-release.md`. Do not weaken protocol wording (STOP rules,
124
+ NO GIT, the `07` git-exemption scoping, problems.md template) —
125
+ phase-specific content goes in the marked slots only.
126
+
127
+ 5. Derive the reviewer's phase-specific "Verify specifically" lists from the
128
+ spec and ticket footprints: QA = test-tier coverage of each new behavior +
129
+ error paths + regressions; Security = untrusted input paths, leak/bypass
130
+ surface, pins/deps/workflow-permission deltas; SRE = new failure modes,
131
+ all-or-nothing preservation, message/exit-code quality, added
132
+ maintenance load.
133
+
134
+ 6. Sanity checklist before finishing:
135
+ - All paths use `docs/handoff/<version>/phase-<N>/` (no root-level
136
+ `handoff/`, no `docs/handoffs` — that name is the PRODUCT overlay
137
+ scaffold shipped to generated projects, FR-10, an entirely different
138
+ thing). Specs use `docs/specs/<version>/`.
139
+ - Reviewer reports go to `<phase>/reports/{qa,security,sre}-review.md`.
140
+ - `03` contains the ALWAYS-update-execution-report step before the
141
+ verdict, and names the spec path it reviews against.
142
+ - No instruction telling any agent to commit, branch, or merge — EXCEPT
143
+ inside `07`, whose git authority is explicitly scoped to its own
144
+ release steps. No other file may grant or imply git authority.
145
+ - `07` exists if and only if this phase ships a release; its `X.Y.Z` is
146
+ consistent everywhere in the file and greater than the current
147
+ pyproject version; its entry check names the Senior verdict, all three
148
+ reviewer APPROVE reports, and the absence of `problems.md`.
149
+ - Version/phase strings consistent across all files.
150
+ - Couplings stated (e.g. "Do NOT include README.md — that is Phase 2").
151
+
152
+ 7. Tell the CEO the trigger sequence: Planning (grill-with-docs → to-spec,
153
+ CEO accepts the spec) -> Dispatch (to-tickets, CEO approves the
154
+ breakdown) -> Execution (hand each frontier ticket to a Junior; if
155
+ `reports/problems.md` appears give it + the ticket to the Senior) ->
156
+ Verification (give `03` to the Senior -> `04`–`06` to the Reviewer) ->
157
+ non-release phase: CEO applies any parallel-ticket diffs in order and
158
+ commits using the Conventional Commit messages from the ticket headings;
159
+ release phase: give `07` to the Senior, who runs the whole release
160
+ (commits, push, CI, tag, PyPI) and reports back.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: implement
3
+ description: "Implement a piece of work based on a spec or set of tickets."
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ Implement the work described by the user in the spec or tickets.
8
+
9
+ Use /tdd where possible, at pre-agreed seams.
10
+
11
+ Run typechecking regularly, single test files regularly, and the full test suite once at the end.
12
+
13
+ Once done, use /code-review to review the work.
14
+
15
+ ## dev-ready conventions (ADR-013)
16
+
17
+ This is the Execution-layer step of the internal four-phase process, run by the
18
+ Junior role on one ticket from `docs/handoff/<version>/phase-N/tickets/`:
19
+
20
+ - **One ticket at a time.** Stay inside the ticket's declared file footprint;
21
+ if the work genuinely needs a path outside it, stop and report — don't
22
+ expand silently.
23
+ - **TDD is mandatory, not "where possible"**: red (failing test) → green
24
+ (minimal implementation) → refactor. `uv run pytest` and
25
+ `uv run ruff check .` must pass before the ticket is done.
26
+ - **Never run state-changing git** (commit/branch/push). In the default
27
+ sequential mode you work in the main working tree and leave the changes for
28
+ the CEO to commit after reviews. In parallel mode (ticket marked
29
+ `parallel-safe: yes`) you work in your assigned git worktree and deliver a
30
+ diff/patch back.
31
+ - **Hard bug? STOP.** Do not keep grinding: log it in the phase
32
+ `reports/problems.md` (symptom, what you tried, suspected area) and move to
33
+ the next unblocked ticket. Hard bugs escalate to the Senior role — use
34
+ /diagnosing-bugs only within a bounded attempt, not as a license to grind.
35
+ - Finish by updating the phase execution report in `reports/` (what was built,
36
+ test evidence, per ticket).
@@ -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