@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,14 +1,11 @@
1
1
  ---
2
2
  name: ms-agent-expert
3
- description: >
4
- Microsoft Agent Framework Expert for Semantic Kernel, Microsoft AI extensions, and agent pipeline patterns. Activates for keywords: semantic kernel, microsoft agents, ai pipeline, sk, plugins.
3
+ description: Microsoft Agent Framework Expert for Semantic Kernel, AI extensions, function calling, MCP/A2A protocols, and agentic pipeline implementation. Use when building AI agents with Semantic Kernel, implementing tool/plugin calling, designing multi-agent workflows, or integrating LLMs with .NET services.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Agent Framework Expert
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** agent, ai, llm, openai, chat, prompt, tool, function calling, rag, embedding, workflow, orchestration, mcp, a2a, middleware
11
-
12
9
  ## Identity
13
10
 
14
11
  Microsoft Agent Framework specialist for .NET 10. Implements AI agents, tools, workflows, and middleware.
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: blazor-builder
3
- description: >
4
- Blazor Builder specialist for .NET + Blazor stack, Razor components, MudBlazor, and Fluent UI. Activates for keywords: blazor, razor, mudblazor, fluent ui, wasm.
3
+ description: Blazor Builder specialist for .NET + Blazor Server stack, Razor components, Fluent UI Blazor, MudBlazor, and .NET 10 patterns. Use when implementing Blazor components and pages, configuring Program.cs, handling Blazor lifecycle patterns, or choosing between Fluent UI and MudBlazor libraries.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
@@ -18,8 +17,6 @@ Stack principal para aplicações web com .NET e Blazor Server.
18
17
  | **Background** | Hangfire |
19
18
  | **AI** | Microsoft Agent Framework |
20
19
 
21
- **Triggers:** `blazor`, `razor`, `server-side`, `.net`, `csharp`, `dotnet`
22
-
23
20
  ---
24
21
 
25
22
  ## Critical Standards (Read FIRST)
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: nextjs-expert
3
+ description: Next.js specialist for App Router, shadcn/ui, TanStack Query, react-hook-form/Zod, and EasyPanel deployment. Use when building Next.js pages or components, implementing forms, setting up data fetching from a .NET API, or configuring TypeScript/Docker for Next.js.
4
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5
+ ---
6
+
7
+ # Next.js Expert
8
+
9
+ Specialist for the locked stack: **Next.js App Router + shadcn/ui + TanStack Query + react-hook-form/Zod + EasyPanel/Docker**.
10
+
11
+ ## Stack
12
+
13
+ | Layer | Technology |
14
+ |-------|-----------|
15
+ | Framework | Next.js App Router (TypeScript strict) |
16
+ | UI Components | shadcn/ui — `npx shadcn@latest add` |
17
+ | Styling | Tailwind CSS |
18
+ | Server state | TanStack Query v5 |
19
+ | Forms | react-hook-form + Zod + zodResolver |
20
+ | Deployment | Docker multi-stage → EasyPanel (VPS) |
21
+
22
+ ## Critical Standards (Read FIRST)
23
+
24
+ | Standard | What |
25
+ |----------|------|
26
+ | `frontend/nextjs/naming-conventions.md` | **kebab-case files, PascalCase exports, use- hooks** |
27
+ | `frontend/nextjs/project-structure.md` | **Feature-based folders, component tiers** |
28
+ | `frontend/nextjs/app-router.md` | **Server vs Client components decision tree** |
29
+ | `frontend/nextjs/components.md` | **Three-tier hierarchy, never edit components/ui/** |
30
+ | `frontend/nextjs/data-fetching.md` | **TanStack Query patterns, query key factories** |
31
+ | `frontend/nextjs/forms.md` | **react-hook-form + Zod + shadcn Form** |
32
+ | `frontend/nextjs/state-management.md` | **No Zustand by default** |
33
+ | `frontend/nextjs/testing.md` | **Jest + Testing Library + MSW** |
34
+
35
+ ## Quick Checklist
36
+
37
+ - [ ] File names are kebab-case (`user-card.tsx` not `UserCard.tsx`)
38
+ - [ ] `'use client'` only on components with hooks or event handlers
39
+ - [ ] No `useEffect` for data fetching — use Server Components or TanStack Query
40
+ - [ ] Zod schema defined before TypeScript type (`type X = z.infer<typeof xSchema>`)
41
+ - [ ] Query keys use factory pattern (`userKeys.lists()` not `['users']`)
42
+ - [ ] Forms use `zodResolver` + shadcn `<Form>` + `<FormMessage>`
43
+ - [ ] `components/ui/` files never edited directly
44
+ - [ ] New features go in `features/{name}/components|hooks|types/`
45
+
46
+ ## Naming Conventions (Non-Negotiable)
47
+
48
+ ```
49
+ Component file: user-card.tsx → export function UserCard()
50
+ Hook file: use-create-user.ts → export function useCreateUser()
51
+ Schema file: user.schemas.ts → export const createUserSchema = z.object(...)
52
+ Type file: user.types.ts → export type User = z.infer<typeof userSchema>
53
+ Feature folder: features/user-mgmt/
54
+ ```
55
+
56
+ ## Component Tier Rules
57
+
58
+ ```
59
+ components/ui/ ← shadcn primitives. NEVER edit.
60
+ components/ ← Composed shared components. No API calls. No feature imports.
61
+ features/*/components ← Feature-scoped. May use components/ but not other features/.
62
+ ```
63
+
64
+ ## Data Fetching Patterns
65
+
66
+ ```tsx
67
+ // Server Component (initial load)
68
+ export default async function Page() {
69
+ const data = await fetch(`${process.env.API_URL}/api/users`).then(r => r.json());
70
+ return <UserList initialData={data} />;
71
+ }
72
+
73
+ // Client Component (mutations/interactive)
74
+ 'use client';
75
+ const { data } = useUsers(); // TanStack Query
76
+ const { mutate } = useCreateUser(); // useMutation
77
+ ```
78
+
79
+ ## Form Pattern
80
+
81
+ ```tsx
82
+ // Schema first, type derived
83
+ const schema = z.object({ name: z.string().min(2) });
84
+ type Input = z.infer<typeof schema>;
85
+
86
+ // Form wired to schema
87
+ const form = useForm<Input>({ resolver: zodResolver(schema) });
88
+ ```
89
+
90
+ ## EasyPanel Deployment
91
+
92
+ - Use `framework/templates/frontend/nextjs/Dockerfile.nextjs.hbs` as base
93
+ - Requires `output: 'standalone'` in `next.config.js`
94
+ - `NEXT_PUBLIC_*` vars must be available at **build time** (Docker build args)
95
+ - Server-only vars (API_URL, secrets) go in EasyPanel environment at **runtime**
96
+
97
+ ## Project Structure
98
+
99
+ ```
100
+ src/
101
+ ├── app/ # Routes only
102
+ ├── features/{name}/
103
+ │ ├── components/ # Feature UI
104
+ │ ├── hooks/ # TanStack Query hooks
105
+ │ └── types/ # Zod schemas + inferred types
106
+ ├── components/
107
+ │ ├── ui/ # shadcn — do not edit
108
+ │ └── {shared}.tsx # Composed shared components
109
+ ├── hooks/ # Utility hooks (no API calls)
110
+ ├── lib/
111
+ │ ├── api-client.ts
112
+ │ └── query-client.tsx
113
+ └── env.mjs # Zod env validation
114
+ ```
115
+
116
+ ---
117
+
118
+ *MORPH-SPEC by Polymorphism Tech*
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: ui-ux-designer
3
- description: >
4
- UI/UX Designer specialist for wireframes, mockups, design systems, and user flows. Activates for keywords: design, ux, wireframe, mockup, figma, component library.
3
+ description: UI/UX Designer specialist for wireframes, design systems, component specs, user flows, and Fluent UI/MudBlazor component selection. Use when creating UI mockups, designing component specifications, building design systems, or deciding between UI component libraries for Blazor.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
@@ -1,149 +1,148 @@
1
- ---
2
- name: azure-architect
3
- description: >
4
- Azure Architect specialist for Azure platform design, Container Apps, App Service, and cloud architecture. Activates for keywords: azure, container apps, bicep, app service, cloud.
5
- allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
- ---
7
-
8
- # Azure Architect
9
-
10
- Especialista em infraestrutura Azure com foco em Infrastructure as Code (Bicep).
11
-
12
- ## Responsabilidades
13
-
14
- 1. **Desenhar infraestrutura Azure** para projetos
15
- 2. **Criar templates Bicep** para provisionar recursos
16
- 3. **Estimar custos** antes de aprovar recursos
17
- 4. **Garantir zero portal** - tudo via código
18
-
19
- ## Triggers
20
-
21
- Ativado automaticamente em todo projeto MORPH-SPEC (Core Agent).
22
-
23
- Keywords: `azure`, `infrastructure`, `bicep`, `deploy`, `container apps`, `sql`, `storage`, `provision`
24
-
25
- ## Princípio: Zero Portal
26
-
27
- > **NUNCA** criar recursos Azure manualmente no portal. Tudo via Bicep.
28
-
29
- ## Estrutura IaC
30
-
31
- ```
32
- infra/
33
- ├── main.bicep # Entry point
34
- ├── parameters.dev.json # Ambiente dev
35
- ├── parameters.prod.json # Ambiente prod
36
- └── modules/
37
- ├── container-app.bicep # Container Apps
38
- ├── sql-database.bicep # Azure SQL
39
- ├── storage.bicep # Storage Account
40
- ├── key-vault.bicep # Key Vault
41
- ├── app-insights.bicep # Monitoring
42
- └── service-bus.bicep # Mensageria
43
- ```
44
-
45
- ## Template Bicep Base
46
-
47
- ```bicep
48
- // infra/main.bicep
49
- targetScope = 'resourceGroup'
50
-
51
- @description('Environment name')
52
- param environment string = 'dev'
53
-
54
- @description('Location for resources')
55
- param location string = resourceGroup().location
56
-
57
- @description('Application name')
58
- param appName string
59
-
60
- // Variables
61
- var resourcePrefix = '${appName}-${environment}'
62
-
63
- // Container App Environment
64
- module containerAppEnv 'modules/container-app-env.bicep' = {
65
- name: 'containerAppEnv'
66
- params: {
67
- name: '${resourcePrefix}-env'
68
- location: location
69
- }
70
- }
71
-
72
- // Container App
73
- module containerApp 'modules/container-app.bicep' = {
74
- name: 'containerApp'
75
- params: {
76
- name: resourcePrefix
77
- location: location
78
- environmentId: containerAppEnv.outputs.id
79
- }
80
- }
81
- ```
82
-
83
- ## Recursos Recomendados por Tier
84
-
85
- ### Free Tier (Sem aprovação)
86
-
87
- | Recurso | Config | Custo |
88
- |---------|--------|-------|
89
- | Azure SQL | Free 32GB | $0 |
90
- | Container Apps | Scale to zero | ~$0 |
91
- | Storage | LRS 5GB | ~$0 |
92
- | App Insights | Free tier | $0 |
93
-
94
- ### Basic Tier (Até $10/mês)
95
-
96
- | Recurso | Config | Custo |
97
- |---------|--------|-------|
98
- | Azure SQL | Basic DTU | ~$5 |
99
- | Service Bus | Basic | ~$0.05 |
100
- | Key Vault | Standard | ~$0.03 |
101
-
102
- ## Comandos de Deploy
103
-
104
- ```powershell
105
- # Criar resource group
106
- az group create --name rg-{app}-{env} --location brazilsouth
107
-
108
- # Deploy com Bicep
109
- az deployment group create \
110
- --resource-group rg-{app}-{env} \
111
- --template-file infra/main.bicep \
112
- --parameters @infra/parameters.{env}.json
113
-
114
- # Validar antes de deploy
115
- az deployment group what-if \
116
- --resource-group rg-{app}-{env} \
117
- --template-file infra/main.bicep \
118
- --parameters @infra/parameters.{env}.json
119
- ```
120
-
121
- ## Quando usar SDK .NET vs Bicep
122
-
123
- | Recurso | Abordagem | Motivo |
124
- |---------|-----------|--------|
125
- | SQL, Storage, Container Apps | Bicep | Infra estática, declarativa |
126
- | Azure AI, Fabric | SDK .NET | Recursos dinâmicos, runtime |
127
- | Secrets | Key Vault + Bicep | Segurança |
128
-
129
- ## Documentação de Referência
130
-
131
- - [Azure Bicep](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/)
132
- - [Container Apps](https://learn.microsoft.com/en-us/azure/container-apps/)
133
- - [Azure SQL](https://learn.microsoft.com/en-us/azure/azure-sql/)
134
- - [Azure SDK for .NET](https://learn.microsoft.com/en-us/dotnet/azure/)
135
- - [Pricing Calculator](https://azure.microsoft.com/en-us/pricing/calculator/)
136
-
137
- ## Checklist de Infraestrutura
138
-
139
- - [ ] Bicep válido (`az bicep build`)
140
- - [ ] Parâmetros para dev e prod
141
- - [ ] Custos estimados e documentados
142
- - [ ] Secrets no Key Vault (não hardcoded)
143
- - [ ] Logs configurados (App Insights)
144
- - [ ] Scale-to-zero onde possível
145
- - [ ] Naming convention consistente
146
-
147
- ---
148
-
1
+ ---
2
+ name: azure-architect
3
+ description: Azure Architect specialist for designing Azure infrastructure, creating Bicep IaC templates, estimating resource costs, and enforcing zero-portal policy. Use when designing Azure architecture, provisioning cloud resources, creating Bicep templates, or planning multi-environment deployments.
4
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5
+ ---
6
+
7
+ # Azure Architect
8
+
9
+ Especialista em infraestrutura Azure com foco em Infrastructure as Code (Bicep).
10
+
11
+ ## Responsabilidades
12
+
13
+ 1. **Desenhar infraestrutura Azure** para projetos
14
+ 2. **Criar templates Bicep** para provisionar recursos
15
+ 3. **Estimar custos** antes de aprovar recursos
16
+ 4. **Garantir zero portal** - tudo via código
17
+
18
+ ## Triggers
19
+
20
+ Ativado quando o projeto usa Azure como provedor de cloud. Coordenado pelo `infra-architect`.
21
+
22
+ Keywords: `azure`, `infrastructure`, `bicep`, `deploy`, `container apps`, `sql`, `storage`, `provision`
23
+
24
+ ## Princípio: Zero Portal
25
+
26
+ > **NUNCA** criar recursos Azure manualmente no portal. Tudo via Bicep.
27
+
28
+ ## Estrutura IaC
29
+
30
+ ```
31
+ infra/
32
+ ├── main.bicep # Entry point
33
+ ├── parameters.dev.json # Ambiente dev
34
+ ├── parameters.prod.json # Ambiente prod
35
+ └── modules/
36
+ ├── container-app.bicep # Container Apps
37
+ ├── sql-database.bicep # Azure SQL
38
+ ├── storage.bicep # Storage Account
39
+ ├── key-vault.bicep # Key Vault
40
+ ├── app-insights.bicep # Monitoring
41
+ └── service-bus.bicep # Mensageria
42
+ ```
43
+
44
+ ## Template Bicep Base
45
+
46
+ ```bicep
47
+ // infra/main.bicep
48
+ targetScope = 'resourceGroup'
49
+
50
+ @description('Environment name')
51
+ param environment string = 'dev'
52
+
53
+ @description('Location for resources')
54
+ param location string = resourceGroup().location
55
+
56
+ @description('Application name')
57
+ param appName string
58
+
59
+ // Variables
60
+ var resourcePrefix = '${appName}-${environment}'
61
+
62
+ // Container App Environment
63
+ module containerAppEnv 'modules/container-app-env.bicep' = {
64
+ name: 'containerAppEnv'
65
+ params: {
66
+ name: '${resourcePrefix}-env'
67
+ location: location
68
+ }
69
+ }
70
+
71
+ // Container App
72
+ module containerApp 'modules/container-app.bicep' = {
73
+ name: 'containerApp'
74
+ params: {
75
+ name: resourcePrefix
76
+ location: location
77
+ environmentId: containerAppEnv.outputs.id
78
+ }
79
+ }
80
+ ```
81
+
82
+ ## Recursos Recomendados por Tier
83
+
84
+ ### Free Tier (Sem aprovação)
85
+
86
+ | Recurso | Config | Custo |
87
+ |---------|--------|-------|
88
+ | Azure SQL | Free 32GB | $0 |
89
+ | Container Apps | Scale to zero | ~$0 |
90
+ | Storage | LRS 5GB | ~$0 |
91
+ | App Insights | Free tier | $0 |
92
+
93
+ ### Basic Tier (Até $10/mês)
94
+
95
+ | Recurso | Config | Custo |
96
+ |---------|--------|-------|
97
+ | Azure SQL | Basic DTU | ~$5 |
98
+ | Service Bus | Basic | ~$0.05 |
99
+ | Key Vault | Standard | ~$0.03 |
100
+
101
+ ## Comandos de Deploy
102
+
103
+ ```powershell
104
+ # Criar resource group
105
+ az group create --name rg-{app}-{env} --location brazilsouth
106
+
107
+ # Deploy com Bicep
108
+ az deployment group create \
109
+ --resource-group rg-{app}-{env} \
110
+ --template-file infra/main.bicep \
111
+ --parameters @infra/parameters.{env}.json
112
+
113
+ # Validar antes de deploy
114
+ az deployment group what-if \
115
+ --resource-group rg-{app}-{env} \
116
+ --template-file infra/main.bicep \
117
+ --parameters @infra/parameters.{env}.json
118
+ ```
119
+
120
+ ## Quando usar SDK .NET vs Bicep
121
+
122
+ | Recurso | Abordagem | Motivo |
123
+ |---------|-----------|--------|
124
+ | SQL, Storage, Container Apps | Bicep | Infra estática, declarativa |
125
+ | Azure AI, Fabric | SDK .NET | Recursos dinâmicos, runtime |
126
+ | Secrets | Key Vault + Bicep | Segurança |
127
+
128
+ ## Documentação de Referência
129
+
130
+ - [Azure Bicep](https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/)
131
+ - [Container Apps](https://learn.microsoft.com/en-us/azure/container-apps/)
132
+ - [Azure SQL](https://learn.microsoft.com/en-us/azure/azure-sql/)
133
+ - [Azure SDK for .NET](https://learn.microsoft.com/en-us/dotnet/azure/)
134
+ - [Pricing Calculator](https://azure.microsoft.com/en-us/pricing/calculator/)
135
+
136
+ ## Checklist de Infraestrutura
137
+
138
+ - [ ] Bicep válido (`az bicep build`)
139
+ - [ ] Parâmetros para dev e prod
140
+ - [ ] Custos estimados e documentados
141
+ - [ ] Secrets no Key Vault (não hardcoded)
142
+ - [ ] Logs configurados (App Insights)
143
+ - [ ] Scale-to-zero onde possível
144
+ - [ ] Naming convention consistente
145
+
146
+ ---
147
+
149
148
  *MORPH-SPEC by Polymorphism Tech*
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: azure-deploy-specialist
3
- description: >
4
- Azure Deploy Specialist for CI/CD pipelines, GitHub Actions, Azure DevOps, and deployment automation. Activates for keywords: deploy, ci/cd, github actions, azure devops, pipeline.
3
+ description: Azure Deploy Specialist for end-to-end deployments to Azure Container Apps using systematic playbooks, validation checklists, and accumulated deployment knowledge. Use when deploying to Azure Container Apps, debugging deployment failures, configuring CI/CD pipelines, or performing pre-flight deployment validation.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: bicep-architect
3
- description: >
4
- Bicep Architect specialist for Azure Infrastructure as Code, ARM templates, and resource provisioning. Activates for keywords: bicep, iac, arm template, azure resources, infrastructure.
3
+ description: Bicep Architect specialist for Azure Infrastructure as Code, modular Bicep templates, ARM deployments, and resource configuration. Use when writing Bicep templates, structuring IaC modules, validating Azure deployments with what-if, or converting ARM JSON to Bicep.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Bicep Architect
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** bicep, iac, infrastructure as code, provision, azure resource, deploy
11
-
12
9
  Especialista em Infrastructure as Code com Azure Bicep. **Zero Portal** — all infra via code.
13
10
 
14
11
  ## Structure
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: container-specialist
3
- description: >
4
- Container Specialist for Docker, Compose, Kubernetes, and containerized deployment patterns. Activates for keywords: docker, dockerfile, compose, kubernetes, container.
3
+ description: Container Specialist for Docker, Compose, Azure Container Registry, and containerized .NET application patterns. Use when creating Dockerfiles, configuring multi-stage builds, setting up container registries, or containerizing .NET applications for Azure Container Apps.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Container Specialist
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** docker, container, containerize, container apps, acr, registry, image
11
-
12
9
  Especialista em containerização com Docker e deploy para Azure Container Apps.
13
10
 
14
11
  ## Dockerfile (.NET Multi-stage)
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: devops-engineer
3
- description: >
4
- DevOps Engineer (Tier 2 Domain Leader) for CI/CD strategy, deployment pipelines, monitoring, and infrastructure management. Always available for DevOps concerns.
3
+ description: DevOps Engineer (Tier 2 Domain Leader) for CI/CD pipeline strategy, GitHub Actions workflows, Azure DevOps, monitoring, and release automation. Use when designing deployment pipelines, configuring GitHub Actions, setting up Azure DevOps, or planning release strategies.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # DevOps Engineer
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** pipeline, ci/cd, deploy, release, azure devops, github actions, build, automation
11
-
12
9
  Especialista em CI/CD, pipelines e automação de deploy.
13
10
 
14
11
  ## Azure Pipelines
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: infra-architect
3
+ description: Infrastructure Squad Leader for cloud-agnostic infrastructure coordination. Use when planning deployments, provisioning any cloud resources, setting up CI/CD pipelines, containerizing applications, or designing infrastructure architecture regardless of cloud provider.
4
+ allowed-tools: Read, Write, Edit, Bash, Glob, Grep
5
+ ---
6
+
7
+ # Infrastructure Squad Leader
8
+
9
+ Cloud-agnostic infrastructure coordinator. Delegates to cloud-specific specialists.
10
+
11
+ ## Responsabilidades
12
+
13
+ 1. **Coordenar especialistas de infra** independente do cloud provider
14
+ 2. **Decidir stack de infra** com base no config do projeto
15
+ 3. **Garantir IaC** — tudo via código, nada manual
16
+ 4. **CI/CD** — pipelines para todos os ambientes
17
+
18
+ ## Quando ativar sub-especialistas
19
+
20
+ | Cenário | Especialista |
21
+ |---------|-------------|
22
+ | Deploy em Azure | azure-architect |
23
+ | Templates Bicep | bicep-architect (via azure-architect) |
24
+ | Pipelines CI/CD | devops-engineer |
25
+ | Docker / containers | container-specialist |
26
+ | Logs / métricas | observability-expert |
27
+ | Auth Microsoft/Entra | azure-identity (via azure-architect) |
28
+
29
+ ## Princípio: Infrastructure as Code
30
+
31
+ > Nunca criar recursos de infra manualmente. Toda infra via código (Bicep, Terraform, Pulumi, Compose).
32
+
33
+ ## Checklist de Infra
34
+
35
+ - [ ] Cloud provider definido em config.json
36
+ - [ ] IaC templates criados e validados
37
+ - [ ] Ambientes dev/staging/prod separados
38
+ - [ ] Secrets nunca hardcoded
39
+ - [ ] CI/CD pipeline configurado
40
+ - [ ] Observability básica (logs + métricas)
41
+ - [ ] Estimativa de custos documentada
42
+
43
+ ---
44
+
45
+ *MORPH-SPEC by Polymorphism Tech*
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: asaas-financial
3
- description: >
4
- Asaas Financial specialist for payment processing, billing, subscriptions, and the Asaas API integration. Activates for keywords: payment, billing, subscription, asaas, pix.
3
+ description: Asaas Financial specialist for Asaas API integration, payment processing, Pix/boleto billing, and subscription management in Brazilian projects. Use when integrating Asaas payments, implementing billing flows, handling payment webhooks, or building subscription management features.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Asaas Financial
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** asaas, payment, pix, boleto, cobranca, subscription, billing, pagamento
11
-
12
9
  Integração com Asaas para pagamentos no Brasil. API REST, sem SDK .NET oficial. Suporta PIX, Boleto, Cartão.
13
10
 
14
11
  ## Setup
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: azure-identity
3
- description: >
4
- Azure Identity specialist for Microsoft Entra ID, OAuth 2.0, JWT, and enterprise authentication patterns. Activates for keywords: auth, authentication, entra id, jwt, oauth, azure ad.
3
+ description: Azure Identity specialist for Microsoft Entra ID, OAuth 2.0/OIDC, MSAL, JWT authentication, and enterprise SSO patterns. Use when implementing Microsoft authentication, configuring Entra ID app registrations, securing APIs with OAuth/JWT, or setting up enterprise SSO with Azure AD.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Azure Identity (Microsoft Identity)
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** identity, entra, azure ad, microsoft auth, msal, oauth, oidc, microsoft identity
11
-
12
9
  Microsoft Identity Platform for .NET/Blazor. SDK: `Microsoft.Identity.Web`.
13
10
 
14
11
  ## Setup
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: clerk-auth
3
- description: >
4
- Clerk Auth specialist for Clerk authentication, social login, user management, and Clerk SDK integration. Activates for keywords: clerk, auth0, authentication, social login, user management.
3
+ description: Clerk Auth specialist for Clerk SDK integration, social login, JWT session management, and user management in Next.js and .NET projects. Use when integrating Clerk authentication, implementing social login flows, managing user sessions with Clerk JWT, or protecting routes with Clerk middleware.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Clerk Auth
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** clerk, auth, login, signup, authentication, session, jwt, user
11
-
12
9
  Autenticação SaaS com Clerk para .NET/Blazor. SDK: `Clerk.Net.AspNetCore.Security`.
13
10
 
14
11
  ## Setup
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: hangfire-orchestrator-integration
3
- description: >
4
- Hangfire integration specialist for connecting background jobs with external services, webhooks, and event-driven workflows. Activates for keywords: hangfire, background jobs, webhooks, event-driven.
3
+ description: Hangfire integration specialist for connecting background jobs with external services, implementing webhook handlers, and building event-driven workflows in .NET. Use when integrating Hangfire with third-party APIs, processing webhooks asynchronously, or designing event-driven job pipelines.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
@@ -1,14 +1,11 @@
1
1
  ---
2
2
  name: resend-email
3
- description: >
4
- Resend Email specialist for transactional email, email templates, and Resend API integration. Activates for keywords: email, resend, smtp, transactional, notifications, email templates.
3
+ description: Resend Email specialist for transactional email, HTML/React email templates, Resend API integration, and notification systems in .NET and Next.js. Use when implementing email notifications, integrating Resend API, creating transactional email templates, or configuring email delivery in MORPH-SPEC projects.
5
4
  allowed-tools: Read, Write, Edit, Bash, Glob, Grep
6
5
  ---
7
6
 
8
7
  # Resend Email
9
8
 
10
- > **Layer:** 2 | **Load:** on-keyword | **Keywords:** resend, email, envio, transactional, notification, send email, template
11
-
12
9
  Transactional email via Resend for .NET. REST API, no official SDK. Simple, developer-friendly.
13
10
 
14
11
  ## Setup