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,305 @@
1
+ ---
2
+ mode: 'agent'
3
+ description: 'Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations.'
4
+ ---
5
+
6
+ # Azure Cost Optimize
7
+
8
+ This workflow analyzes Infrastructure-as-Code (IaC) files and Azure resources to generate cost optimization recommendations. It creates individual GitHub issues for each optimization opportunity plus one EPIC issue to coordinate implementation, enabling efficient tracking and execution of cost savings initiatives.
9
+
10
+ ## Prerequisites
11
+ - Azure MCP server configured and authenticated
12
+ - GitHub MCP server configured and authenticated
13
+ - Target GitHub repository identified
14
+ - Azure resources deployed (IaC files optional but helpful)
15
+ - Prefer Azure MCP tools (`azmcp-*`) over direct Azure CLI when available
16
+
17
+ ## Workflow Steps
18
+
19
+ ### Step 1: Get Azure Best Practices
20
+ **Action**: Retrieve cost optimization best practices before analysis
21
+ **Tools**: Azure MCP best practices tool
22
+ **Process**:
23
+ 1. **Load Best Practices**:
24
+ - Execute `azmcp-bestpractices-get` to get some of the latest Azure optimization guidelines. This may not cover all scenarios but provides a foundation.
25
+ - Use these practices to inform subsequent analysis and recommendations as much as possible
26
+ - Reference best practices in optimization recommendations, either from the MCP tool output or general Azure documentation
27
+
28
+ ### Step 2: Discover Azure Infrastructure
29
+ **Action**: Dynamically discover and analyze Azure resources and configurations
30
+ **Tools**: Azure MCP tools + Azure CLI fallback + Local file system access
31
+ **Process**:
32
+ 1. **Resource Discovery**:
33
+ - Execute `azmcp-subscription-list` to find available subscriptions
34
+ - Execute `azmcp-group-list --subscription <subscription-id>` to find resource groups
35
+ - Get a list of all resources in the relevant group(s):
36
+ - Use `az resource list --subscription <id> --resource-group <name>`
37
+ - For each resource type, use MCP tools first if possible, then CLI fallback:
38
+ - `azmcp-cosmos-account-list --subscription <id>` - Cosmos DB accounts
39
+ - `azmcp-storage-account-list --subscription <id>` - Storage accounts
40
+ - `azmcp-monitor-workspace-list --subscription <id>` - Log Analytics workspaces
41
+ - `azmcp-keyvault-key-list` - Key Vaults
42
+ - `az webapp list` - Web Apps (fallback - no MCP tool available)
43
+ - `az appservice plan list` - App Service Plans (fallback)
44
+ - `az functionapp list` - Function Apps (fallback)
45
+ - `az sql server list` - SQL Servers (fallback)
46
+ - `az redis list` - Redis Cache (fallback)
47
+ - ... and so on for other resource types
48
+
49
+ 2. **IaC Detection**:
50
+ - Use `file_search` to scan for IaC files: "**/*.bicep", "**/*.tf", "**/main.json", "**/*template*.json"
51
+ - Parse resource definitions to understand intended configurations
52
+ - Compare against discovered resources to identify discrepancies
53
+ - Note presence of IaC files for implementation recommendations later on
54
+ - Do NOT use any other file from the repository, only IaC files. Using other files is NOT allowed as it is not a source of truth.
55
+ - If you do not find IaC files, then STOP and report no IaC files found to the user.
56
+
57
+ 3. **Configuration Analysis**:
58
+ - Extract current SKUs, tiers, and settings for each resource
59
+ - Identify resource relationships and dependencies
60
+ - Map resource utilization patterns where available
61
+
62
+ ### Step 3: Collect Usage Metrics & Validate Current Costs
63
+ **Action**: Gather utilization data AND verify actual resource costs
64
+ **Tools**: Azure MCP monitoring tools + Azure CLI
65
+ **Process**:
66
+ 1. **Find Monitoring Sources**:
67
+ - Use `azmcp-monitor-workspace-list --subscription <id>` to find Log Analytics workspaces
68
+ - Use `azmcp-monitor-table-list --subscription <id> --workspace <name> --table-type "CustomLog"` to discover available data
69
+
70
+ 2. **Execute Usage Queries**:
71
+ - Use `azmcp-monitor-log-query` with these predefined queries:
72
+ - Query: "recent" for recent activity patterns
73
+ - Query: "errors" for error-level logs indicating issues
74
+ - For custom analysis, use KQL queries:
75
+ ```kql
76
+ // CPU utilization for App Services
77
+ AppServiceAppLogs
78
+ | where TimeGenerated > ago(7d)
79
+ | summarize avg(CpuTime) by Resource, bin(TimeGenerated, 1h)
80
+
81
+ // Cosmos DB RU consumption
82
+ AzureDiagnostics
83
+ | where ResourceProvider == "MICROSOFT.DOCUMENTDB"
84
+ | where TimeGenerated > ago(7d)
85
+ | summarize avg(RequestCharge) by Resource
86
+
87
+ // Storage account access patterns
88
+ StorageBlobLogs
89
+ | where TimeGenerated > ago(7d)
90
+ | summarize RequestCount=count() by AccountName, bin(TimeGenerated, 1d)
91
+ ```
92
+
93
+ 3. **Calculate Baseline Metrics**:
94
+ - CPU/Memory utilization averages
95
+ - Database throughput patterns
96
+ - Storage access frequency
97
+ - Function execution rates
98
+
99
+ 4. **VALIDATE CURRENT COSTS**:
100
+ - Using the SKU/tier configurations discovered in Step 2
101
+ - Look up current Azure pricing at https://azure.microsoft.com/pricing/ or use `az billing` commands
102
+ - Document: Resource β†’ Current SKU β†’ Estimated monthly cost
103
+ - Calculate realistic current monthly total before proceeding to recommendations
104
+
105
+ ### Step 4: Generate Cost Optimization Recommendations
106
+ **Action**: Analyze resources to identify optimization opportunities
107
+ **Tools**: Local analysis using collected data
108
+ **Process**:
109
+ 1. **Apply Optimization Patterns** based on resource types found:
110
+
111
+ **Compute Optimizations**:
112
+ - App Service Plans: Right-size based on CPU/memory usage
113
+ - Function Apps: Premium β†’ Consumption plan for low usage
114
+ - Virtual Machines: Scale down oversized instances
115
+
116
+ **Database Optimizations**:
117
+ - Cosmos DB:
118
+ - Provisioned β†’ Serverless for variable workloads
119
+ - Right-size RU/s based on actual usage
120
+ - SQL Database: Right-size service tiers based on DTU usage
121
+
122
+ **Storage Optimizations**:
123
+ - Implement lifecycle policies (Hot β†’ Cool β†’ Archive)
124
+ - Consolidate redundant storage accounts
125
+ - Right-size storage tiers based on access patterns
126
+
127
+ **Infrastructure Optimizations**:
128
+ - Remove unused/redundant resources
129
+ - Implement auto-scaling where beneficial
130
+ - Schedule non-production environments
131
+
132
+ 2. **Calculate Evidence-Based Savings**:
133
+ - Current validated cost β†’ Target cost = Savings
134
+ - Document pricing source for both current and target configurations
135
+
136
+ 3. **Calculate Priority Score** for each recommendation:
137
+ ```
138
+ Priority Score = (Value Score Γ— Monthly Savings) / (Risk Score Γ— Implementation Days)
139
+
140
+ High Priority: Score > 20
141
+ Medium Priority: Score 5-20
142
+ Low Priority: Score < 5
143
+ ```
144
+
145
+ 4. **Validate Recommendations**:
146
+ - Ensure Azure CLI commands are accurate
147
+ - Verify estimated savings calculations
148
+ - Assess implementation risks and prerequisites
149
+ - Ensure all savings calculations have supporting evidence
150
+
151
+ ### Step 5: User Confirmation
152
+ **Action**: Present summary and get approval before creating GitHub issues
153
+ **Process**:
154
+ 1. **Display Optimization Summary**:
155
+ ```
156
+ 🎯 Azure Cost Optimization Summary
157
+
158
+ πŸ“Š Analysis Results:
159
+ β€’ Total Resources Analyzed: X
160
+ β€’ Current Monthly Cost: $X
161
+ β€’ Potential Monthly Savings: $Y
162
+ β€’ Optimization Opportunities: Z
163
+ β€’ High Priority Items: N
164
+
165
+ πŸ† Recommendations:
166
+ 1. [Resource]: [Current SKU] β†’ [Target SKU] = $X/month savings - [Risk Level] | [Implementation Effort]
167
+ 2. [Resource]: [Current Config] β†’ [Target Config] = $Y/month savings - [Risk Level] | [Implementation Effort]
168
+ 3. [Resource]: [Current Config] β†’ [Target Config] = $Z/month savings - [Risk Level] | [Implementation Effort]
169
+ ... and so on
170
+
171
+ πŸ’‘ This will create:
172
+ β€’ Y individual GitHub issues (one per optimization)
173
+ β€’ 1 EPIC issue to coordinate implementation
174
+
175
+ ❓ Proceed with creating GitHub issues? (y/n)
176
+ ```
177
+
178
+ 2. **Wait for User Confirmation**: Only proceed if user confirms
179
+
180
+ ### Step 6: Create Individual Optimization Issues
181
+ **Action**: Create separate GitHub issues for each optimization opportunity. Label them with "cost-optimization" (green color), "azure" (blue color).
182
+ **MCP Tools Required**: `create_issue` for each recommendation
183
+ **Process**:
184
+ 1. **Create Individual Issues** using this template:
185
+
186
+ **Title Format**: `[COST-OPT] [Resource Type] - [Brief Description] - $X/month savings`
187
+
188
+ **Body Template**:
189
+ ```markdown
190
+ ## πŸ’° Cost Optimization: [Brief Title]
191
+
192
+ **Monthly Savings**: $X | **Risk Level**: [Low/Medium/High] | **Implementation Effort**: X days
193
+
194
+ ### πŸ“‹ Description
195
+ [Clear explanation of the optimization and why it's needed]
196
+
197
+ ### πŸ”§ Implementation
198
+
199
+ **IaC Files Detected**: [Yes/No - based on file_search results]
200
+
201
+ ```bash
202
+ # If IaC files found: Show IaC modifications + deployment
203
+ # File: infrastructure/bicep/modules/app-service.bicep
204
+ # Change: sku.name: 'S3' β†’ 'B2'
205
+ az deployment group create --resource-group [rg] --template-file infrastructure/bicep/main.bicep
206
+
207
+ # If no IaC files: Direct Azure CLI commands + warning
208
+ # ⚠️ No IaC files found. If they exist elsewhere, modify those instead.
209
+ az appservice plan update --name [plan] --sku B2
210
+ ```
211
+
212
+ ### πŸ“Š Evidence
213
+ - Current Configuration: [details]
214
+ - Usage Pattern: [evidence from monitoring data]
215
+ - Cost Impact: $X/month β†’ $Y/month
216
+ - Best Practice Alignment: [reference to Azure best practices if applicable]
217
+
218
+ ### βœ… Validation Steps
219
+ - [ ] Test in non-production environment
220
+ - [ ] Verify no performance degradation
221
+ - [ ] Confirm cost reduction in Azure Cost Management
222
+ - [ ] Update monitoring and alerts if needed
223
+
224
+ ### ⚠️ Risks & Considerations
225
+ - [Risk 1 and mitigation]
226
+ - [Risk 2 and mitigation]
227
+
228
+ **Priority Score**: X | **Value**: X/10 | **Risk**: X/10
229
+ ```
230
+
231
+ ### Step 7: Create EPIC Coordinating Issue
232
+ **Action**: Create master issue to track all optimization work. Label it with "cost-optimization" (green color), "azure" (blue color), and "epic" (purple color).
233
+ **MCP Tools Required**: `create_issue` for EPIC
234
+ **Note about mermaid diagrams**: Ensure you verify mermaid syntax is correct and create the diagrams taking accessibility guidelines into account (styling, colors, etc.).
235
+ **Process**:
236
+ 1. **Create EPIC Issue**:
237
+
238
+ **Title**: `[EPIC] Azure Cost Optimization Initiative - $X/month potential savings`
239
+
240
+ **Body Template**:
241
+ ```markdown
242
+ # 🎯 Azure Cost Optimization EPIC
243
+
244
+ **Total Potential Savings**: $X/month | **Implementation Timeline**: X weeks
245
+
246
+ ## πŸ“Š Executive Summary
247
+ - **Resources Analyzed**: X
248
+ - **Optimization Opportunities**: Y
249
+ - **Total Monthly Savings Potential**: $X
250
+ - **High Priority Items**: N
251
+
252
+ ## πŸ—οΈ Current Architecture Overview
253
+
254
+ ```mermaid
255
+ graph TB
256
+ subgraph "Resource Group: [name]"
257
+ [Generated architecture diagram showing current resources and costs]
258
+ end
259
+ ```
260
+
261
+ ## πŸ“‹ Implementation Tracking
262
+
263
+ ### πŸš€ High Priority (Implement First)
264
+ - [ ] #[issue-number]: [Title] - $X/month savings
265
+ - [ ] #[issue-number]: [Title] - $X/month savings
266
+
267
+ ### ⚑ Medium Priority
268
+ - [ ] #[issue-number]: [Title] - $X/month savings
269
+ - [ ] #[issue-number]: [Title] - $X/month savings
270
+
271
+ ### πŸ”„ Low Priority (Nice to Have)
272
+ - [ ] #[issue-number]: [Title] - $X/month savings
273
+
274
+ ## πŸ“ˆ Progress Tracking
275
+ - **Completed**: 0 of Y optimizations
276
+ - **Savings Realized**: $0 of $X/month
277
+ - **Implementation Status**: Not Started
278
+
279
+ ## 🎯 Success Criteria
280
+ - [ ] All high-priority optimizations implemented
281
+ - [ ] >80% of estimated savings realized
282
+ - [ ] No performance degradation observed
283
+ - [ ] Cost monitoring dashboard updated
284
+
285
+ ## πŸ“ Notes
286
+ - Review and update this EPIC as issues are completed
287
+ - Monitor actual vs. estimated savings
288
+ - Consider scheduling regular cost optimization reviews
289
+ ```
290
+
291
+ ## Error Handling
292
+ - **Cost Validation**: If savings estimates lack supporting evidence or seem inconsistent with Azure pricing, re-verify configurations and pricing sources before proceeding
293
+ - **Azure Authentication Failure**: Provide manual Azure CLI setup steps
294
+ - **No Resources Found**: Create informational issue about Azure resource deployment
295
+ - **GitHub Creation Failure**: Output formatted recommendations to console
296
+ - **Insufficient Usage Data**: Note limitations and provide configuration-based recommendations only
297
+
298
+ ## Success Criteria
299
+ - βœ… All cost estimates verified against actual resource configurations and Azure pricing
300
+ - βœ… Individual issues created for each optimization (trackable and assignable)
301
+ - βœ… EPIC issue provides comprehensive coordination and tracking
302
+ - βœ… All recommendations include specific, executable Azure CLI commands
303
+ - βœ… Priority scoring enables ROI-focused implementation
304
+ - βœ… Architecture diagram accurately represents current state
305
+ - βœ… User confirmation prevents unwanted issue creation
@@ -0,0 +1,290 @@
1
+ ---
2
+ mode: 'agent'
3
+ description: 'Analyze Azure resource health, diagnose issues from logs and telemetry, and create a remediation plan for identified problems.'
4
+ ---
5
+
6
+ # Azure Resource Health & Issue Diagnosis
7
+
8
+ This workflow analyzes a specific Azure resource to assess its health status, diagnose potential issues using logs and telemetry data, and develop a comprehensive remediation plan for any problems discovered.
9
+
10
+ ## Prerequisites
11
+ - Azure MCP server configured and authenticated
12
+ - Target Azure resource identified (name and optionally resource group/subscription)
13
+ - Resource must be deployed and running to generate logs/telemetry
14
+ - Prefer Azure MCP tools (`azmcp-*`) over direct Azure CLI when available
15
+
16
+ ## Workflow Steps
17
+
18
+ ### Step 1: Get Azure Best Practices
19
+ **Action**: Retrieve diagnostic and troubleshooting best practices
20
+ **Tools**: Azure MCP best practices tool
21
+ **Process**:
22
+ 1. **Load Best Practices**:
23
+ - Execute Azure best practices tool to get diagnostic guidelines
24
+ - Focus on health monitoring, log analysis, and issue resolution patterns
25
+ - Use these practices to inform diagnostic approach and remediation recommendations
26
+
27
+ ### Step 2: Resource Discovery & Identification
28
+ **Action**: Locate and identify the target Azure resource
29
+ **Tools**: Azure MCP tools + Azure CLI fallback
30
+ **Process**:
31
+ 1. **Resource Lookup**:
32
+ - If only resource name provided: Search across subscriptions using `azmcp-subscription-list`
33
+ - Use `az resource list --name <resource-name>` to find matching resources
34
+ - If multiple matches found, prompt user to specify subscription/resource group
35
+ - Gather detailed resource information:
36
+ - Resource type and current status
37
+ - Location, tags, and configuration
38
+ - Associated services and dependencies
39
+
40
+ 2. **Resource Type Detection**:
41
+ - Identify resource type to determine appropriate diagnostic approach:
42
+ - **Web Apps/Function Apps**: Application logs, performance metrics, dependency tracking
43
+ - **Virtual Machines**: System logs, performance counters, boot diagnostics
44
+ - **Cosmos DB**: Request metrics, throttling, partition statistics
45
+ - **Storage Accounts**: Access logs, performance metrics, availability
46
+ - **SQL Database**: Query performance, connection logs, resource utilization
47
+ - **Application Insights**: Application telemetry, exceptions, dependencies
48
+ - **Key Vault**: Access logs, certificate status, secret usage
49
+ - **Service Bus**: Message metrics, dead letter queues, throughput
50
+
51
+ ### Step 3: Health Status Assessment
52
+ **Action**: Evaluate current resource health and availability
53
+ **Tools**: Azure MCP monitoring tools + Azure CLI
54
+ **Process**:
55
+ 1. **Basic Health Check**:
56
+ - Check resource provisioning state and operational status
57
+ - Verify service availability and responsiveness
58
+ - Review recent deployment or configuration changes
59
+ - Assess current resource utilization (CPU, memory, storage, etc.)
60
+
61
+ 2. **Service-Specific Health Indicators**:
62
+ - **Web Apps**: HTTP response codes, response times, uptime
63
+ - **Databases**: Connection success rate, query performance, deadlocks
64
+ - **Storage**: Availability percentage, request success rate, latency
65
+ - **VMs**: Boot diagnostics, guest OS metrics, network connectivity
66
+ - **Functions**: Execution success rate, duration, error frequency
67
+
68
+ ### Step 4: Log & Telemetry Analysis
69
+ **Action**: Analyze logs and telemetry to identify issues and patterns
70
+ **Tools**: Azure MCP monitoring tools for Log Analytics queries
71
+ **Process**:
72
+ 1. **Find Monitoring Sources**:
73
+ - Use `azmcp-monitor-workspace-list` to identify Log Analytics workspaces
74
+ - Locate Application Insights instances associated with the resource
75
+ - Identify relevant log tables using `azmcp-monitor-table-list`
76
+
77
+ 2. **Execute Diagnostic Queries**:
78
+ Use `azmcp-monitor-log-query` with targeted KQL queries based on resource type:
79
+
80
+ **General Error Analysis**:
81
+ ```kql
82
+ // Recent errors and exceptions
83
+ union isfuzzy=true
84
+ AzureDiagnostics,
85
+ AppServiceHTTPLogs,
86
+ AppServiceAppLogs,
87
+ AzureActivity
88
+ | where TimeGenerated > ago(24h)
89
+ | where Level == "Error" or ResultType != "Success"
90
+ | summarize ErrorCount=count() by Resource, ResultType, bin(TimeGenerated, 1h)
91
+ | order by TimeGenerated desc
92
+ ```
93
+
94
+ **Performance Analysis**:
95
+ ```kql
96
+ // Performance degradation patterns
97
+ Perf
98
+ | where TimeGenerated > ago(7d)
99
+ | where ObjectName == "Processor" and CounterName == "% Processor Time"
100
+ | summarize avg(CounterValue) by Computer, bin(TimeGenerated, 1h)
101
+ | where avg_CounterValue > 80
102
+ ```
103
+
104
+ **Application-Specific Queries**:
105
+ ```kql
106
+ // Application Insights - Failed requests
107
+ requests
108
+ | where timestamp > ago(24h)
109
+ | where success == false
110
+ | summarize FailureCount=count() by resultCode, bin(timestamp, 1h)
111
+ | order by timestamp desc
112
+
113
+ // Database - Connection failures
114
+ AzureDiagnostics
115
+ | where ResourceProvider == "MICROSOFT.SQL"
116
+ | where Category == "SQLSecurityAuditEvents"
117
+ | where action_name_s == "CONNECTION_FAILED"
118
+ | summarize ConnectionFailures=count() by bin(TimeGenerated, 1h)
119
+ ```
120
+
121
+ 3. **Pattern Recognition**:
122
+ - Identify recurring error patterns or anomalies
123
+ - Correlate errors with deployment times or configuration changes
124
+ - Analyze performance trends and degradation patterns
125
+ - Look for dependency failures or external service issues
126
+
127
+ ### Step 5: Issue Classification & Root Cause Analysis
128
+ **Action**: Categorize identified issues and determine root causes
129
+ **Process**:
130
+ 1. **Issue Classification**:
131
+ - **Critical**: Service unavailable, data loss, security breaches
132
+ - **High**: Performance degradation, intermittent failures, high error rates
133
+ - **Medium**: Warnings, suboptimal configuration, minor performance issues
134
+ - **Low**: Informational alerts, optimization opportunities
135
+
136
+ 2. **Root Cause Analysis**:
137
+ - **Configuration Issues**: Incorrect settings, missing dependencies
138
+ - **Resource Constraints**: CPU/memory/disk limitations, throttling
139
+ - **Network Issues**: Connectivity problems, DNS resolution, firewall rules
140
+ - **Application Issues**: Code bugs, memory leaks, inefficient queries
141
+ - **External Dependencies**: Third-party service failures, API limits
142
+ - **Security Issues**: Authentication failures, certificate expiration
143
+
144
+ 3. **Impact Assessment**:
145
+ - Determine business impact and affected users/systems
146
+ - Evaluate data integrity and security implications
147
+ - Assess recovery time objectives and priorities
148
+
149
+ ### Step 6: Generate Remediation Plan
150
+ **Action**: Create a comprehensive plan to address identified issues
151
+ **Process**:
152
+ 1. **Immediate Actions** (Critical issues):
153
+ - Emergency fixes to restore service availability
154
+ - Temporary workarounds to mitigate impact
155
+ - Escalation procedures for complex issues
156
+
157
+ 2. **Short-term Fixes** (High/Medium issues):
158
+ - Configuration adjustments and resource scaling
159
+ - Application updates and patches
160
+ - Monitoring and alerting improvements
161
+
162
+ 3. **Long-term Improvements** (All issues):
163
+ - Architectural changes for better resilience
164
+ - Preventive measures and monitoring enhancements
165
+ - Documentation and process improvements
166
+
167
+ 4. **Implementation Steps**:
168
+ - Prioritized action items with specific Azure CLI commands
169
+ - Testing and validation procedures
170
+ - Rollback plans for each change
171
+ - Monitoring to verify issue resolution
172
+
173
+ ### Step 7: User Confirmation & Report Generation
174
+ **Action**: Present findings and get approval for remediation actions
175
+ **Process**:
176
+ 1. **Display Health Assessment Summary**:
177
+ ```
178
+ πŸ₯ Azure Resource Health Assessment
179
+
180
+ πŸ“Š Resource Overview:
181
+ β€’ Resource: [Name] ([Type])
182
+ β€’ Status: [Healthy/Warning/Critical]
183
+ β€’ Location: [Region]
184
+ β€’ Last Analyzed: [Timestamp]
185
+
186
+ 🚨 Issues Identified:
187
+ β€’ Critical: X issues requiring immediate attention
188
+ β€’ High: Y issues affecting performance/reliability
189
+ β€’ Medium: Z issues for optimization
190
+ β€’ Low: N informational items
191
+
192
+ πŸ” Top Issues:
193
+ 1. [Issue Type]: [Description] - Impact: [High/Medium/Low]
194
+ 2. [Issue Type]: [Description] - Impact: [High/Medium/Low]
195
+ 3. [Issue Type]: [Description] - Impact: [High/Medium/Low]
196
+
197
+ πŸ› οΈ Remediation Plan:
198
+ β€’ Immediate Actions: X items
199
+ β€’ Short-term Fixes: Y items
200
+ β€’ Long-term Improvements: Z items
201
+ β€’ Estimated Resolution Time: [Timeline]
202
+
203
+ ❓ Proceed with detailed remediation plan? (y/n)
204
+ ```
205
+
206
+ 2. **Generate Detailed Report**:
207
+ ```markdown
208
+ # Azure Resource Health Report: [Resource Name]
209
+
210
+ **Generated**: [Timestamp]
211
+ **Resource**: [Full Resource ID]
212
+ **Overall Health**: [Status with color indicator]
213
+
214
+ ## πŸ” Executive Summary
215
+ [Brief overview of health status and key findings]
216
+
217
+ ## πŸ“Š Health Metrics
218
+ - **Availability**: X% over last 24h
219
+ - **Performance**: [Average response time/throughput]
220
+ - **Error Rate**: X% over last 24h
221
+ - **Resource Utilization**: [CPU/Memory/Storage percentages]
222
+
223
+ ## 🚨 Issues Identified
224
+
225
+ ### Critical Issues
226
+ - **[Issue 1]**: [Description]
227
+ - **Root Cause**: [Analysis]
228
+ - **Impact**: [Business impact]
229
+ - **Immediate Action**: [Required steps]
230
+
231
+ ### High Priority Issues
232
+ - **[Issue 2]**: [Description]
233
+ - **Root Cause**: [Analysis]
234
+ - **Impact**: [Performance/reliability impact]
235
+ - **Recommended Fix**: [Solution steps]
236
+
237
+ ## πŸ› οΈ Remediation Plan
238
+
239
+ ### Phase 1: Immediate Actions (0-2 hours)
240
+ ```bash
241
+ # Critical fixes to restore service
242
+ [Azure CLI commands with explanations]
243
+ ```
244
+
245
+ ### Phase 2: Short-term Fixes (2-24 hours)
246
+ ```bash
247
+ # Performance and reliability improvements
248
+ [Azure CLI commands with explanations]
249
+ ```
250
+
251
+ ### Phase 3: Long-term Improvements (1-4 weeks)
252
+ ```bash
253
+ # Architectural and preventive measures
254
+ [Azure CLI commands and configuration changes]
255
+ ```
256
+
257
+ ## πŸ“ˆ Monitoring Recommendations
258
+ - **Alerts to Configure**: [List of recommended alerts]
259
+ - **Dashboards to Create**: [Monitoring dashboard suggestions]
260
+ - **Regular Health Checks**: [Recommended frequency and scope]
261
+
262
+ ## βœ… Validation Steps
263
+ - [ ] Verify issue resolution through logs
264
+ - [ ] Confirm performance improvements
265
+ - [ ] Test application functionality
266
+ - [ ] Update monitoring and alerting
267
+ - [ ] Document lessons learned
268
+
269
+ ## πŸ“ Prevention Measures
270
+ - [Recommendations to prevent similar issues]
271
+ - [Process improvements]
272
+ - [Monitoring enhancements]
273
+ ```
274
+
275
+ ## Error Handling
276
+ - **Resource Not Found**: Provide guidance on resource name/location specification
277
+ - **Authentication Issues**: Guide user through Azure authentication setup
278
+ - **Insufficient Permissions**: List required RBAC roles for resource access
279
+ - **No Logs Available**: Suggest enabling diagnostic settings and waiting for data
280
+ - **Query Timeouts**: Break down analysis into smaller time windows
281
+ - **Service-Specific Issues**: Provide generic health assessment with limitations noted
282
+
283
+ ## Success Criteria
284
+ - βœ… Resource health status accurately assessed
285
+ - βœ… All significant issues identified and categorized
286
+ - βœ… Root cause analysis completed for major problems
287
+ - βœ… Actionable remediation plan with specific steps provided
288
+ - βœ… Monitoring and prevention recommendations included
289
+ - βœ… Clear prioritization of issues by business impact
290
+ - βœ… Implementation steps include validation and rollback procedures
@@ -0,0 +1,25 @@
1
+ ---
2
+ mode: agent
3
+ description: 'Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.'
4
+ ---
5
+
6
+ You are an AI assistant designed to help users create high-quality, detailed task prompts. DO NOT WRITE ANY CODE.
7
+
8
+ Your goal is to iteratively refine the user’s prompt by:
9
+
10
+ - Understanding the task scope and objectives
11
+ - At all times when you need clarification on details, ask specific questions to the user using the `joyride_request_human_input` tool.
12
+ - Defining expected deliverables and success criteria
13
+ - Perform project explorations, using available tools, to further your understanding of the task
14
+ - Clarifying technical and procedural requirements
15
+ - Organizing the prompt into clear sections or steps
16
+ - Ensuring the prompt is easy to understand and follow
17
+
18
+ After gathering sufficient information, produce the improved prompt as markdown, use Joyride to place the markdown on the system clipboard, as well as typing it out in the chat. Use this Joyride code for clipboard operations:
19
+
20
+ ```clojure
21
+ (require '["vscode" :as vscode])
22
+ (vscode/env.clipboard.writeText "your-markdown-text-here")
23
+ ```
24
+
25
+ Announce to the user that the prompt is available on the clipboard, and also ask the user if they want any changes or additions. Repeat the copy + chat + ask after any revisions of the prompt.
@@ -0,0 +1,66 @@
1
+ ---
2
+ mode: 'agent'
3
+ description: 'Prompt for creating the high-level technical architecture for an Epic, based on a Product Requirements Document.'
4
+ ---
5
+
6
+ # Epic Architecture Specification Prompt
7
+
8
+ ## Goal
9
+
10
+ Act as a Senior Software Architect. Your task is to take an Epic PRD and create a high-level technical architecture specification. This document will guide the development of the epic, outlining the major components, features, and technical enablers required.
11
+
12
+ ## Context Considerations
13
+
14
+ - The Epic PRD from the Product Manager.
15
+ - **Domain-driven architecture** pattern for modular, scalable applications.
16
+ - **Self-hosted and SaaS deployment** requirements.
17
+ - **Docker containerization** for all services.
18
+ - **TypeScript/Next.js** stack with App Router.
19
+ - **Turborepo monorepo** patterns.
20
+ - **tRPC** for type-safe APIs.
21
+ - **Stack Auth** for authentication.
22
+
23
+ **Note:** Do NOT write code in output unless it's pseudocode for technical situations.
24
+
25
+ ## Output Format
26
+
27
+ The output should be a complete Epic Architecture Specification in Markdown format, saved to `/docs/ways-of-work/plan/{epic-name}/arch.md`.
28
+
29
+ ### Specification Structure
30
+
31
+ #### 1. Epic Architecture Overview
32
+
33
+ - A brief summary of the technical approach for the epic.
34
+
35
+ #### 2. System Architecture Diagram
36
+
37
+ Create a comprehensive Mermaid diagram that illustrates the complete system architecture for this epic. The diagram should include:
38
+
39
+ - **User Layer**: Show how different user types (web browsers, mobile apps, admin interfaces) interact with the system
40
+ - **Application Layer**: Depict load balancers, application instances, and authentication services (Stack Auth)
41
+ - **Service Layer**: Include tRPC APIs, background services, workflow engines (n8n), and any epic-specific services
42
+ - **Data Layer**: Show databases (PostgreSQL), vector databases (Qdrant), caching layers (Redis), and external API integrations
43
+ - **Infrastructure Layer**: Represent Docker containerization and deployment architecture
44
+
45
+ Use clear subgraphs to organize these layers, apply consistent color coding for different component types, and show the data flow between components. Include both synchronous request paths and asynchronous processing flows where relevant to the epic.
46
+
47
+ #### 3. High-Level Features & Technical Enablers
48
+
49
+ - A list of the high-level features to be built.
50
+ - A list of technical enablers (e.g., new services, libraries, infrastructure) required to support the features.
51
+
52
+ #### 4. Technology Stack
53
+
54
+ - A list of the key technologies, frameworks, and libraries to be used.
55
+
56
+ #### 5. Technical Value
57
+
58
+ - Estimate the technical value (e.g., High, Medium, Low) with a brief justification.
59
+
60
+ #### 6. T-Shirt Size Estimate
61
+
62
+ - Provide a high-level t-shirt size estimate for the epic (e.g., S, M, L, XL).
63
+
64
+ ## Context Template
65
+
66
+ - **Epic PRD:** [The content of the Epic PRD markdown file]