@cubis/foundry 0.3.77 → 0.3.79

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 (206) hide show
  1. package/dist/cli/build/commands.js +19 -0
  2. package/dist/cli/build/commands.js.map +1 -0
  3. package/dist/cli/commands/register.js +4 -0
  4. package/dist/cli/commands/register.js.map +1 -1
  5. package/dist/cli/core.js +1355 -46
  6. package/dist/cli/core.js.map +1 -1
  7. package/package.json +4 -3
  8. package/src/cli/build/commands.ts +39 -0
  9. package/src/cli/commands/register.ts +6 -0
  10. package/src/cli/core.ts +1689 -75
  11. package/workflows/skills/generated/skill-audit.json +11 -2
  12. package/workflows/skills/generated/skill-catalog.json +38 -4
  13. package/workflows/skills/skills_index.json +34 -0
  14. package/workflows/skills/spec-driven-delivery/SKILL.md +63 -0
  15. package/workflows/workflows/agent-environment-setup/generated/route-manifest.json +117 -4
  16. package/workflows/workflows/agent-environment-setup/manifest.json +21 -0
  17. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/accessibility.toml +10 -5
  18. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/architecture.toml +19 -0
  19. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/backend.toml +10 -5
  20. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/create.toml +10 -5
  21. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/database.toml +10 -5
  22. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/debug.toml +10 -5
  23. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/devops.toml +10 -5
  24. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/implement-track.toml +10 -5
  25. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/migrate.toml +10 -5
  26. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/mobile.toml +10 -5
  27. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/onboard.toml +10 -5
  28. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/orchestrate.toml +10 -5
  29. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/plan.toml +10 -5
  30. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/refactor.toml +10 -5
  31. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/release.toml +10 -5
  32. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/review.toml +10 -5
  33. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/security.toml +10 -5
  34. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/spec.toml +19 -0
  35. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/test.toml +10 -5
  36. package/workflows/workflows/agent-environment-setup/platforms/antigravity/commands/vercel.toml +10 -5
  37. package/workflows/workflows/agent-environment-setup/platforms/antigravity/rules/GEMINI.md +3 -1
  38. package/workflows/workflows/agent-environment-setup/platforms/antigravity/skills/spec-driven-delivery/SKILL.md +65 -0
  39. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/architecture.md +87 -0
  40. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/backend.md +3 -0
  41. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/create.md +4 -1
  42. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/database.md +3 -0
  43. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/implement-track.md +7 -1
  44. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/migrate.md +4 -1
  45. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/mobile.md +3 -0
  46. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/onboard.md +1 -0
  47. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/orchestrate.md +6 -1
  48. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/plan.md +12 -2
  49. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/refactor.md +3 -0
  50. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/release.md +3 -0
  51. package/workflows/workflows/agent-environment-setup/platforms/antigravity/workflows/spec.md +81 -0
  52. package/workflows/workflows/agent-environment-setup/platforms/claude/rules/CLAUDE.md +3 -1
  53. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/skills_index.json +34 -0
  54. package/workflows/workflows/agent-environment-setup/platforms/claude/skills/spec-driven-delivery/SKILL.md +66 -0
  55. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/architecture.md +85 -0
  56. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/backend.md +3 -0
  57. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/create.md +4 -1
  58. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/database.md +3 -0
  59. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/implement-track.md +7 -1
  60. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/migrate.md +4 -1
  61. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/mobile.md +3 -0
  62. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/onboard.md +1 -0
  63. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/orchestrate.md +6 -1
  64. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/plan.md +12 -2
  65. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/refactor.md +3 -0
  66. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/release.md +3 -0
  67. package/workflows/workflows/agent-environment-setup/platforms/claude/workflows/spec.md +79 -0
  68. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/backend-specialist.md +1 -1
  69. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/code-archaeologist.md +1 -1
  70. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/database-architect.md +1 -1
  71. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/debugger.md +1 -1
  72. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/devops-engineer.md +1 -1
  73. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/documentation-writer.md +1 -1
  74. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/frontend-specialist.md +1 -1
  75. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/game-developer.md +1 -1
  76. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/mobile-developer.md +1 -1
  77. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/orchestrator.md +1 -1
  78. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/penetration-tester.md +1 -1
  79. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/performance-optimizer.md +1 -1
  80. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/product-manager.md +1 -1
  81. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/project-planner.md +1 -1
  82. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/qa-automation-engineer.md +1 -1
  83. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/researcher.md +1 -1
  84. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/security-auditor.md +1 -1
  85. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/seo-specialist.md +1 -1
  86. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/sre-engineer.md +1 -1
  87. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/test-engineer.md +1 -1
  88. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/validator.md +1 -1
  89. package/workflows/workflows/agent-environment-setup/platforms/codex/agents/vercel-expert.md +1 -1
  90. package/workflows/workflows/agent-environment-setup/platforms/codex/rules/AGENTS.md +3 -1
  91. package/workflows/workflows/agent-environment-setup/platforms/codex/skills/spec-driven-delivery/SKILL.md +65 -0
  92. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/accessibility.md +1 -1
  93. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/architecture.md +87 -0
  94. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/backend.md +4 -1
  95. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/create.md +5 -2
  96. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/database.md +4 -1
  97. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/debug.md +1 -1
  98. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/devops.md +1 -1
  99. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/implement-track.md +8 -2
  100. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/migrate.md +5 -2
  101. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/mobile.md +4 -1
  102. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/onboard.md +2 -1
  103. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/orchestrate.md +7 -2
  104. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/plan.md +13 -3
  105. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/refactor.md +4 -1
  106. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/release.md +4 -1
  107. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/review.md +1 -1
  108. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/security.md +1 -1
  109. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/spec.md +81 -0
  110. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/test.md +1 -1
  111. package/workflows/workflows/agent-environment-setup/platforms/codex/workflows/vercel.md +1 -1
  112. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-accessibility.prompt.md +9 -4
  113. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-architecture.prompt.md +18 -0
  114. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-backend.prompt.md +9 -4
  115. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-create.prompt.md +9 -4
  116. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-database.prompt.md +9 -4
  117. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-debug.prompt.md +9 -4
  118. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-devops.prompt.md +9 -4
  119. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-implement-track.prompt.md +9 -4
  120. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-migrate.prompt.md +9 -4
  121. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-mobile.prompt.md +9 -4
  122. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-onboard.prompt.md +9 -4
  123. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-orchestrate.prompt.md +9 -4
  124. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-plan.prompt.md +9 -4
  125. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-refactor.prompt.md +9 -4
  126. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-release.prompt.md +9 -4
  127. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-review.prompt.md +9 -4
  128. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-security.prompt.md +9 -4
  129. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-spec.prompt.md +18 -0
  130. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-test.prompt.md +9 -4
  131. package/workflows/workflows/agent-environment-setup/platforms/copilot/prompts/workflow-vercel.prompt.md +9 -4
  132. package/workflows/workflows/agent-environment-setup/platforms/copilot/rules/copilot-instructions.md +3 -1
  133. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/skills_index.json +34 -0
  134. package/workflows/workflows/agent-environment-setup/platforms/copilot/skills/spec-driven-delivery/SKILL.md +70 -0
  135. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/architecture.md +85 -0
  136. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/backend.md +3 -0
  137. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/create.md +4 -1
  138. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/database.md +3 -0
  139. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/implement-track.md +7 -1
  140. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/migrate.md +4 -1
  141. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/mobile.md +3 -0
  142. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/onboard.md +1 -0
  143. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/orchestrate.md +6 -1
  144. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/plan.md +12 -2
  145. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/refactor.md +3 -0
  146. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/release.md +3 -0
  147. package/workflows/workflows/agent-environment-setup/platforms/copilot/workflows/spec.md +79 -0
  148. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/accessibility.toml +10 -5
  149. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/architecture.toml +19 -0
  150. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/backend.toml +10 -5
  151. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/create.toml +10 -5
  152. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/database.toml +10 -5
  153. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/debug.toml +10 -5
  154. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/devops.toml +10 -5
  155. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/implement-track.toml +10 -5
  156. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/migrate.toml +10 -5
  157. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/mobile.toml +10 -5
  158. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/onboard.toml +10 -5
  159. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/orchestrate.toml +10 -5
  160. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/plan.toml +10 -5
  161. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/refactor.toml +10 -5
  162. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/release.toml +10 -5
  163. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/review.toml +10 -5
  164. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/security.toml +10 -5
  165. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/spec.toml +19 -0
  166. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/test.toml +10 -5
  167. package/workflows/workflows/agent-environment-setup/platforms/gemini/commands/vercel.toml +10 -5
  168. package/workflows/workflows/agent-environment-setup/platforms/gemini/rules/GEMINI.md +3 -1
  169. package/workflows/workflows/agent-environment-setup/platforms/gemini/skills/spec-driven-delivery/SKILL.md +65 -0
  170. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/architecture.md +87 -0
  171. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/backend.md +3 -0
  172. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/create.md +4 -1
  173. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/database.md +3 -0
  174. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/implement-track.md +7 -1
  175. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/migrate.md +4 -1
  176. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/mobile.md +3 -0
  177. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/onboard.md +1 -0
  178. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/orchestrate.md +6 -1
  179. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/plan.md +12 -2
  180. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/refactor.md +3 -0
  181. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/release.md +3 -0
  182. package/workflows/workflows/agent-environment-setup/platforms/gemini/workflows/spec.md +81 -0
  183. package/workflows/workflows/agent-environment-setup/shared/agents/backend-specialist.md +5 -5
  184. package/workflows/workflows/agent-environment-setup/shared/agents/database-architect.md +3 -3
  185. package/workflows/workflows/agent-environment-setup/shared/agents/orchestrator.md +8 -8
  186. package/workflows/workflows/agent-environment-setup/shared/agents/penetration-tester.md +3 -3
  187. package/workflows/workflows/agent-environment-setup/shared/agents/product-manager.md +6 -6
  188. package/workflows/workflows/agent-environment-setup/shared/agents/project-planner.md +8 -8
  189. package/workflows/workflows/agent-environment-setup/shared/agents/researcher.md +8 -8
  190. package/workflows/workflows/agent-environment-setup/shared/agents/security-auditor.md +2 -2
  191. package/workflows/workflows/agent-environment-setup/shared/rules/STEERING.md +13 -0
  192. package/workflows/workflows/agent-environment-setup/shared/rules/overrides/codex.md +3 -3
  193. package/workflows/workflows/agent-environment-setup/shared/workflows/architecture.md +85 -0
  194. package/workflows/workflows/agent-environment-setup/shared/workflows/backend.md +8 -5
  195. package/workflows/workflows/agent-environment-setup/shared/workflows/create.md +5 -2
  196. package/workflows/workflows/agent-environment-setup/shared/workflows/database.md +6 -3
  197. package/workflows/workflows/agent-environment-setup/shared/workflows/implement-track.md +12 -6
  198. package/workflows/workflows/agent-environment-setup/shared/workflows/migrate.md +7 -4
  199. package/workflows/workflows/agent-environment-setup/shared/workflows/mobile.md +3 -0
  200. package/workflows/workflows/agent-environment-setup/shared/workflows/onboard.md +6 -5
  201. package/workflows/workflows/agent-environment-setup/shared/workflows/orchestrate.md +10 -5
  202. package/workflows/workflows/agent-environment-setup/shared/workflows/plan.md +17 -7
  203. package/workflows/workflows/agent-environment-setup/shared/workflows/refactor.md +5 -2
  204. package/workflows/workflows/agent-environment-setup/shared/workflows/release.md +3 -0
  205. package/workflows/workflows/agent-environment-setup/shared/workflows/security.md +2 -2
  206. package/workflows/workflows/agent-environment-setup/shared/workflows/spec.md +79 -0
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `system-design`, `code-review`, `unit-testing`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/system-design/SKILL.md`, `.github/skills/code-review/SKILL.md`, `.github/skills/unit-testing/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`, `.github/skills/python-best-practices/SKILL.md`, `.github/skills/golang-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `expo-app`, `react-native`, `stitch`, `frontend-design`, `swift-best-practices`, `kotlin-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/expo-app/SKILL.md`, `.github/skills/react-native/SKILL.md`, `.github/skills/stitch/SKILL.md`, `.github/skills/frontend-design/SKILL.md`, `.github/skills/swift-best-practices/SKILL.md`, `.github/skills/kotlin-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `deep-research`, `system-design`, `database-design`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/deep-research/SKILL.md`, `.github/skills/system-design/SKILL.md`, `.github/skills/database-design/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`, `.github/skills/python-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`.
13
+ - Local skill file hints if installed: `.github/skills/system-design/SKILL.md`, `.github/skills/api-design/SKILL.md`, `.github/skills/database-design/SKILL.md`, `.github/skills/deep-research/SKILL.md`, `.github/skills/mcp-server-builder/SKILL.md`, `.github/skills/tech-doc/SKILL.md`, `.github/skills/prompt-engineering/SKILL.md`, `.github/skills/skill-creator/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`.
13
+ - Local skill file hints if installed: `.github/skills/system-design/SKILL.md`, `.github/skills/api-design/SKILL.md`, `.github/skills/database-design/SKILL.md`, `.github/skills/deep-research/SKILL.md`, `.github/skills/mcp-server-builder/SKILL.md`, `.github/skills/tech-doc/SKILL.md`, `.github/skills/prompt-engineering/SKILL.md`, `.github/skills/skill-creator/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `code-review`, `system-design`, `unit-testing`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/code-review/SKILL.md`, `.github/skills/system-design/SKILL.md`, `.github/skills/unit-testing/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`, `.github/skills/python-best-practices/SKILL.md`, `.github/skills/golang-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `ci-cd-pipeline`, `git-workflow`, `tech-doc`, `observability`, `kubernetes-deploy`, `typescript-best-practices`, `javascript-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/ci-cd-pipeline/SKILL.md`, `.github/skills/git-workflow/SKILL.md`, `.github/skills/tech-doc/SKILL.md`, `.github/skills/observability/SKILL.md`, `.github/skills/kubernetes-deploy/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `code-review`, `unit-testing`, `owasp-security-review`, `performance-testing`, `react`, `nextjs`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/code-review/SKILL.md`, `.github/skills/unit-testing/SKILL.md`, `.github/skills/owasp-security-review/SKILL.md`, `.github/skills/performance-testing/SKILL.md`, `.github/skills/react/SKILL.md`, `.github/skills/nextjs/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `owasp-security-review`, `code-review`, `api-design`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`, `rust-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/owasp-security-review/SKILL.md`, `.github/skills/code-review/SKILL.md`, `.github/skills/api-design/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`, `.github/skills/python-best-practices/SKILL.md`, `.github/skills/golang-best-practices/SKILL.md`, `.github/skills/rust-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -0,0 +1,18 @@
1
+ # Workflow Prompt: /spec
2
+
3
+ Create or refresh a Git-tracked spec pack for non-trivial work, including acceptance criteria, traceability, architecture impact, and next-route handoff.
4
+
5
+ Use this prompt with the matching workflow file:
6
+ - Workflow: ../copilot/workflows/spec.md
7
+
8
+ Execution contract:
9
+ 1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `spec-driven-delivery`, `sadd`, `system-design`, `architecture-doc`, `deep-research`, `api-design`, `database-design`, `tech-doc`.
13
+ - Local skill file hints if installed: `.github/skills/spec-driven-delivery/SKILL.md`, `.github/skills/sadd/SKILL.md`, `.github/skills/system-design/SKILL.md`, `.github/skills/architecture-doc/SKILL.md`, `.github/skills/deep-research/SKILL.md`, `.github/skills/api-design/SKILL.md`, `.github/skills/database-design/SKILL.md`, `.github/skills/tech-doc/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `unit-testing`, `integration-testing`, `playwright-interactive`, `observability`, `systematic-debugging`, `code-review`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`, `java-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/unit-testing/SKILL.md`, `.github/skills/integration-testing/SKILL.md`, `.github/skills/playwright-interactive/SKILL.md`, `.github/skills/observability/SKILL.md`, `.github/skills/systematic-debugging/SKILL.md`, `.github/skills/code-review/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -7,7 +7,12 @@ Use this prompt with the matching workflow file:
7
7
 
8
8
  Execution contract:
9
9
  1. Treat route selection as already resolved by this prompt; do not begin with skill discovery.
10
- 2. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
11
- 3. Route to the workflow's primary specialist and only add supporting specialists when needed.
12
- 4. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
13
- 5. Return actions taken, verification evidence, and any gaps.
10
+ 2. Read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order when they exist before non-trivial execution.
11
+ Attached skills:
12
+ - Load these exact skill IDs first: `nextjs`, `ci-cd-pipeline`, `performance-testing`, `react`, `frontend-design`, `javascript-best-practices`, `typescript-best-practices`.
13
+ - Local skill file hints if installed: `.github/skills/nextjs/SKILL.md`, `.github/skills/ci-cd-pipeline/SKILL.md`, `.github/skills/performance-testing/SKILL.md`, `.github/skills/react/SKILL.md`, `.github/skills/frontend-design/SKILL.md`, `.github/skills/javascript-best-practices/SKILL.md`, `.github/skills/typescript-best-practices/SKILL.md`.
14
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
15
+ 3. Apply workflow sections in order: When to use, Workflow steps, Context notes, Verification.
16
+ 4. Route to the workflow's primary specialist and only add supporting specialists when needed.
17
+ 5. If freshness or public comparison matters, run `deep-research` before implementation and use official docs as primary evidence.
18
+ 6. Return actions taken, verification evidence, and any gaps.
@@ -425,6 +425,8 @@ Keep MCP context lazy and exact. Skills are supporting context, not the route la
425
425
  8. Do not auto-prime every specialist with a skill. Load only what the task clearly needs.
426
426
  9. For research: repo/local evidence first, official docs next, Reddit/community only as labeled secondary evidence.
427
427
  10. Escalate to research only when freshness matters, public comparison matters, or the user explicitly asks to research/verify.
428
- 11. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
428
+ 11. For non-trivial work, read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist.
429
+ 12. If those docs declare architecture or design-system rules, follow them unless the current spec or task explicitly changes them.
430
+ 13. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
429
431
 
430
432
  <!-- cbx:mcp:auto:end -->
@@ -1721,6 +1721,40 @@
1721
1721
  "core-operating"
1722
1722
  ]
1723
1723
  },
1724
+ {
1725
+ "id": "spec-driven-delivery",
1726
+ "package_id": "spec-driven-delivery",
1727
+ "catalog_id": "spec-driven-delivery",
1728
+ "kind": "skill",
1729
+ "name": "spec-driven-delivery",
1730
+ "canonical": true,
1731
+ "canonical_id": "spec-driven-delivery",
1732
+ "deprecated": false,
1733
+ "replaced_by": null,
1734
+ "aliases": [],
1735
+ "category": "workflow-specialists",
1736
+ "layer": "workflow-specialists",
1737
+ "maturity": "incubating",
1738
+ "tier": "experimental",
1739
+ "tags": [
1740
+ "delivery",
1741
+ "driven",
1742
+ "spec",
1743
+ "spec driven delivery",
1744
+ "spec-driven-delivery",
1745
+ "workflow-specialists"
1746
+ ],
1747
+ "path": ".github/skills/spec-driven-delivery/SKILL.md",
1748
+ "description": "Use when turning a non-trivial request into a Git-tracked spec pack, maintaining traceability during execution, and updating specs before code when requirements or architecture change.",
1749
+ "triggers": [
1750
+ "spec-driven-delivery",
1751
+ "spec driven delivery",
1752
+ "spec",
1753
+ "driven",
1754
+ "delivery",
1755
+ "workflow-specialists"
1756
+ ]
1757
+ },
1724
1758
  {
1725
1759
  "id": "spring-boot",
1726
1760
  "package_id": "spring-boot",
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: spec-driven-delivery
3
+ description: Use when turning a non-trivial request into a Git-tracked spec pack, maintaining traceability during execution, and updating specs before code when requirements or architecture change.
4
+ license: MIT
5
+ metadata:
6
+ author: cubis-foundry
7
+ version: "1.0"
8
+ compatibility: Claude Code, Codex, GitHub Copilot
9
+ ---
10
+ # Spec-Driven Delivery
11
+
12
+ ## Purpose
13
+
14
+ Create and maintain a lightweight source of truth for non-trivial work. This skill turns requirements, decisions, acceptance criteria, and architecture impact into a spec pack under the `docs/specs/<spec-id>/` workspace area, then keeps that pack aligned as implementation evolves.
15
+
16
+ ## When to Use
17
+
18
+ - Planning a medium or large feature before implementation
19
+ - Capturing acceptance criteria, traceability, and architecture impact in Git
20
+ - Reusing or refreshing an existing spec pack for a follow-up change
21
+ - Bridging native plan-mode output into durable project documents
22
+ - Keeping implementation, verification, and documentation aligned across sessions
23
+
24
+ ## Instructions
25
+
26
+ 1. **Classify the task first** because trivial work should not pay spec overhead. Use this skill only when the task is multi-step, cross-session, cross-domain, risky, or likely to change architecture, testing strategy, or team coordination.
27
+ 2. **Look for an existing spec pack before creating a new one** because duplicate specs create drift. Reuse the closest matching spec directory when the current request extends an active initiative.
28
+ 3. **Create a stable `spec_id` and spec root** because the same identifier should survive planning, execution, review, and follow-up changes.
29
+ 4. **Write the minimum viable pack** because the goal is durable coordination, not bureaucracy. Keep the brief, acceptance, tasks, traceability, and handoff documents concise and testable.
30
+ 5. **Use `sadd` when turning requirements into assertions** because spec quality depends on extracting testable behavior instead of leaving requirements vague.
31
+ 6. **Record architecture impact explicitly** because implementation must stay aligned with the project architecture contract and current-state tech map. Mark whether the change affects architecture style, module boundaries, dependency rules, design system, deployment shape, or testing strategy.
32
+ 7. **Update the spec before implementation changes behavior** because traceability breaks when code changes first and docs lag behind.
33
+ 8. **Keep the task graph execution-ready** because `/implement-track` and `/orchestrate` should be able to act on the spec without replanning. Every task should have ownership, dependencies, acceptance criteria, and a verification path.
34
+ 9. **Route external research through `deep-research`** because repo-first planning still needs disciplined escalation when freshness or public comparison matters.
35
+ 10. **Emit a clear next route** because spec work usually hands off into `/create`, `/implement-track`, `/orchestrate`, or `/architecture`.
36
+ 11. **Report `doc_impact` and `traceability_status`** because feature work should surface whether the architecture contract or tech map must be refreshed at the end.
37
+ 12. **Keep the pack alive during execution** because a stale spec is worse than none. Update acceptance, tasks, and traceability when scope or constraints change.
38
+
39
+ ## Output Format
40
+
41
+ Deliver:
42
+
43
+ 1. **Spec summary** — `spec_id`, `spec_root`, goal, scope, and why spec mode is warranted
44
+ 2. **Acceptance and traceability state** — requirements, open gaps, and `traceability_status`
45
+ 3. **Execution-ready plan** — tasks, owners, dependencies, and verification checkpoints
46
+ 4. **Architecture and doc impact** — `architecture_impact` plus `doc_impact`
47
+ 5. **Recommended next route** — exact workflow, agent, or skill to continue from the spec
48
+
49
+ ## References
50
+
51
+ | File | Load when |
52
+ | --- | --- |
53
+ | `../sadd/SKILL.md` | Need requirement mining, GIVEN-WHEN-THEN specs, or traceability patterns. |
54
+ | `../architecture-doc/SKILL.md` | Need ADRs, system boundaries, or architecture-document structure. |
55
+ | `../deep-research/SKILL.md` | Need repo-first research escalation or evidence labeling rules. |
56
+
57
+ ## Examples
58
+
59
+ | File | Use when |
60
+ | --- | --- |
61
+ | `../sadd/references/spec-mining.md` | Turning loose requirements into testable spec entries. |
62
+ | `../sadd/references/coverage-mapping.md` | Building a traceability matrix that links specs, tests, and code. |
63
+
64
+ ## Copilot Platform Notes
65
+
66
+ - Skill files are stored under `.github/prompts/` (prompt files) and `.github/instructions/` (instruction files).
67
+ - Copilot does not support subagent spawning — all skill guidance executes within the current conversation context.
68
+ - User arguments are provided as natural language input in the prompt, not through a `$ARGUMENTS` variable.
69
+ - Frontmatter keys `context`, `agent`, and `allowed-tools` are not supported; guidance is advisory only.
70
+ - Reference files can be included via `#file:references/<name>.md` syntax in Copilot Chat.
@@ -0,0 +1,85 @@
1
+ ---
2
+ command: "/architecture"
3
+ description: "Refresh the project backbone docs in PRODUCT.md, ARCHITECTURE.md, ENGINEERING_RULES.md, TECH.md, ROADMAP.md, and ADR scaffolds with explicit structure, design-system, testing, and flow guidance."
4
+ triggers:
5
+ [
6
+ "architecture",
7
+ "design system",
8
+ "adr",
9
+ "clean architecture",
10
+ "system map",
11
+ "app structure",
12
+ "technical governance",
13
+ "flow diagram",
14
+ ]
15
+ ---
16
+
17
+ # Architecture Workflow
18
+
19
+ ## When to use
20
+
21
+ Use this when the task is to declare, refresh, or validate the project backbone docs, especially after structure changes, scale changes, design-system changes, migrations, product-direction shifts, or major feature additions.
22
+
23
+ ## Routing
24
+
25
+ - Primary coordinator: `@project-planner`
26
+ - Documentation support: `@documentation-writer`
27
+ - Research support: `@researcher`
28
+ - Domain validation: `@backend-specialist`, `@frontend-specialist`, `@database-architect`
29
+
30
+ ## Skill Routing
31
+
32
+ - Primary skills: `architecture-doc`, `system-design`, `tech-doc`, `frontend-design`
33
+ - Supporting skills (optional): `api-design`, `database-design`, `sadd`, `deep-research`
34
+ - Load the four primary skills directly for this workflow. Add `api-design` or `database-design` when service or data boundaries are central, `sadd` when tying the architecture update to an active spec pack, and `deep-research` only when outside evidence is required.
35
+
36
+ ## Workflow steps
37
+
38
+ 1. Inspect the repo first and read `PRODUCT.md`, `ENGINEERING_RULES.md`, `ARCHITECTURE.md`, and `TECH.md` in that order if they exist.
39
+ 2. Determine the current product surfaces, architecture style, module boundaries, design-system source of truth, roadmap themes, and testing strategy from the codebase.
40
+ 3. Update the managed backbone sections in `PRODUCT.md`, `ARCHITECTURE.md`, `ENGINEERING_RULES.md`, `TECH.md`, and `ROADMAP.md`.
41
+ 4. Add or refresh Mermaid diagrams and flow narratives inside `ARCHITECTURE.md` or `TECH.md` when they clarify system behavior.
42
+ 5. Seed or refresh `docs/adr/README.md` and keep ADR linkage explicit when decisions should be durable.
43
+ 6. Record whether the update was driven by a broader spec and whether future implementation must follow newly declared rules.
44
+
45
+ ## Context notes
46
+
47
+ - This workflow is route-fixed and skill-fixed: do not start with `route_resolve` or `skill_search`.
48
+ - `PRODUCT.md` captures intent, `ARCHITECTURE.md` captures accepted structure, `ENGINEERING_RULES.md` is normative, and `TECH.md` is descriptive. Keep them aligned but not redundant.
49
+ - Preserve manual content outside the managed architecture sections.
50
+ - Mark non-applicable sections explicitly instead of silently omitting them.
51
+
52
+ ## Verification
53
+
54
+ - Managed backbone sections exist in the target docs.
55
+ - Product intent, architecture style, dependency rules, and design-system guidance are explicit.
56
+ - `ARCHITECTURE.md` or `TECH.md` includes flow text and at least one Mermaid diagram when the repo has meaningful flow complexity.
57
+ - The update records `doc_impact` and whether future feature work must refresh the docs again.
58
+
59
+ ## Output Contract
60
+
61
+ ```yaml
62
+ ARCHITECTURE_WORKFLOW_RESULT:
63
+ primary_agent: project-planner
64
+ supporting_agents: [documentation-writer?, researcher?, backend-specialist?, frontend-specialist?, database-architect?]
65
+ primary_skills: [architecture-doc, system-design, tech-doc, frontend-design]
66
+ supporting_skills: [api-design?, database-design?, sadd?, deep-research?]
67
+ managed_targets:
68
+ product_doc: PRODUCT.md
69
+ architecture_doc: ARCHITECTURE.md
70
+ rules_doc: ENGINEERING_RULES.md
71
+ tech_doc: TECH.md
72
+ roadmap_doc: ROADMAP.md
73
+ adr_dir: docs/adr
74
+ files_updated: [PRODUCT.md, ARCHITECTURE.md, ENGINEERING_RULES.md, TECH.md, ROADMAP.md]
75
+ architecture_contract:
76
+ style: <string>
77
+ dependency_rules: [<string>]
78
+ design_system_source: <string>
79
+ technical_snapshot:
80
+ topology: [<string>]
81
+ flows: [<string>]
82
+ diagrams: [<string>] | []
83
+ doc_impact: rules | tech | both
84
+ next_actions: [<string>] | []
85
+ ```
@@ -36,6 +36,7 @@ Use this for backend architecture, API design, service implementation, or Postma
36
36
 
37
37
  - This workflow file, active platform rules, and selected agents or skills guide execution.
38
38
  - Attach API specifications, schema diagrams, Postman collections, and relevant service code.
39
+ - Read `ENGINEERING_RULES.md` and `TECH.md` before changing service boundaries or shared backend structure.
39
40
 
40
41
  ## Skill Routing
41
42
 
@@ -50,6 +51,7 @@ Use this for backend architecture, API design, service implementation, or Postma
50
51
  3. Implement backend logic with proper error handling and validation.
51
52
  4. Write integration tests covering happy path and error cases.
52
53
  5. Review for security, performance, and reliability.
54
+ 6. Set `doc_impact` if the change alters service boundaries, shared contracts, or operational shape.
53
55
 
54
56
  ## Verification
55
57
 
@@ -74,6 +76,7 @@ BACKEND_WORKFLOW_RESULT:
74
76
  implementation:
75
77
  files_changed: [<path>]
76
78
  tests_added: [<path>]
79
+ doc_impact: none | tech | rules | both
77
80
  verification:
78
81
  checks_run: [<command-or-test>]
79
82
  evidence: [<string>]
@@ -22,6 +22,7 @@ Use this for net-new implementation after design is stable.
22
22
 
23
23
  - This workflow file, active platform rules, and selected agents or skills guide execution.
24
24
  - Attach logs, screenshots, failing output, and relevant paths when context is incomplete.
25
+ - Read `ENGINEERING_RULES.md` first and `TECH.md` next for non-trivial work so new code follows the declared architecture and design-system rules.
25
26
 
26
27
  ## Skill Routing
27
28
 
@@ -35,7 +36,8 @@ Use this for net-new implementation after design is stable.
35
36
  1. Confirm target files and contracts.
36
37
  2. Implement smallest coherent increment.
37
38
  3. Validate behavior with focused tests.
38
- 4. Capture remaining gaps and follow-ups.
39
+ 4. Capture `doc_impact` when the feature changes architecture, boundaries, scale, or design-system rules.
40
+ 5. Capture remaining gaps and follow-ups.
39
41
 
40
42
  ## Verification
41
43
 
@@ -55,6 +57,7 @@ CREATE_WORKFLOW_RESULT:
55
57
  summary: <string>
56
58
  changed_artifacts: [<path-or-artifact>]
57
59
  behavioral_impact: [<string>]
60
+ doc_impact: none | tech | rules | both
58
61
  verification:
59
62
  checks_run: [<command-or-test>]
60
63
  evidence: [<string>]
@@ -20,6 +20,7 @@ Use this for schema design, query optimization, migration planning, or database
20
20
 
21
21
  - This workflow file, active platform rules, and selected agents or skills guide execution.
22
22
  - Attach existing schema, migration history, query patterns, and performance requirements.
23
+ - Read `ENGINEERING_RULES.md` and `TECH.md` before changing data ownership, persistence boundaries, or shared schema conventions.
23
24
 
24
25
  ## Skill Routing
25
26
 
@@ -34,6 +35,7 @@ Use this for schema design, query optimization, migration planning, or database
34
35
  3. Plan migration with rollback strategy.
35
36
  4. Optimize queries and indexes for known access patterns.
36
37
  5. Validate data integrity constraints.
38
+ 6. Set `doc_impact` if the change alters data boundaries, core entities, or persistence patterns that future work should follow.
37
39
 
38
40
  ## Verification
39
41
 
@@ -57,6 +59,7 @@ DATABASE_WORKFLOW_RESULT:
57
59
  query_optimization:
58
60
  queries_reviewed: <number>
59
61
  indexes_recommended: [<string>] | []
62
+ doc_impact: none | tech | rules | both
60
63
  integrity_checks: [<string>]
61
64
  follow_up_items: [<string>] | []
62
65
  ```
@@ -20,6 +20,8 @@ Use this for large-scale implementation work that spans multiple sessions or mil
20
20
 
21
21
  - This workflow file, active platform rules, and selected agents or skills guide execution.
22
22
  - Attach the implementation plan, milestone definitions, and acceptance criteria per milestone.
23
+ - Reuse `docs/specs/<spec-id>/` when present instead of maintaining a separate progress source of truth.
24
+ - Read `ENGINEERING_RULES.md` first and `TECH.md` next before starting milestone execution.
23
25
 
24
26
  ## Skill Routing
25
27
 
@@ -33,7 +35,7 @@ Use this for large-scale implementation work that spans multiple sessions or mil
33
35
  2. Execute current milestone with focused implementation.
34
36
  3. Run quality gate validation at milestone completion.
35
37
  4. Update progress tracking and capture status.
36
- 5. Adjust remaining plan based on learnings.
38
+ 5. Adjust remaining plan, spec traceability, and doc refresh needs based on learnings.
37
39
  6. Proceed to next milestone or report completion.
38
40
 
39
41
  ## Verification
@@ -59,5 +61,9 @@ IMPLEMENT_TRACK_WORKFLOW_RESULT:
59
61
  validation_evidence: <string>
60
62
  overall_progress: <percentage>
61
63
  scope_changes: [<string>] | []
64
+ spec_id: <string> | null
65
+ spec_root: docs/specs/<spec-id> | null
66
+ traceability_status: complete | partial | blocked
67
+ doc_impact: none | tech | rules | both
62
68
  follow_up_items: [<string>] | []
63
69
  ```
@@ -28,6 +28,7 @@ Use this for technology migrations, framework upgrades, dependency updates, or m
28
28
 
29
29
  - This workflow file, active platform rules, and selected agents or skills guide execution.
30
30
  - Attach the migration target, current versions, breaking change lists, and impact assessment.
31
+ - Read `ENGINEERING_RULES.md` and `TECH.md` first because migrations often change accepted patterns and current-state architecture at the same time.
31
32
 
32
33
  ## Skill Routing
33
34
 
@@ -42,7 +43,8 @@ Use this for technology migrations, framework upgrades, dependency updates, or m
42
43
  3. Plan incremental migration steps with rollback points.
43
44
  4. Execute migration one step at a time with verification.
44
45
  5. Update tests and documentation for new patterns.
45
- 6. Verify full system behavior after migration complete.
46
+ 6. Set `doc_impact` when the migration changes architecture, deployment shape, boundaries, or design-system rules.
47
+ 7. Verify full system behavior after migration complete.
46
48
 
47
49
  ## Verification
48
50
 
@@ -69,5 +71,6 @@ MIGRATE_WORKFLOW_RESULT:
69
71
  verification:
70
72
  tests_passed: true | false
71
73
  performance_impact: <string>
74
+ doc_impact: none | tech | rules | both
72
75
  follow_up_items: [<string>] | []
73
76
  ```
@@ -20,6 +20,7 @@ Use this for mobile app development, Flutter architecture, Stitch-driven mobile
20
20
 
21
21
  - This workflow file, active platform rules, and selected agents or skills guide execution.
22
22
  - Attach platform targets (iOS, Android, both), Flutter version, and relevant screen/feature context.
23
+ - Read `ENGINEERING_RULES.md` and `TECH.md` before implementing non-trivial mobile work so screens and features follow the declared architecture and design-system rules.
23
24
 
24
25
  ## Skill Routing
25
26
 
@@ -35,6 +36,7 @@ Use this for mobile app development, Flutter architecture, Stitch-driven mobile
35
36
  3. Implement with consideration for iOS/Android differences.
36
37
  4. Write widget and integration tests.
37
38
  5. Review for platform-specific edge cases and UX conventions.
39
+ 6. Set `doc_impact` if the feature changes navigation, shared UI rules, or mobile architecture conventions.
38
40
 
39
41
  ## Verification
40
42
 
@@ -62,5 +64,6 @@ MOBILE_WORKFLOW_RESULT:
62
64
  platform_notes:
63
65
  ios: [<string>] | []
64
66
  android: [<string>] | []
67
+ doc_impact: none | tech | rules | both
65
68
  follow_up_items: [<string>] | []
66
69
  ```
@@ -27,6 +27,7 @@ Use this when joining a new project, exploring an unfamiliar codebase, or prepar
27
27
 
28
28
  - This workflow file, active platform rules, and selected agents or skills guide execution.
29
29
  - Provide the repo URL, focus areas, and any specific questions to answer during onboarding.
30
+ - Read `ENGINEERING_RULES.md` first and `TECH.md` next when present so onboarding distinguishes the intended contract from current implementation reality.
30
31
 
31
32
  ## Skill Routing
32
33