@cubis/foundry 0.3.77 → 0.3.78

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 +787 -25
  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 +960 -28
  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 +82 -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 +80 -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 +82 -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 +80 -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 +82 -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 +80 -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
@@ -4,11 +4,16 @@ Follow the /devops workflow from .agent/workflows/devops.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `ci-cd-pipeline`, `kubernetes-deploy`, `observability`, `git-workflow`, `systematic-debugging`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/ci-cd-pipeline/SKILL.md`, `.agent/skills/kubernetes-deploy/SKILL.md`, `.agent/skills/observability/SKILL.md`, `.agent/skills/git-workflow/SKILL.md`, `.agent/skills/systematic-debugging/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /implement-track workflow from .agent/workflows/implement-track.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `system-design`, `api-design`, `database-design`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`, `react`, `nextjs`.
10
+ - Local skill file hints if installed: `.agent/skills/system-design/SKILL.md`, `.agent/skills/api-design/SKILL.md`, `.agent/skills/database-design/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`, `.agent/skills/golang-best-practices/SKILL.md`, `.agent/skills/react/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /migrate workflow from .agent/workflows/migrate.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `system-design`, `code-review`, `unit-testing`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/system-design/SKILL.md`, `.agent/skills/code-review/SKILL.md`, `.agent/skills/unit-testing/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`, `.agent/skills/golang-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /mobile workflow from .agent/workflows/mobile.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `expo-app`, `react-native`, `stitch`, `frontend-design`, `swift-best-practices`, `kotlin-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/expo-app/SKILL.md`, `.agent/skills/react-native/SKILL.md`, `.agent/skills/stitch/SKILL.md`, `.agent/skills/frontend-design/SKILL.md`, `.agent/skills/swift-best-practices/SKILL.md`, `.agent/skills/kotlin-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /onboard workflow from .agent/workflows/onboard.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `deep-research`, `system-design`, `database-design`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/deep-research/SKILL.md`, `.agent/skills/system-design/SKILL.md`, `.agent/skills/database-design/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /orchestrate workflow from .agent/workflows/orchestrate.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`.
10
+ - Local skill file hints if installed: `.agent/skills/system-design/SKILL.md`, `.agent/skills/api-design/SKILL.md`, `.agent/skills/database-design/SKILL.md`, `.agent/skills/deep-research/SKILL.md`, `.agent/skills/mcp-server-builder/SKILL.md`, `.agent/skills/tech-doc/SKILL.md`, `.agent/skills/prompt-engineering/SKILL.md`, `.agent/skills/skill-creator/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /plan workflow from .agent/workflows/plan.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `system-design`, `api-design`, `database-design`, `deep-research`, `mcp-server-builder`, `tech-doc`, `prompt-engineering`, `skill-creator`.
10
+ - Local skill file hints if installed: `.agent/skills/system-design/SKILL.md`, `.agent/skills/api-design/SKILL.md`, `.agent/skills/database-design/SKILL.md`, `.agent/skills/deep-research/SKILL.md`, `.agent/skills/mcp-server-builder/SKILL.md`, `.agent/skills/tech-doc/SKILL.md`, `.agent/skills/prompt-engineering/SKILL.md`, `.agent/skills/skill-creator/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /refactor workflow from .agent/workflows/refactor.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `code-review`, `system-design`, `unit-testing`, `typescript-best-practices`, `javascript-best-practices`, `python-best-practices`, `golang-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/code-review/SKILL.md`, `.agent/skills/system-design/SKILL.md`, `.agent/skills/unit-testing/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`, `.agent/skills/golang-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /release workflow from .agent/workflows/release.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `ci-cd-pipeline`, `git-workflow`, `tech-doc`, `observability`, `kubernetes-deploy`, `typescript-best-practices`, `javascript-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/ci-cd-pipeline/SKILL.md`, `.agent/skills/git-workflow/SKILL.md`, `.agent/skills/tech-doc/SKILL.md`, `.agent/skills/observability/SKILL.md`, `.agent/skills/kubernetes-deploy/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /review workflow from .agent/workflows/review.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - 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`.
10
+ - Local skill file hints if installed: `.agent/skills/code-review/SKILL.md`, `.agent/skills/unit-testing/SKILL.md`, `.agent/skills/owasp-security-review/SKILL.md`, `.agent/skills/performance-testing/SKILL.md`, `.agent/skills/react/SKILL.md`, `.agent/skills/nextjs/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /security workflow from .agent/workflows/security.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - 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`.
10
+ - Local skill file hints if installed: `.agent/skills/owasp-security-review/SKILL.md`, `.agent/skills/code-review/SKILL.md`, `.agent/skills/api-design/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/python-best-practices/SKILL.md`, `.agent/skills/golang-best-practices/SKILL.md`, `.agent/skills/rust-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -0,0 +1,19 @@
1
+ description = "Create or refresh a Git-tracked spec pack for non-trivial work, including acceptance criteria, traceability, architecture impact, and next-route handoff."
2
+ prompt = '''
3
+ Follow the /spec workflow from .agent/workflows/spec.md.
4
+
5
+ Execution contract:
6
+ 1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `spec-driven-delivery`, `sadd`, `system-design`, `architecture-doc`, `deep-research`, `api-design`, `database-design`, `tech-doc`.
10
+ - Local skill file hints if installed: `.agent/skills/spec-driven-delivery/SKILL.md`, `.agent/skills/sadd/SKILL.md`, `.agent/skills/system-design/SKILL.md`, `.agent/skills/architecture-doc/SKILL.md`, `.agent/skills/deep-research/SKILL.md`, `.agent/skills/api-design/SKILL.md`, `.agent/skills/database-design/SKILL.md`, `.agent/skills/tech-doc/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
17
+
18
+ If command arguments are provided, treat them as additional user context.
19
+ '''
@@ -4,11 +4,16 @@ Follow the /test workflow from .agent/workflows/test.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - 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`.
10
+ - Local skill file hints if installed: `.agent/skills/unit-testing/SKILL.md`, `.agent/skills/integration-testing/SKILL.md`, `.agent/skills/playwright-interactive/SKILL.md`, `.agent/skills/observability/SKILL.md`, `.agent/skills/systematic-debugging/SKILL.md`, `.agent/skills/code-review/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -4,11 +4,16 @@ Follow the /vercel workflow from .agent/workflows/vercel.md.
4
4
 
5
5
  Execution contract:
6
6
  1. Treat route selection as already resolved by this command; do not begin with skill discovery.
7
- 2. Confirm the request fits the workflow's "When to use" section.
8
- 3. Execute according to "Workflow steps" and apply "Context notes".
9
- 4. Complete "Verification" checks and report concrete evidence.
10
- 5. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
11
- 6. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
7
+ 2. Read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist before non-trivial execution.
8
+ Attached skills:
9
+ - Load these exact skill IDs first: `nextjs`, `ci-cd-pipeline`, `performance-testing`, `react`, `frontend-design`, `javascript-best-practices`, `typescript-best-practices`.
10
+ - Local skill file hints if installed: `.agent/skills/nextjs/SKILL.md`, `.agent/skills/ci-cd-pipeline/SKILL.md`, `.agent/skills/performance-testing/SKILL.md`, `.agent/skills/react/SKILL.md`, `.agent/skills/frontend-design/SKILL.md`, `.agent/skills/javascript-best-practices/SKILL.md`, `.agent/skills/typescript-best-practices/SKILL.md`.
11
+ - Treat the skill bundle as already resolved for this workflow. Do not start with route discovery.
12
+ 3. Confirm the request fits the workflow's "When to use" section.
13
+ 4. Execute according to "Workflow steps" and apply "Context notes".
14
+ 5. Complete "Verification" checks and report concrete evidence.
15
+ 6. If freshness, public comparison, or explicit research needs appear, pause implementation and load `deep-research` or hand off to `@researcher` first.
16
+ 7. For outside evidence: repo first, official docs next, Reddit/community only as labeled secondary evidence.
12
17
 
13
18
  If command arguments are provided, treat them as additional user context.
14
19
  '''
@@ -418,6 +418,8 @@ Keep MCP context lazy and exact. Skills are supporting context, not the route la
418
418
  8. Do not auto-prime every specialist with a skill. Load only what the task clearly needs.
419
419
  9. For research: repo/local evidence first, official docs next, Reddit/community only as labeled secondary evidence.
420
420
  10. Escalate to research only when freshness matters, public comparison matters, or the user explicitly asks to research/verify.
421
- 11. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
421
+ 11. For non-trivial work, read `ENGINEERING_RULES.md` first and `TECH.md` next when they exist.
422
+ 12. If those docs declare architecture or design-system rules, follow them unless the current spec or task explicitly changes them.
423
+ 13. Use upstream MCP servers such as `postman`, `stitch`, or `playwright` for real cloud/browser actions when available.
422
424
 
423
425
  <!-- cbx:mcp:auto:end -->
@@ -0,0 +1,65 @@
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
+ ---
5
+ # Spec-Driven Delivery
6
+
7
+ ## Purpose
8
+
9
+ 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.
10
+
11
+ ## When to Use
12
+
13
+ - Planning a medium or large feature before implementation
14
+ - Capturing acceptance criteria, traceability, and architecture impact in Git
15
+ - Reusing or refreshing an existing spec pack for a follow-up change
16
+ - Bridging native plan-mode output into durable project documents
17
+ - Keeping implementation, verification, and documentation aligned across sessions
18
+
19
+ ## Instructions
20
+
21
+ 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.
22
+ 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.
23
+ 3. **Create a stable `spec_id` and spec root** because the same identifier should survive planning, execution, review, and follow-up changes.
24
+ 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.
25
+ 5. **Use `sadd` when turning requirements into assertions** because spec quality depends on extracting testable behavior instead of leaving requirements vague.
26
+ 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.
27
+ 7. **Update the spec before implementation changes behavior** because traceability breaks when code changes first and docs lag behind.
28
+ 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.
29
+ 9. **Route external research through `deep-research`** because repo-first planning still needs disciplined escalation when freshness or public comparison matters.
30
+ 10. **Emit a clear next route** because spec work usually hands off into `/create`, `/implement-track`, `/orchestrate`, or `/architecture`.
31
+ 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.
32
+ 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.
33
+
34
+ ## Output Format
35
+
36
+ Deliver:
37
+
38
+ 1. **Spec summary** — `spec_id`, `spec_root`, goal, scope, and why spec mode is warranted
39
+ 2. **Acceptance and traceability state** — requirements, open gaps, and `traceability_status`
40
+ 3. **Execution-ready plan** — tasks, owners, dependencies, and verification checkpoints
41
+ 4. **Architecture and doc impact** — `architecture_impact` plus `doc_impact`
42
+ 5. **Recommended next route** — exact workflow, agent, or skill to continue from the spec
43
+
44
+ ## References
45
+
46
+ | File | Load when |
47
+ | --- | --- |
48
+ | `../sadd/SKILL.md` | Need requirement mining, GIVEN-WHEN-THEN specs, or traceability patterns. |
49
+ | `../architecture-doc/SKILL.md` | Need ADRs, system boundaries, or architecture-document structure. |
50
+ | `../deep-research/SKILL.md` | Need repo-first research escalation or evidence labeling rules. |
51
+
52
+ ## Examples
53
+
54
+ | File | Use when |
55
+ | --- | --- |
56
+ | `../sadd/references/spec-mining.md` | Turning loose requirements into testable spec entries. |
57
+ | `../sadd/references/coverage-mapping.md` | Building a traceability matrix that links specs, tests, and code. |
58
+
59
+ ## Antigravity Platform Notes
60
+
61
+ - Use Agent Manager for parallel agent coordination and task delegation.
62
+ - Skill and agent files are stored under `.agent/skills/` and `.agent/agents/` respectively.
63
+ - TOML command files in `.agent/commands/` provide slash-command entry points for workflows.
64
+ - Replace direct `@agent-name` delegation with Agent Manager dispatch calls.
65
+ - Reference files are loaded relative to the skill directory under `.agent/skills/<skill-id>/`.
@@ -0,0 +1,82 @@
1
+ ---
2
+ command: "/architecture"
3
+ description: "Refresh the project architecture contract and current-state map in ENGINEERING_RULES.md and TECH.md 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 architecture contract and current-state map, especially after structure changes, scale changes, design-system changes, migrations, or major feature additions.
22
+
23
+ ## Routing
24
+
25
+ - Primary coordinator: `.agent/agents/project-planner`
26
+ - Documentation support: `.agent/agents/documentation-writer`
27
+ - Research support: `.agent/agents/researcher`
28
+ - Domain validation: `.agent/agents/backend-specialist`, `.agent/agents/frontend-specialist`, `.agent/agents/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 `ENGINEERING_RULES.md` followed by `TECH.md` if they exist.
39
+ 2. Determine the current architecture style, module boundaries, design-system source of truth, and testing strategy from the codebase.
40
+ 3. Update only the managed architecture sections in `ENGINEERING_RULES.md` and `TECH.md`.
41
+ 4. Add or refresh Mermaid diagrams and flow narratives inside `TECH.md` when they clarify system behavior.
42
+ 5. Record whether the update was driven by a broader spec and whether future implementation must follow newly declared rules.
43
+
44
+ ## Context notes
45
+
46
+ - This workflow is route-fixed and skill-fixed: do not start with `route_resolve` or `skill_search`.
47
+ - `ENGINEERING_RULES.md` is normative. `TECH.md` is descriptive. Keep them aligned but not redundant.
48
+ - Preserve manual content outside the managed architecture sections.
49
+ - Mark non-applicable sections explicitly instead of silently omitting them.
50
+
51
+ ## Verification
52
+
53
+ - Managed architecture sections exist in both target docs.
54
+ - Architecture style, dependency rules, and design-system guidance are explicit.
55
+ - `TECH.md` includes flow text and at least one Mermaid diagram when the repo has meaningful flow complexity.
56
+ - The update records `doc_impact` and whether future feature work must refresh the docs again.
57
+
58
+ ## Output Contract
59
+
60
+ ```yaml
61
+ ARCHITECTURE_WORKFLOW_RESULT:
62
+ primary_agent: project-planner
63
+ supporting_agents: [documentation-writer?, researcher?, backend-specialist?, frontend-specialist?, database-architect?]
64
+ primary_skills: [architecture-doc, system-design, tech-doc, frontend-design]
65
+ supporting_skills: [api-design?, database-design?, sadd?, deep-research?]
66
+ managed_targets:
67
+ rules_doc: ENGINEERING_RULES.md
68
+ tech_doc: TECH.md
69
+ files_updated: [ENGINEERING_RULES.md, TECH.md]
70
+ architecture_contract:
71
+ style: <string>
72
+ dependency_rules: [<string>]
73
+ design_system_source: <string>
74
+ technical_snapshot:
75
+ topology: [<string>]
76
+ flows: [<string>]
77
+ diagrams: [<string>] | []
78
+ doc_impact: rules | tech | both
79
+ next_actions: [<string>] | []
80
+ ```
81
+
82
+ > **Antigravity note:** Use Agent Manager for parallel agent coordination. Workflow files are stored under `.agent/workflows/`.
@@ -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
  ```