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.
- package/.env.example +1 -0
- package/.gitattributes +1 -0
- package/.github/workflows/manual-publish.yml +36 -0
- package/.github/workflows/sync-and-publish.yml +58 -0
- package/.release-it.json +20 -0
- package/CHANGELOG.md +43 -0
- package/README.md +62 -0
- package/assets/chatmodes/4.1-Beast.chatmode.md +152 -0
- package/assets/chatmodes/Thinking-Beast-Mode.chatmode.md +337 -0
- package/assets/chatmodes/Ultimate-Transparent-Thinking-Beast-Mode.chatmode.md +644 -0
- package/assets/chatmodes/accessibility.chatmode.md +298 -0
- package/assets/chatmodes/address-comments.chatmode.md +59 -0
- package/assets/chatmodes/aem-frontend-specialist.chatmode.md +385 -0
- package/assets/chatmodes/api-architect.chatmode.md +40 -0
- package/assets/chatmodes/atlassian-requirements-to-jira.chatmode.md +444 -0
- package/assets/chatmodes/azure-logic-apps-expert.chatmode.md +100 -0
- package/assets/chatmodes/azure-principal-architect.chatmode.md +58 -0
- package/assets/chatmodes/azure-saas-architect.chatmode.md +118 -0
- package/assets/chatmodes/azure-verified-modules-bicep.chatmode.md +44 -0
- package/assets/chatmodes/azure-verified-modules-terraform.chatmode.md +58 -0
- package/assets/chatmodes/bicep-implement.chatmode.md +40 -0
- package/assets/chatmodes/bicep-plan.chatmode.md +112 -0
- package/assets/chatmodes/blueprint-mode-codex.chatmode.md +110 -0
- package/assets/chatmodes/blueprint-mode.chatmode.md +171 -0
- package/assets/chatmodes/clojure-interactive-programming.chatmode.md +174 -0
- package/assets/chatmodes/code-tour.chatmode.md +205 -0
- package/assets/chatmodes/critical-thinking.chatmode.md +23 -0
- package/assets/chatmodes/csharp-dotnet-janitor.chatmode.md +83 -0
- package/assets/chatmodes/csharp-mcp-expert.chatmode.md +69 -0
- package/assets/chatmodes/debug.chatmode.md +79 -0
- package/assets/chatmodes/declarative-agents-architect.chatmode.md +76 -0
- package/assets/chatmodes/demonstrate-understanding.chatmode.md +60 -0
- package/assets/chatmodes/dotnet-upgrade.chatmode.md +222 -0
- package/assets/chatmodes/drupal-expert.chatmode.md +687 -0
- package/assets/chatmodes/electron-angular-native.chatmode.md +285 -0
- package/assets/chatmodes/expert-cpp-software-engineer.chatmode.md +27 -0
- package/assets/chatmodes/expert-dotnet-software-engineer.chatmode.md +22 -0
- package/assets/chatmodes/expert-nextjs-developer.chatmode.md +477 -0
- package/assets/chatmodes/expert-react-frontend-engineer.chatmode.md +738 -0
- package/assets/chatmodes/gilfoyle.chatmode.md +66 -0
- package/assets/chatmodes/go-mcp-expert.chatmode.md +122 -0
- package/assets/chatmodes/gpt-5-beast-mode.chatmode.md +109 -0
- package/assets/chatmodes/hlbpa.chatmode.md +232 -0
- package/assets/chatmodes/implementation-plan.chatmode.md +159 -0
- package/assets/chatmodes/janitor.chatmode.md +89 -0
- package/assets/chatmodes/java-mcp-expert.chatmode.md +325 -0
- package/assets/chatmodes/kotlin-mcp-expert.chatmode.md +181 -0
- package/assets/chatmodes/kusto-assistant.chatmode.md +143 -0
- package/assets/chatmodes/laravel-expert-agent.chatmode.md +628 -0
- package/assets/chatmodes/mentor.chatmode.md +32 -0
- package/assets/chatmodes/meta-agentic-project-scaffold.chatmode.md +15 -0
- package/assets/chatmodes/microsoft-agent-framework-dotnet.chatmode.md +62 -0
- package/assets/chatmodes/microsoft-agent-framework-python.chatmode.md +62 -0
- package/assets/chatmodes/microsoft-study-mode.chatmode.md +32 -0
- package/assets/chatmodes/microsoft_learn_contributor.chatmode.md +388 -0
- package/assets/chatmodes/ms-sql-dba.chatmode.md +25 -0
- package/assets/chatmodes/php-mcp-expert.chatmode.md +498 -0
- package/assets/chatmodes/pimcore-expert.chatmode.md +869 -0
- package/assets/chatmodes/plan.chatmode.md +114 -0
- package/assets/chatmodes/planner.chatmode.md +14 -0
- package/assets/chatmodes/playwright-tester.chatmode.md +13 -0
- package/assets/chatmodes/postgresql-dba.chatmode.md +17 -0
- package/assets/chatmodes/power-bi-data-modeling-expert.chatmode.md +319 -0
- package/assets/chatmodes/power-bi-dax-expert.chatmode.md +334 -0
- package/assets/chatmodes/power-bi-performance-expert.chatmode.md +533 -0
- package/assets/chatmodes/power-bi-visualization-expert.chatmode.md +549 -0
- package/assets/chatmodes/power-platform-expert.chatmode.md +116 -0
- package/assets/chatmodes/power-platform-mcp-integration-expert.chatmode.md +149 -0
- package/assets/chatmodes/prd.chatmode.md +201 -0
- package/assets/chatmodes/principal-software-engineer.chatmode.md +41 -0
- package/assets/chatmodes/prompt-builder.chatmode.md +352 -0
- package/assets/chatmodes/prompt-engineer.chatmode.md +72 -0
- package/assets/chatmodes/python-mcp-expert.chatmode.md +99 -0
- package/assets/chatmodes/refine-issue.chatmode.md +34 -0
- package/assets/chatmodes/research-technical-spike.chatmode.md +169 -0
- package/assets/chatmodes/ruby-mcp-expert.chatmode.md +346 -0
- package/assets/chatmodes/rust-gpt-4.1-beast-mode.chatmode.md +197 -0
- package/assets/chatmodes/rust-mcp-expert.chatmode.md +465 -0
- package/assets/chatmodes/search-ai-optimization-expert.chatmode.md +227 -0
- package/assets/chatmodes/semantic-kernel-dotnet.chatmode.md +31 -0
- package/assets/chatmodes/semantic-kernel-python.chatmode.md +28 -0
- package/assets/chatmodes/shopify-expert.chatmode.md +681 -0
- package/assets/chatmodes/simple-app-idea-generator.chatmode.md +134 -0
- package/assets/chatmodes/software-engineer-agent-v1.chatmode.md +164 -0
- package/assets/chatmodes/specification.chatmode.md +127 -0
- package/assets/chatmodes/swift-mcp-expert.chatmode.md +240 -0
- package/assets/chatmodes/task-planner.chatmode.md +374 -0
- package/assets/chatmodes/task-researcher.chatmode.md +254 -0
- package/assets/chatmodes/tdd-green.chatmode.md +59 -0
- package/assets/chatmodes/tdd-red.chatmode.md +59 -0
- package/assets/chatmodes/tdd-refactor.chatmode.md +84 -0
- package/assets/chatmodes/tech-debt-remediation-plan.chatmode.md +49 -0
- package/assets/chatmodes/terraform-azure-implement.chatmode.md +104 -0
- package/assets/chatmodes/terraform-azure-planning.chatmode.md +157 -0
- package/assets/chatmodes/typescript-mcp-expert.chatmode.md +91 -0
- package/assets/chatmodes/voidbeast-gpt41enhanced.chatmode.md +230 -0
- package/assets/chatmodes/wg-code-alchemist.chatmode.md +61 -0
- package/assets/chatmodes/wg-code-sentinel.chatmode.md +55 -0
- package/assets/collections/ai-prompt-engineering.json +18 -0
- package/assets/collections/angular-development.json +7 -0
- package/assets/collections/azure-cloud-architect.json +29 -0
- package/assets/collections/cpp-development.json +6 -0
- package/assets/collections/database-administration.json +8 -0
- package/assets/collections/devops-sre.json +11 -0
- package/assets/collections/dotnet-development.json +22 -0
- package/assets/collections/general-productivity.json +9 -0
- package/assets/collections/go-development.json +7 -0
- package/assets/collections/java-spring-developer.json +26 -0
- package/assets/collections/learning-mentoring.json +10 -0
- package/assets/collections/legacy-migration.json +4 -0
- package/assets/collections/mcp-specialist.json +41 -0
- package/assets/collections/mobile-development.json +4 -0
- package/assets/collections/php-cms-development.json +11 -0
- package/assets/collections/power-platform-specialist.json +31 -0
- package/assets/collections/project-management.json +12 -0
- package/assets/collections/python-development.json +13 -0
- package/assets/collections/quality-assurance.json +13 -0
- package/assets/collections/ruby-development.json +9 -0
- package/assets/collections/rust-development.json +10 -0
- package/assets/collections/security-specialist.json +8 -0
- package/assets/collections/software-architect.json +25 -0
- package/assets/collections/technical-writing.json +9 -0
- package/assets/collections/web-frontend-development.json +14 -0
- package/assets/instructions/a11y.instructions.md +369 -0
- package/assets/instructions/ai-prompt-engineering-safety-best-practices.instructions.md +867 -0
- package/assets/instructions/angular.instructions.md +104 -0
- package/assets/instructions/ansible.instructions.md +88 -0
- package/assets/instructions/aspnet-rest-apis.instructions.md +110 -0
- package/assets/instructions/astro.instructions.md +182 -0
- package/assets/instructions/azure-devops-pipelines.instructions.md +185 -0
- package/assets/instructions/azure-functions-typescript.instructions.md +14 -0
- package/assets/instructions/azure-logic-apps-power-automate.instructions.md +1943 -0
- package/assets/instructions/azure-verified-modules-terraform.instructions.md +229 -0
- package/assets/instructions/bicep-code-best-practices.instructions.md +54 -0
- package/assets/instructions/blazor.instructions.md +77 -0
- package/assets/instructions/clojure.instructions.md +349 -0
- package/assets/instructions/cmake-vcpkg.instructions.md +10 -0
- package/assets/instructions/codexer.instructions.md +428 -0
- package/assets/instructions/coldfusion-cfc.instructions.md +30 -0
- package/assets/instructions/coldfusion-cfm.instructions.md +28 -0
- package/assets/instructions/collections.instructions.md +54 -0
- package/assets/instructions/containerization-docker-best-practices.instructions.md +681 -0
- package/assets/instructions/convert-jpa-to-spring-data-cosmos.instructions.md +949 -0
- package/assets/instructions/copilot-thought-logging.instructions.md +62 -0
- package/assets/instructions/csharp-ja.instructions.md +114 -0
- package/assets/instructions/csharp-ko.instructions.md +77 -0
- package/assets/instructions/csharp-mcp-server.instructions.md +95 -0
- package/assets/instructions/csharp.instructions.md +114 -0
- package/assets/instructions/dart-n-flutter.instructions.md +447 -0
- package/assets/instructions/declarative-agents-microsoft365.instructions.md +316 -0
- package/assets/instructions/devbox-image-definition.instructions.md +302 -0
- package/assets/instructions/devops-core-principles.instructions.md +167 -0
- package/assets/instructions/dotnet-architecture-good-practices.instructions.md +279 -0
- package/assets/instructions/dotnet-framework.instructions.md +113 -0
- package/assets/instructions/dotnet-maui-9-to-dotnet-maui-10-upgrade.instructions.md +1922 -0
- package/assets/instructions/dotnet-maui.instructions.md +69 -0
- package/assets/instructions/dotnet-upgrade.instructions.md +287 -0
- package/assets/instructions/dotnet-wpf.instructions.md +79 -0
- package/assets/instructions/genaiscript.instructions.md +21 -0
- package/assets/instructions/generate-modern-terraform-code-for-azure.instructions.md +82 -0
- package/assets/instructions/gilfoyle-code-review.instructions.md +114 -0
- package/assets/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
- package/assets/instructions/go-mcp-server.instructions.md +346 -0
- package/assets/instructions/go.instructions.md +373 -0
- package/assets/instructions/instructions.instructions.md +256 -0
- package/assets/instructions/java-11-to-java-17-upgrade.instructions.md +793 -0
- package/assets/instructions/java-17-to-java-21-upgrade.instructions.md +464 -0
- package/assets/instructions/java-21-to-java-25-upgrade.instructions.md +311 -0
- package/assets/instructions/java-mcp-server.instructions.md +553 -0
- package/assets/instructions/java.instructions.md +81 -0
- package/assets/instructions/joyride-user-project.instructions.md +206 -0
- package/assets/instructions/joyride-workspace-automation.instructions.md +46 -0
- package/assets/instructions/kotlin-mcp-server.instructions.md +481 -0
- package/assets/instructions/kubernetes-deployment-best-practices.instructions.md +307 -0
- package/assets/instructions/langchain-python.instructions.md +229 -0
- package/assets/instructions/localization.instructions.md +39 -0
- package/assets/instructions/makefile.instructions.md +410 -0
- package/assets/instructions/markdown.instructions.md +52 -0
- package/assets/instructions/memory-bank.instructions.md +299 -0
- package/assets/instructions/mongo-dba.instructions.md +25 -0
- package/assets/instructions/ms-sql-dba.instructions.md +25 -0
- package/assets/instructions/nestjs.instructions.md +406 -0
- package/assets/instructions/nextjs-tailwind.instructions.md +72 -0
- package/assets/instructions/nextjs.instructions.md +143 -0
- package/assets/instructions/nodejs-javascript-vitest.instructions.md +30 -0
- package/assets/instructions/object-calisthenics.instructions.md +302 -0
- package/assets/instructions/oqtane.instructions.md +86 -0
- package/assets/instructions/performance-optimization.instructions.md +420 -0
- package/assets/instructions/php-mcp-server.instructions.md +809 -0
- package/assets/instructions/playwright-dotnet.instructions.md +101 -0
- package/assets/instructions/playwright-python.instructions.md +62 -0
- package/assets/instructions/playwright-typescript.instructions.md +86 -0
- package/assets/instructions/power-apps-canvas-yaml.instructions.md +827 -0
- package/assets/instructions/power-apps-code-apps.instructions.md +601 -0
- package/assets/instructions/power-bi-custom-visuals-development.instructions.md +810 -0
- package/assets/instructions/power-bi-data-modeling-best-practices.instructions.md +639 -0
- package/assets/instructions/power-bi-dax-best-practices.instructions.md +795 -0
- package/assets/instructions/power-bi-devops-alm-best-practices.instructions.md +623 -0
- package/assets/instructions/power-bi-report-design-best-practices.instructions.md +752 -0
- package/assets/instructions/power-bi-security-rls-best-practices.instructions.md +504 -0
- package/assets/instructions/power-platform-connector.instructions.md +430 -0
- package/assets/instructions/power-platform-mcp-development.instructions.md +88 -0
- package/assets/instructions/powershell-pester-5.instructions.md +197 -0
- package/assets/instructions/powershell.instructions.md +356 -0
- package/assets/instructions/prompt.instructions.md +73 -0
- package/assets/instructions/python-mcp-server.instructions.md +204 -0
- package/assets/instructions/python.instructions.md +56 -0
- package/assets/instructions/quarkus-mcp-server-sse.instructions.md +49 -0
- package/assets/instructions/quarkus.instructions.md +98 -0
- package/assets/instructions/r.instructions.md +116 -0
- package/assets/instructions/reactjs.instructions.md +162 -0
- package/assets/instructions/ruby-mcp-server.instructions.md +629 -0
- package/assets/instructions/ruby-on-rails.instructions.md +124 -0
- package/assets/instructions/rust-mcp-server.instructions.md +715 -0
- package/assets/instructions/rust.instructions.md +135 -0
- package/assets/instructions/security-and-owasp.instructions.md +51 -0
- package/assets/instructions/self-explanatory-code-commenting.instructions.md +162 -0
- package/assets/instructions/shell.instructions.md +132 -0
- package/assets/instructions/spec-driven-workflow-v1.instructions.md +323 -0
- package/assets/instructions/springboot.instructions.md +68 -0
- package/assets/instructions/sql-sp-generation.instructions.md +74 -0
- package/assets/instructions/svelte.instructions.md +161 -0
- package/assets/instructions/swift-mcp-server.instructions.md +498 -0
- package/assets/instructions/taming-copilot.instructions.md +40 -0
- package/assets/instructions/tanstack-start-shadcn-tailwind.instructions.md +212 -0
- package/assets/instructions/task-implementation.instructions.md +190 -0
- package/assets/instructions/tasksync.instructions.md +352 -0
- package/assets/instructions/terraform-azure.instructions.md +254 -0
- package/assets/instructions/terraform-sap-btp.instructions.md +195 -0
- package/assets/instructions/terraform.instructions.md +113 -0
- package/assets/instructions/typescript-5-es2022.instructions.md +114 -0
- package/assets/instructions/typescript-mcp-server.instructions.md +228 -0
- package/assets/instructions/update-code-from-shorthand.instructions.md +130 -0
- package/assets/instructions/vuejs3.instructions.md +153 -0
- package/assets/instructions/wordpress.instructions.md +186 -0
- package/assets/prompts/add-educational-comments.prompt.md +129 -0
- package/assets/prompts/ai-prompt-engineering-safety-review.prompt.md +230 -0
- package/assets/prompts/architecture-blueprint-generator.prompt.md +322 -0
- package/assets/prompts/aspnet-minimal-api-openapi.prompt.md +42 -0
- package/assets/prompts/az-cost-optimize.prompt.md +305 -0
- package/assets/prompts/azure-resource-health-diagnose.prompt.md +290 -0
- package/assets/prompts/boost-prompt.prompt.md +25 -0
- package/assets/prompts/breakdown-epic-arch.prompt.md +66 -0
- package/assets/prompts/breakdown-epic-pm.prompt.md +58 -0
- package/assets/prompts/breakdown-feature-implementation.prompt.md +128 -0
- package/assets/prompts/breakdown-feature-prd.prompt.md +61 -0
- package/assets/prompts/breakdown-plan.prompt.md +509 -0
- package/assets/prompts/breakdown-test.prompt.md +365 -0
- package/assets/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
- package/assets/prompts/comment-code-generate-a-tutorial.prompt.md +26 -0
- package/assets/prompts/containerize-aspnet-framework.prompt.md +455 -0
- package/assets/prompts/containerize-aspnetcore.prompt.md +393 -0
- package/assets/prompts/conventional-commit.prompt.md +73 -0
- package/assets/prompts/copilot-instructions-blueprint-generator.prompt.md +294 -0
- package/assets/prompts/cosmosdb-datamodeling.prompt.md +1045 -0
- package/assets/prompts/create-agentsmd.prompt.md +249 -0
- package/assets/prompts/create-architectural-decision-record.prompt.md +97 -0
- package/assets/prompts/create-github-action-workflow-specification.prompt.md +276 -0
- package/assets/prompts/create-github-issue-feature-from-specification.prompt.md +28 -0
- package/assets/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
- package/assets/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +35 -0
- package/assets/prompts/create-github-pull-request-from-specification.prompt.md +24 -0
- package/assets/prompts/create-implementation-plan.prompt.md +157 -0
- package/assets/prompts/create-llms.prompt.md +210 -0
- package/assets/prompts/create-oo-component-documentation.prompt.md +193 -0
- package/assets/prompts/create-readme.prompt.md +21 -0
- package/assets/prompts/create-specification.prompt.md +127 -0
- package/assets/prompts/create-spring-boot-java-project.prompt.md +163 -0
- package/assets/prompts/create-spring-boot-kotlin-project.prompt.md +147 -0
- package/assets/prompts/create-technical-spike.prompt.md +231 -0
- package/assets/prompts/csharp-async.prompt.md +50 -0
- package/assets/prompts/csharp-docs.prompt.md +63 -0
- package/assets/prompts/csharp-mcp-server-generator.prompt.md +59 -0
- package/assets/prompts/csharp-mstest.prompt.md +67 -0
- package/assets/prompts/csharp-nunit.prompt.md +72 -0
- package/assets/prompts/csharp-tunit.prompt.md +101 -0
- package/assets/prompts/csharp-xunit.prompt.md +69 -0
- package/assets/prompts/declarative-agents.prompt.md +93 -0
- package/assets/prompts/documentation-writer.prompt.md +46 -0
- package/assets/prompts/dotnet-best-practices.prompt.md +84 -0
- package/assets/prompts/dotnet-design-pattern-review.prompt.md +41 -0
- package/assets/prompts/dotnet-upgrade.prompt.md +116 -0
- package/assets/prompts/editorconfig.prompt.md +64 -0
- package/assets/prompts/ef-core.prompt.md +76 -0
- package/assets/prompts/finalize-agent-prompt.prompt.md +27 -0
- package/assets/prompts/first-ask.prompt.md +29 -0
- package/assets/prompts/folder-structure-blueprint-generator.prompt.md +405 -0
- package/assets/prompts/gen-specs-as-issues.prompt.md +165 -0
- package/assets/prompts/generate-custom-instructions-from-codebase.prompt.md +240 -0
- package/assets/prompts/git-flow-branch-creator.prompt.md +293 -0
- package/assets/prompts/github-copilot-starter.prompt.md +372 -0
- package/assets/prompts/go-mcp-server-generator.prompt.md +334 -0
- package/assets/prompts/java-docs.prompt.md +24 -0
- package/assets/prompts/java-junit.prompt.md +64 -0
- package/assets/prompts/java-mcp-server-generator.prompt.md +756 -0
- package/assets/prompts/java-refactoring-extract-method.prompt.md +105 -0
- package/assets/prompts/java-refactoring-remove-parameter.prompt.md +85 -0
- package/assets/prompts/java-springboot.prompt.md +66 -0
- package/assets/prompts/javascript-typescript-jest.prompt.md +44 -0
- package/assets/prompts/kotlin-mcp-server-generator.prompt.md +449 -0
- package/assets/prompts/kotlin-springboot.prompt.md +71 -0
- package/assets/prompts/mcp-copilot-studio-server-generator.prompt.md +118 -0
- package/assets/prompts/memory-merger.prompt.md +107 -0
- package/assets/prompts/mkdocs-translations.prompt.md +110 -0
- package/assets/prompts/model-recommendation.prompt.md +677 -0
- package/assets/prompts/multi-stage-dockerfile.prompt.md +47 -0
- package/assets/prompts/my-issues.prompt.md +9 -0
- package/assets/prompts/my-pull-requests.prompt.md +15 -0
- package/assets/prompts/next-intl-add-language.prompt.md +20 -0
- package/assets/prompts/php-mcp-server-generator.prompt.md +522 -0
- package/assets/prompts/playwright-automation-fill-in-form.prompt.md +30 -0
- package/assets/prompts/playwright-explore-website.prompt.md +19 -0
- package/assets/prompts/playwright-generate-test.prompt.md +19 -0
- package/assets/prompts/postgresql-code-review.prompt.md +214 -0
- package/assets/prompts/postgresql-optimization.prompt.md +406 -0
- package/assets/prompts/power-apps-code-app-scaffold.prompt.md +150 -0
- package/assets/prompts/power-bi-dax-optimization.prompt.md +175 -0
- package/assets/prompts/power-bi-model-design-review.prompt.md +405 -0
- package/assets/prompts/power-bi-performance-troubleshooting.prompt.md +384 -0
- package/assets/prompts/power-bi-report-design-consultation.prompt.md +353 -0
- package/assets/prompts/power-platform-mcp-connector-suite.prompt.md +156 -0
- package/assets/prompts/project-workflow-analysis-blueprint-generator.prompt.md +294 -0
- package/assets/prompts/prompt-builder.prompt.md +142 -0
- package/assets/prompts/pytest-coverage.prompt.md +28 -0
- package/assets/prompts/python-mcp-server-generator.prompt.md +105 -0
- package/assets/prompts/readme-blueprint-generator.prompt.md +79 -0
- package/assets/prompts/remember-interactive-programming.prompt.md +13 -0
- package/assets/prompts/remember.prompt.md +125 -0
- package/assets/prompts/repo-story-time.prompt.md +156 -0
- package/assets/prompts/review-and-refactor.prompt.md +15 -0
- package/assets/prompts/ruby-mcp-server-generator.prompt.md +660 -0
- package/assets/prompts/rust-mcp-server-generator.prompt.md +578 -0
- package/assets/prompts/shuffle-json-data.prompt.md +151 -0
- package/assets/prompts/sql-code-review.prompt.md +303 -0
- package/assets/prompts/sql-optimization.prompt.md +298 -0
- package/assets/prompts/suggest-awesome-github-copilot-agents.prompt.md +72 -0
- package/assets/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +71 -0
- package/assets/prompts/suggest-awesome-github-copilot-collections.prompt.md +149 -0
- package/assets/prompts/suggest-awesome-github-copilot-instructions.prompt.md +88 -0
- package/assets/prompts/suggest-awesome-github-copilot-prompts.prompt.md +71 -0
- package/assets/prompts/swift-mcp-server-generator.prompt.md +669 -0
- package/assets/prompts/technology-stack-blueprint-generator.prompt.md +242 -0
- package/assets/prompts/typescript-mcp-server-generator.prompt.md +90 -0
- package/assets/prompts/update-avm-modules-in-bicep.prompt.md +60 -0
- package/assets/prompts/update-implementation-plan.prompt.md +157 -0
- package/assets/prompts/update-llms.prompt.md +216 -0
- package/assets/prompts/update-markdown-file-index.prompt.md +76 -0
- package/assets/prompts/update-oo-component-documentation.prompt.md +162 -0
- package/assets/prompts/update-specification.prompt.md +127 -0
- package/assets/prompts/write-coding-standards-from-file.prompt.md +316 -0
- package/bin/cli.js +200 -0
- package/package.json +53 -0
- package/scripts/sync.js +99 -0
- package/verdaccio/config.yaml +202 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Update the llms.txt file in the root folder to reflect changes in documentation or specifications following the llms.txt specification at https://llmstxt.org/'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
|
5
|
+
---
|
|
6
|
+
# Update LLMs.txt File
|
|
7
|
+
|
|
8
|
+
Update the existing `llms.txt` file in the root of the repository to reflect changes in documentation, specifications, or repository structure. This file provides high-level guidance to large language models (LLMs) on where to find relevant content for understanding the repository's purpose and specifications.
|
|
9
|
+
|
|
10
|
+
## Primary Directive
|
|
11
|
+
|
|
12
|
+
Update the existing `llms.txt` file to maintain accuracy and compliance with the llms.txt specification while reflecting current repository structure and content. The file must remain optimized for LLM consumption while staying human-readable.
|
|
13
|
+
|
|
14
|
+
## Analysis and Planning Phase
|
|
15
|
+
|
|
16
|
+
Before updating the `llms.txt` file, you must complete a thorough analysis:
|
|
17
|
+
|
|
18
|
+
### Step 1: Review Current File and Specification
|
|
19
|
+
- Read the existing `llms.txt` file to understand current structure
|
|
20
|
+
- Review the official specification at https://llmstxt.org/ to ensure continued compliance
|
|
21
|
+
- Identify areas that may need updates based on repository changes
|
|
22
|
+
|
|
23
|
+
### Step 2: Repository Structure Analysis
|
|
24
|
+
- Examine the current repository structure using appropriate tools
|
|
25
|
+
- Compare current structure with what's documented in existing `llms.txt`
|
|
26
|
+
- Identify new directories, files, or documentation that should be included
|
|
27
|
+
- Note any removed or relocated files that need to be updated
|
|
28
|
+
|
|
29
|
+
### Step 3: Content Discovery and Change Detection
|
|
30
|
+
- Identify new README files and their locations
|
|
31
|
+
- Find new documentation files (`.md` files in `/docs/`, `/spec/`, etc.)
|
|
32
|
+
- Locate new specification files and their purposes
|
|
33
|
+
- Discover new configuration files and their relevance
|
|
34
|
+
- Find new example files and code samples
|
|
35
|
+
- Identify any changes to existing documentation structure
|
|
36
|
+
|
|
37
|
+
### Step 4: Create Update Plan
|
|
38
|
+
Based on your analysis, create a structured plan that includes:
|
|
39
|
+
- Changes needed to maintain accuracy
|
|
40
|
+
- New files to be added to the llms.txt
|
|
41
|
+
- Outdated references to be removed or updated
|
|
42
|
+
- Organizational improvements to maintain clarity
|
|
43
|
+
|
|
44
|
+
## Implementation Requirements
|
|
45
|
+
|
|
46
|
+
### Format Compliance
|
|
47
|
+
The updated `llms.txt` file must maintain this exact structure per the specification:
|
|
48
|
+
|
|
49
|
+
1. **H1 Header**: Single line with repository/project name (required)
|
|
50
|
+
2. **Blockquote Summary**: Brief description in blockquote format (optional but recommended)
|
|
51
|
+
3. **Additional Details**: Zero or more markdown sections without headings for context
|
|
52
|
+
4. **File List Sections**: Zero or more H2 sections containing markdown lists of links
|
|
53
|
+
|
|
54
|
+
### Content Requirements
|
|
55
|
+
|
|
56
|
+
#### Required Elements
|
|
57
|
+
- **Project Name**: Clear, descriptive title as H1
|
|
58
|
+
- **Summary**: Concise blockquote explaining the repository's purpose
|
|
59
|
+
- **Key Files**: Essential files organized by category (H2 sections)
|
|
60
|
+
|
|
61
|
+
#### File Link Format
|
|
62
|
+
Each file link must follow: `[descriptive-name](relative-url): optional description`
|
|
63
|
+
|
|
64
|
+
#### Section Organization
|
|
65
|
+
Organize files into logical H2 sections such as:
|
|
66
|
+
- **Documentation**: Core documentation files
|
|
67
|
+
- **Specifications**: Technical specifications and requirements
|
|
68
|
+
- **Examples**: Sample code and usage examples
|
|
69
|
+
- **Configuration**: Setup and configuration files
|
|
70
|
+
- **Optional**: Secondary files (special meaning - can be skipped for shorter context)
|
|
71
|
+
|
|
72
|
+
### Content Guidelines
|
|
73
|
+
|
|
74
|
+
#### Language and Style
|
|
75
|
+
- Use concise, clear, unambiguous language
|
|
76
|
+
- Avoid jargon without explanation
|
|
77
|
+
- Write for both human and LLM readers
|
|
78
|
+
- Be specific and informative in descriptions
|
|
79
|
+
|
|
80
|
+
#### File Selection Criteria
|
|
81
|
+
Include files that:
|
|
82
|
+
- Explain the repository's purpose and scope
|
|
83
|
+
- Provide essential technical documentation
|
|
84
|
+
- Show usage examples and patterns
|
|
85
|
+
- Define interfaces and specifications
|
|
86
|
+
- Contain configuration and setup instructions
|
|
87
|
+
|
|
88
|
+
Exclude files that:
|
|
89
|
+
- Are purely implementation details
|
|
90
|
+
- Contain redundant information
|
|
91
|
+
- Are build artifacts or generated content
|
|
92
|
+
- Are not relevant to understanding the project
|
|
93
|
+
|
|
94
|
+
## Execution Steps
|
|
95
|
+
|
|
96
|
+
### Step 1: Current State Analysis
|
|
97
|
+
1. Read the existing `llms.txt` file thoroughly
|
|
98
|
+
2. Examine the current repository structure completely
|
|
99
|
+
3. Compare existing file references with actual repository content
|
|
100
|
+
4. Identify outdated, missing, or incorrect references
|
|
101
|
+
5. Note any structural issues with the current file
|
|
102
|
+
|
|
103
|
+
### Step 2: Content Planning
|
|
104
|
+
1. Determine if the primary purpose statement needs updates
|
|
105
|
+
2. Review and update the summary blockquote if needed
|
|
106
|
+
3. Plan additions for new files and directories
|
|
107
|
+
4. Plan removals for outdated or moved content
|
|
108
|
+
5. Reorganize sections if needed for better clarity
|
|
109
|
+
|
|
110
|
+
### Step 3: File Updates
|
|
111
|
+
1. Update the existing `llms.txt` file in the repository root
|
|
112
|
+
2. Maintain compliance with the exact format specification
|
|
113
|
+
3. Add new file references with appropriate descriptions
|
|
114
|
+
4. Remove or update outdated references
|
|
115
|
+
5. Ensure all links are valid relative paths
|
|
116
|
+
|
|
117
|
+
### Step 4: Validation
|
|
118
|
+
1. Verify continued compliance with https://llmstxt.org/ specification
|
|
119
|
+
2. Check that all links are valid and accessible
|
|
120
|
+
3. Ensure the file still serves as an effective LLM navigation tool
|
|
121
|
+
4. Confirm the file remains both human and machine readable
|
|
122
|
+
|
|
123
|
+
## Quality Assurance
|
|
124
|
+
|
|
125
|
+
### Format Validation
|
|
126
|
+
- ✅ H1 header with project name
|
|
127
|
+
- ✅ Blockquote summary (if included)
|
|
128
|
+
- ✅ H2 sections for file lists
|
|
129
|
+
- ✅ Proper markdown link format
|
|
130
|
+
- ✅ No broken or invalid links
|
|
131
|
+
- ✅ Consistent formatting throughout
|
|
132
|
+
|
|
133
|
+
### Content Validation
|
|
134
|
+
- ✅ Clear, unambiguous language
|
|
135
|
+
- ✅ Comprehensive coverage of essential files
|
|
136
|
+
- ✅ Logical organization of content
|
|
137
|
+
- ✅ Appropriate file descriptions
|
|
138
|
+
- ✅ Serves as effective LLM navigation tool
|
|
139
|
+
|
|
140
|
+
### Specification Compliance
|
|
141
|
+
- ✅ Follows https://llmstxt.org/ format exactly
|
|
142
|
+
- ✅ Uses required markdown structure
|
|
143
|
+
- ✅ Implements optional sections appropriately
|
|
144
|
+
- ✅ File located at repository root (`/llms.txt`)
|
|
145
|
+
|
|
146
|
+
## Update Strategy
|
|
147
|
+
|
|
148
|
+
### Addition Process
|
|
149
|
+
When adding new content:
|
|
150
|
+
1. Identify the appropriate section for new files
|
|
151
|
+
2. Create clear, descriptive names for links
|
|
152
|
+
3. Write concise but informative descriptions
|
|
153
|
+
4. Maintain alphabetical or logical ordering within sections
|
|
154
|
+
5. Consider if new sections are needed for new content types
|
|
155
|
+
|
|
156
|
+
### Removal Process
|
|
157
|
+
When removing outdated content:
|
|
158
|
+
1. Verify files are actually removed or relocated
|
|
159
|
+
2. Check if relocated files should be updated rather than removed
|
|
160
|
+
3. Remove entire sections if they become empty
|
|
161
|
+
4. Update cross-references if needed
|
|
162
|
+
|
|
163
|
+
### Reorganization Process
|
|
164
|
+
When restructuring content:
|
|
165
|
+
1. Maintain logical flow from general to specific
|
|
166
|
+
2. Keep essential documentation in primary sections
|
|
167
|
+
3. Move secondary content to "Optional" section if appropriate
|
|
168
|
+
4. Ensure new organization improves LLM navigation
|
|
169
|
+
|
|
170
|
+
Example structure for `llms.txt`:
|
|
171
|
+
|
|
172
|
+
```txt
|
|
173
|
+
# [Repository Name]
|
|
174
|
+
|
|
175
|
+
> [Concise description of the repository's purpose and scope]
|
|
176
|
+
|
|
177
|
+
[Optional additional context paragraphs without headings]
|
|
178
|
+
|
|
179
|
+
## Documentation
|
|
180
|
+
|
|
181
|
+
- [Main README](README.md): Primary project documentation and getting started guide
|
|
182
|
+
- [Contributing Guide](CONTRIBUTING.md): Guidelines for contributing to the project
|
|
183
|
+
- [Code of Conduct](CODE_OF_CONDUCT.md): Community guidelines and expectations
|
|
184
|
+
|
|
185
|
+
## Specifications
|
|
186
|
+
|
|
187
|
+
- [Technical Specification](spec/technical-spec.md): Detailed technical requirements and constraints
|
|
188
|
+
- [API Specification](spec/api-spec.md): Interface definitions and data contracts
|
|
189
|
+
|
|
190
|
+
## Examples
|
|
191
|
+
|
|
192
|
+
- [Basic Example](examples/basic-usage.md): Simple usage demonstration
|
|
193
|
+
- [Advanced Example](examples/advanced-usage.md): Complex implementation patterns
|
|
194
|
+
|
|
195
|
+
## Configuration
|
|
196
|
+
|
|
197
|
+
- [Setup Guide](docs/setup.md): Installation and configuration instructions
|
|
198
|
+
- [Deployment Guide](docs/deployment.md): Production deployment guidelines
|
|
199
|
+
|
|
200
|
+
## Optional
|
|
201
|
+
|
|
202
|
+
- [Architecture Documentation](docs/architecture.md): Detailed system architecture
|
|
203
|
+
- [Design Decisions](docs/decisions.md): Historical design decision records
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Success Criteria
|
|
207
|
+
|
|
208
|
+
The updated `llms.txt` file should:
|
|
209
|
+
1. Accurately reflect the current repository structure and content
|
|
210
|
+
2. Maintain compliance with the llms.txt specification
|
|
211
|
+
3. Provide clear navigation to essential documentation
|
|
212
|
+
4. Remove outdated or incorrect references
|
|
213
|
+
5. Include new important files and documentation
|
|
214
|
+
6. Maintain logical organization for easy LLM consumption
|
|
215
|
+
7. Use clear, unambiguous language throughout
|
|
216
|
+
8. Continue to serve both human and machine readers effectively
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Update a markdown file section with an index/table of files from a specified folder.'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'openSimpleBrowser', 'problems', 'runCommands', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
|
5
|
+
---
|
|
6
|
+
# Update Markdown File Index
|
|
7
|
+
|
|
8
|
+
Update markdown file `${file}` with an index/table of files from folder `${input:folder}`.
|
|
9
|
+
|
|
10
|
+
## Process
|
|
11
|
+
|
|
12
|
+
1. **Scan**: Read the target markdown file `${file}` to understand existing structure
|
|
13
|
+
2. **Discover**: List all files in the specified folder `${input:folder}` matching pattern `${input:pattern}`
|
|
14
|
+
3. **Analyze**: Identify if an existing table/index section exists to update, or create new structure
|
|
15
|
+
4. **Structure**: Generate appropriate table/list format based on file types and existing content
|
|
16
|
+
5. **Update**: Replace existing section or add new section with file index
|
|
17
|
+
6. **Validate**: Ensure markdown syntax is valid and formatting is consistent
|
|
18
|
+
|
|
19
|
+
## File Analysis
|
|
20
|
+
|
|
21
|
+
For each discovered file, extract:
|
|
22
|
+
|
|
23
|
+
- **Name**: Filename with or without extension based on context
|
|
24
|
+
- **Type**: File extension and category (e.g., `.md`, `.js`, `.py`)
|
|
25
|
+
- **Description**: First line comment, header, or inferred purpose
|
|
26
|
+
- **Size**: File size for reference (optional)
|
|
27
|
+
- **Modified**: Last modified date (optional)
|
|
28
|
+
|
|
29
|
+
## Table Structure Options
|
|
30
|
+
|
|
31
|
+
Choose format based on file types and existing content:
|
|
32
|
+
|
|
33
|
+
### Option 1: Simple List
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
## Files in ${folder}
|
|
37
|
+
|
|
38
|
+
- [filename.ext](path/to/filename.ext) - Description
|
|
39
|
+
- [filename2.ext](path/to/filename2.ext) - Description
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Option 2: Detailed Table
|
|
43
|
+
|
|
44
|
+
| File | Type | Description |
|
|
45
|
+
|------|------|-------------|
|
|
46
|
+
| [filename.ext](path/to/filename.ext) | Extension | Description |
|
|
47
|
+
| [filename2.ext](path/to/filename2.ext) | Extension | Description |
|
|
48
|
+
|
|
49
|
+
### Option 3: Categorized Sections
|
|
50
|
+
|
|
51
|
+
Group files by type/category with separate sections or sub-tables.
|
|
52
|
+
|
|
53
|
+
## Update Strategy
|
|
54
|
+
|
|
55
|
+
- 🔄 **Update existing**: If table/index section exists, replace content while preserving structure
|
|
56
|
+
- ➕ **Add new**: If no existing section, create new section using best-fit format
|
|
57
|
+
- 📋 **Preserve**: Maintain existing markdown formatting, heading levels, and document flow
|
|
58
|
+
- 🔗 **Links**: Use relative paths for file links within the repository
|
|
59
|
+
|
|
60
|
+
## Section Identification
|
|
61
|
+
|
|
62
|
+
Look for existing sections with these patterns:
|
|
63
|
+
|
|
64
|
+
- Headings containing: "index", "files", "contents", "directory", "list"
|
|
65
|
+
- Tables with file-related columns
|
|
66
|
+
- Lists with file links
|
|
67
|
+
- HTML comments marking file index sections
|
|
68
|
+
|
|
69
|
+
## Requirements
|
|
70
|
+
|
|
71
|
+
- Preserve existing markdown structure and formatting
|
|
72
|
+
- Use relative paths for file links
|
|
73
|
+
- Include file descriptions when available
|
|
74
|
+
- Sort files alphabetically by default
|
|
75
|
+
- Handle special characters in filenames
|
|
76
|
+
- Validate all generated markdown syntax
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Update existing object-oriented component documentation following industry best practices and architectural documentation standards.'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
|
5
|
+
---
|
|
6
|
+
# Update Standard OO Component Documentation
|
|
7
|
+
|
|
8
|
+
Update the existing documentation file at: `${file}` by analyzing the corresponding component code.
|
|
9
|
+
|
|
10
|
+
Extract the component path from the existing documentation's front matter (`component_path` field) or infer it from the documentation content. Analyze the current component implementation and update the documentation accordingly.
|
|
11
|
+
|
|
12
|
+
**Documentation Standards:**
|
|
13
|
+
|
|
14
|
+
- DOC-001: Follow C4 Model documentation levels (Context, Containers, Components, Code)
|
|
15
|
+
- DOC-002: Align with Arc42 software architecture documentation template
|
|
16
|
+
- DOC-003: Comply with IEEE 1016 Software Design Description standard
|
|
17
|
+
- DOC-004: Use Agile Documentation principles (just enough documentation that adds value)
|
|
18
|
+
- DOC-005: Target developers and maintainers as primary audience
|
|
19
|
+
|
|
20
|
+
**Analysis Instructions:**
|
|
21
|
+
|
|
22
|
+
- ANA-001: Read existing documentation to understand component context and structure
|
|
23
|
+
- ANA-002: Identify component path from front matter or content analysis
|
|
24
|
+
- ANA-003: Examine current source code files for class structures and inheritance
|
|
25
|
+
- ANA-004: Compare existing documentation with current implementation
|
|
26
|
+
- ANA-005: Identify design patterns and architectural changes
|
|
27
|
+
- ANA-006: Update public APIs, interfaces, and dependencies
|
|
28
|
+
- ANA-007: Recognize new/changed creational/structural/behavioral patterns
|
|
29
|
+
- ANA-008: Update method parameters, return values, exceptions
|
|
30
|
+
- ANA-009: Reassess performance, security, reliability, maintainability
|
|
31
|
+
- ANA-010: Update integration patterns and data flow
|
|
32
|
+
|
|
33
|
+
**Language-Specific Optimizations:**
|
|
34
|
+
|
|
35
|
+
- LNG-001: **C#/.NET** - async/await, dependency injection, configuration, disposal
|
|
36
|
+
- LNG-002: **Java** - Spring framework, annotations, exception handling, packaging
|
|
37
|
+
- LNG-003: **TypeScript/JavaScript** - modules, async patterns, types, npm
|
|
38
|
+
- LNG-004: **Python** - packages, virtual environments, type hints, testing
|
|
39
|
+
|
|
40
|
+
**Update Strategy:**
|
|
41
|
+
|
|
42
|
+
- UPD-001: Preserve existing documentation structure and format
|
|
43
|
+
- UPD-002: Update `last_updated` field to current date
|
|
44
|
+
- UPD-003: Maintain version history in front matter if present
|
|
45
|
+
- UPD-004: Add new sections if component has significantly expanded
|
|
46
|
+
- UPD-005: Mark deprecated features or breaking changes
|
|
47
|
+
- UPD-006: Update examples to reflect current API
|
|
48
|
+
- UPD-007: Refresh dependency lists and versions
|
|
49
|
+
- UPD-008: Update mermaid diagrams to reflect current architecture
|
|
50
|
+
|
|
51
|
+
**Error Handling:**
|
|
52
|
+
|
|
53
|
+
- ERR-001: Documentation file doesn't exist - provide guidance on file location
|
|
54
|
+
- ERR-002: Component path not found in documentation - request clarification
|
|
55
|
+
- ERR-003: Source code has moved - suggest updated paths
|
|
56
|
+
- ERR-004: Major architectural changes - highlight breaking changes
|
|
57
|
+
- ERR-005: Insufficient access to source - document limitations
|
|
58
|
+
|
|
59
|
+
**Output Format:**
|
|
60
|
+
|
|
61
|
+
Update the existing Markdown file maintaining its structure while refreshing content to match current implementation. Preserve formatting, heading hierarchy, and existing organizational decisions.
|
|
62
|
+
|
|
63
|
+
**Required Documentation Structure:**
|
|
64
|
+
|
|
65
|
+
Update the existing documentation following the same template structure, ensuring all sections reflect current implementation:
|
|
66
|
+
|
|
67
|
+
```md
|
|
68
|
+
---
|
|
69
|
+
title: [Component Name] - Technical Documentation
|
|
70
|
+
component_path: [Current component path]
|
|
71
|
+
version: [Updated version if applicable]
|
|
72
|
+
date_created: [Original creation date - preserve]
|
|
73
|
+
last_updated: [YYYY-MM-DD - update to current date]
|
|
74
|
+
owner: [Preserve existing or update if changed]
|
|
75
|
+
tags: [Update tags as needed based on current functionality]
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
# [Component Name] Documentation
|
|
79
|
+
|
|
80
|
+
[Update introduction to reflect current component purpose and capabilities]
|
|
81
|
+
|
|
82
|
+
## 1. Component Overview
|
|
83
|
+
|
|
84
|
+
### Purpose/Responsibility
|
|
85
|
+
- OVR-001: Update component's primary responsibility
|
|
86
|
+
- OVR-002: Refresh scope (included/excluded functionality)
|
|
87
|
+
- OVR-003: Update system context and relationships
|
|
88
|
+
|
|
89
|
+
## 2. Architecture Section
|
|
90
|
+
|
|
91
|
+
- ARC-001: Update design patterns used (Repository, Factory, Observer, etc.)
|
|
92
|
+
- ARC-002: Refresh internal and external dependencies with current purposes
|
|
93
|
+
- ARC-003: Update component interactions and relationships
|
|
94
|
+
- ARC-004: Update visual diagrams (UML class, sequence, component)
|
|
95
|
+
- ARC-005: Refresh mermaid diagram showing current component structure, relationships, and dependencies
|
|
96
|
+
|
|
97
|
+
### Component Structure and Dependencies Diagram
|
|
98
|
+
|
|
99
|
+
Update the mermaid diagram to show current:
|
|
100
|
+
- **Component structure** - Current classes, interfaces, and their relationships
|
|
101
|
+
- **Internal dependencies** - How components currently interact within the system
|
|
102
|
+
- **External dependencies** - Current external libraries, services, databases, APIs
|
|
103
|
+
- **Data flow** - Current direction of dependencies and interactions
|
|
104
|
+
- **Inheritance/composition** - Current class hierarchies and composition relationships
|
|
105
|
+
|
|
106
|
+
```mermaid
|
|
107
|
+
[Update diagram to reflect current architecture]
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## 3. Interface Documentation
|
|
111
|
+
|
|
112
|
+
- INT-001: Update all public interfaces and current usage patterns
|
|
113
|
+
- INT-002: Refresh method/property reference table with current API
|
|
114
|
+
- INT-003: Update events/callbacks/notification mechanisms
|
|
115
|
+
|
|
116
|
+
| Method/Property | Purpose | Parameters | Return Type | Usage Notes |
|
|
117
|
+
|-----------------|---------|------------|-------------|-------------|
|
|
118
|
+
| [Update table with current API] | | | | |
|
|
119
|
+
|
|
120
|
+
## 4. Implementation Details
|
|
121
|
+
|
|
122
|
+
- IMP-001: Update main implementation classes and current responsibilities
|
|
123
|
+
- IMP-002: Refresh configuration requirements and initialization patterns
|
|
124
|
+
- IMP-003: Update key algorithms and business logic
|
|
125
|
+
- IMP-004: Update performance characteristics and bottlenecks
|
|
126
|
+
|
|
127
|
+
## 5. Usage Examples
|
|
128
|
+
|
|
129
|
+
### Basic Usage
|
|
130
|
+
|
|
131
|
+
```csharp
|
|
132
|
+
// Update basic usage example to current API
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
### Advanced Usage
|
|
136
|
+
|
|
137
|
+
```csharp
|
|
138
|
+
// Update advanced configuration patterns to current implementation
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
- USE-001: Update basic usage examples
|
|
142
|
+
- USE-002: Refresh advanced configuration patterns
|
|
143
|
+
- USE-003: Update best practices and recommended patterns
|
|
144
|
+
|
|
145
|
+
## 6. Quality Attributes
|
|
146
|
+
|
|
147
|
+
- QUA-001: Update security (authentication, authorization, data protection)
|
|
148
|
+
- QUA-002: Refresh performance (characteristics, scalability, resource usage)
|
|
149
|
+
- QUA-003: Update reliability (error handling, fault tolerance, recovery)
|
|
150
|
+
- QUA-004: Refresh maintainability (standards, testing, documentation)
|
|
151
|
+
- QUA-005: Update extensibility (extension points, customization options)
|
|
152
|
+
|
|
153
|
+
## 7. Reference Information
|
|
154
|
+
|
|
155
|
+
- REF-001: Update dependencies with current versions and purposes
|
|
156
|
+
- REF-002: Refresh configuration options reference
|
|
157
|
+
- REF-003: Update testing guidelines and mock setup
|
|
158
|
+
- REF-004: Refresh troubleshooting (common issues, error messages)
|
|
159
|
+
- REF-005: Update related documentation links
|
|
160
|
+
- REF-006: Add change history and migration notes for this update
|
|
161
|
+
|
|
162
|
+
```
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Update an existing specification file for the solution, optimized for Generative AI consumption based on new requirements or updates to any existing code.'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
|
5
|
+
---
|
|
6
|
+
# Update Specification
|
|
7
|
+
|
|
8
|
+
Your goal is to update the existing specification file `${file}` based on new requirements or updates to any existing code.
|
|
9
|
+
|
|
10
|
+
The specification file must define the requirements, constraints, and interfaces for the solution components in a manner that is clear, unambiguous, and structured for effective use by Generative AIs. Follow established documentation standards and ensure the content is machine-readable and self-contained.
|
|
11
|
+
|
|
12
|
+
## Best Practices for AI-Ready Specifications
|
|
13
|
+
|
|
14
|
+
- Use precise, explicit, and unambiguous language.
|
|
15
|
+
- Clearly distinguish between requirements, constraints, and recommendations.
|
|
16
|
+
- Use structured formatting (headings, lists, tables) for easy parsing.
|
|
17
|
+
- Avoid idioms, metaphors, or context-dependent references.
|
|
18
|
+
- Define all acronyms and domain-specific terms.
|
|
19
|
+
- Include examples and edge cases where applicable.
|
|
20
|
+
- Ensure the document is self-contained and does not rely on external context.
|
|
21
|
+
|
|
22
|
+
The specification should be saved in the [/spec/](/spec/) directory and named according to the following convention: `[a-z0-9-]+.md`, where the name should be descriptive of the specification's content and starting with the highlevel purpose, which is one of [schema, tool, data, infrastructure, process, architecture, or design].
|
|
23
|
+
|
|
24
|
+
The specification file must be formatted in well formed Markdown.
|
|
25
|
+
|
|
26
|
+
Specification files must follow the template below, ensuring that all sections are filled out appropriately. The front matter for the markdown should be structured correctly as per the example following:
|
|
27
|
+
|
|
28
|
+
```md
|
|
29
|
+
---
|
|
30
|
+
title: [Concise Title Describing the Specification's Focus]
|
|
31
|
+
version: [Optional: e.g., 1.0, Date]
|
|
32
|
+
date_created: [YYYY-MM-DD]
|
|
33
|
+
last_updated: [Optional: YYYY-MM-DD]
|
|
34
|
+
owner: [Optional: Team/Individual responsible for this spec]
|
|
35
|
+
tags: [Optional: List of relevant tags or categories, e.g., `infrastructure`, `process`, `design`, `app` etc]
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
# Introduction
|
|
39
|
+
|
|
40
|
+
[A short concise introduction to the specification and the goal it is intended to achieve.]
|
|
41
|
+
|
|
42
|
+
## 1. Purpose & Scope
|
|
43
|
+
|
|
44
|
+
[Provide a clear, concise description of the specification's purpose and the scope of its application. State the intended audience and any assumptions.]
|
|
45
|
+
|
|
46
|
+
## 2. Definitions
|
|
47
|
+
|
|
48
|
+
[List and define all acronyms, abbreviations, and domain-specific terms used in this specification.]
|
|
49
|
+
|
|
50
|
+
## 3. Requirements, Constraints & Guidelines
|
|
51
|
+
|
|
52
|
+
[Explicitly list all requirements, constraints, rules, and guidelines. Use bullet points or tables for clarity.]
|
|
53
|
+
|
|
54
|
+
- **REQ-001**: Requirement 1
|
|
55
|
+
- **SEC-001**: Security Requirement 1
|
|
56
|
+
- **[3 LETTERS]-001**: Other Requirement 1
|
|
57
|
+
- **CON-001**: Constraint 1
|
|
58
|
+
- **GUD-001**: Guideline 1
|
|
59
|
+
- **PAT-001**: Pattern to follow 1
|
|
60
|
+
|
|
61
|
+
## 4. Interfaces & Data Contracts
|
|
62
|
+
|
|
63
|
+
[Describe the interfaces, APIs, data contracts, or integration points. Use tables or code blocks for schemas and examples.]
|
|
64
|
+
|
|
65
|
+
## 5. Acceptance Criteria
|
|
66
|
+
|
|
67
|
+
[Define clear, testable acceptance criteria for each requirement using Given-When-Then format where appropriate.]
|
|
68
|
+
|
|
69
|
+
- **AC-001**: Given [context], When [action], Then [expected outcome]
|
|
70
|
+
- **AC-002**: The system shall [specific behavior] when [condition]
|
|
71
|
+
- **AC-003**: [Additional acceptance criteria as needed]
|
|
72
|
+
|
|
73
|
+
## 6. Test Automation Strategy
|
|
74
|
+
|
|
75
|
+
[Define the testing approach, frameworks, and automation requirements.]
|
|
76
|
+
|
|
77
|
+
- **Test Levels**: Unit, Integration, End-to-End
|
|
78
|
+
- **Frameworks**: MSTest, FluentAssertions, Moq (for .NET applications)
|
|
79
|
+
- **Test Data Management**: [approach for test data creation and cleanup]
|
|
80
|
+
- **CI/CD Integration**: [automated testing in GitHub Actions pipelines]
|
|
81
|
+
- **Coverage Requirements**: [minimum code coverage thresholds]
|
|
82
|
+
- **Performance Testing**: [approach for load and performance testing]
|
|
83
|
+
|
|
84
|
+
## 7. Rationale & Context
|
|
85
|
+
|
|
86
|
+
[Explain the reasoning behind the requirements, constraints, and guidelines. Provide context for design decisions.]
|
|
87
|
+
|
|
88
|
+
## 8. Dependencies & External Integrations
|
|
89
|
+
|
|
90
|
+
[Define the external systems, services, and architectural dependencies required for this specification. Focus on **what** is needed rather than **how** it's implemented. Avoid specific package or library versions unless they represent architectural constraints.]
|
|
91
|
+
|
|
92
|
+
### External Systems
|
|
93
|
+
- **EXT-001**: [External system name] - [Purpose and integration type]
|
|
94
|
+
|
|
95
|
+
### Third-Party Services
|
|
96
|
+
- **SVC-001**: [Service name] - [Required capabilities and SLA requirements]
|
|
97
|
+
|
|
98
|
+
### Infrastructure Dependencies
|
|
99
|
+
- **INF-001**: [Infrastructure component] - [Requirements and constraints]
|
|
100
|
+
|
|
101
|
+
### Data Dependencies
|
|
102
|
+
- **DAT-001**: [External data source] - [Format, frequency, and access requirements]
|
|
103
|
+
|
|
104
|
+
### Technology Platform Dependencies
|
|
105
|
+
- **PLT-001**: [Platform/runtime requirement] - [Version constraints and rationale]
|
|
106
|
+
|
|
107
|
+
### Compliance Dependencies
|
|
108
|
+
- **COM-001**: [Regulatory or compliance requirement] - [Impact on implementation]
|
|
109
|
+
|
|
110
|
+
**Note**: This section should focus on architectural and business dependencies, not specific package implementations. For example, specify "OAuth 2.0 authentication library" rather than "Microsoft.AspNetCore.Authentication.JwtBearer v6.0.1".
|
|
111
|
+
|
|
112
|
+
## 9. Examples & Edge Cases
|
|
113
|
+
|
|
114
|
+
```code
|
|
115
|
+
// Code snippet or data example demonstrating the correct application of the guidelines, including edge cases
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## 10. Validation Criteria
|
|
119
|
+
|
|
120
|
+
[List the criteria or tests that must be satisfied for compliance with this specification.]
|
|
121
|
+
|
|
122
|
+
## 11. Related Specifications / Further Reading
|
|
123
|
+
|
|
124
|
+
[Link to related spec 1]
|
|
125
|
+
[Link to relevant external documentation]
|
|
126
|
+
|
|
127
|
+
```
|