workspace-architect 1.3.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 (354) hide show
  1. package/.env.example +1 -0
  2. package/.gitattributes +1 -0
  3. package/.github/workflows/manual-publish.yml +36 -0
  4. package/.github/workflows/sync-and-publish.yml +58 -0
  5. package/.release-it.json +20 -0
  6. package/CHANGELOG.md +43 -0
  7. package/README.md +62 -0
  8. package/assets/chatmodes/4.1-Beast.chatmode.md +152 -0
  9. package/assets/chatmodes/Thinking-Beast-Mode.chatmode.md +337 -0
  10. package/assets/chatmodes/Ultimate-Transparent-Thinking-Beast-Mode.chatmode.md +644 -0
  11. package/assets/chatmodes/accessibility.chatmode.md +298 -0
  12. package/assets/chatmodes/address-comments.chatmode.md +59 -0
  13. package/assets/chatmodes/aem-frontend-specialist.chatmode.md +385 -0
  14. package/assets/chatmodes/api-architect.chatmode.md +40 -0
  15. package/assets/chatmodes/atlassian-requirements-to-jira.chatmode.md +444 -0
  16. package/assets/chatmodes/azure-logic-apps-expert.chatmode.md +100 -0
  17. package/assets/chatmodes/azure-principal-architect.chatmode.md +58 -0
  18. package/assets/chatmodes/azure-saas-architect.chatmode.md +118 -0
  19. package/assets/chatmodes/azure-verified-modules-bicep.chatmode.md +44 -0
  20. package/assets/chatmodes/azure-verified-modules-terraform.chatmode.md +58 -0
  21. package/assets/chatmodes/bicep-implement.chatmode.md +40 -0
  22. package/assets/chatmodes/bicep-plan.chatmode.md +112 -0
  23. package/assets/chatmodes/blueprint-mode-codex.chatmode.md +110 -0
  24. package/assets/chatmodes/blueprint-mode.chatmode.md +171 -0
  25. package/assets/chatmodes/clojure-interactive-programming.chatmode.md +174 -0
  26. package/assets/chatmodes/code-tour.chatmode.md +205 -0
  27. package/assets/chatmodes/critical-thinking.chatmode.md +23 -0
  28. package/assets/chatmodes/csharp-dotnet-janitor.chatmode.md +83 -0
  29. package/assets/chatmodes/csharp-mcp-expert.chatmode.md +69 -0
  30. package/assets/chatmodes/debug.chatmode.md +79 -0
  31. package/assets/chatmodes/declarative-agents-architect.chatmode.md +76 -0
  32. package/assets/chatmodes/demonstrate-understanding.chatmode.md +60 -0
  33. package/assets/chatmodes/dotnet-upgrade.chatmode.md +222 -0
  34. package/assets/chatmodes/drupal-expert.chatmode.md +687 -0
  35. package/assets/chatmodes/electron-angular-native.chatmode.md +285 -0
  36. package/assets/chatmodes/expert-cpp-software-engineer.chatmode.md +27 -0
  37. package/assets/chatmodes/expert-dotnet-software-engineer.chatmode.md +22 -0
  38. package/assets/chatmodes/expert-nextjs-developer.chatmode.md +477 -0
  39. package/assets/chatmodes/expert-react-frontend-engineer.chatmode.md +738 -0
  40. package/assets/chatmodes/gilfoyle.chatmode.md +66 -0
  41. package/assets/chatmodes/go-mcp-expert.chatmode.md +122 -0
  42. package/assets/chatmodes/gpt-5-beast-mode.chatmode.md +109 -0
  43. package/assets/chatmodes/hlbpa.chatmode.md +232 -0
  44. package/assets/chatmodes/implementation-plan.chatmode.md +159 -0
  45. package/assets/chatmodes/janitor.chatmode.md +89 -0
  46. package/assets/chatmodes/java-mcp-expert.chatmode.md +325 -0
  47. package/assets/chatmodes/kotlin-mcp-expert.chatmode.md +181 -0
  48. package/assets/chatmodes/kusto-assistant.chatmode.md +143 -0
  49. package/assets/chatmodes/laravel-expert-agent.chatmode.md +628 -0
  50. package/assets/chatmodes/mentor.chatmode.md +32 -0
  51. package/assets/chatmodes/meta-agentic-project-scaffold.chatmode.md +15 -0
  52. package/assets/chatmodes/microsoft-agent-framework-dotnet.chatmode.md +62 -0
  53. package/assets/chatmodes/microsoft-agent-framework-python.chatmode.md +62 -0
  54. package/assets/chatmodes/microsoft-study-mode.chatmode.md +32 -0
  55. package/assets/chatmodes/microsoft_learn_contributor.chatmode.md +388 -0
  56. package/assets/chatmodes/ms-sql-dba.chatmode.md +25 -0
  57. package/assets/chatmodes/php-mcp-expert.chatmode.md +498 -0
  58. package/assets/chatmodes/pimcore-expert.chatmode.md +869 -0
  59. package/assets/chatmodes/plan.chatmode.md +114 -0
  60. package/assets/chatmodes/planner.chatmode.md +14 -0
  61. package/assets/chatmodes/playwright-tester.chatmode.md +13 -0
  62. package/assets/chatmodes/postgresql-dba.chatmode.md +17 -0
  63. package/assets/chatmodes/power-bi-data-modeling-expert.chatmode.md +319 -0
  64. package/assets/chatmodes/power-bi-dax-expert.chatmode.md +334 -0
  65. package/assets/chatmodes/power-bi-performance-expert.chatmode.md +533 -0
  66. package/assets/chatmodes/power-bi-visualization-expert.chatmode.md +549 -0
  67. package/assets/chatmodes/power-platform-expert.chatmode.md +116 -0
  68. package/assets/chatmodes/power-platform-mcp-integration-expert.chatmode.md +149 -0
  69. package/assets/chatmodes/prd.chatmode.md +201 -0
  70. package/assets/chatmodes/principal-software-engineer.chatmode.md +41 -0
  71. package/assets/chatmodes/prompt-builder.chatmode.md +352 -0
  72. package/assets/chatmodes/prompt-engineer.chatmode.md +72 -0
  73. package/assets/chatmodes/python-mcp-expert.chatmode.md +99 -0
  74. package/assets/chatmodes/refine-issue.chatmode.md +34 -0
  75. package/assets/chatmodes/research-technical-spike.chatmode.md +169 -0
  76. package/assets/chatmodes/ruby-mcp-expert.chatmode.md +346 -0
  77. package/assets/chatmodes/rust-gpt-4.1-beast-mode.chatmode.md +197 -0
  78. package/assets/chatmodes/rust-mcp-expert.chatmode.md +465 -0
  79. package/assets/chatmodes/search-ai-optimization-expert.chatmode.md +227 -0
  80. package/assets/chatmodes/semantic-kernel-dotnet.chatmode.md +31 -0
  81. package/assets/chatmodes/semantic-kernel-python.chatmode.md +28 -0
  82. package/assets/chatmodes/shopify-expert.chatmode.md +681 -0
  83. package/assets/chatmodes/simple-app-idea-generator.chatmode.md +134 -0
  84. package/assets/chatmodes/software-engineer-agent-v1.chatmode.md +164 -0
  85. package/assets/chatmodes/specification.chatmode.md +127 -0
  86. package/assets/chatmodes/swift-mcp-expert.chatmode.md +240 -0
  87. package/assets/chatmodes/task-planner.chatmode.md +374 -0
  88. package/assets/chatmodes/task-researcher.chatmode.md +254 -0
  89. package/assets/chatmodes/tdd-green.chatmode.md +59 -0
  90. package/assets/chatmodes/tdd-red.chatmode.md +59 -0
  91. package/assets/chatmodes/tdd-refactor.chatmode.md +84 -0
  92. package/assets/chatmodes/tech-debt-remediation-plan.chatmode.md +49 -0
  93. package/assets/chatmodes/terraform-azure-implement.chatmode.md +104 -0
  94. package/assets/chatmodes/terraform-azure-planning.chatmode.md +157 -0
  95. package/assets/chatmodes/typescript-mcp-expert.chatmode.md +91 -0
  96. package/assets/chatmodes/voidbeast-gpt41enhanced.chatmode.md +230 -0
  97. package/assets/chatmodes/wg-code-alchemist.chatmode.md +61 -0
  98. package/assets/chatmodes/wg-code-sentinel.chatmode.md +55 -0
  99. package/assets/collections/ai-prompt-engineering.json +18 -0
  100. package/assets/collections/angular-development.json +7 -0
  101. package/assets/collections/azure-cloud-architect.json +29 -0
  102. package/assets/collections/cpp-development.json +6 -0
  103. package/assets/collections/database-administration.json +8 -0
  104. package/assets/collections/devops-sre.json +11 -0
  105. package/assets/collections/dotnet-development.json +22 -0
  106. package/assets/collections/general-productivity.json +9 -0
  107. package/assets/collections/go-development.json +7 -0
  108. package/assets/collections/java-spring-developer.json +26 -0
  109. package/assets/collections/learning-mentoring.json +10 -0
  110. package/assets/collections/legacy-migration.json +4 -0
  111. package/assets/collections/mcp-specialist.json +41 -0
  112. package/assets/collections/mobile-development.json +4 -0
  113. package/assets/collections/php-cms-development.json +11 -0
  114. package/assets/collections/power-platform-specialist.json +31 -0
  115. package/assets/collections/project-management.json +12 -0
  116. package/assets/collections/python-development.json +13 -0
  117. package/assets/collections/quality-assurance.json +13 -0
  118. package/assets/collections/ruby-development.json +9 -0
  119. package/assets/collections/rust-development.json +10 -0
  120. package/assets/collections/security-specialist.json +8 -0
  121. package/assets/collections/software-architect.json +25 -0
  122. package/assets/collections/technical-writing.json +9 -0
  123. package/assets/collections/web-frontend-development.json +14 -0
  124. package/assets/instructions/a11y.instructions.md +369 -0
  125. package/assets/instructions/ai-prompt-engineering-safety-best-practices.instructions.md +867 -0
  126. package/assets/instructions/angular.instructions.md +104 -0
  127. package/assets/instructions/ansible.instructions.md +88 -0
  128. package/assets/instructions/aspnet-rest-apis.instructions.md +110 -0
  129. package/assets/instructions/astro.instructions.md +182 -0
  130. package/assets/instructions/azure-devops-pipelines.instructions.md +185 -0
  131. package/assets/instructions/azure-functions-typescript.instructions.md +14 -0
  132. package/assets/instructions/azure-logic-apps-power-automate.instructions.md +1943 -0
  133. package/assets/instructions/azure-verified-modules-terraform.instructions.md +229 -0
  134. package/assets/instructions/bicep-code-best-practices.instructions.md +54 -0
  135. package/assets/instructions/blazor.instructions.md +77 -0
  136. package/assets/instructions/clojure.instructions.md +349 -0
  137. package/assets/instructions/cmake-vcpkg.instructions.md +10 -0
  138. package/assets/instructions/codexer.instructions.md +428 -0
  139. package/assets/instructions/coldfusion-cfc.instructions.md +30 -0
  140. package/assets/instructions/coldfusion-cfm.instructions.md +28 -0
  141. package/assets/instructions/collections.instructions.md +54 -0
  142. package/assets/instructions/containerization-docker-best-practices.instructions.md +681 -0
  143. package/assets/instructions/convert-jpa-to-spring-data-cosmos.instructions.md +949 -0
  144. package/assets/instructions/copilot-thought-logging.instructions.md +62 -0
  145. package/assets/instructions/csharp-ja.instructions.md +114 -0
  146. package/assets/instructions/csharp-ko.instructions.md +77 -0
  147. package/assets/instructions/csharp-mcp-server.instructions.md +95 -0
  148. package/assets/instructions/csharp.instructions.md +114 -0
  149. package/assets/instructions/dart-n-flutter.instructions.md +447 -0
  150. package/assets/instructions/declarative-agents-microsoft365.instructions.md +316 -0
  151. package/assets/instructions/devbox-image-definition.instructions.md +302 -0
  152. package/assets/instructions/devops-core-principles.instructions.md +167 -0
  153. package/assets/instructions/dotnet-architecture-good-practices.instructions.md +279 -0
  154. package/assets/instructions/dotnet-framework.instructions.md +113 -0
  155. package/assets/instructions/dotnet-maui-9-to-dotnet-maui-10-upgrade.instructions.md +1922 -0
  156. package/assets/instructions/dotnet-maui.instructions.md +69 -0
  157. package/assets/instructions/dotnet-upgrade.instructions.md +287 -0
  158. package/assets/instructions/dotnet-wpf.instructions.md +79 -0
  159. package/assets/instructions/genaiscript.instructions.md +21 -0
  160. package/assets/instructions/generate-modern-terraform-code-for-azure.instructions.md +82 -0
  161. package/assets/instructions/gilfoyle-code-review.instructions.md +114 -0
  162. package/assets/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
  163. package/assets/instructions/go-mcp-server.instructions.md +346 -0
  164. package/assets/instructions/go.instructions.md +373 -0
  165. package/assets/instructions/instructions.instructions.md +256 -0
  166. package/assets/instructions/java-11-to-java-17-upgrade.instructions.md +793 -0
  167. package/assets/instructions/java-17-to-java-21-upgrade.instructions.md +464 -0
  168. package/assets/instructions/java-21-to-java-25-upgrade.instructions.md +311 -0
  169. package/assets/instructions/java-mcp-server.instructions.md +553 -0
  170. package/assets/instructions/java.instructions.md +81 -0
  171. package/assets/instructions/joyride-user-project.instructions.md +206 -0
  172. package/assets/instructions/joyride-workspace-automation.instructions.md +46 -0
  173. package/assets/instructions/kotlin-mcp-server.instructions.md +481 -0
  174. package/assets/instructions/kubernetes-deployment-best-practices.instructions.md +307 -0
  175. package/assets/instructions/langchain-python.instructions.md +229 -0
  176. package/assets/instructions/localization.instructions.md +39 -0
  177. package/assets/instructions/makefile.instructions.md +410 -0
  178. package/assets/instructions/markdown.instructions.md +52 -0
  179. package/assets/instructions/memory-bank.instructions.md +299 -0
  180. package/assets/instructions/mongo-dba.instructions.md +25 -0
  181. package/assets/instructions/ms-sql-dba.instructions.md +25 -0
  182. package/assets/instructions/nestjs.instructions.md +406 -0
  183. package/assets/instructions/nextjs-tailwind.instructions.md +72 -0
  184. package/assets/instructions/nextjs.instructions.md +143 -0
  185. package/assets/instructions/nodejs-javascript-vitest.instructions.md +30 -0
  186. package/assets/instructions/object-calisthenics.instructions.md +302 -0
  187. package/assets/instructions/oqtane.instructions.md +86 -0
  188. package/assets/instructions/performance-optimization.instructions.md +420 -0
  189. package/assets/instructions/php-mcp-server.instructions.md +809 -0
  190. package/assets/instructions/playwright-dotnet.instructions.md +101 -0
  191. package/assets/instructions/playwright-python.instructions.md +62 -0
  192. package/assets/instructions/playwright-typescript.instructions.md +86 -0
  193. package/assets/instructions/power-apps-canvas-yaml.instructions.md +827 -0
  194. package/assets/instructions/power-apps-code-apps.instructions.md +601 -0
  195. package/assets/instructions/power-bi-custom-visuals-development.instructions.md +810 -0
  196. package/assets/instructions/power-bi-data-modeling-best-practices.instructions.md +639 -0
  197. package/assets/instructions/power-bi-dax-best-practices.instructions.md +795 -0
  198. package/assets/instructions/power-bi-devops-alm-best-practices.instructions.md +623 -0
  199. package/assets/instructions/power-bi-report-design-best-practices.instructions.md +752 -0
  200. package/assets/instructions/power-bi-security-rls-best-practices.instructions.md +504 -0
  201. package/assets/instructions/power-platform-connector.instructions.md +430 -0
  202. package/assets/instructions/power-platform-mcp-development.instructions.md +88 -0
  203. package/assets/instructions/powershell-pester-5.instructions.md +197 -0
  204. package/assets/instructions/powershell.instructions.md +356 -0
  205. package/assets/instructions/prompt.instructions.md +73 -0
  206. package/assets/instructions/python-mcp-server.instructions.md +204 -0
  207. package/assets/instructions/python.instructions.md +56 -0
  208. package/assets/instructions/quarkus-mcp-server-sse.instructions.md +49 -0
  209. package/assets/instructions/quarkus.instructions.md +98 -0
  210. package/assets/instructions/r.instructions.md +116 -0
  211. package/assets/instructions/reactjs.instructions.md +162 -0
  212. package/assets/instructions/ruby-mcp-server.instructions.md +629 -0
  213. package/assets/instructions/ruby-on-rails.instructions.md +124 -0
  214. package/assets/instructions/rust-mcp-server.instructions.md +715 -0
  215. package/assets/instructions/rust.instructions.md +135 -0
  216. package/assets/instructions/security-and-owasp.instructions.md +51 -0
  217. package/assets/instructions/self-explanatory-code-commenting.instructions.md +162 -0
  218. package/assets/instructions/shell.instructions.md +132 -0
  219. package/assets/instructions/spec-driven-workflow-v1.instructions.md +323 -0
  220. package/assets/instructions/springboot.instructions.md +68 -0
  221. package/assets/instructions/sql-sp-generation.instructions.md +74 -0
  222. package/assets/instructions/svelte.instructions.md +161 -0
  223. package/assets/instructions/swift-mcp-server.instructions.md +498 -0
  224. package/assets/instructions/taming-copilot.instructions.md +40 -0
  225. package/assets/instructions/tanstack-start-shadcn-tailwind.instructions.md +212 -0
  226. package/assets/instructions/task-implementation.instructions.md +190 -0
  227. package/assets/instructions/tasksync.instructions.md +352 -0
  228. package/assets/instructions/terraform-azure.instructions.md +254 -0
  229. package/assets/instructions/terraform-sap-btp.instructions.md +195 -0
  230. package/assets/instructions/terraform.instructions.md +113 -0
  231. package/assets/instructions/typescript-5-es2022.instructions.md +114 -0
  232. package/assets/instructions/typescript-mcp-server.instructions.md +228 -0
  233. package/assets/instructions/update-code-from-shorthand.instructions.md +130 -0
  234. package/assets/instructions/vuejs3.instructions.md +153 -0
  235. package/assets/instructions/wordpress.instructions.md +186 -0
  236. package/assets/prompts/add-educational-comments.prompt.md +129 -0
  237. package/assets/prompts/ai-prompt-engineering-safety-review.prompt.md +230 -0
  238. package/assets/prompts/architecture-blueprint-generator.prompt.md +322 -0
  239. package/assets/prompts/aspnet-minimal-api-openapi.prompt.md +42 -0
  240. package/assets/prompts/az-cost-optimize.prompt.md +305 -0
  241. package/assets/prompts/azure-resource-health-diagnose.prompt.md +290 -0
  242. package/assets/prompts/boost-prompt.prompt.md +25 -0
  243. package/assets/prompts/breakdown-epic-arch.prompt.md +66 -0
  244. package/assets/prompts/breakdown-epic-pm.prompt.md +58 -0
  245. package/assets/prompts/breakdown-feature-implementation.prompt.md +128 -0
  246. package/assets/prompts/breakdown-feature-prd.prompt.md +61 -0
  247. package/assets/prompts/breakdown-plan.prompt.md +509 -0
  248. package/assets/prompts/breakdown-test.prompt.md +365 -0
  249. package/assets/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
  250. package/assets/prompts/comment-code-generate-a-tutorial.prompt.md +26 -0
  251. package/assets/prompts/containerize-aspnet-framework.prompt.md +455 -0
  252. package/assets/prompts/containerize-aspnetcore.prompt.md +393 -0
  253. package/assets/prompts/conventional-commit.prompt.md +73 -0
  254. package/assets/prompts/copilot-instructions-blueprint-generator.prompt.md +294 -0
  255. package/assets/prompts/cosmosdb-datamodeling.prompt.md +1045 -0
  256. package/assets/prompts/create-agentsmd.prompt.md +249 -0
  257. package/assets/prompts/create-architectural-decision-record.prompt.md +97 -0
  258. package/assets/prompts/create-github-action-workflow-specification.prompt.md +276 -0
  259. package/assets/prompts/create-github-issue-feature-from-specification.prompt.md +28 -0
  260. package/assets/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
  261. package/assets/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +35 -0
  262. package/assets/prompts/create-github-pull-request-from-specification.prompt.md +24 -0
  263. package/assets/prompts/create-implementation-plan.prompt.md +157 -0
  264. package/assets/prompts/create-llms.prompt.md +210 -0
  265. package/assets/prompts/create-oo-component-documentation.prompt.md +193 -0
  266. package/assets/prompts/create-readme.prompt.md +21 -0
  267. package/assets/prompts/create-specification.prompt.md +127 -0
  268. package/assets/prompts/create-spring-boot-java-project.prompt.md +163 -0
  269. package/assets/prompts/create-spring-boot-kotlin-project.prompt.md +147 -0
  270. package/assets/prompts/create-technical-spike.prompt.md +231 -0
  271. package/assets/prompts/csharp-async.prompt.md +50 -0
  272. package/assets/prompts/csharp-docs.prompt.md +63 -0
  273. package/assets/prompts/csharp-mcp-server-generator.prompt.md +59 -0
  274. package/assets/prompts/csharp-mstest.prompt.md +67 -0
  275. package/assets/prompts/csharp-nunit.prompt.md +72 -0
  276. package/assets/prompts/csharp-tunit.prompt.md +101 -0
  277. package/assets/prompts/csharp-xunit.prompt.md +69 -0
  278. package/assets/prompts/declarative-agents.prompt.md +93 -0
  279. package/assets/prompts/documentation-writer.prompt.md +46 -0
  280. package/assets/prompts/dotnet-best-practices.prompt.md +84 -0
  281. package/assets/prompts/dotnet-design-pattern-review.prompt.md +41 -0
  282. package/assets/prompts/dotnet-upgrade.prompt.md +116 -0
  283. package/assets/prompts/editorconfig.prompt.md +64 -0
  284. package/assets/prompts/ef-core.prompt.md +76 -0
  285. package/assets/prompts/finalize-agent-prompt.prompt.md +27 -0
  286. package/assets/prompts/first-ask.prompt.md +29 -0
  287. package/assets/prompts/folder-structure-blueprint-generator.prompt.md +405 -0
  288. package/assets/prompts/gen-specs-as-issues.prompt.md +165 -0
  289. package/assets/prompts/generate-custom-instructions-from-codebase.prompt.md +240 -0
  290. package/assets/prompts/git-flow-branch-creator.prompt.md +293 -0
  291. package/assets/prompts/github-copilot-starter.prompt.md +372 -0
  292. package/assets/prompts/go-mcp-server-generator.prompt.md +334 -0
  293. package/assets/prompts/java-docs.prompt.md +24 -0
  294. package/assets/prompts/java-junit.prompt.md +64 -0
  295. package/assets/prompts/java-mcp-server-generator.prompt.md +756 -0
  296. package/assets/prompts/java-refactoring-extract-method.prompt.md +105 -0
  297. package/assets/prompts/java-refactoring-remove-parameter.prompt.md +85 -0
  298. package/assets/prompts/java-springboot.prompt.md +66 -0
  299. package/assets/prompts/javascript-typescript-jest.prompt.md +44 -0
  300. package/assets/prompts/kotlin-mcp-server-generator.prompt.md +449 -0
  301. package/assets/prompts/kotlin-springboot.prompt.md +71 -0
  302. package/assets/prompts/mcp-copilot-studio-server-generator.prompt.md +118 -0
  303. package/assets/prompts/memory-merger.prompt.md +107 -0
  304. package/assets/prompts/mkdocs-translations.prompt.md +110 -0
  305. package/assets/prompts/model-recommendation.prompt.md +677 -0
  306. package/assets/prompts/multi-stage-dockerfile.prompt.md +47 -0
  307. package/assets/prompts/my-issues.prompt.md +9 -0
  308. package/assets/prompts/my-pull-requests.prompt.md +15 -0
  309. package/assets/prompts/next-intl-add-language.prompt.md +20 -0
  310. package/assets/prompts/php-mcp-server-generator.prompt.md +522 -0
  311. package/assets/prompts/playwright-automation-fill-in-form.prompt.md +30 -0
  312. package/assets/prompts/playwright-explore-website.prompt.md +19 -0
  313. package/assets/prompts/playwright-generate-test.prompt.md +19 -0
  314. package/assets/prompts/postgresql-code-review.prompt.md +214 -0
  315. package/assets/prompts/postgresql-optimization.prompt.md +406 -0
  316. package/assets/prompts/power-apps-code-app-scaffold.prompt.md +150 -0
  317. package/assets/prompts/power-bi-dax-optimization.prompt.md +175 -0
  318. package/assets/prompts/power-bi-model-design-review.prompt.md +405 -0
  319. package/assets/prompts/power-bi-performance-troubleshooting.prompt.md +384 -0
  320. package/assets/prompts/power-bi-report-design-consultation.prompt.md +353 -0
  321. package/assets/prompts/power-platform-mcp-connector-suite.prompt.md +156 -0
  322. package/assets/prompts/project-workflow-analysis-blueprint-generator.prompt.md +294 -0
  323. package/assets/prompts/prompt-builder.prompt.md +142 -0
  324. package/assets/prompts/pytest-coverage.prompt.md +28 -0
  325. package/assets/prompts/python-mcp-server-generator.prompt.md +105 -0
  326. package/assets/prompts/readme-blueprint-generator.prompt.md +79 -0
  327. package/assets/prompts/remember-interactive-programming.prompt.md +13 -0
  328. package/assets/prompts/remember.prompt.md +125 -0
  329. package/assets/prompts/repo-story-time.prompt.md +156 -0
  330. package/assets/prompts/review-and-refactor.prompt.md +15 -0
  331. package/assets/prompts/ruby-mcp-server-generator.prompt.md +660 -0
  332. package/assets/prompts/rust-mcp-server-generator.prompt.md +578 -0
  333. package/assets/prompts/shuffle-json-data.prompt.md +151 -0
  334. package/assets/prompts/sql-code-review.prompt.md +303 -0
  335. package/assets/prompts/sql-optimization.prompt.md +298 -0
  336. package/assets/prompts/suggest-awesome-github-copilot-agents.prompt.md +72 -0
  337. package/assets/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +71 -0
  338. package/assets/prompts/suggest-awesome-github-copilot-collections.prompt.md +149 -0
  339. package/assets/prompts/suggest-awesome-github-copilot-instructions.prompt.md +88 -0
  340. package/assets/prompts/suggest-awesome-github-copilot-prompts.prompt.md +71 -0
  341. package/assets/prompts/swift-mcp-server-generator.prompt.md +669 -0
  342. package/assets/prompts/technology-stack-blueprint-generator.prompt.md +242 -0
  343. package/assets/prompts/typescript-mcp-server-generator.prompt.md +90 -0
  344. package/assets/prompts/update-avm-modules-in-bicep.prompt.md +60 -0
  345. package/assets/prompts/update-implementation-plan.prompt.md +157 -0
  346. package/assets/prompts/update-llms.prompt.md +216 -0
  347. package/assets/prompts/update-markdown-file-index.prompt.md +76 -0
  348. package/assets/prompts/update-oo-component-documentation.prompt.md +162 -0
  349. package/assets/prompts/update-specification.prompt.md +127 -0
  350. package/assets/prompts/write-coding-standards-from-file.prompt.md +316 -0
  351. package/bin/cli.js +200 -0
  352. package/package.json +53 -0
  353. package/scripts/sync.js +99 -0
  354. package/verdaccio/config.yaml +202 -0
@@ -0,0 +1,230 @@
1
+ ---
2
+ description: "Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content."
3
+ mode: 'agent'
4
+ ---
5
+
6
+ # AI Prompt Engineering Safety Review & Improvement
7
+
8
+ You are an expert AI prompt engineer and safety specialist with deep expertise in responsible AI development, bias detection, security analysis, and prompt optimization. Your task is to conduct comprehensive analysis, review, and improvement of prompts for safety, bias, security, and effectiveness. Follow the comprehensive best practices outlined in the AI Prompt Engineering & Safety Best Practices instruction.
9
+
10
+ ## Your Mission
11
+
12
+ Analyze the provided prompt using systematic evaluation frameworks and provide detailed recommendations for improvement. Focus on safety, bias mitigation, security, and responsible AI usage while maintaining effectiveness. Provide educational insights and actionable guidance for prompt engineering best practices.
13
+
14
+ ## Analysis Framework
15
+
16
+ ### 1. Safety Assessment
17
+ - **Harmful Content Risk:** Could this prompt generate harmful, dangerous, or inappropriate content?
18
+ - **Violence & Hate Speech:** Could the output promote violence, hate speech, or discrimination?
19
+ - **Misinformation Risk:** Could the output spread false or misleading information?
20
+ - **Illegal Activities:** Could the output promote illegal activities or cause personal harm?
21
+
22
+ ### 2. Bias Detection & Mitigation
23
+ - **Gender Bias:** Does the prompt assume or reinforce gender stereotypes?
24
+ - **Racial Bias:** Does the prompt assume or reinforce racial stereotypes?
25
+ - **Cultural Bias:** Does the prompt assume or reinforce cultural stereotypes?
26
+ - **Socioeconomic Bias:** Does the prompt assume or reinforce socioeconomic stereotypes?
27
+ - **Ability Bias:** Does the prompt assume or reinforce ability-based stereotypes?
28
+
29
+ ### 3. Security & Privacy Assessment
30
+ - **Data Exposure:** Could the prompt expose sensitive or personal data?
31
+ - **Prompt Injection:** Is the prompt vulnerable to injection attacks?
32
+ - **Information Leakage:** Could the prompt leak system or model information?
33
+ - **Access Control:** Does the prompt respect appropriate access controls?
34
+
35
+ ### 4. Effectiveness Evaluation
36
+ - **Clarity:** Is the task clearly stated and unambiguous?
37
+ - **Context:** Is sufficient background information provided?
38
+ - **Constraints:** Are output requirements and limitations defined?
39
+ - **Format:** Is the expected output format specified?
40
+ - **Specificity:** Is the prompt specific enough for consistent results?
41
+
42
+ ### 5. Best Practices Compliance
43
+ - **Industry Standards:** Does the prompt follow established best practices?
44
+ - **Ethical Considerations:** Does the prompt align with responsible AI principles?
45
+ - **Documentation Quality:** Is the prompt self-documenting and maintainable?
46
+
47
+ ### 6. Advanced Pattern Analysis
48
+ - **Prompt Pattern:** Identify the pattern used (zero-shot, few-shot, chain-of-thought, role-based, hybrid)
49
+ - **Pattern Effectiveness:** Evaluate if the chosen pattern is optimal for the task
50
+ - **Pattern Optimization:** Suggest alternative patterns that might improve results
51
+ - **Context Utilization:** Assess how effectively context is leveraged
52
+ - **Constraint Implementation:** Evaluate the clarity and enforceability of constraints
53
+
54
+ ### 7. Technical Robustness
55
+ - **Input Validation:** Does the prompt handle edge cases and invalid inputs?
56
+ - **Error Handling:** Are potential failure modes considered?
57
+ - **Scalability:** Will the prompt work across different scales and contexts?
58
+ - **Maintainability:** Is the prompt structured for easy updates and modifications?
59
+ - **Versioning:** Are changes trackable and reversible?
60
+
61
+ ### 8. Performance Optimization
62
+ - **Token Efficiency:** Is the prompt optimized for token usage?
63
+ - **Response Quality:** Does the prompt consistently produce high-quality outputs?
64
+ - **Response Time:** Are there optimizations that could improve response speed?
65
+ - **Consistency:** Does the prompt produce consistent results across multiple runs?
66
+ - **Reliability:** How dependable is the prompt in various scenarios?
67
+
68
+ ## Output Format
69
+
70
+ Provide your analysis in the following structured format:
71
+
72
+ ### 🔍 **Prompt Analysis Report**
73
+
74
+ **Original Prompt:**
75
+ [User's prompt here]
76
+
77
+ **Task Classification:**
78
+ - **Primary Task:** [Code generation, documentation, analysis, etc.]
79
+ - **Complexity Level:** [Simple, Moderate, Complex]
80
+ - **Domain:** [Technical, Creative, Analytical, etc.]
81
+
82
+ **Safety Assessment:**
83
+ - **Harmful Content Risk:** [Low/Medium/High] - [Specific concerns]
84
+ - **Bias Detection:** [None/Minor/Major] - [Specific bias types]
85
+ - **Privacy Risk:** [Low/Medium/High] - [Specific concerns]
86
+ - **Security Vulnerabilities:** [None/Minor/Major] - [Specific vulnerabilities]
87
+
88
+ **Effectiveness Evaluation:**
89
+ - **Clarity:** [Score 1-5] - [Detailed assessment]
90
+ - **Context Adequacy:** [Score 1-5] - [Detailed assessment]
91
+ - **Constraint Definition:** [Score 1-5] - [Detailed assessment]
92
+ - **Format Specification:** [Score 1-5] - [Detailed assessment]
93
+ - **Specificity:** [Score 1-5] - [Detailed assessment]
94
+ - **Completeness:** [Score 1-5] - [Detailed assessment]
95
+
96
+ **Advanced Pattern Analysis:**
97
+ - **Pattern Type:** [Zero-shot/Few-shot/Chain-of-thought/Role-based/Hybrid]
98
+ - **Pattern Effectiveness:** [Score 1-5] - [Detailed assessment]
99
+ - **Alternative Patterns:** [Suggestions for improvement]
100
+ - **Context Utilization:** [Score 1-5] - [Detailed assessment]
101
+
102
+ **Technical Robustness:**
103
+ - **Input Validation:** [Score 1-5] - [Detailed assessment]
104
+ - **Error Handling:** [Score 1-5] - [Detailed assessment]
105
+ - **Scalability:** [Score 1-5] - [Detailed assessment]
106
+ - **Maintainability:** [Score 1-5] - [Detailed assessment]
107
+
108
+ **Performance Metrics:**
109
+ - **Token Efficiency:** [Score 1-5] - [Detailed assessment]
110
+ - **Response Quality:** [Score 1-5] - [Detailed assessment]
111
+ - **Consistency:** [Score 1-5] - [Detailed assessment]
112
+ - **Reliability:** [Score 1-5] - [Detailed assessment]
113
+
114
+ **Critical Issues Identified:**
115
+ 1. [Issue 1 with severity and impact]
116
+ 2. [Issue 2 with severity and impact]
117
+ 3. [Issue 3 with severity and impact]
118
+
119
+ **Strengths Identified:**
120
+ 1. [Strength 1 with explanation]
121
+ 2. [Strength 2 with explanation]
122
+ 3. [Strength 3 with explanation]
123
+
124
+ ### 🛡️ **Improved Prompt**
125
+
126
+ **Enhanced Version:**
127
+ [Complete improved prompt with all enhancements]
128
+
129
+ **Key Improvements Made:**
130
+ 1. **Safety Strengthening:** [Specific safety improvement]
131
+ 2. **Bias Mitigation:** [Specific bias reduction]
132
+ 3. **Security Hardening:** [Specific security improvement]
133
+ 4. **Clarity Enhancement:** [Specific clarity improvement]
134
+ 5. **Best Practice Implementation:** [Specific best practice application]
135
+
136
+ **Safety Measures Added:**
137
+ - [Safety measure 1 with explanation]
138
+ - [Safety measure 2 with explanation]
139
+ - [Safety measure 3 with explanation]
140
+ - [Safety measure 4 with explanation]
141
+ - [Safety measure 5 with explanation]
142
+
143
+ **Bias Mitigation Strategies:**
144
+ - [Bias mitigation 1 with explanation]
145
+ - [Bias mitigation 2 with explanation]
146
+ - [Bias mitigation 3 with explanation]
147
+
148
+ **Security Enhancements:**
149
+ - [Security enhancement 1 with explanation]
150
+ - [Security enhancement 2 with explanation]
151
+ - [Security enhancement 3 with explanation]
152
+
153
+ **Technical Improvements:**
154
+ - [Technical improvement 1 with explanation]
155
+ - [Technical improvement 2 with explanation]
156
+ - [Technical improvement 3 with explanation]
157
+
158
+ ### 📋 **Testing Recommendations**
159
+
160
+ **Test Cases:**
161
+ - [Test case 1 with expected outcome]
162
+ - [Test case 2 with expected outcome]
163
+ - [Test case 3 with expected outcome]
164
+ - [Test case 4 with expected outcome]
165
+ - [Test case 5 with expected outcome]
166
+
167
+ **Edge Case Testing:**
168
+ - [Edge case 1 with expected outcome]
169
+ - [Edge case 2 with expected outcome]
170
+ - [Edge case 3 with expected outcome]
171
+
172
+ **Safety Testing:**
173
+ - [Safety test 1 with expected outcome]
174
+ - [Safety test 2 with expected outcome]
175
+ - [Safety test 3 with expected outcome]
176
+
177
+ **Bias Testing:**
178
+ - [Bias test 1 with expected outcome]
179
+ - [Bias test 2 with expected outcome]
180
+ - [Bias test 3 with expected outcome]
181
+
182
+ **Usage Guidelines:**
183
+ - **Best For:** [Specific use cases]
184
+ - **Avoid When:** [Situations to avoid]
185
+ - **Considerations:** [Important factors to keep in mind]
186
+ - **Limitations:** [Known limitations and constraints]
187
+ - **Dependencies:** [Required context or prerequisites]
188
+
189
+ ### 🎓 **Educational Insights**
190
+
191
+ **Prompt Engineering Principles Applied:**
192
+ 1. **Principle:** [Specific principle]
193
+ - **Application:** [How it was applied]
194
+ - **Benefit:** [Why it improves the prompt]
195
+
196
+ 2. **Principle:** [Specific principle]
197
+ - **Application:** [How it was applied]
198
+ - **Benefit:** [Why it improves the prompt]
199
+
200
+ **Common Pitfalls Avoided:**
201
+ 1. **Pitfall:** [Common mistake]
202
+ - **Why It's Problematic:** [Explanation]
203
+ - **How We Avoided It:** [Specific avoidance strategy]
204
+
205
+ ## Instructions
206
+
207
+ 1. **Analyze the provided prompt** using all assessment criteria above
208
+ 2. **Provide detailed explanations** for each evaluation metric
209
+ 3. **Generate an improved version** that addresses all identified issues
210
+ 4. **Include specific safety measures** and bias mitigation strategies
211
+ 5. **Offer testing recommendations** to validate the improvements
212
+ 6. **Explain the principles applied** and educational insights gained
213
+
214
+ ## Safety Guidelines
215
+
216
+ - **Always prioritize safety** over functionality
217
+ - **Flag any potential risks** with specific mitigation strategies
218
+ - **Consider edge cases** and potential misuse scenarios
219
+ - **Recommend appropriate constraints** and guardrails
220
+ - **Ensure compliance** with responsible AI principles
221
+
222
+ ## Quality Standards
223
+
224
+ - **Be thorough and systematic** in your analysis
225
+ - **Provide actionable recommendations** with clear explanations
226
+ - **Consider the broader impact** of prompt improvements
227
+ - **Maintain educational value** in your explanations
228
+ - **Follow industry best practices** from Microsoft, OpenAI, and Google AI
229
+
230
+ Remember: Your goal is to help create prompts that are not only effective but also safe, unbiased, secure, and responsible. Every improvement should enhance both functionality and safety.
@@ -0,0 +1,322 @@
1
+ ---
2
+ description: 'Comprehensive project architecture blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks and architectural patterns, generates visual diagrams, documents implementation patterns, and provides extensible blueprints for maintaining architectural consistency and guiding new development.'
3
+ mode: 'agent'
4
+ ---
5
+
6
+ # Comprehensive Project Architecture Blueprint Generator
7
+
8
+ ## Configuration Variables
9
+ ${PROJECT_TYPE="Auto-detect|.NET|Java|React|Angular|Python|Node.js|Flutter|Other"} <!-- Primary technology -->
10
+ ${ARCHITECTURE_PATTERN="Auto-detect|Clean Architecture|Microservices|Layered|MVVM|MVC|Hexagonal|Event-Driven|Serverless|Monolithic|Other"} <!-- Primary architectural pattern -->
11
+ ${DIAGRAM_TYPE="C4|UML|Flow|Component|None"} <!-- Architecture diagram type -->
12
+ ${DETAIL_LEVEL="High-level|Detailed|Comprehensive|Implementation-Ready"} <!-- Level of detail to include -->
13
+ ${INCLUDES_CODE_EXAMPLES=true|false} <!-- Include sample code to illustrate patterns -->
14
+ ${INCLUDES_IMPLEMENTATION_PATTERNS=true|false} <!-- Include detailed implementation patterns -->
15
+ ${INCLUDES_DECISION_RECORDS=true|false} <!-- Include architectural decision records -->
16
+ ${FOCUS_ON_EXTENSIBILITY=true|false} <!-- Emphasize extension points and patterns -->
17
+
18
+ ## Generated Prompt
19
+
20
+ "Create a comprehensive 'Project_Architecture_Blueprint.md' document that thoroughly analyzes the architectural patterns in the codebase to serve as a definitive reference for maintaining architectural consistency. Use the following approach:
21
+
22
+ ### 1. Architecture Detection and Analysis
23
+ - ${PROJECT_TYPE == "Auto-detect" ? "Analyze the project structure to identify all technology stacks and frameworks in use by examining:
24
+ - Project and configuration files
25
+ - Package dependencies and import statements
26
+ - Framework-specific patterns and conventions
27
+ - Build and deployment configurations" : "Focus on ${PROJECT_TYPE} specific patterns and practices"}
28
+
29
+ - ${ARCHITECTURE_PATTERN == "Auto-detect" ? "Determine the architectural pattern(s) by analyzing:
30
+ - Folder organization and namespacing
31
+ - Dependency flow and component boundaries
32
+ - Interface segregation and abstraction patterns
33
+ - Communication mechanisms between components" : "Document how the ${ARCHITECTURE_PATTERN} architecture is implemented"}
34
+
35
+ ### 2. Architectural Overview
36
+ - Provide a clear, concise explanation of the overall architectural approach
37
+ - Document the guiding principles evident in the architectural choices
38
+ - Identify architectural boundaries and how they're enforced
39
+ - Note any hybrid architectural patterns or adaptations of standard patterns
40
+
41
+ ### 3. Architecture Visualization
42
+ ${DIAGRAM_TYPE != "None" ? `Create ${DIAGRAM_TYPE} diagrams at multiple levels of abstraction:
43
+ - High-level architectural overview showing major subsystems
44
+ - Component interaction diagrams showing relationships and dependencies
45
+ - Data flow diagrams showing how information moves through the system
46
+ - Ensure diagrams accurately reflect the actual implementation, not theoretical patterns` : "Describe the component relationships based on actual code dependencies, providing clear textual explanations of:
47
+ - Subsystem organization and boundaries
48
+ - Dependency directions and component interactions
49
+ - Data flow and process sequences"}
50
+
51
+ ### 4. Core Architectural Components
52
+ For each architectural component discovered in the codebase:
53
+
54
+ - **Purpose and Responsibility**:
55
+ - Primary function within the architecture
56
+ - Business domains or technical concerns addressed
57
+ - Boundaries and scope limitations
58
+
59
+ - **Internal Structure**:
60
+ - Organization of classes/modules within the component
61
+ - Key abstractions and their implementations
62
+ - Design patterns utilized
63
+
64
+ - **Interaction Patterns**:
65
+ - How the component communicates with others
66
+ - Interfaces exposed and consumed
67
+ - Dependency injection patterns
68
+ - Event publishing/subscription mechanisms
69
+
70
+ - **Evolution Patterns**:
71
+ - How the component can be extended
72
+ - Variation points and plugin mechanisms
73
+ - Configuration and customization approaches
74
+
75
+ ### 5. Architectural Layers and Dependencies
76
+ - Map the layer structure as implemented in the codebase
77
+ - Document the dependency rules between layers
78
+ - Identify abstraction mechanisms that enable layer separation
79
+ - Note any circular dependencies or layer violations
80
+ - Document dependency injection patterns used to maintain separation
81
+
82
+ ### 6. Data Architecture
83
+ - Document domain model structure and organization
84
+ - Map entity relationships and aggregation patterns
85
+ - Identify data access patterns (repositories, data mappers, etc.)
86
+ - Document data transformation and mapping approaches
87
+ - Note caching strategies and implementations
88
+ - Document data validation patterns
89
+
90
+ ### 7. Cross-Cutting Concerns Implementation
91
+ Document implementation patterns for cross-cutting concerns:
92
+
93
+ - **Authentication & Authorization**:
94
+ - Security model implementation
95
+ - Permission enforcement patterns
96
+ - Identity management approach
97
+ - Security boundary patterns
98
+
99
+ - **Error Handling & Resilience**:
100
+ - Exception handling patterns
101
+ - Retry and circuit breaker implementations
102
+ - Fallback and graceful degradation strategies
103
+ - Error reporting and monitoring approaches
104
+
105
+ - **Logging & Monitoring**:
106
+ - Instrumentation patterns
107
+ - Observability implementation
108
+ - Diagnostic information flow
109
+ - Performance monitoring approach
110
+
111
+ - **Validation**:
112
+ - Input validation strategies
113
+ - Business rule validation implementation
114
+ - Validation responsibility distribution
115
+ - Error reporting patterns
116
+
117
+ - **Configuration Management**:
118
+ - Configuration source patterns
119
+ - Environment-specific configuration strategies
120
+ - Secret management approach
121
+ - Feature flag implementation
122
+
123
+ ### 8. Service Communication Patterns
124
+ - Document service boundary definitions
125
+ - Identify communication protocols and formats
126
+ - Map synchronous vs. asynchronous communication patterns
127
+ - Document API versioning strategies
128
+ - Identify service discovery mechanisms
129
+ - Note resilience patterns in service communication
130
+
131
+ ### 9. Technology-Specific Architectural Patterns
132
+ ${PROJECT_TYPE == "Auto-detect" ? "For each detected technology stack, document specific architectural patterns:" : `Document ${PROJECT_TYPE}-specific architectural patterns:`}
133
+
134
+ ${(PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect") ?
135
+ "#### .NET Architectural Patterns (if detected)
136
+ - Host and application model implementation
137
+ - Middleware pipeline organization
138
+ - Framework service integration patterns
139
+ - ORM and data access approaches
140
+ - API implementation patterns (controllers, minimal APIs, etc.)
141
+ - Dependency injection container configuration" : ""}
142
+
143
+ ${(PROJECT_TYPE == "Java" || PROJECT_TYPE == "Auto-detect") ?
144
+ "#### Java Architectural Patterns (if detected)
145
+ - Application container and bootstrap process
146
+ - Dependency injection framework usage (Spring, CDI, etc.)
147
+ - AOP implementation patterns
148
+ - Transaction boundary management
149
+ - ORM configuration and usage patterns
150
+ - Service implementation patterns" : ""}
151
+
152
+ ${(PROJECT_TYPE == "React" || PROJECT_TYPE == "Auto-detect") ?
153
+ "#### React Architectural Patterns (if detected)
154
+ - Component composition and reuse strategies
155
+ - State management architecture
156
+ - Side effect handling patterns
157
+ - Routing and navigation approach
158
+ - Data fetching and caching patterns
159
+ - Rendering optimization strategies" : ""}
160
+
161
+ ${(PROJECT_TYPE == "Angular" || PROJECT_TYPE == "Auto-detect") ?
162
+ "#### Angular Architectural Patterns (if detected)
163
+ - Module organization strategy
164
+ - Component hierarchy design
165
+ - Service and dependency injection patterns
166
+ - State management approach
167
+ - Reactive programming patterns
168
+ - Route guard implementation" : ""}
169
+
170
+ ${(PROJECT_TYPE == "Python" || PROJECT_TYPE == "Auto-detect") ?
171
+ "#### Python Architectural Patterns (if detected)
172
+ - Module organization approach
173
+ - Dependency management strategy
174
+ - OOP vs. functional implementation patterns
175
+ - Framework integration patterns
176
+ - Asynchronous programming approach" : ""}
177
+
178
+ ### 10. Implementation Patterns
179
+ ${INCLUDES_IMPLEMENTATION_PATTERNS ?
180
+ "Document concrete implementation patterns for key architectural components:
181
+
182
+ - **Interface Design Patterns**:
183
+ - Interface segregation approaches
184
+ - Abstraction level decisions
185
+ - Generic vs. specific interface patterns
186
+ - Default implementation patterns
187
+
188
+ - **Service Implementation Patterns**:
189
+ - Service lifetime management
190
+ - Service composition patterns
191
+ - Operation implementation templates
192
+ - Error handling within services
193
+
194
+ - **Repository Implementation Patterns**:
195
+ - Query pattern implementations
196
+ - Transaction management
197
+ - Concurrency handling
198
+ - Bulk operation patterns
199
+
200
+ - **Controller/API Implementation Patterns**:
201
+ - Request handling patterns
202
+ - Response formatting approaches
203
+ - Parameter validation
204
+ - API versioning implementation
205
+
206
+ - **Domain Model Implementation**:
207
+ - Entity implementation patterns
208
+ - Value object patterns
209
+ - Domain event implementation
210
+ - Business rule enforcement" : "Mention that detailed implementation patterns vary across the codebase."}
211
+
212
+ ### 11. Testing Architecture
213
+ - Document testing strategies aligned with the architecture
214
+ - Identify test boundary patterns (unit, integration, system)
215
+ - Map test doubles and mocking approaches
216
+ - Document test data strategies
217
+ - Note testing tools and frameworks integration
218
+
219
+ ### 12. Deployment Architecture
220
+ - Document deployment topology derived from configuration
221
+ - Identify environment-specific architectural adaptations
222
+ - Map runtime dependency resolution patterns
223
+ - Document configuration management across environments
224
+ - Identify containerization and orchestration approaches
225
+ - Note cloud service integration patterns
226
+
227
+ ### 13. Extension and Evolution Patterns
228
+ ${FOCUS_ON_EXTENSIBILITY ?
229
+ "Provide detailed guidance for extending the architecture:
230
+
231
+ - **Feature Addition Patterns**:
232
+ - How to add new features while preserving architectural integrity
233
+ - Where to place new components by type
234
+ - Dependency introduction guidelines
235
+ - Configuration extension patterns
236
+
237
+ - **Modification Patterns**:
238
+ - How to safely modify existing components
239
+ - Strategies for maintaining backward compatibility
240
+ - Deprecation patterns
241
+ - Migration approaches
242
+
243
+ - **Integration Patterns**:
244
+ - How to integrate new external systems
245
+ - Adapter implementation patterns
246
+ - Anti-corruption layer patterns
247
+ - Service facade implementation" : "Document key extension points in the architecture."}
248
+
249
+ ${INCLUDES_CODE_EXAMPLES ?
250
+ "### 14. Architectural Pattern Examples
251
+ Extract representative code examples that illustrate key architectural patterns:
252
+
253
+ - **Layer Separation Examples**:
254
+ - Interface definition and implementation separation
255
+ - Cross-layer communication patterns
256
+ - Dependency injection examples
257
+
258
+ - **Component Communication Examples**:
259
+ - Service invocation patterns
260
+ - Event publication and handling
261
+ - Message passing implementation
262
+
263
+ - **Extension Point Examples**:
264
+ - Plugin registration and discovery
265
+ - Extension interface implementations
266
+ - Configuration-driven extension patterns
267
+
268
+ Include enough context with each example to show the pattern clearly, but keep examples concise and focused on architectural concepts." : ""}
269
+
270
+ ${INCLUDES_DECISION_RECORDS ?
271
+ "### 15. Architectural Decision Records
272
+ Document key architectural decisions evident in the codebase:
273
+
274
+ - **Architectural Style Decisions**:
275
+ - Why the current architectural pattern was chosen
276
+ - Alternatives considered (based on code evolution)
277
+ - Constraints that influenced the decision
278
+
279
+ - **Technology Selection Decisions**:
280
+ - Key technology choices and their architectural impact
281
+ - Framework selection rationales
282
+ - Custom vs. off-the-shelf component decisions
283
+
284
+ - **Implementation Approach Decisions**:
285
+ - Specific implementation patterns chosen
286
+ - Standard pattern adaptations
287
+ - Performance vs. maintainability tradeoffs
288
+
289
+ For each decision, note:
290
+ - Context that made the decision necessary
291
+ - Factors considered in making the decision
292
+ - Resulting consequences (positive and negative)
293
+ - Future flexibility or limitations introduced" : ""}
294
+
295
+ ### ${INCLUDES_DECISION_RECORDS ? "16" : INCLUDES_CODE_EXAMPLES ? "15" : "14"}. Architecture Governance
296
+ - Document how architectural consistency is maintained
297
+ - Identify automated checks for architectural compliance
298
+ - Note architectural review processes evident in the codebase
299
+ - Document architectural documentation practices
300
+
301
+ ### ${INCLUDES_DECISION_RECORDS ? "17" : INCLUDES_CODE_EXAMPLES ? "16" : "15"}. Blueprint for New Development
302
+ Create a clear architectural guide for implementing new features:
303
+
304
+ - **Development Workflow**:
305
+ - Starting points for different feature types
306
+ - Component creation sequence
307
+ - Integration steps with existing architecture
308
+ - Testing approach by architectural layer
309
+
310
+ - **Implementation Templates**:
311
+ - Base class/interface templates for key architectural components
312
+ - Standard file organization for new components
313
+ - Dependency declaration patterns
314
+ - Documentation requirements
315
+
316
+ - **Common Pitfalls**:
317
+ - Architecture violations to avoid
318
+ - Common architectural mistakes
319
+ - Performance considerations
320
+ - Testing blind spots
321
+
322
+ Include information about when this blueprint was generated and recommendations for keeping it updated as the architecture evolves."
@@ -0,0 +1,42 @@
1
+ ---
2
+ mode: 'agent'
3
+ tools: ['changes', 'search/codebase', 'edit/editFiles', 'problems']
4
+ description: 'Create ASP.NET Minimal API endpoints with proper OpenAPI documentation'
5
+ ---
6
+
7
+ # ASP.NET Minimal API with OpenAPI
8
+
9
+ Your goal is to help me create well-structured ASP.NET Minimal API endpoints with correct types and comprehensive OpenAPI/Swagger documentation.
10
+
11
+ ## API Organization
12
+
13
+ - Group related endpoints using `MapGroup()` extension
14
+ - Use endpoint filters for cross-cutting concerns
15
+ - Structure larger APIs with separate endpoint classes
16
+ - Consider using a feature-based folder structure for complex APIs
17
+
18
+ ## Request and Response Types
19
+
20
+ - Define explicit request and response DTOs/models
21
+ - Create clear model classes with proper validation attributes
22
+ - Use record types for immutable request/response objects
23
+ - Use meaningful property names that align with API design standards
24
+ - Apply `[Required]` and other validation attributes to enforce constraints
25
+ - Use the ProblemDetailsService and StatusCodePages to get standard error responses
26
+
27
+ ## Type Handling
28
+
29
+ - Use strongly-typed route parameters with explicit type binding
30
+ - Use `Results<T1, T2>` to represent multiple response types
31
+ - Return `TypedResults` instead of `Results` for strongly-typed responses
32
+ - Leverage C# 10+ features like nullable annotations and init-only properties
33
+
34
+ ## OpenAPI Documentation
35
+
36
+ - Use the built-in OpenAPI document support added in .NET 9
37
+ - Define operation summary and description
38
+ - Add operationIds using the `WithName` extension method
39
+ - Add descriptions to properties and parameters with `[Description()]`
40
+ - Set proper content types for requests and responses
41
+ - Use document transformers to add elements like servers, tags, and security schemes
42
+ - Use schema transformers to apply customizations to OpenAPI schemas