@polymorphism-tech/morph-spec 4.5.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CLAUDE.md +77 -56
  2. package/README.md +394 -700
  3. package/docs/ARCHITECTURE.md +331 -0
  4. package/docs/CHEATSHEET.md +221 -0
  5. package/docs/COMMAND-FLOWS.md +368 -0
  6. package/docs/QUICKSTART.md +212 -0
  7. package/docs/examples/order-management/contracts.cs +84 -0
  8. package/docs/examples/order-management/proposal.md +24 -0
  9. package/docs/examples/order-management/spec.md +162 -0
  10. package/docs/plans/2026-02-23-ddd-architecture-refactor.md +1153 -0
  11. package/docs/plans/2026-02-23-ddd-nextsteps.md +682 -0
  12. package/docs/plans/2026-02-23-infra-architect-refactor.md +437 -0
  13. package/docs/plans/2026-02-23-nextjs-code-review-design.md +156 -0
  14. package/docs/plans/2026-02-23-nextjs-code-review-impl.md +1254 -0
  15. package/docs/plans/2026-02-23-nextjs-standards-design.md +149 -0
  16. package/docs/plans/2026-02-23-nextjs-standards-impl.md +1846 -0
  17. package/framework/{skills/level-2-domains → agents}/README.md +14 -14
  18. package/framework/{skills/level-2-domains → agents}/ai-agents/ai-system-architect.md +1 -4
  19. package/framework/{skills/level-2-domains → agents}/architecture/po-pm-advisor.md +1 -2
  20. package/framework/{skills/level-2-domains → agents}/architecture/prompt-engineer.md +1 -2
  21. package/framework/{skills/level-2-domains → agents}/architecture/seo-growth-hacker.md +1 -2
  22. package/framework/{skills/level-2-domains → agents}/architecture/standards-architect.md +159 -162
  23. package/framework/agents/backend/api-designer.md +103 -0
  24. package/framework/{skills/level-2-domains → agents}/backend/dotnet-senior.md +1 -2
  25. package/framework/agents/backend/ef-modeler.md +119 -0
  26. package/framework/{skills/level-2-domains → agents}/backend/hangfire-orchestrator.md +1 -4
  27. package/framework/{skills/level-2-domains → agents}/backend/ms-agent-expert.md +1 -4
  28. package/framework/{skills/level-2-domains → agents}/frontend/blazor-builder.md +1 -4
  29. package/framework/agents/frontend/nextjs-expert.md +118 -0
  30. package/framework/{skills/level-2-domains → agents}/frontend/ui-ux-designer.md +1 -2
  31. package/framework/{skills/level-2-domains → agents}/infrastructure/azure-architect.md +147 -148
  32. package/framework/{skills/level-2-domains → agents}/infrastructure/azure-deploy-specialist.md +1 -2
  33. package/framework/{skills/level-2-domains → agents}/infrastructure/bicep-architect.md +1 -4
  34. package/framework/{skills/level-2-domains → agents}/infrastructure/container-specialist.md +1 -4
  35. package/framework/{skills/level-2-domains → agents}/infrastructure/devops-engineer.md +1 -4
  36. package/framework/agents/infrastructure/infra-architect.md +45 -0
  37. package/framework/{skills/level-2-domains → agents}/integrations/asaas-financial.md +1 -4
  38. package/framework/{skills/level-2-domains → agents}/integrations/azure-identity.md +1 -4
  39. package/framework/{skills/level-2-domains → agents}/integrations/clerk-auth.md +1 -4
  40. package/framework/{skills/level-2-domains → agents}/integrations/hangfire-integration.md +1 -2
  41. package/framework/{skills/level-2-domains → agents}/integrations/resend-email.md +1 -4
  42. package/framework/{skills/level-2-domains → agents}/quality/code-analyzer.md +1 -4
  43. package/framework/{skills/level-2-domains → agents}/quality/testing-specialist.md +1 -4
  44. package/framework/agents.json +1145 -278
  45. package/framework/hooks/claude-code/statusline.py +384 -85
  46. package/framework/hooks/shared/phase-utils.js +129 -129
  47. package/framework/rules/frontend-standards.md +0 -3
  48. package/framework/rules/nextjs-standards.md +17 -0
  49. package/framework/skills/README.md +66 -0
  50. package/framework/skills/level-0-meta/{brainstorming.md → brainstorming/SKILL.md} +3 -1
  51. package/framework/skills/level-0-meta/brainstorming/references/proposal-example.md +138 -0
  52. package/framework/skills/level-0-meta/{code-review.md → code-review/SKILL.md} +3 -2
  53. package/framework/skills/level-0-meta/code-review/references/review-example.md +164 -0
  54. package/framework/skills/level-0-meta/code-review/scripts/scan-csharp.mjs +121 -0
  55. package/framework/skills/level-0-meta/code-review-nextjs/SKILL.md +147 -0
  56. package/framework/skills/level-0-meta/code-review-nextjs/references/review-example-nextjs.md +254 -0
  57. package/framework/skills/level-0-meta/{morph-checklist.md → morph-checklist/SKILL.md} +2 -5
  58. package/framework/skills/{level-1-workflows/morph-replicate.md → level-0-meta/morph-replicate/SKILL.md} +6 -7
  59. package/framework/skills/level-0-meta/{simulation-checklist.md → simulation-checklist/SKILL.md} +3 -6
  60. package/framework/skills/level-0-meta/{tool-usage-guide.md → tool-usage-guide/SKILL.md} +4 -5
  61. package/framework/skills/level-0-meta/{verification-before-completion.md → verification-before-completion/SKILL.md} +3 -1
  62. package/framework/skills/level-0-meta/verification-before-completion/scripts/check-phase-outputs.mjs +110 -0
  63. package/framework/skills/level-1-workflows/{phase-clarify.md → phase-clarify/SKILL.md} +3 -3
  64. package/framework/skills/level-1-workflows/phase-clarify/references/clarifications-example.md +117 -0
  65. package/framework/skills/level-1-workflows/{phase-codebase-analysis.md → phase-codebase-analysis/SKILL.md} +2 -3
  66. package/framework/skills/level-1-workflows/{phase-design.md → phase-design/SKILL.md} +46 -182
  67. package/framework/skills/level-1-workflows/phase-design/references/spec-example.md +253 -0
  68. package/framework/skills/level-1-workflows/{phase-implement.md → phase-implement/SKILL.md} +3 -3
  69. package/framework/skills/level-1-workflows/phase-implement/references/recap-example.md +132 -0
  70. package/framework/skills/level-1-workflows/{phase-setup.md → phase-setup/SKILL.md} +2 -3
  71. package/framework/skills/level-1-workflows/{phase-tasks.md → phase-tasks/SKILL.md} +42 -3
  72. package/framework/skills/level-1-workflows/phase-tasks/references/tasks-example.md +231 -0
  73. package/framework/skills/level-1-workflows/phase-tasks/scripts/validate-tasks.mjs +112 -0
  74. package/framework/skills/level-1-workflows/{phase-uiux.md → phase-uiux/SKILL.md} +2 -3
  75. package/framework/standards/STANDARDS.json +121 -0
  76. package/framework/standards/architecture/ddd/bounded-contexts.md +105 -0
  77. package/framework/standards/architecture/ddd/complexity-levels.md +108 -0
  78. package/framework/standards/architecture/ddd/ubiquitous-language.md +58 -0
  79. package/framework/standards/frontend/nextjs/app-router.md +123 -0
  80. package/framework/standards/frontend/nextjs/components.md +132 -0
  81. package/framework/standards/frontend/nextjs/data-fetching.md +126 -0
  82. package/framework/standards/frontend/nextjs/forms.md +128 -0
  83. package/framework/standards/frontend/nextjs/naming-conventions.md +67 -0
  84. package/framework/standards/frontend/nextjs/project-structure.md +102 -0
  85. package/framework/standards/frontend/nextjs/state-management.md +72 -0
  86. package/framework/standards/frontend/nextjs/testing.md +111 -0
  87. package/framework/templates/REGISTRY.json +538 -142
  88. package/framework/templates/code/dotnet/contracts/contracts-level1.cs +69 -0
  89. package/framework/templates/code/dotnet/contracts/contracts-level2.cs +86 -0
  90. package/framework/templates/code/dotnet/contracts/contracts-level3.cs +41 -0
  91. package/framework/templates/docs/spec.md +49 -0
  92. package/framework/templates/frontend/nextjs/Dockerfile.nextjs.hbs +43 -0
  93. package/framework/templates/frontend/nextjs/client-component.tsx.hbs +26 -0
  94. package/framework/templates/frontend/nextjs/env.mjs.hbs +32 -0
  95. package/framework/templates/frontend/nextjs/feature-form.tsx.hbs +56 -0
  96. package/framework/templates/frontend/nextjs/page.tsx.hbs +22 -0
  97. package/framework/templates/frontend/nextjs/tsconfig.json.hbs +26 -0
  98. package/framework/templates/frontend/nextjs/use-feature.ts.hbs +54 -0
  99. package/framework/templates/project-structure/dotnet-ddd.md +70 -0
  100. package/framework/workflows/docs/enforcement-pipeline.md +2 -1
  101. package/package.json +1 -1
  102. package/scripts/scan-nextjs.mjs +169 -0
  103. package/src/commands/project/doctor.js +52 -1
  104. package/src/commands/project/init.js +19 -65
  105. package/src/commands/project/update.js +7 -63
  106. package/src/lib/detectors/claude-config-detector.js +1 -3
  107. package/src/lib/standards/standards-context-injector.js +5 -0
  108. package/src/lib/validators/nextjs/index.js +6 -0
  109. package/src/lib/validators/nextjs/next-component-validator.js +181 -0
  110. package/src/lib/validators/validation-runner.js +5 -0
  111. package/src/utils/agents-installer.js +16 -4
  112. package/src/utils/skills-installer.js +59 -15
  113. package/.morph/.morphversion +0 -5
  114. package/.morph/analytics/threads-log.jsonl +0 -44
  115. package/.morph/config/config.json +0 -8
  116. package/.morph/context/README.md +0 -17
  117. package/.morph/framework/agents.json +0 -948
  118. package/.morph/framework/standards/STANDARDS.json +0 -812
  119. package/.morph/framework/standards/ai-agents/blazor-ui.md +0 -364
  120. package/.morph/framework/standards/ai-agents/production.md +0 -415
  121. package/.morph/framework/standards/ai-agents/setup.md +0 -418
  122. package/.morph/framework/standards/ai-agents/team-orchestration.md +0 -479
  123. package/.morph/framework/standards/ai-agents/workflows.md +0 -354
  124. package/.morph/framework/standards/architecture/ddd/aggregates.md +0 -120
  125. package/.morph/framework/standards/architecture/ddd/entities.md +0 -99
  126. package/.morph/framework/standards/architecture/ddd/value-objects.md +0 -124
  127. package/.morph/framework/standards/backend/api/minimal-api.md +0 -494
  128. package/.morph/framework/standards/backend/api/rest.md +0 -492
  129. package/.morph/framework/standards/backend/api/validation.md +0 -88
  130. package/.morph/framework/standards/backend/authentication/passkeys.md +0 -428
  131. package/.morph/framework/standards/backend/database/ef-core.md +0 -199
  132. package/.morph/framework/standards/backend/database/migrations.md +0 -393
  133. package/.morph/framework/standards/backend/database/postgresql/database.md +0 -352
  134. package/.morph/framework/standards/backend/database/repository-patterns.md +0 -528
  135. package/.morph/framework/standards/backend/database/vector-search-rag.md +0 -541
  136. package/.morph/framework/standards/backend/dotnet/async.md +0 -366
  137. package/.morph/framework/standards/backend/dotnet/core.md +0 -117
  138. package/.morph/framework/standards/backend/dotnet/di.md +0 -439
  139. package/.morph/framework/standards/backend/dotnet/program-cs-checklist.md +0 -92
  140. package/.morph/framework/standards/backend/integrations/asaas/asaas-api.md +0 -216
  141. package/.morph/framework/standards/backend/integrations/clerk/clerk-auth.md +0 -290
  142. package/.morph/framework/standards/backend/integrations/hangfire/hangfire-jobs.md +0 -350
  143. package/.morph/framework/standards/backend/integrations/resend/resend-email.md +0 -385
  144. package/.morph/framework/standards/context/analytics.md +0 -96
  145. package/.morph/framework/standards/context/bundles.md +0 -110
  146. package/.morph/framework/standards/context/priming.md +0 -78
  147. package/.morph/framework/standards/core/architecture.md +0 -185
  148. package/.morph/framework/standards/core/coding.md +0 -214
  149. package/.morph/framework/standards/core/git-branching-strategy.md +0 -403
  150. package/.morph/framework/standards/core/git.md +0 -185
  151. package/.morph/framework/standards/core/testing.md +0 -295
  152. package/.morph/framework/standards/data/nosql/blob-storage.md +0 -102
  153. package/.morph/framework/standards/data/nosql/cache/redis.md +0 -97
  154. package/.morph/framework/standards/data/nosql/cosmos-db.md +0 -118
  155. package/.morph/framework/standards/data/vector-search/azure-ai-search.md +0 -121
  156. package/.morph/framework/standards/data/vector-search/rag-chunking.md +0 -104
  157. package/.morph/framework/standards/frontend/blazor/design-checklist.md +0 -222
  158. package/.morph/framework/standards/frontend/blazor/fluent-ui-setup.md +0 -595
  159. package/.morph/framework/standards/frontend/blazor/fluent-ui.md +0 -137
  160. package/.morph/framework/standards/frontend/blazor/html-conversion.md +0 -184
  161. package/.morph/framework/standards/frontend/blazor/lifecycle.md +0 -195
  162. package/.morph/framework/standards/frontend/blazor/pitfalls.md +0 -198
  163. package/.morph/framework/standards/frontend/blazor/state.md +0 -191
  164. package/.morph/framework/standards/frontend/design-system/animations.md +0 -151
  165. package/.morph/framework/standards/frontend/design-system/naming.md +0 -64
  166. package/.morph/framework/standards/frontend/nextjs/nextjs-patterns.md +0 -198
  167. package/.morph/framework/standards/infrastructure/azure/azure.md +0 -624
  168. package/.morph/framework/standards/infrastructure/azure/bicep/bicep-patterns.md +0 -422
  169. package/.morph/framework/standards/infrastructure/azure/devops/azure-devops-setup.md +0 -516
  170. package/.morph/framework/standards/infrastructure/azure/devops/local-development.md +0 -520
  171. package/.morph/framework/standards/infrastructure/azure/services/functions.md +0 -486
  172. package/.morph/framework/standards/infrastructure/azure/services/service-bus.md +0 -459
  173. package/.morph/framework/standards/infrastructure/azure/services/storage.md +0 -407
  174. package/.morph/framework/standards/infrastructure/docker/easypanel-deploy.md +0 -196
  175. package/.morph/framework/standards/infrastructure/supabase/mcp-setup.md +0 -252
  176. package/.morph/framework/standards/infrastructure/supabase/supabase-auth.md +0 -176
  177. package/.morph/framework/standards/infrastructure/supabase/supabase-pgvector.md +0 -169
  178. package/.morph/framework/standards/infrastructure/supabase/supabase-rls.md +0 -184
  179. package/.morph/framework/standards/infrastructure/supabase/supabase-storage.md +0 -153
  180. package/.morph/framework/standards/integration/api/graphql.md +0 -91
  181. package/.morph/framework/standards/integration/api/grpc.md +0 -114
  182. package/.morph/framework/standards/integration/api/rest-design.md +0 -95
  183. package/.morph/framework/standards/integration/event-driven/cqrs.md +0 -101
  184. package/.morph/framework/standards/integration/event-driven/event-sourcing.md +0 -124
  185. package/.morph/framework/standards/integration/event-driven/service-bus.md +0 -95
  186. package/.morph/framework/standards/integration/mcp/mcp-tools.md +0 -384
  187. package/.morph/framework/standards/observability/logging.md +0 -131
  188. package/.morph/framework/standards/observability/metrics.md +0 -121
  189. package/.morph/framework/standards/observability/monitoring.md +0 -114
  190. package/.morph/framework/standards/observability/tracing.md +0 -132
  191. package/.morph/framework/standards/workflows/parallel-execution.md +0 -112
  192. package/.morph/framework/standards/workflows/thread-management.md +0 -113
  193. package/.morph/framework/templates/.idea/morph-templates.xml +0 -92
  194. package/.morph/framework/templates/.vscode/morph-templates.code-snippets +0 -186
  195. package/.morph/framework/templates/IDE-SNIPPETS.md +0 -266
  196. package/.morph/framework/templates/README.md +0 -814
  197. package/.morph/framework/templates/REGISTRY.json +0 -1492
  198. package/.morph/framework/templates/code/dotnet/backend/repository.cs +0 -141
  199. package/.morph/framework/templates/code/dotnet/backend/service.cs +0 -139
  200. package/.morph/framework/templates/code/dotnet/contracts/Commands.cs +0 -74
  201. package/.morph/framework/templates/code/dotnet/contracts/Entities.cs +0 -25
  202. package/.morph/framework/templates/code/dotnet/contracts/Queries.cs +0 -74
  203. package/.morph/framework/templates/code/dotnet/contracts/README.md +0 -74
  204. package/.morph/framework/templates/code/dotnet/contracts/api-contracts.cs +0 -173
  205. package/.morph/framework/templates/code/dotnet/contracts/contracts.cs +0 -217
  206. package/.morph/framework/templates/code/dotnet/contracts/contracts.cs.hbs +0 -172
  207. package/.morph/framework/templates/code/dotnet/database/migration.cs +0 -83
  208. package/.morph/framework/templates/code/dotnet/frontend/component.razor +0 -239
  209. package/.morph/framework/templates/code/dotnet/jobs/agent.cs +0 -163
  210. package/.morph/framework/templates/code/dotnet/jobs/job.cs +0 -171
  211. package/.morph/framework/templates/code/dotnet/test.cs +0 -239
  212. package/.morph/framework/templates/code/sql/rls-policy.sql +0 -57
  213. package/.morph/framework/templates/code/sql/supabase-migration.sql +0 -100
  214. package/.morph/framework/templates/code/sql/supabase-migration.template.sql +0 -113
  215. package/.morph/framework/templates/code/typescript/contracts.ts +0 -168
  216. package/.morph/framework/templates/context/CONTEXT-FEATURE.md +0 -276
  217. package/.morph/framework/templates/context/CONTEXT.md +0 -181
  218. package/.morph/framework/templates/docs/clarifications.md +0 -253
  219. package/.morph/framework/templates/docs/onboarding.md +0 -123
  220. package/.morph/framework/templates/docs/proposal.md +0 -182
  221. package/.morph/framework/templates/docs/schema-analysis.md +0 -119
  222. package/.morph/framework/templates/docs/spec.md +0 -149
  223. package/.morph/framework/templates/docs/ui-components.md +0 -124
  224. package/.morph/framework/templates/docs/ui-design-system.md +0 -76
  225. package/.morph/framework/templates/docs/ui-flows.md +0 -167
  226. package/.morph/framework/templates/docs/ui-mockups.md +0 -98
  227. package/.morph/framework/templates/examples/design-system-examples.md +0 -357
  228. package/.morph/framework/templates/examples/spec-examples.md +0 -90
  229. package/.morph/framework/templates/feature/decisions.md +0 -187
  230. package/.morph/framework/templates/feature/recap.md +0 -146
  231. package/.morph/framework/templates/feature/tasks.md +0 -199
  232. package/.morph/framework/templates/infrastructure/azure/Dockerfile.example +0 -82
  233. package/.morph/framework/templates/infrastructure/azure/README.md +0 -286
  234. package/.morph/framework/templates/infrastructure/azure/app-insights.bicep +0 -63
  235. package/.morph/framework/templates/infrastructure/azure/app-service.bicep +0 -164
  236. package/.morph/framework/templates/infrastructure/azure/container-app-env.bicep +0 -49
  237. package/.morph/framework/templates/infrastructure/azure/container-app.bicep +0 -156
  238. package/.morph/framework/templates/infrastructure/azure/deploy-checklist.md +0 -426
  239. package/.morph/framework/templates/infrastructure/azure/deploy.ps1 +0 -229
  240. package/.morph/framework/templates/infrastructure/azure/deploy.sh +0 -208
  241. package/.morph/framework/templates/infrastructure/azure/key-vault.bicep +0 -91
  242. package/.morph/framework/templates/infrastructure/azure/main.bicep +0 -189
  243. package/.morph/framework/templates/infrastructure/azure/parameters.dev.json +0 -29
  244. package/.morph/framework/templates/infrastructure/azure/parameters.prod.json +0 -29
  245. package/.morph/framework/templates/infrastructure/azure/parameters.staging.json +0 -29
  246. package/.morph/framework/templates/infrastructure/azure/sql-database.bicep +0 -103
  247. package/.morph/framework/templates/infrastructure/azure/storage.bicep +0 -106
  248. package/.morph/framework/templates/infrastructure/docker/Dockerfile.template +0 -58
  249. package/.morph/framework/templates/infrastructure/docker/docker-compose.template.yml +0 -67
  250. package/.morph/framework/templates/infrastructure/docker/dockerfile-api.dockerfile +0 -38
  251. package/.morph/framework/templates/infrastructure/docker/dockerfile-web.dockerfile +0 -48
  252. package/.morph/framework/templates/infrastructure/docker/easypanel.template.json +0 -54
  253. package/.morph/framework/templates/infrastructure/github/README.md +0 -593
  254. package/.morph/framework/templates/infrastructure/github/actions/azure-auth/action.yml.hbs +0 -22
  255. package/.morph/framework/templates/infrastructure/github/actions/docker-build-push/action.yml.hbs +0 -45
  256. package/.morph/framework/templates/infrastructure/github/actions/health-check/action.yml.hbs +0 -27
  257. package/.morph/framework/templates/infrastructure/github/workflows/deploy-azure-app-service.yml.hbs +0 -61
  258. package/.morph/framework/templates/infrastructure/github/workflows/deploy-easypanel.yml.hbs +0 -31
  259. package/.morph/framework/templates/infrastructure/github/workflows/docker-build-push.yml.hbs +0 -59
  260. package/.morph/framework/templates/infrastructure/github/workflows/dotnet-build.yml.hbs +0 -39
  261. package/.morph/framework/templates/integrations/asaas-client.cs +0 -387
  262. package/.morph/framework/templates/integrations/asaas-webhook.cs +0 -351
  263. package/.morph/framework/templates/integrations/azure-identity-config.cs +0 -288
  264. package/.morph/framework/templates/integrations/clerk-config.cs +0 -258
  265. package/.morph/framework/templates/meta-prompts/fusion/fusion-agent.md +0 -76
  266. package/.morph/framework/templates/meta-prompts/fusion/fusion-aggregator.md +0 -100
  267. package/.morph/framework/templates/meta-prompts/hops/hop-retry.md +0 -78
  268. package/.morph/framework/templates/meta-prompts/hops/hop-validation.md +0 -97
  269. package/.morph/framework/templates/meta-prompts/hops/hop-wrapper.md +0 -36
  270. package/.morph/framework/templates/meta-prompts/parallel-workers/parallel-coordinator.md +0 -113
  271. package/.morph/framework/templates/meta-prompts/parallel-workers/parallel-worker.md +0 -80
  272. package/.morph/framework/templates/meta-prompts/squad-leaders/backend-squad.md +0 -90
  273. package/.morph/framework/templates/meta-prompts/squad-leaders/frontend-squad.md +0 -126
  274. package/.morph/framework/templates/meta-prompts/squad-leaders/squad-leader.md +0 -43
  275. package/.morph/framework/templates/meta-prompts/validators/checkpoint-validator.md +0 -107
  276. package/.morph/framework/templates/meta-prompts/validators/pre-commit-validator.md +0 -95
  277. package/.morph/framework/templates/saas/subscription.cs +0 -347
  278. package/.morph/framework/templates/saas/tenant.cs +0 -338
  279. package/.morph/framework/templates/state.template.json +0 -17
  280. package/.morph/framework/templates/ui/FluentDesignTheme.cs +0 -149
  281. package/.morph/framework/templates/ui/MudTheme.cs +0 -281
  282. package/.morph/framework/templates/ui/design-system.css +0 -226
  283. package/.morph/logs/tool-failures.log +0 -51
  284. package/.morph/memory/pre-compact-2026-02-22T17-01-01-658Z.json +0 -16
  285. package/.morph/state.json +0 -48
  286. package/framework/skills/level-2-domains/backend/api-designer.md +0 -66
  287. package/framework/skills/level-2-domains/backend/ef-modeler.md +0 -65
  288. package/framework/skills/level-2-domains/frontend/nextjs-expert.md +0 -161
  289. package/framework/skills/level-3-technologies/README.md +0 -7
  290. package/framework/skills/level-4-patterns/README.md +0 -7
  291. package/framework/templates/code/dotnet/contracts/contracts.cs +0 -217
  292. package/framework/templates/code/dotnet/contracts/contracts.cs.hbs +0 -172
@@ -1,1492 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft-07/schema#",
3
- "version": "2.0.0",
4
- "description": "Template Registry for MORPH-SPEC Framework - Technology-based organization for multi-stack reusability",
5
- "lastUpdated": "2026-02-18",
6
- "migration": "v1 → v2: Migrated all templates to framework/, organized by technology (code/dotnet/, infrastructure/azure/, etc.) instead of by stack. This enables future stacks (vue-firebase, angular-mongodb) to reuse existing technology templates.",
7
- "categories": [
8
- "documentation",
9
- "code",
10
- "infrastructure",
11
- "context",
12
- "examples",
13
- "integration",
14
- "saas",
15
- "ui"
16
- ],
17
- "technologies": [
18
- "dotnet",
19
- "typescript",
20
- "sql",
21
- "azure",
22
- "azure-devops",
23
- "github-actions",
24
- "docker",
25
- "bicep",
26
- "handlebars"
27
- ],
28
- "templates": [
29
- {
30
- "id": "proposal",
31
- "name": "Feature Proposal",
32
- "path": "docs/proposal.md",
33
- "location": "framework",
34
- "category": "documentation",
35
- "phase": "proposal",
36
- "required": true,
37
- "description": "Feature proposal with overview, problem statement, solution approach, and cost estimates",
38
- "outputName": "proposal.md",
39
- "placeholders": ["FEATURE_NAME", "STACK", "DATE", "AUTHOR"],
40
- "stackSpecific": false,
41
- "engine": "handlebars",
42
- "deprecated": false,
43
- "technology": "handlebars"
44
- },
45
- {
46
- "id": "spec",
47
- "name": "Technical Specification",
48
- "path": "docs/spec.md",
49
- "location": "framework",
50
- "category": "documentation",
51
- "phase": "design",
52
- "required": true,
53
- "description": "Detailed technical spec with architecture, data model, API contracts",
54
- "outputName": "spec.md",
55
- "placeholders": ["FEATURE_NAME", "STACK", "DATE"],
56
- "stackSpecific": false,
57
- "engine": "handlebars",
58
- "deprecated": false,
59
- "technology": "handlebars"
60
- },
61
- {
62
- "id": "tasks",
63
- "name": "Implementation Tasks",
64
- "path": "feature/tasks.md",
65
- "location": "framework",
66
- "category": "documentation",
67
- "phase": "tasks",
68
- "required": true,
69
- "description": "Task breakdown with IDs, dependencies, estimates, and checkpoints",
70
- "outputName": "tasks.md",
71
- "placeholders": ["FEATURE_NAME", "STACK"],
72
- "stackSpecific": false,
73
- "engine": "handlebars",
74
- "deprecated": false,
75
- "technology": "handlebars"
76
- },
77
- {
78
- "id": "decisions",
79
- "name": "Architecture Decision Records",
80
- "path": "feature/decisions.md",
81
- "location": "framework",
82
- "category": "documentation",
83
- "phase": "design",
84
- "required": true,
85
- "description": "ADR format for documenting architectural decisions with context, alternatives, consequences",
86
- "outputName": "decisions.md",
87
- "placeholders": ["FEATURE_NAME", "STACK", "DATE"],
88
- "stackSpecific": false,
89
- "engine": "handlebars",
90
- "deprecated": false,
91
- "technology": "handlebars"
92
- },
93
- {
94
- "id": "recap",
95
- "name": "Feature Recap",
96
- "path": "feature/recap.md",
97
- "location": "framework",
98
- "category": "documentation",
99
- "phase": "completed",
100
- "required": true,
101
- "description": "Post-implementation summary with deliverables, metrics, lessons learned",
102
- "outputName": "recap.md",
103
- "placeholders": ["FEATURE_NAME", "STACK", "DATE"],
104
- "stackSpecific": false,
105
- "engine": "handlebars",
106
- "deprecated": false,
107
- "technology": "handlebars"
108
- },
109
- {
110
- "id": "context",
111
- "name": "Project Context",
112
- "path": "context/CONTEXT.md",
113
- "location": "framework",
114
- "category": "context",
115
- "phase": "setup",
116
- "required": false,
117
- "description": "Project-level context with tech stack, active features, agents, standards",
118
- "outputName": "CONTEXT.md",
119
- "placeholders": ["PROJECT_NAME", "STACK", "TIMESTAMP"],
120
- "stackSpecific": false,
121
- "engine": "handlebars",
122
- "deprecated": false,
123
- "technology": "handlebars"
124
- },
125
- {
126
- "id": "context-feature",
127
- "name": "Feature Context",
128
- "path": "context/CONTEXT-FEATURE.md",
129
- "location": "framework",
130
- "category": "context",
131
- "phase": "setup",
132
- "required": false,
133
- "description": "Feature-level context with progress, agents, tasks, decisions, validations",
134
- "outputName": "CONTEXT-FEATURE.md",
135
- "placeholders": ["FEATURE_NAME", "PHASE", "STATUS", "COMPLEXITY"],
136
- "stackSpecific": false,
137
- "engine": "handlebars",
138
- "deprecated": false,
139
- "technology": "handlebars"
140
- },
141
- {
142
- "id": "spec-examples",
143
- "name": "Spec Examples",
144
- "path": "examples/spec-examples.md",
145
- "location": "framework",
146
- "category": "examples",
147
- "phase": null,
148
- "required": false,
149
- "description": "Example technical specs for reference",
150
- "outputName": null,
151
- "placeholders": [],
152
- "stackSpecific": false,
153
- "engine": null,
154
- "deprecated": false,
155
- "technology": null
156
- },
157
- {
158
- "id": "design-system-examples",
159
- "name": "Design System Examples",
160
- "path": "examples/design-system-examples.md",
161
- "location": "framework",
162
- "category": "examples",
163
- "phase": null,
164
- "required": false,
165
- "description": "Example design system definitions",
166
- "outputName": null,
167
- "placeholders": [],
168
- "stackSpecific": false,
169
- "engine": null,
170
- "deprecated": false,
171
- "technology": null
172
- },
173
- {
174
- "id": "dotnet-backend-service",
175
- "name": ".NET Service Class",
176
- "path": "code/dotnet/backend/service.cs",
177
- "location": "framework",
178
- "category": "code",
179
- "phase": "implement",
180
- "required": false,
181
- "description": "C# service class template with dependency injection and interface pattern",
182
- "outputName": "{FeatureName}Service.cs",
183
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
184
- "stackSpecific": false,
185
- "engine": "handlebars",
186
- "deprecated": false,
187
- "technology": "dotnet",
188
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
189
- },
190
- {
191
- "id": "dotnet-backend-repository",
192
- "name": ".NET Repository Class",
193
- "path": "code/dotnet/backend/repository.cs",
194
- "location": "framework",
195
- "category": "code",
196
- "phase": "implement",
197
- "required": false,
198
- "description": "C# repository class template with EF Core patterns",
199
- "outputName": "{FeatureName}Repository.cs",
200
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
201
- "stackSpecific": false,
202
- "engine": "handlebars",
203
- "deprecated": false,
204
- "technology": "dotnet",
205
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
206
- },
207
- {
208
- "id": "dotnet-backend-test",
209
- "name": ".NET Unit Test",
210
- "path": "code/dotnet/test.cs",
211
- "location": "framework",
212
- "category": "code",
213
- "phase": "implement",
214
- "required": false,
215
- "description": "xUnit test template with AAA pattern",
216
- "outputName": "{FeatureName}Tests.cs",
217
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
218
- "stackSpecific": false,
219
- "engine": "handlebars",
220
- "deprecated": false,
221
- "technology": "dotnet",
222
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
223
- },
224
- {
225
- "id": "dotnet-frontend-component",
226
- "name": "Blazor Component",
227
- "path": "code/dotnet/frontend/component.razor",
228
- "location": "framework",
229
- "category": "code",
230
- "phase": "implement",
231
- "required": false,
232
- "description": "Blazor component template with code-behind and lifecycle hooks",
233
- "outputName": "{FeatureName}.razor",
234
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
235
- "stackSpecific": false,
236
- "engine": "handlebars",
237
- "deprecated": false,
238
- "technology": "dotnet",
239
- "applicableStacks": ["blazor-azure"]
240
- },
241
- {
242
- "id": "dotnet-database-migration",
243
- "name": "EF Core Migration",
244
- "path": "code/dotnet/database/migration.cs",
245
- "location": "framework",
246
- "category": "code",
247
- "phase": "implement",
248
- "required": false,
249
- "description": "EF Core migration template with Up/Down methods",
250
- "outputName": "{Timestamp}_{FeatureName}.cs",
251
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
252
- "stackSpecific": false,
253
- "engine": "handlebars",
254
- "deprecated": false,
255
- "technology": "dotnet",
256
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
257
- },
258
- {
259
- "id": "dotnet-jobs-hangfire",
260
- "name": "Hangfire Background Job",
261
- "path": "code/dotnet/jobs/job.cs",
262
- "location": "framework",
263
- "category": "code",
264
- "phase": "implement",
265
- "required": false,
266
- "description": "Hangfire background job template with retry logic",
267
- "outputName": "{FeatureName}Job.cs",
268
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
269
- "stackSpecific": false,
270
- "engine": "handlebars",
271
- "deprecated": false,
272
- "technology": "dotnet",
273
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
274
- },
275
- {
276
- "id": "dotnet-jobs-agent",
277
- "name": "MS Agent Framework Agent",
278
- "path": "code/dotnet/jobs/agent.cs",
279
- "location": "framework",
280
- "category": "code",
281
- "phase": "implement",
282
- "required": false,
283
- "description": "Microsoft Agent Framework agent template with prompt engineering",
284
- "outputName": "{FeatureName}Agent.cs",
285
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
286
- "stackSpecific": false,
287
- "engine": "handlebars",
288
- "deprecated": false,
289
- "technology": "dotnet",
290
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
291
- },
292
- {
293
- "id": "dotnet-contracts-base",
294
- "name": ".NET Base Contracts",
295
- "path": "code/dotnet/contracts/contracts.cs",
296
- "location": "framework",
297
- "category": "code",
298
- "phase": "design",
299
- "required": true,
300
- "description": "C# interface and DTO contracts (unified file)",
301
- "outputName": "contracts.cs",
302
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
303
- "stackSpecific": false,
304
- "engine": "handlebars",
305
- "deprecated": false,
306
- "technology": "dotnet",
307
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
308
- },
309
- {
310
- "id": "dotnet-contracts-commands",
311
- "name": "CQRS Commands",
312
- "path": "code/dotnet/contracts/Commands.cs",
313
- "location": "framework",
314
- "category": "code",
315
- "phase": "design",
316
- "required": false,
317
- "description": "CQRS command contracts following command pattern",
318
- "outputName": "Commands.cs",
319
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
320
- "stackSpecific": false,
321
- "engine": "handlebars",
322
- "deprecated": false,
323
- "technology": "dotnet",
324
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
325
- },
326
- {
327
- "id": "dotnet-contracts-queries",
328
- "name": "CQRS Queries",
329
- "path": "code/dotnet/contracts/Queries.cs",
330
- "location": "framework",
331
- "category": "code",
332
- "phase": "design",
333
- "required": false,
334
- "description": "CQRS query contracts following query pattern",
335
- "outputName": "Queries.cs",
336
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
337
- "stackSpecific": false,
338
- "engine": "handlebars",
339
- "deprecated": false,
340
- "technology": "dotnet",
341
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
342
- },
343
- {
344
- "id": "dotnet-contracts-entities",
345
- "name": "Domain Entities",
346
- "path": "code/dotnet/contracts/Entities.cs",
347
- "location": "framework",
348
- "category": "code",
349
- "phase": "design",
350
- "required": false,
351
- "description": "Domain entity definitions with navigation properties",
352
- "outputName": "Entities.cs",
353
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
354
- "stackSpecific": false,
355
- "engine": "handlebars",
356
- "deprecated": false,
357
- "technology": "dotnet",
358
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
359
- },
360
- {
361
- "id": "dotnet-contracts-api",
362
- "name": "API Contracts",
363
- "path": "code/dotnet/contracts/api-contracts.cs",
364
- "location": "framework",
365
- "category": "code",
366
- "phase": "design",
367
- "required": false,
368
- "description": "REST API request/response contracts",
369
- "outputName": "ApiContracts.cs",
370
- "placeholders": ["FEATURE_NAME", "NAMESPACE"],
371
- "stackSpecific": false,
372
- "engine": "handlebars",
373
- "deprecated": false,
374
- "technology": "dotnet",
375
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
376
- },
377
- {
378
- "id": "dotnet-contracts-readme",
379
- "name": "Contracts README",
380
- "path": "code/dotnet/contracts/README.md",
381
- "location": "framework",
382
- "category": "documentation",
383
- "phase": "design",
384
- "required": false,
385
- "description": "Documentation for contract patterns and usage",
386
- "outputName": "README.md",
387
- "placeholders": ["FEATURE_NAME"],
388
- "stackSpecific": false,
389
- "engine": "handlebars",
390
- "deprecated": false,
391
- "technology": "dotnet",
392
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
393
- },
394
- {
395
- "id": "typescript-contracts",
396
- "name": "TypeScript Contracts",
397
- "path": "code/typescript/contracts.ts",
398
- "location": "framework",
399
- "category": "code",
400
- "phase": "design",
401
- "required": false,
402
- "description": "TypeScript type definitions and interfaces",
403
- "outputName": "contracts.ts",
404
- "placeholders": ["FEATURE_NAME"],
405
- "stackSpecific": false,
406
- "engine": "handlebars",
407
- "deprecated": false,
408
- "technology": "typescript",
409
- "applicableStacks": ["nextjs-supabase"]
410
- },
411
- {
412
- "id": "sql-supabase-migration",
413
- "name": "Supabase Migration",
414
- "path": "code/sql/supabase-migration.sql",
415
- "location": "framework",
416
- "category": "code",
417
- "phase": "implement",
418
- "required": false,
419
- "description": "Supabase SQL migration template (basic)",
420
- "outputName": "{timestamp}_{feature_name}.sql",
421
- "placeholders": ["FEATURE_NAME"],
422
- "stackSpecific": false,
423
- "engine": "handlebars",
424
- "deprecated": false,
425
- "technology": "sql",
426
- "applicableStacks": ["nextjs-supabase"]
427
- },
428
- {
429
- "id": "sql-supabase-migration-enhanced",
430
- "name": "Supabase Migration (Enhanced)",
431
- "path": "code/sql/supabase-migration.template.sql",
432
- "location": "framework",
433
- "category": "code",
434
- "phase": "implement",
435
- "required": false,
436
- "description": "Enhanced Supabase migration with RLS and indexes",
437
- "outputName": "{timestamp}_{feature_name}.sql",
438
- "placeholders": ["FEATURE_NAME"],
439
- "stackSpecific": false,
440
- "engine": "handlebars",
441
- "deprecated": false,
442
- "technology": "sql",
443
- "applicableStacks": ["nextjs-supabase"]
444
- },
445
- {
446
- "id": "sql-rls-policy",
447
- "name": "Row-Level Security Policy",
448
- "path": "code/sql/rls-policy.sql",
449
- "location": "framework",
450
- "category": "code",
451
- "phase": "implement",
452
- "required": false,
453
- "description": "Row-level security policy template for Supabase",
454
- "outputName": "{table_name}_rls_policies.sql",
455
- "placeholders": ["FEATURE_NAME", "TABLE_NAME"],
456
- "stackSpecific": false,
457
- "engine": "handlebars",
458
- "deprecated": false,
459
- "technology": "sql",
460
- "applicableStacks": ["nextjs-supabase"]
461
- },
462
- {
463
- "id": "azure-bicep-main",
464
- "name": "Main Bicep Orchestration",
465
- "path": "infrastructure/azure/main.bicep",
466
- "location": "framework",
467
- "category": "infrastructure",
468
- "phase": "implement",
469
- "required": true,
470
- "description": "Main Bicep orchestration file for Azure resources",
471
- "outputName": "main.bicep",
472
- "placeholders": ["PROJECT_NAME", "ENVIRONMENT"],
473
- "stackSpecific": false,
474
- "engine": "handlebars",
475
- "deprecated": false,
476
- "technology": "bicep",
477
- "applicableStacks": ["blazor-azure"]
478
- },
479
- {
480
- "id": "azure-bicep-container-app",
481
- "name": "Azure Container App",
482
- "path": "infrastructure/azure/container-app.bicep",
483
- "location": "framework",
484
- "category": "infrastructure",
485
- "phase": "implement",
486
- "required": false,
487
- "description": "Azure Container App definition with scaling and secrets",
488
- "outputName": "container-app.bicep",
489
- "placeholders": ["PROJECT_NAME"],
490
- "stackSpecific": false,
491
- "engine": "handlebars",
492
- "deprecated": false,
493
- "technology": "bicep",
494
- "applicableStacks": ["blazor-azure"]
495
- },
496
- {
497
- "id": "azure-bicep-container-env",
498
- "name": "Container Apps Environment",
499
- "path": "infrastructure/azure/container-app-env.bicep",
500
- "location": "framework",
501
- "category": "infrastructure",
502
- "phase": "implement",
503
- "required": false,
504
- "description": "Azure Container Apps environment with Log Analytics",
505
- "outputName": "container-app-env.bicep",
506
- "placeholders": ["PROJECT_NAME"],
507
- "stackSpecific": false,
508
- "engine": "handlebars",
509
- "deprecated": false,
510
- "technology": "bicep",
511
- "applicableStacks": ["blazor-azure"]
512
- },
513
- {
514
- "id": "azure-bicep-app-service",
515
- "name": "Azure App Service",
516
- "path": "infrastructure/azure/app-service.bicep",
517
- "location": "framework",
518
- "category": "infrastructure",
519
- "phase": "implement",
520
- "required": false,
521
- "description": "Azure App Service definition (alternative to Container Apps)",
522
- "outputName": "app-service.bicep",
523
- "placeholders": ["PROJECT_NAME"],
524
- "stackSpecific": false,
525
- "engine": "handlebars",
526
- "deprecated": false,
527
- "technology": "bicep",
528
- "applicableStacks": ["blazor-azure"]
529
- },
530
- {
531
- "id": "azure-bicep-sql",
532
- "name": "Azure SQL Database",
533
- "path": "infrastructure/azure/sql-database.bicep",
534
- "location": "framework",
535
- "category": "infrastructure",
536
- "phase": "implement",
537
- "required": false,
538
- "description": "Azure SQL Database with server and firewall rules",
539
- "outputName": "sql-database.bicep",
540
- "placeholders": ["PROJECT_NAME"],
541
- "stackSpecific": false,
542
- "engine": "handlebars",
543
- "deprecated": false,
544
- "technology": "bicep",
545
- "applicableStacks": ["blazor-azure"]
546
- },
547
- {
548
- "id": "azure-bicep-storage",
549
- "name": "Azure Storage Account",
550
- "path": "infrastructure/azure/storage.bicep",
551
- "location": "framework",
552
- "category": "infrastructure",
553
- "phase": "implement",
554
- "required": false,
555
- "description": "Azure Storage Account with blob containers",
556
- "outputName": "storage.bicep",
557
- "placeholders": ["PROJECT_NAME"],
558
- "stackSpecific": false,
559
- "engine": "handlebars",
560
- "deprecated": false,
561
- "technology": "bicep",
562
- "applicableStacks": ["blazor-azure"]
563
- },
564
- {
565
- "id": "azure-bicep-key-vault",
566
- "name": "Azure Key Vault",
567
- "path": "infrastructure/azure/key-vault.bicep",
568
- "location": "framework",
569
- "category": "infrastructure",
570
- "phase": "implement",
571
- "required": false,
572
- "description": "Azure Key Vault for secrets management",
573
- "outputName": "key-vault.bicep",
574
- "placeholders": ["PROJECT_NAME"],
575
- "stackSpecific": false,
576
- "engine": "handlebars",
577
- "deprecated": false,
578
- "technology": "bicep",
579
- "applicableStacks": ["blazor-azure"]
580
- },
581
- {
582
- "id": "azure-bicep-app-insights",
583
- "name": "Application Insights",
584
- "path": "infrastructure/azure/app-insights.bicep",
585
- "location": "framework",
586
- "category": "infrastructure",
587
- "phase": "implement",
588
- "required": false,
589
- "description": "Application Insights for monitoring and telemetry",
590
- "outputName": "app-insights.bicep",
591
- "placeholders": ["PROJECT_NAME"],
592
- "stackSpecific": false,
593
- "engine": "handlebars",
594
- "deprecated": false,
595
- "technology": "bicep",
596
- "applicableStacks": ["blazor-azure"]
597
- },
598
- {
599
- "id": "azure-parameters-dev",
600
- "name": "Parameters (Development)",
601
- "path": "infrastructure/azure/parameters.dev.json",
602
- "location": "framework",
603
- "category": "infrastructure",
604
- "phase": "implement",
605
- "required": false,
606
- "description": "Bicep parameters for development environment",
607
- "outputName": "parameters.dev.json",
608
- "placeholders": [],
609
- "stackSpecific": false,
610
- "engine": null,
611
- "deprecated": false,
612
- "technology": "azure",
613
- "applicableStacks": ["blazor-azure"]
614
- },
615
- {
616
- "id": "azure-parameters-staging",
617
- "name": "Parameters (Staging)",
618
- "path": "infrastructure/azure/parameters.staging.json",
619
- "location": "framework",
620
- "category": "infrastructure",
621
- "phase": "implement",
622
- "required": false,
623
- "description": "Bicep parameters for staging environment",
624
- "outputName": "parameters.staging.json",
625
- "placeholders": [],
626
- "stackSpecific": false,
627
- "engine": null,
628
- "deprecated": false,
629
- "technology": "azure",
630
- "applicableStacks": ["blazor-azure"]
631
- },
632
- {
633
- "id": "azure-parameters-prod",
634
- "name": "Parameters (Production)",
635
- "path": "infrastructure/azure/parameters.prod.json",
636
- "location": "framework",
637
- "category": "infrastructure",
638
- "phase": "implement",
639
- "required": false,
640
- "description": "Bicep parameters for production environment",
641
- "outputName": "parameters.prod.json",
642
- "placeholders": [],
643
- "stackSpecific": false,
644
- "engine": null,
645
- "deprecated": false,
646
- "technology": "azure",
647
- "applicableStacks": ["blazor-azure"]
648
- },
649
- {
650
- "id": "azure-deploy-ps1",
651
- "name": "Deploy Script (PowerShell)",
652
- "path": "infrastructure/azure/deploy.ps1",
653
- "location": "framework",
654
- "category": "infrastructure",
655
- "phase": "implement",
656
- "required": false,
657
- "description": "PowerShell deployment script for Azure",
658
- "outputName": "deploy.ps1",
659
- "placeholders": [],
660
- "stackSpecific": false,
661
- "engine": null,
662
- "deprecated": false,
663
- "technology": "azure",
664
- "applicableStacks": ["blazor-azure"]
665
- },
666
- {
667
- "id": "azure-deploy-sh",
668
- "name": "Deploy Script (Bash)",
669
- "path": "infrastructure/azure/deploy.sh",
670
- "location": "framework",
671
- "category": "infrastructure",
672
- "phase": "implement",
673
- "required": false,
674
- "description": "Bash deployment script for Azure",
675
- "outputName": "deploy.sh",
676
- "placeholders": [],
677
- "stackSpecific": false,
678
- "engine": null,
679
- "deprecated": false,
680
- "technology": "azure",
681
- "applicableStacks": ["blazor-azure"]
682
- },
683
- {
684
- "id": "azure-deploy-checklist",
685
- "name": "Deployment Checklist",
686
- "path": "infrastructure/azure/deploy-checklist.md",
687
- "location": "framework",
688
- "category": "infrastructure",
689
- "phase": "implement",
690
- "required": false,
691
- "description": "Pre-deployment verification checklist",
692
- "outputName": "deploy-checklist.md",
693
- "placeholders": [],
694
- "stackSpecific": false,
695
- "engine": "handlebars",
696
- "deprecated": false,
697
- "technology": "azure",
698
- "applicableStacks": ["blazor-azure"]
699
- },
700
- {
701
- "id": "azure-dockerfile",
702
- "name": "Dockerfile (Azure)",
703
- "path": "infrastructure/azure/Dockerfile.example",
704
- "location": "framework",
705
- "category": "infrastructure",
706
- "phase": "implement",
707
- "required": false,
708
- "description": "Example Dockerfile for Azure Container Apps",
709
- "outputName": "Dockerfile",
710
- "placeholders": [],
711
- "stackSpecific": false,
712
- "engine": null,
713
- "deprecated": false,
714
- "technology": "docker",
715
- "applicableStacks": ["blazor-azure"]
716
- },
717
- {
718
- "id": "azure-readme",
719
- "name": "Infrastructure README",
720
- "path": "infrastructure/azure/README.md",
721
- "location": "framework",
722
- "category": "infrastructure",
723
- "phase": "implement",
724
- "required": false,
725
- "description": "Documentation for Azure infrastructure",
726
- "outputName": "README.md",
727
- "placeholders": [],
728
- "stackSpecific": false,
729
- "engine": "handlebars",
730
- "deprecated": false,
731
- "technology": "azure",
732
- "applicableStacks": ["blazor-azure"]
733
- },
734
- {
735
- "id": "docker-dockerfile-api",
736
- "name": "Dockerfile (.NET API)",
737
- "path": "infrastructure/docker/dockerfile-api.dockerfile",
738
- "location": "framework",
739
- "category": "infrastructure",
740
- "phase": "implement",
741
- "required": false,
742
- "description": ".NET API Dockerfile for EasyPanel/Docker",
743
- "outputName": "Dockerfile.api",
744
- "placeholders": [],
745
- "stackSpecific": false,
746
- "engine": null,
747
- "deprecated": false,
748
- "technology": "docker",
749
- "applicableStacks": ["nextjs-supabase"]
750
- },
751
- {
752
- "id": "docker-dockerfile-web",
753
- "name": "Dockerfile (Next.js Web)",
754
- "path": "infrastructure/docker/dockerfile-web.dockerfile",
755
- "location": "framework",
756
- "category": "infrastructure",
757
- "phase": "implement",
758
- "required": false,
759
- "description": "Next.js web Dockerfile for EasyPanel/Docker",
760
- "outputName": "Dockerfile.web",
761
- "placeholders": [],
762
- "stackSpecific": false,
763
- "engine": null,
764
- "deprecated": false,
765
- "technology": "docker",
766
- "applicableStacks": ["nextjs-supabase"]
767
- },
768
- {
769
- "id": "docker-dockerfile-generic",
770
- "name": "Dockerfile (Generic)",
771
- "path": "infrastructure/docker/Dockerfile.template",
772
- "location": "framework",
773
- "category": "infrastructure",
774
- "phase": "implement",
775
- "required": false,
776
- "description": "Generic multi-stage Dockerfile template",
777
- "outputName": "Dockerfile",
778
- "placeholders": ["PROJECT_NAME"],
779
- "stackSpecific": false,
780
- "engine": "handlebars",
781
- "deprecated": false,
782
- "technology": "docker",
783
- "applicableStacks": ["nextjs-supabase"]
784
- },
785
- {
786
- "id": "docker-compose",
787
- "name": "Docker Compose",
788
- "path": "infrastructure/docker/docker-compose.template.yml",
789
- "location": "framework",
790
- "category": "infrastructure",
791
- "phase": "implement",
792
- "required": false,
793
- "description": "Docker Compose for local development environment",
794
- "outputName": "docker-compose.yml",
795
- "placeholders": ["PROJECT_NAME"],
796
- "stackSpecific": false,
797
- "engine": "handlebars",
798
- "deprecated": false,
799
- "technology": "docker",
800
- "applicableStacks": ["nextjs-supabase"]
801
- },
802
- {
803
- "id": "easypanel-config",
804
- "name": "EasyPanel Configuration",
805
- "path": "infrastructure/docker/easypanel.template.json",
806
- "location": "framework",
807
- "category": "infrastructure",
808
- "phase": "implement",
809
- "required": false,
810
- "description": "EasyPanel deployment configuration",
811
- "outputName": "easypanel.json",
812
- "placeholders": ["PROJECT_NAME"],
813
- "stackSpecific": false,
814
- "engine": "handlebars",
815
- "deprecated": false,
816
- "technology": "docker",
817
- "applicableStacks": ["nextjs-supabase"]
818
- },
819
- {
820
- "id": "integration-asaas-client",
821
- "name": "Asaas Financial Client",
822
- "path": "integrations/asaas-client.cs",
823
- "location": "framework",
824
- "category": "integration",
825
- "phase": "implement",
826
- "required": false,
827
- "description": "Asaas financial API client implementation",
828
- "outputName": "AsaasClient.cs",
829
- "placeholders": ["NAMESPACE"],
830
- "stackSpecific": false,
831
- "engine": "handlebars",
832
- "deprecated": false,
833
- "technology": "dotnet",
834
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
835
- },
836
- {
837
- "id": "integration-asaas-webhook",
838
- "name": "Asaas Webhook Handler",
839
- "path": "integrations/asaas-webhook.cs",
840
- "location": "framework",
841
- "category": "integration",
842
- "phase": "implement",
843
- "required": false,
844
- "description": "Asaas webhook handler for payment events",
845
- "outputName": "AsaasWebhookHandler.cs",
846
- "placeholders": ["NAMESPACE"],
847
- "stackSpecific": false,
848
- "engine": "handlebars",
849
- "deprecated": false,
850
- "technology": "dotnet",
851
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
852
- },
853
- {
854
- "id": "integration-azure-identity",
855
- "name": "Azure Identity Configuration",
856
- "path": "integrations/azure-identity-config.cs",
857
- "location": "framework",
858
- "category": "integration",
859
- "phase": "implement",
860
- "required": false,
861
- "description": "Azure AD/Entra ID authentication configuration",
862
- "outputName": "AzureIdentityConfig.cs",
863
- "placeholders": ["NAMESPACE"],
864
- "stackSpecific": false,
865
- "engine": "handlebars",
866
- "deprecated": false,
867
- "technology": "dotnet",
868
- "applicableStacks": ["blazor-azure"]
869
- },
870
- {
871
- "id": "integration-clerk",
872
- "name": "Clerk Authentication",
873
- "path": "integrations/clerk-config.cs",
874
- "location": "framework",
875
- "category": "integration",
876
- "phase": "implement",
877
- "required": false,
878
- "description": "Clerk authentication configuration",
879
- "outputName": "ClerkConfig.cs",
880
- "placeholders": ["NAMESPACE"],
881
- "stackSpecific": false,
882
- "engine": "handlebars",
883
- "deprecated": false,
884
- "technology": "dotnet",
885
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
886
- },
887
- {
888
- "id": "ui-design-system-css",
889
- "name": "Design System CSS",
890
- "path": "ui/design-system.css",
891
- "location": "framework",
892
- "category": "ui",
893
- "phase": "uiux",
894
- "required": false,
895
- "description": "CSS design tokens and variables (colors, spacing, typography)",
896
- "outputName": "design-system.css",
897
- "placeholders": ["PROJECT_NAME"],
898
- "stackSpecific": false,
899
- "engine": "handlebars",
900
- "deprecated": false,
901
- "technology": "css",
902
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
903
- },
904
- {
905
- "id": "ui-fluent-theme",
906
- "name": "Fluent Design Theme",
907
- "path": "ui/FluentDesignTheme.cs",
908
- "location": "framework",
909
- "category": "ui",
910
- "phase": "uiux",
911
- "required": false,
912
- "description": "FluentUI Blazor theme configuration (auto-generated)",
913
- "outputName": "FluentDesignTheme.cs",
914
- "placeholders": ["NAMESPACE"],
915
- "stackSpecific": false,
916
- "engine": "handlebars",
917
- "deprecated": false,
918
- "autoGenerated": true,
919
- "technology": "dotnet",
920
- "applicableStacks": ["blazor-azure"]
921
- },
922
- {
923
- "id": "ui-mud-theme",
924
- "name": "MudBlazor Theme",
925
- "path": "ui/MudTheme.cs",
926
- "location": "framework",
927
- "category": "ui",
928
- "phase": "uiux",
929
- "required": false,
930
- "description": "MudBlazor theme configuration (auto-generated)",
931
- "outputName": "MudTheme.cs",
932
- "placeholders": ["NAMESPACE"],
933
- "stackSpecific": false,
934
- "engine": "handlebars",
935
- "deprecated": false,
936
- "autoGenerated": true,
937
- "technology": "dotnet",
938
- "applicableStacks": ["blazor-azure"]
939
- },
940
- {
941
- "id": "saas-subscription",
942
- "name": "Subscription Model",
943
- "path": "saas/subscription.cs",
944
- "location": "framework",
945
- "category": "saas",
946
- "phase": "implement",
947
- "required": false,
948
- "description": "Multi-tenant subscription model with billing",
949
- "outputName": "Subscription.cs",
950
- "placeholders": ["NAMESPACE"],
951
- "stackSpecific": false,
952
- "engine": "handlebars",
953
- "deprecated": false,
954
- "technology": "dotnet",
955
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
956
- },
957
- {
958
- "id": "saas-tenant",
959
- "name": "Tenant Model",
960
- "path": "saas/tenant.cs",
961
- "location": "framework",
962
- "category": "saas",
963
- "phase": "implement",
964
- "required": false,
965
- "description": "Multi-tenant tenant model with isolation",
966
- "outputName": "Tenant.cs",
967
- "placeholders": ["NAMESPACE"],
968
- "stackSpecific": false,
969
- "engine": "handlebars",
970
- "deprecated": false,
971
- "technology": "dotnet",
972
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
973
- },
974
- {
975
- "id": "ui-mockups",
976
- "name": "UI Mockups",
977
- "path": "docs/ui-mockups.md",
978
- "location": "framework",
979
- "category": "documentation",
980
- "phase": "uiux",
981
- "required": false,
982
- "description": "Wireframes and layout specifications with ASCII mockups and responsive breakpoints",
983
- "outputName": "ui-mockups.md",
984
- "placeholders": ["FEATURE_NAME", "DATE"],
985
- "stackSpecific": false,
986
- "engine": "handlebars",
987
- "deprecated": false,
988
- "technology": "handlebars"
989
- },
990
- {
991
- "id": "ui-flows",
992
- "name": "UI Flows",
993
- "path": "docs/ui-flows.md",
994
- "location": "framework",
995
- "category": "documentation",
996
- "phase": "uiux",
997
- "required": false,
998
- "description": "User flows and interaction patterns with state diagrams and edge cases",
999
- "outputName": "ui-flows.md",
1000
- "placeholders": ["FEATURE_NAME", "DATE"],
1001
- "stackSpecific": false,
1002
- "engine": "handlebars",
1003
- "deprecated": false,
1004
- "technology": "handlebars"
1005
- },
1006
- {
1007
- "id": "ui-components",
1008
- "name": "UI Components",
1009
- "path": "docs/ui-components.md",
1010
- "location": "framework",
1011
- "category": "documentation",
1012
- "phase": "uiux",
1013
- "required": false,
1014
- "description": "Component specifications mapping UI elements to FluentUI/MudBlazor components with props and events",
1015
- "outputName": "ui-components.md",
1016
- "placeholders": ["FEATURE_NAME", "DATE", "STACK"],
1017
- "stackSpecific": false,
1018
- "engine": "handlebars",
1019
- "deprecated": false,
1020
- "technology": "handlebars"
1021
- },
1022
- {
1023
- "id": "ui-design-system",
1024
- "name": "UI Design System",
1025
- "path": "docs/ui-design-system.md",
1026
- "location": "framework",
1027
- "category": "documentation",
1028
- "phase": "uiux",
1029
- "required": false,
1030
- "description": "Design system documentation with color palette, typography, spacing, and semantic tokens",
1031
- "outputName": "ui-design-system.md",
1032
- "placeholders": ["FEATURE_NAME", "DATE", "PROJECT_NAME"],
1033
- "stackSpecific": false,
1034
- "engine": "handlebars",
1035
- "deprecated": false,
1036
- "technology": "handlebars"
1037
- },
1038
- {
1039
- "id": "github-workflow-dotnet-build",
1040
- "name": "GitHub Actions - .NET Build Workflow",
1041
- "path": "infrastructure/github/workflows/dotnet-build.yml.hbs",
1042
- "location": "framework",
1043
- "category": "infrastructure",
1044
- "technology": "github-actions",
1045
- "phase": "build",
1046
- "required": false,
1047
- "description": "Reusable workflow for building .NET applications with restore, build, test, coverage",
1048
- "outputName": "dotnet-build.yml",
1049
- "placeholders": ["DOTNET_VERSION"],
1050
- "stackSpecific": false,
1051
- "applicableStacks": ["blazor-azure", "nextjs-supabase"],
1052
- "engine": "handlebars",
1053
- "deprecated": false,
1054
- "isFragment": true
1055
- },
1056
- {
1057
- "id": "github-workflow-docker-build-push",
1058
- "name": "GitHub Actions - Docker Build & Push",
1059
- "path": "infrastructure/github/workflows/docker-build-push.yml.hbs",
1060
- "location": "framework",
1061
- "category": "infrastructure",
1062
- "technology": "github-actions",
1063
- "phase": "build",
1064
- "required": false,
1065
- "description": "Reusable workflow for building and pushing Docker images to registry",
1066
- "outputName": "docker-build-push.yml",
1067
- "placeholders": [],
1068
- "stackSpecific": false,
1069
- "applicableStacks": ["blazor-azure", "nextjs-supabase"],
1070
- "engine": "handlebars",
1071
- "deprecated": false,
1072
- "isFragment": true
1073
- },
1074
- {
1075
- "id": "github-workflow-deploy-azure-app-service",
1076
- "name": "GitHub Actions - Deploy to Azure App Service",
1077
- "path": "infrastructure/github/workflows/deploy-azure-app-service.yml.hbs",
1078
- "location": "framework",
1079
- "category": "infrastructure",
1080
- "technology": "github-actions",
1081
- "phase": "deploy",
1082
- "required": false,
1083
- "description": "Reusable workflow for deploying .NET applications to Azure App Service with Bicep infrastructure",
1084
- "outputName": "deploy-azure-app-service.yml",
1085
- "placeholders": ["DOTNET_VERSION"],
1086
- "stackSpecific": false,
1087
- "applicableStacks": ["blazor-azure"],
1088
- "engine": "handlebars",
1089
- "deprecated": false,
1090
- "isFragment": true
1091
- },
1092
- {
1093
- "id": "github-workflow-deploy-easypanel",
1094
- "name": "GitHub Actions - Deploy to EasyPanel",
1095
- "path": "infrastructure/github/workflows/deploy-easypanel.yml.hbs",
1096
- "location": "framework",
1097
- "category": "infrastructure",
1098
- "technology": "github-actions",
1099
- "phase": "deploy",
1100
- "required": false,
1101
- "description": "Reusable workflow for deploying to EasyPanel via webhook",
1102
- "outputName": "deploy-easypanel.yml",
1103
- "placeholders": [],
1104
- "stackSpecific": false,
1105
- "applicableStacks": ["nextjs-supabase"],
1106
- "engine": "handlebars",
1107
- "deprecated": false,
1108
- "isFragment": true
1109
- },
1110
- {
1111
- "id": "github-action-docker-build-push",
1112
- "name": "GitHub Composite Action - Docker Build & Push",
1113
- "path": "infrastructure/github/actions/docker-build-push/action.yml.hbs",
1114
- "location": "framework",
1115
- "category": "infrastructure",
1116
- "technology": "github-actions",
1117
- "phase": "build",
1118
- "required": false,
1119
- "description": "Composite action for building and pushing Docker images",
1120
- "outputName": "action.yml",
1121
- "placeholders": [],
1122
- "stackSpecific": false,
1123
- "applicableStacks": ["blazor-azure", "nextjs-supabase"],
1124
- "engine": "handlebars",
1125
- "deprecated": false,
1126
- "isFragment": true
1127
- },
1128
- {
1129
- "id": "github-action-health-check",
1130
- "name": "GitHub Composite Action - Health Check",
1131
- "path": "infrastructure/github/actions/health-check/action.yml.hbs",
1132
- "location": "framework",
1133
- "category": "infrastructure",
1134
- "technology": "github-actions",
1135
- "phase": "deploy",
1136
- "required": false,
1137
- "description": "Composite action for polling health endpoint until ready",
1138
- "outputName": "action.yml",
1139
- "placeholders": [],
1140
- "stackSpecific": false,
1141
- "applicableStacks": ["blazor-azure", "nextjs-supabase"],
1142
- "engine": "handlebars",
1143
- "deprecated": false,
1144
- "isFragment": true
1145
- },
1146
- {
1147
- "id": "github-action-azure-auth",
1148
- "name": "GitHub Composite Action - Azure OIDC Auth",
1149
- "path": "infrastructure/github/actions/azure-auth/action.yml.hbs",
1150
- "location": "framework",
1151
- "category": "infrastructure",
1152
- "technology": "github-actions",
1153
- "phase": "deploy",
1154
- "required": false,
1155
- "description": "Composite action for Azure authentication using OIDC",
1156
- "outputName": "action.yml",
1157
- "placeholders": [],
1158
- "stackSpecific": false,
1159
- "applicableStacks": ["blazor-azure"],
1160
- "engine": "handlebars",
1161
- "deprecated": false,
1162
- "isFragment": true
1163
- },
1164
- {
1165
- "id": "blazor-azure-ci-build",
1166
- "name": "Blazor-Azure CI Build Workflow",
1167
- "path": "infrastructure/github/workflows/ci-build.yml.hbs",
1168
- "location": "stack/blazor-azure",
1169
- "category": "infrastructure",
1170
- "technology": "github-actions",
1171
- "phase": "build",
1172
- "required": true,
1173
- "description": "CI build workflow for Blazor-Azure stack with security checks",
1174
- "outputName": "ci-build.yml",
1175
- "placeholders": ["DOTNET_VERSION"],
1176
- "stackSpecific": true,
1177
- "applicableStacks": ["blazor-azure"],
1178
- "engine": "handlebars",
1179
- "deprecated": false
1180
- },
1181
- {
1182
- "id": "blazor-azure-cd-staging",
1183
- "name": "Blazor-Azure Staging Deployment",
1184
- "path": "infrastructure/github/workflows/cd-staging.yml.hbs",
1185
- "location": "stack/blazor-azure",
1186
- "category": "infrastructure",
1187
- "technology": "github-actions",
1188
- "phase": "deploy",
1189
- "required": true,
1190
- "description": "Staging deployment workflow for Azure App Service",
1191
- "outputName": "cd-staging.yml",
1192
- "placeholders": ["APP_NAME", "DOTNET_VERSION"],
1193
- "stackSpecific": true,
1194
- "applicableStacks": ["blazor-azure"],
1195
- "engine": "handlebars",
1196
- "deprecated": false
1197
- },
1198
- {
1199
- "id": "blazor-azure-cd-prod",
1200
- "name": "Blazor-Azure Production Deployment",
1201
- "path": "infrastructure/github/workflows/cd-prod.yml.hbs",
1202
- "location": "stack/blazor-azure",
1203
- "category": "infrastructure",
1204
- "technology": "github-actions",
1205
- "phase": "deploy",
1206
- "required": true,
1207
- "description": "Production deployment workflow for Azure App Service with security scanning",
1208
- "outputName": "cd-prod.yml",
1209
- "placeholders": ["APP_NAME", "DOTNET_VERSION"],
1210
- "stackSpecific": true,
1211
- "applicableStacks": ["blazor-azure"],
1212
- "engine": "handlebars",
1213
- "deprecated": false
1214
- },
1215
- {
1216
- "id": "nextjs-supabase-ci-build",
1217
- "name": "NextJS-Supabase CI Build Workflow",
1218
- "path": "infrastructure/github/workflows/ci-build.yml.hbs",
1219
- "location": "stack/nextjs-supabase",
1220
- "category": "infrastructure",
1221
- "technology": "github-actions",
1222
- "phase": "build",
1223
- "required": true,
1224
- "description": "CI build workflow for NextJS-Supabase stack (Node.js + .NET combined)",
1225
- "outputName": "ci-build.yml",
1226
- "placeholders": ["DOTNET_VERSION"],
1227
- "stackSpecific": true,
1228
- "applicableStacks": ["nextjs-supabase"],
1229
- "engine": "handlebars",
1230
- "deprecated": false
1231
- },
1232
- {
1233
- "id": "hop-squad-leader",
1234
- "name": "Squad Leader HOP",
1235
- "path": "meta-prompts/squad-leaders/squad-leader.md",
1236
- "location": "framework",
1237
- "category": "meta-prompts",
1238
- "technology": "handlebars",
1239
- "phase": "implement",
1240
- "required": false,
1241
- "description": "Generic squad leader higher-order prompt with mission, domain-leaders, standards, tasks, deliverables, constraints",
1242
- "outputName": "squad-leader-prompt.md",
1243
- "placeholders": ["AGENT_ID", "DOMAIN", "MISSION", "DOMAIN_LEADERS", "SPEC_SUMMARY", "STANDARDS", "TASKS", "DELIVERABLES", "CONSTRAINTS", "FEATURE_NAME"],
1244
- "stackSpecific": false,
1245
- "engine": "handlebars",
1246
- "deprecated": false,
1247
- "hopType": "squad-leader"
1248
- },
1249
- {
1250
- "id": "hop-backend-squad",
1251
- "name": "Backend Squad Leader HOP",
1252
- "path": "meta-prompts/squad-leaders/backend-squad.md",
1253
- "location": "framework",
1254
- "category": "meta-prompts",
1255
- "technology": "handlebars",
1256
- "phase": "implement",
1257
- "required": false,
1258
- "description": "Backend squad leader HOP for dotnet-senior with backend domain leaders, .NET 10 standards, architecture and security guidelines",
1259
- "outputName": "backend-squad-prompt.md",
1260
- "placeholders": ["AGENT_ID", "MISSION", "SPEC_SUMMARY", "TASKS", "DELIVERABLES", "CONSTRAINTS", "FEATURE_NAME"],
1261
- "stackSpecific": false,
1262
- "engine": "handlebars",
1263
- "deprecated": false,
1264
- "hopType": "squad-leader",
1265
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
1266
- },
1267
- {
1268
- "id": "hop-frontend-squad",
1269
- "name": "Frontend Squad Leader HOP",
1270
- "path": "meta-prompts/squad-leaders/frontend-squad.md",
1271
- "location": "framework",
1272
- "category": "meta-prompts",
1273
- "technology": "handlebars",
1274
- "phase": "implement",
1275
- "required": false,
1276
- "description": "Frontend squad leader HOP for ui-designer with Blazor or Next.js domain leaders and design system standards",
1277
- "outputName": "frontend-squad-prompt.md",
1278
- "placeholders": ["AGENT_ID", "DOMAIN", "MISSION", "SPEC_SUMMARY", "TASKS", "DELIVERABLES", "CONSTRAINTS", "FEATURE_NAME", "IS_BLAZOR", "IS_NEXTJS"],
1279
- "stackSpecific": false,
1280
- "engine": "handlebars",
1281
- "deprecated": false,
1282
- "hopType": "squad-leader",
1283
- "applicableStacks": ["blazor-azure", "nextjs-supabase"]
1284
- },
1285
- {
1286
- "id": "hop-parallel-worker",
1287
- "name": "Parallel Worker HOP",
1288
- "path": "meta-prompts/parallel-workers/parallel-worker.md",
1289
- "location": "framework",
1290
- "category": "meta-prompts",
1291
- "technology": "handlebars",
1292
- "phase": "implement",
1293
- "required": false,
1294
- "description": "P-Thread parallel worker HOP with isolation rules, assigned file scope, and structured completion report",
1295
- "outputName": "parallel-worker-prompt.md",
1296
- "placeholders": ["AGENT_ID", "THREAD_ID", "FEATURE_NAME", "MISSION", "SCOPE", "DELIVERABLES", "SPEC_SUMMARY", "STANDARDS", "TASKS"],
1297
- "stackSpecific": false,
1298
- "engine": "handlebars",
1299
- "deprecated": false,
1300
- "hopType": "parallel-worker"
1301
- },
1302
- {
1303
- "id": "hop-parallel-coordinator",
1304
- "name": "Parallel Coordinator HOP",
1305
- "path": "meta-prompts/parallel-workers/parallel-coordinator.md",
1306
- "location": "framework",
1307
- "category": "meta-prompts",
1308
- "technology": "handlebars",
1309
- "phase": "implement",
1310
- "required": false,
1311
- "description": "P-Thread coordinator HOP for spawning, monitoring and merging parallel worker results",
1312
- "outputName": "parallel-coordinator-prompt.md",
1313
- "placeholders": ["AGENT_ID", "SESSION_ID", "FEATURE_NAME", "WORKER_COUNT", "WORKERS", "PARALLEL_STRATEGY", "MAX_CONCURRENT", "TIMEOUT_MINUTES", "MERGE_STRATEGY", "SPEC_SUMMARY", "PRE_SPAWN_TASKS", "POST_MERGE_TASKS", "CONSTRAINTS"],
1314
- "stackSpecific": false,
1315
- "engine": "handlebars",
1316
- "deprecated": false,
1317
- "hopType": "parallel-coordinator"
1318
- },
1319
- {
1320
- "id": "hop-wrapper",
1321
- "name": "HOP Wrapper",
1322
- "path": "meta-prompts/hops/hop-wrapper.md",
1323
- "location": "framework",
1324
- "category": "meta-prompts",
1325
- "technology": "handlebars",
1326
- "phase": "implement",
1327
- "required": false,
1328
- "description": "Wraps any prompt with additional context, pre/post conditions, and HOP metadata injection",
1329
- "outputName": "hop-wrapper-prompt.md",
1330
- "placeholders": ["HOP_NAME", "INNER_PROMPT", "FEATURE_NAME", "PHASE", "AGENT_ID", "STANDARDS_OVERRIDE", "PRE_CONDITIONS", "POST_CONDITIONS", "HOP_VERSION", "DATE"],
1331
- "stackSpecific": false,
1332
- "engine": "handlebars",
1333
- "deprecated": false,
1334
- "hopType": "utility"
1335
- },
1336
- {
1337
- "id": "hop-retry",
1338
- "name": "HOP Retry",
1339
- "path": "meta-prompts/hops/hop-retry.md",
1340
- "location": "framework",
1341
- "category": "meta-prompts",
1342
- "technology": "handlebars",
1343
- "phase": "implement",
1344
- "required": false,
1345
- "description": "Retry HOP with failure analysis, adjusted approach hints per attempt number (1=minor fix, 2=alternative, 3=escalation-ready)",
1346
- "outputName": "hop-retry-prompt.md",
1347
- "placeholders": ["FEATURE_NAME", "AGENT_ID", "RETRY_COUNT", "MAX_RETRIES", "TASK_ID", "FAILURE_DESCRIPTION", "ERROR_DETAILS", "PREVIOUS_ATTEMPTS", "ORIGINAL_TASK_DESCRIPTION", "CONSTRAINTS"],
1348
- "stackSpecific": false,
1349
- "engine": "handlebars",
1350
- "deprecated": false,
1351
- "hopType": "utility"
1352
- },
1353
- {
1354
- "id": "hop-validation",
1355
- "name": "HOP Validation",
1356
- "path": "meta-prompts/hops/hop-validation.md",
1357
- "location": "framework",
1358
- "category": "meta-prompts",
1359
- "technology": "handlebars",
1360
- "phase": "implement",
1361
- "required": false,
1362
- "description": "Validation agent HOP with architecture, security, design-system, and packages checklists",
1363
- "outputName": "hop-validation-prompt.md",
1364
- "placeholders": ["VALIDATION_TYPE", "REVIEWED_AGENT", "FEATURE_NAME", "CHECKPOINT_NUM", "FILES_TO_REVIEW", "VALIDATION_CRITERIA", "IS_ARCHITECTURE", "IS_SECURITY", "IS_DESIGN_SYSTEM", "IS_PACKAGES"],
1365
- "stackSpecific": false,
1366
- "engine": "handlebars",
1367
- "deprecated": false,
1368
- "hopType": "validator"
1369
- },
1370
- {
1371
- "id": "hop-checkpoint-validator",
1372
- "name": "Checkpoint Validator HOP",
1373
- "path": "meta-prompts/validators/checkpoint-validator.md",
1374
- "location": "framework",
1375
- "category": "meta-prompts",
1376
- "technology": "handlebars",
1377
- "phase": "implement",
1378
- "required": false,
1379
- "description": "Checkpoint validator HOP running architecture, security, design-system, and packages validators with pass/fail decision logic",
1380
- "outputName": "checkpoint-validator-prompt.md",
1381
- "placeholders": ["FEATURE_NAME", "CHECKPOINT_NUM", "CHECKPOINT_FREQUENCY", "TASKS_SINCE_LAST", "TASKS_COMPLETED", "TASKS_TOTAL", "RECENT_TASKS", "FILES_CHANGED", "HAS_UI_FILES", "HAS_CSPROJ_CHANGES"],
1382
- "stackSpecific": false,
1383
- "engine": "handlebars",
1384
- "deprecated": false,
1385
- "hopType": "validator"
1386
- },
1387
- {
1388
- "id": "hop-pre-commit-validator",
1389
- "name": "Pre-Commit Validator HOP",
1390
- "path": "meta-prompts/validators/pre-commit-validator.md",
1391
- "location": "framework",
1392
- "category": "meta-prompts",
1393
- "technology": "handlebars",
1394
- "phase": "implement",
1395
- "required": false,
1396
- "description": "Pre-commit hook validator HOP checking conventional commits, secrets, agent spec validity, and stack-specific rules",
1397
- "outputName": "pre-commit-validator-prompt.md",
1398
- "placeholders": ["FEATURE_NAME", "BRANCH_NAME", "STAGED_FILE_COUNT", "STAGED_FILES", "IS_CSHARP", "IS_TYPESCRIPT"],
1399
- "stackSpecific": false,
1400
- "engine": "handlebars",
1401
- "deprecated": false,
1402
- "hopType": "validator"
1403
- },
1404
- {
1405
- "id": "hop-fusion-agent",
1406
- "name": "Fusion Agent HOP",
1407
- "path": "meta-prompts/fusion/fusion-agent.md",
1408
- "location": "framework",
1409
- "category": "meta-prompts",
1410
- "technology": "handlebars",
1411
- "phase": "implement",
1412
- "required": false,
1413
- "description": "F-Thread fusion participant HOP with approach hints per thread index (standard, alternative, optimized) and self-assessment scoring",
1414
- "outputName": "fusion-agent-prompt.md",
1415
- "placeholders": ["AGENT_ID", "THREAD_INDEX", "THREAD_COUNT", "THREAD_COUNT_MINUS_ONE", "THREAD_ID", "FEATURE_NAME", "FUSION_STRATEGY", "TASK_DESCRIPTION", "SPEC_SUMMARY", "STANDARDS", "DELIVERABLES"],
1416
- "stackSpecific": false,
1417
- "engine": "handlebars",
1418
- "deprecated": false,
1419
- "hopType": "fusion"
1420
- },
1421
- {
1422
- "id": "hop-fusion-aggregator",
1423
- "name": "Fusion Aggregator HOP",
1424
- "path": "meta-prompts/fusion/fusion-aggregator.md",
1425
- "location": "framework",
1426
- "category": "meta-prompts",
1427
- "technology": "handlebars",
1428
- "phase": "implement",
1429
- "required": false,
1430
- "description": "F-Thread aggregator HOP that scores and selects the winning implementation using best-of-n, consensus, or manual-select strategies",
1431
- "outputName": "fusion-aggregator-prompt.md",
1432
- "placeholders": ["SESSION_ID", "FEATURE_NAME", "THREAD_COUNT", "FUSION_STRATEGY", "FUSION_RESULTS"],
1433
- "stackSpecific": false,
1434
- "engine": "handlebars",
1435
- "deprecated": false,
1436
- "hopType": "fusion"
1437
- }
1438
- ],
1439
- "stats": {
1440
- "total": 68,
1441
- "framework": 59,
1442
- "deprecated": 0,
1443
- "byCategory": {
1444
- "documentation": 4,
1445
- "code": 24,
1446
- "infrastructure": 18,
1447
- "context": 2,
1448
- "examples": 2,
1449
- "integration": 4,
1450
- "saas": 2,
1451
- "ui": 3,
1452
- "meta-prompts": 12
1453
- },
1454
- "byTechnology": {
1455
- "dotnet": 26,
1456
- "typescript": 1,
1457
- "sql": 3,
1458
- "bicep": 8,
1459
- "azure": 9,
1460
- "docker": 5,
1461
- "handlebars": 22,
1462
- "css": 1,
1463
- "github-actions": 9
1464
- },
1465
- "byPhase": {
1466
- "setup": 1,
1467
- "proposal": 1,
1468
- "uiux": 6,
1469
- "design": 10,
1470
- "clarify": 0,
1471
- "tasks": 1,
1472
- "implement": 34,
1473
- "completed": 1,
1474
- "build": 3,
1475
- "deploy": 4
1476
- },
1477
- "required": 5,
1478
- "optional": 63,
1479
- "applicableToMultipleStacks": 42
1480
- },
1481
- "migrationNotes": {
1482
- "v1ToV2": {
1483
- "breaking": true,
1484
- "pathChanges": "All templates moved from stacks/{stack}/.morph/templates/ to framework/templates/ organized by technology",
1485
- "organizationChange": "Stack-based → Technology-based (enables future stack reusability)",
1486
- "deprecated": 9,
1487
- "movedToFramework": 57,
1488
- "newTechnologies": ["dotnet", "typescript", "sql", "bicep", "azure", "docker"],
1489
- "actionRequired": "Delete stacks/{stack}/.morph/templates/ directories (Phase 6)"
1490
- }
1491
- }
1492
- }