workspace-architect 1.4.1 → 1.5.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/assets-manifest.json +3392 -0
- package/bin/cli.js +134 -72
- package/package.json +10 -2
- package/.env.example +0 -1
- package/.gitattributes +0 -1
- package/.github/workflows/manual-publish.yml +0 -36
- package/.github/workflows/sync-and-publish.yml +0 -58
- package/.release-it.json +0 -20
- package/CHANGELOG.md +0 -53
- package/assets/chatmodes/4.1-Beast.chatmode.md +0 -152
- package/assets/chatmodes/Thinking-Beast-Mode.chatmode.md +0 -337
- package/assets/chatmodes/Ultimate-Transparent-Thinking-Beast-Mode.chatmode.md +0 -644
- package/assets/chatmodes/accessibility.chatmode.md +0 -298
- package/assets/chatmodes/address-comments.chatmode.md +0 -59
- package/assets/chatmodes/aem-frontend-specialist.chatmode.md +0 -385
- package/assets/chatmodes/api-architect.chatmode.md +0 -40
- package/assets/chatmodes/atlassian-requirements-to-jira.chatmode.md +0 -444
- package/assets/chatmodes/azure-logic-apps-expert.chatmode.md +0 -100
- package/assets/chatmodes/azure-principal-architect.chatmode.md +0 -58
- package/assets/chatmodes/azure-saas-architect.chatmode.md +0 -118
- package/assets/chatmodes/azure-verified-modules-bicep.chatmode.md +0 -44
- package/assets/chatmodes/azure-verified-modules-terraform.chatmode.md +0 -58
- package/assets/chatmodes/bicep-implement.chatmode.md +0 -40
- package/assets/chatmodes/bicep-plan.chatmode.md +0 -112
- package/assets/chatmodes/blueprint-mode-codex.chatmode.md +0 -110
- package/assets/chatmodes/blueprint-mode.chatmode.md +0 -171
- package/assets/chatmodes/clojure-interactive-programming.chatmode.md +0 -174
- package/assets/chatmodes/code-tour.chatmode.md +0 -205
- package/assets/chatmodes/critical-thinking.chatmode.md +0 -23
- package/assets/chatmodes/csharp-dotnet-janitor.chatmode.md +0 -83
- package/assets/chatmodes/csharp-mcp-expert.chatmode.md +0 -69
- package/assets/chatmodes/debug.chatmode.md +0 -79
- package/assets/chatmodes/declarative-agents-architect.chatmode.md +0 -76
- package/assets/chatmodes/demonstrate-understanding.chatmode.md +0 -60
- package/assets/chatmodes/dotnet-upgrade.chatmode.md +0 -222
- package/assets/chatmodes/drupal-expert.chatmode.md +0 -687
- package/assets/chatmodes/electron-angular-native.chatmode.md +0 -285
- package/assets/chatmodes/expert-cpp-software-engineer.chatmode.md +0 -27
- package/assets/chatmodes/expert-dotnet-software-engineer.chatmode.md +0 -22
- package/assets/chatmodes/expert-nextjs-developer.chatmode.md +0 -477
- package/assets/chatmodes/expert-react-frontend-engineer.chatmode.md +0 -738
- package/assets/chatmodes/gilfoyle.chatmode.md +0 -66
- package/assets/chatmodes/go-mcp-expert.chatmode.md +0 -122
- package/assets/chatmodes/gpt-5-beast-mode.chatmode.md +0 -109
- package/assets/chatmodes/hlbpa.chatmode.md +0 -232
- package/assets/chatmodes/implementation-plan.chatmode.md +0 -159
- package/assets/chatmodes/janitor.chatmode.md +0 -89
- package/assets/chatmodes/java-mcp-expert.chatmode.md +0 -325
- package/assets/chatmodes/kotlin-mcp-expert.chatmode.md +0 -181
- package/assets/chatmodes/kusto-assistant.chatmode.md +0 -143
- package/assets/chatmodes/laravel-expert-agent.chatmode.md +0 -628
- package/assets/chatmodes/mentor.chatmode.md +0 -32
- package/assets/chatmodes/meta-agentic-project-scaffold.chatmode.md +0 -15
- package/assets/chatmodes/microsoft-agent-framework-dotnet.chatmode.md +0 -62
- package/assets/chatmodes/microsoft-agent-framework-python.chatmode.md +0 -62
- package/assets/chatmodes/microsoft-study-mode.chatmode.md +0 -32
- package/assets/chatmodes/microsoft_learn_contributor.chatmode.md +0 -388
- package/assets/chatmodes/ms-sql-dba.chatmode.md +0 -25
- package/assets/chatmodes/php-mcp-expert.chatmode.md +0 -498
- package/assets/chatmodes/pimcore-expert.chatmode.md +0 -869
- package/assets/chatmodes/plan.chatmode.md +0 -114
- package/assets/chatmodes/planner.chatmode.md +0 -14
- package/assets/chatmodes/playwright-tester.chatmode.md +0 -13
- package/assets/chatmodes/postgresql-dba.chatmode.md +0 -17
- package/assets/chatmodes/power-bi-data-modeling-expert.chatmode.md +0 -319
- package/assets/chatmodes/power-bi-dax-expert.chatmode.md +0 -334
- package/assets/chatmodes/power-bi-performance-expert.chatmode.md +0 -533
- package/assets/chatmodes/power-bi-visualization-expert.chatmode.md +0 -549
- package/assets/chatmodes/power-platform-expert.chatmode.md +0 -116
- package/assets/chatmodes/power-platform-mcp-integration-expert.chatmode.md +0 -149
- package/assets/chatmodes/prd.chatmode.md +0 -201
- package/assets/chatmodes/principal-software-engineer.chatmode.md +0 -41
- package/assets/chatmodes/prompt-builder.chatmode.md +0 -352
- package/assets/chatmodes/prompt-engineer.chatmode.md +0 -72
- package/assets/chatmodes/python-mcp-expert.chatmode.md +0 -99
- package/assets/chatmodes/refine-issue.chatmode.md +0 -34
- package/assets/chatmodes/research-technical-spike.chatmode.md +0 -169
- package/assets/chatmodes/ruby-mcp-expert.chatmode.md +0 -346
- package/assets/chatmodes/rust-gpt-4.1-beast-mode.chatmode.md +0 -197
- package/assets/chatmodes/rust-mcp-expert.chatmode.md +0 -465
- package/assets/chatmodes/search-ai-optimization-expert.chatmode.md +0 -227
- package/assets/chatmodes/semantic-kernel-dotnet.chatmode.md +0 -31
- package/assets/chatmodes/semantic-kernel-python.chatmode.md +0 -28
- package/assets/chatmodes/shopify-expert.chatmode.md +0 -681
- package/assets/chatmodes/simple-app-idea-generator.chatmode.md +0 -134
- package/assets/chatmodes/software-engineer-agent-v1.chatmode.md +0 -164
- package/assets/chatmodes/specification.chatmode.md +0 -127
- package/assets/chatmodes/swift-mcp-expert.chatmode.md +0 -240
- package/assets/chatmodes/task-planner.chatmode.md +0 -374
- package/assets/chatmodes/task-researcher.chatmode.md +0 -254
- package/assets/chatmodes/tdd-green.chatmode.md +0 -59
- package/assets/chatmodes/tdd-red.chatmode.md +0 -59
- package/assets/chatmodes/tdd-refactor.chatmode.md +0 -84
- package/assets/chatmodes/tech-debt-remediation-plan.chatmode.md +0 -49
- package/assets/chatmodes/terraform-azure-implement.chatmode.md +0 -104
- package/assets/chatmodes/terraform-azure-planning.chatmode.md +0 -157
- package/assets/chatmodes/typescript-mcp-expert.chatmode.md +0 -91
- package/assets/chatmodes/voidbeast-gpt41enhanced.chatmode.md +0 -230
- package/assets/chatmodes/wg-code-alchemist.chatmode.md +0 -61
- package/assets/chatmodes/wg-code-sentinel.chatmode.md +0 -55
- package/assets/collections/ai-prompt-engineering.json +0 -95
- package/assets/collections/angular-development.json +0 -19
- package/assets/collections/azure-cloud-architect.json +0 -150
- package/assets/collections/cpp-development.json +0 -4
- package/assets/collections/database-administration.json +0 -13
- package/assets/collections/devops-sre.json +0 -33
- package/assets/collections/dotnet-development.json +0 -114
- package/assets/collections/general-productivity.json +0 -4
- package/assets/collections/go-development.json +0 -42
- package/assets/collections/java-spring-developer.json +0 -111
- package/assets/collections/learning-mentoring.json +0 -9
- package/assets/collections/legacy-migration.json +0 -6
- package/assets/collections/mcp-specialist.json +0 -92
- package/assets/collections/mobile-development.json +0 -12
- package/assets/collections/php-cms-development.json +0 -68
- package/assets/collections/power-platform-specialist.json +0 -128
- package/assets/collections/project-management.json +0 -50
- package/assets/collections/python-development.json +0 -66
- package/assets/collections/quality-assurance.json +0 -56
- package/assets/collections/ruby-development.json +0 -43
- package/assets/collections/rust-development.json +0 -63
- package/assets/collections/security-specialist.json +0 -65
- package/assets/collections/software-architect.json +0 -85
- package/assets/collections/technical-writing.json +0 -23
- package/assets/collections/web-frontend-development.json +0 -52
- package/assets/instructions/a11y.instructions.md +0 -369
- package/assets/instructions/ai-prompt-engineering-safety-best-practices.instructions.md +0 -867
- package/assets/instructions/angular.instructions.md +0 -104
- package/assets/instructions/ansible.instructions.md +0 -88
- package/assets/instructions/aspnet-rest-apis.instructions.md +0 -110
- package/assets/instructions/astro.instructions.md +0 -182
- package/assets/instructions/azure-devops-pipelines.instructions.md +0 -185
- package/assets/instructions/azure-functions-typescript.instructions.md +0 -14
- package/assets/instructions/azure-logic-apps-power-automate.instructions.md +0 -1943
- package/assets/instructions/azure-verified-modules-terraform.instructions.md +0 -229
- package/assets/instructions/bicep-code-best-practices.instructions.md +0 -54
- package/assets/instructions/blazor.instructions.md +0 -77
- package/assets/instructions/clojure.instructions.md +0 -349
- package/assets/instructions/cmake-vcpkg.instructions.md +0 -10
- package/assets/instructions/codexer.instructions.md +0 -428
- package/assets/instructions/coldfusion-cfc.instructions.md +0 -30
- package/assets/instructions/coldfusion-cfm.instructions.md +0 -28
- package/assets/instructions/collections.instructions.md +0 -54
- package/assets/instructions/containerization-docker-best-practices.instructions.md +0 -681
- package/assets/instructions/convert-jpa-to-spring-data-cosmos.instructions.md +0 -949
- package/assets/instructions/copilot-thought-logging.instructions.md +0 -62
- package/assets/instructions/csharp-ja.instructions.md +0 -114
- package/assets/instructions/csharp-ko.instructions.md +0 -77
- package/assets/instructions/csharp-mcp-server.instructions.md +0 -95
- package/assets/instructions/csharp.instructions.md +0 -114
- package/assets/instructions/dart-n-flutter.instructions.md +0 -447
- package/assets/instructions/declarative-agents-microsoft365.instructions.md +0 -316
- package/assets/instructions/devbox-image-definition.instructions.md +0 -302
- package/assets/instructions/devops-core-principles.instructions.md +0 -167
- package/assets/instructions/dotnet-architecture-good-practices.instructions.md +0 -279
- package/assets/instructions/dotnet-framework.instructions.md +0 -113
- package/assets/instructions/dotnet-maui-9-to-dotnet-maui-10-upgrade.instructions.md +0 -1922
- package/assets/instructions/dotnet-maui.instructions.md +0 -69
- package/assets/instructions/dotnet-upgrade.instructions.md +0 -287
- package/assets/instructions/dotnet-wpf.instructions.md +0 -79
- package/assets/instructions/genaiscript.instructions.md +0 -21
- package/assets/instructions/generate-modern-terraform-code-for-azure.instructions.md +0 -82
- package/assets/instructions/gilfoyle-code-review.instructions.md +0 -114
- package/assets/instructions/github-actions-ci-cd-best-practices.instructions.md +0 -607
- package/assets/instructions/go-mcp-server.instructions.md +0 -346
- package/assets/instructions/go.instructions.md +0 -373
- package/assets/instructions/instructions.instructions.md +0 -256
- package/assets/instructions/java-11-to-java-17-upgrade.instructions.md +0 -793
- package/assets/instructions/java-17-to-java-21-upgrade.instructions.md +0 -464
- package/assets/instructions/java-21-to-java-25-upgrade.instructions.md +0 -311
- package/assets/instructions/java-mcp-server.instructions.md +0 -553
- package/assets/instructions/java.instructions.md +0 -81
- package/assets/instructions/joyride-user-project.instructions.md +0 -206
- package/assets/instructions/joyride-workspace-automation.instructions.md +0 -46
- package/assets/instructions/kotlin-mcp-server.instructions.md +0 -481
- package/assets/instructions/kubernetes-deployment-best-practices.instructions.md +0 -307
- package/assets/instructions/langchain-python.instructions.md +0 -229
- package/assets/instructions/localization.instructions.md +0 -39
- package/assets/instructions/makefile.instructions.md +0 -410
- package/assets/instructions/markdown.instructions.md +0 -52
- package/assets/instructions/memory-bank.instructions.md +0 -299
- package/assets/instructions/mongo-dba.instructions.md +0 -25
- package/assets/instructions/ms-sql-dba.instructions.md +0 -25
- package/assets/instructions/nestjs.instructions.md +0 -406
- package/assets/instructions/nextjs-tailwind.instructions.md +0 -72
- package/assets/instructions/nextjs.instructions.md +0 -143
- package/assets/instructions/nodejs-javascript-vitest.instructions.md +0 -30
- package/assets/instructions/object-calisthenics.instructions.md +0 -302
- package/assets/instructions/oqtane.instructions.md +0 -86
- package/assets/instructions/performance-optimization.instructions.md +0 -420
- package/assets/instructions/php-mcp-server.instructions.md +0 -809
- package/assets/instructions/playwright-dotnet.instructions.md +0 -101
- package/assets/instructions/playwright-python.instructions.md +0 -62
- package/assets/instructions/playwright-typescript.instructions.md +0 -86
- package/assets/instructions/power-apps-canvas-yaml.instructions.md +0 -827
- package/assets/instructions/power-apps-code-apps.instructions.md +0 -601
- package/assets/instructions/power-bi-custom-visuals-development.instructions.md +0 -810
- package/assets/instructions/power-bi-data-modeling-best-practices.instructions.md +0 -639
- package/assets/instructions/power-bi-dax-best-practices.instructions.md +0 -795
- package/assets/instructions/power-bi-devops-alm-best-practices.instructions.md +0 -623
- package/assets/instructions/power-bi-report-design-best-practices.instructions.md +0 -752
- package/assets/instructions/power-bi-security-rls-best-practices.instructions.md +0 -504
- package/assets/instructions/power-platform-connector.instructions.md +0 -430
- package/assets/instructions/power-platform-mcp-development.instructions.md +0 -88
- package/assets/instructions/powershell-pester-5.instructions.md +0 -197
- package/assets/instructions/powershell.instructions.md +0 -356
- package/assets/instructions/prompt.instructions.md +0 -73
- package/assets/instructions/python-mcp-server.instructions.md +0 -204
- package/assets/instructions/python.instructions.md +0 -56
- package/assets/instructions/quarkus-mcp-server-sse.instructions.md +0 -49
- package/assets/instructions/quarkus.instructions.md +0 -98
- package/assets/instructions/r.instructions.md +0 -116
- package/assets/instructions/reactjs.instructions.md +0 -162
- package/assets/instructions/ruby-mcp-server.instructions.md +0 -629
- package/assets/instructions/ruby-on-rails.instructions.md +0 -124
- package/assets/instructions/rust-mcp-server.instructions.md +0 -715
- package/assets/instructions/rust.instructions.md +0 -135
- package/assets/instructions/security-and-owasp.instructions.md +0 -51
- package/assets/instructions/self-explanatory-code-commenting.instructions.md +0 -162
- package/assets/instructions/shell.instructions.md +0 -132
- package/assets/instructions/spec-driven-workflow-v1.instructions.md +0 -323
- package/assets/instructions/springboot.instructions.md +0 -68
- package/assets/instructions/sql-sp-generation.instructions.md +0 -74
- package/assets/instructions/svelte.instructions.md +0 -161
- package/assets/instructions/swift-mcp-server.instructions.md +0 -498
- package/assets/instructions/taming-copilot.instructions.md +0 -40
- package/assets/instructions/tanstack-start-shadcn-tailwind.instructions.md +0 -212
- package/assets/instructions/task-implementation.instructions.md +0 -190
- package/assets/instructions/tasksync.instructions.md +0 -352
- package/assets/instructions/terraform-azure.instructions.md +0 -254
- package/assets/instructions/terraform-sap-btp.instructions.md +0 -195
- package/assets/instructions/terraform.instructions.md +0 -113
- package/assets/instructions/typescript-5-es2022.instructions.md +0 -114
- package/assets/instructions/typescript-mcp-server.instructions.md +0 -228
- package/assets/instructions/update-code-from-shorthand.instructions.md +0 -130
- package/assets/instructions/vuejs3.instructions.md +0 -153
- package/assets/instructions/wordpress.instructions.md +0 -186
- package/assets/prompts/add-educational-comments.prompt.md +0 -129
- package/assets/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -230
- package/assets/prompts/architecture-blueprint-generator.prompt.md +0 -322
- package/assets/prompts/aspnet-minimal-api-openapi.prompt.md +0 -42
- package/assets/prompts/az-cost-optimize.prompt.md +0 -305
- package/assets/prompts/azure-resource-health-diagnose.prompt.md +0 -290
- package/assets/prompts/boost-prompt.prompt.md +0 -25
- package/assets/prompts/breakdown-epic-arch.prompt.md +0 -66
- package/assets/prompts/breakdown-epic-pm.prompt.md +0 -58
- package/assets/prompts/breakdown-feature-implementation.prompt.md +0 -128
- package/assets/prompts/breakdown-feature-prd.prompt.md +0 -61
- package/assets/prompts/breakdown-plan.prompt.md +0 -509
- package/assets/prompts/breakdown-test.prompt.md +0 -365
- package/assets/prompts/code-exemplars-blueprint-generator.prompt.md +0 -126
- package/assets/prompts/comment-code-generate-a-tutorial.prompt.md +0 -26
- package/assets/prompts/containerize-aspnet-framework.prompt.md +0 -455
- package/assets/prompts/containerize-aspnetcore.prompt.md +0 -393
- package/assets/prompts/conventional-commit.prompt.md +0 -73
- package/assets/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -294
- package/assets/prompts/cosmosdb-datamodeling.prompt.md +0 -1045
- package/assets/prompts/create-agentsmd.prompt.md +0 -249
- package/assets/prompts/create-architectural-decision-record.prompt.md +0 -97
- package/assets/prompts/create-github-action-workflow-specification.prompt.md +0 -276
- package/assets/prompts/create-github-issue-feature-from-specification.prompt.md +0 -28
- package/assets/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -28
- package/assets/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
- package/assets/prompts/create-github-pull-request-from-specification.prompt.md +0 -24
- package/assets/prompts/create-implementation-plan.prompt.md +0 -157
- package/assets/prompts/create-llms.prompt.md +0 -210
- package/assets/prompts/create-oo-component-documentation.prompt.md +0 -193
- package/assets/prompts/create-readme.prompt.md +0 -21
- package/assets/prompts/create-specification.prompt.md +0 -127
- package/assets/prompts/create-spring-boot-java-project.prompt.md +0 -163
- package/assets/prompts/create-spring-boot-kotlin-project.prompt.md +0 -147
- package/assets/prompts/create-technical-spike.prompt.md +0 -231
- package/assets/prompts/csharp-async.prompt.md +0 -50
- package/assets/prompts/csharp-docs.prompt.md +0 -63
- package/assets/prompts/csharp-mcp-server-generator.prompt.md +0 -59
- package/assets/prompts/csharp-mstest.prompt.md +0 -67
- package/assets/prompts/csharp-nunit.prompt.md +0 -72
- package/assets/prompts/csharp-tunit.prompt.md +0 -101
- package/assets/prompts/csharp-xunit.prompt.md +0 -69
- package/assets/prompts/declarative-agents.prompt.md +0 -93
- package/assets/prompts/documentation-writer.prompt.md +0 -46
- package/assets/prompts/dotnet-best-practices.prompt.md +0 -84
- package/assets/prompts/dotnet-design-pattern-review.prompt.md +0 -41
- package/assets/prompts/dotnet-upgrade.prompt.md +0 -116
- package/assets/prompts/editorconfig.prompt.md +0 -64
- package/assets/prompts/ef-core.prompt.md +0 -76
- package/assets/prompts/finalize-agent-prompt.prompt.md +0 -27
- package/assets/prompts/first-ask.prompt.md +0 -29
- package/assets/prompts/folder-structure-blueprint-generator.prompt.md +0 -405
- package/assets/prompts/gen-specs-as-issues.prompt.md +0 -165
- package/assets/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -240
- package/assets/prompts/git-flow-branch-creator.prompt.md +0 -293
- package/assets/prompts/github-copilot-starter.prompt.md +0 -372
- package/assets/prompts/go-mcp-server-generator.prompt.md +0 -334
- package/assets/prompts/java-docs.prompt.md +0 -24
- package/assets/prompts/java-junit.prompt.md +0 -64
- package/assets/prompts/java-mcp-server-generator.prompt.md +0 -756
- package/assets/prompts/java-refactoring-extract-method.prompt.md +0 -105
- package/assets/prompts/java-refactoring-remove-parameter.prompt.md +0 -85
- package/assets/prompts/java-springboot.prompt.md +0 -66
- package/assets/prompts/javascript-typescript-jest.prompt.md +0 -44
- package/assets/prompts/kotlin-mcp-server-generator.prompt.md +0 -449
- package/assets/prompts/kotlin-springboot.prompt.md +0 -71
- package/assets/prompts/mcp-copilot-studio-server-generator.prompt.md +0 -118
- package/assets/prompts/memory-merger.prompt.md +0 -107
- package/assets/prompts/mkdocs-translations.prompt.md +0 -110
- package/assets/prompts/model-recommendation.prompt.md +0 -677
- package/assets/prompts/multi-stage-dockerfile.prompt.md +0 -47
- package/assets/prompts/my-issues.prompt.md +0 -9
- package/assets/prompts/my-pull-requests.prompt.md +0 -15
- package/assets/prompts/next-intl-add-language.prompt.md +0 -20
- package/assets/prompts/php-mcp-server-generator.prompt.md +0 -522
- package/assets/prompts/playwright-automation-fill-in-form.prompt.md +0 -30
- package/assets/prompts/playwright-explore-website.prompt.md +0 -19
- package/assets/prompts/playwright-generate-test.prompt.md +0 -19
- package/assets/prompts/postgresql-code-review.prompt.md +0 -214
- package/assets/prompts/postgresql-optimization.prompt.md +0 -406
- package/assets/prompts/power-apps-code-app-scaffold.prompt.md +0 -150
- package/assets/prompts/power-bi-dax-optimization.prompt.md +0 -175
- package/assets/prompts/power-bi-model-design-review.prompt.md +0 -405
- package/assets/prompts/power-bi-performance-troubleshooting.prompt.md +0 -384
- package/assets/prompts/power-bi-report-design-consultation.prompt.md +0 -353
- package/assets/prompts/power-platform-mcp-connector-suite.prompt.md +0 -156
- package/assets/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
- package/assets/prompts/prompt-builder.prompt.md +0 -142
- package/assets/prompts/pytest-coverage.prompt.md +0 -28
- package/assets/prompts/python-mcp-server-generator.prompt.md +0 -105
- package/assets/prompts/readme-blueprint-generator.prompt.md +0 -79
- package/assets/prompts/remember-interactive-programming.prompt.md +0 -13
- package/assets/prompts/remember.prompt.md +0 -125
- package/assets/prompts/repo-story-time.prompt.md +0 -156
- package/assets/prompts/review-and-refactor.prompt.md +0 -15
- package/assets/prompts/ruby-mcp-server-generator.prompt.md +0 -660
- package/assets/prompts/rust-mcp-server-generator.prompt.md +0 -578
- package/assets/prompts/shuffle-json-data.prompt.md +0 -151
- package/assets/prompts/sql-code-review.prompt.md +0 -303
- package/assets/prompts/sql-optimization.prompt.md +0 -298
- package/assets/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
- package/assets/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
- package/assets/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
- package/assets/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
- package/assets/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
- package/assets/prompts/swift-mcp-server-generator.prompt.md +0 -669
- package/assets/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
- package/assets/prompts/typescript-mcp-server-generator.prompt.md +0 -90
- package/assets/prompts/update-avm-modules-in-bicep.prompt.md +0 -60
- package/assets/prompts/update-implementation-plan.prompt.md +0 -157
- package/assets/prompts/update-llms.prompt.md +0 -216
- package/assets/prompts/update-markdown-file-index.prompt.md +0 -76
- package/assets/prompts/update-oo-component-documentation.prompt.md +0 -162
- package/assets/prompts/update-specification.prompt.md +0 -127
- package/assets/prompts/write-coding-standards-from-file.prompt.md +0 -316
- package/scripts/analyze-collections.js +0 -387
- package/scripts/sync.js +0 -99
- package/verdaccio/config.yaml +0 -202
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: 'agent'
|
|
3
|
-
description: 'Test Planning and Quality Assurance prompt that generates comprehensive test strategies, task breakdowns, and quality validation plans for GitHub projects.'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Test Planning & Quality Assurance Prompt
|
|
7
|
-
|
|
8
|
-
## Goal
|
|
9
|
-
|
|
10
|
-
Act as a senior Quality Assurance Engineer and Test Architect with expertise in ISTQB frameworks, ISO 25010 quality standards, and modern testing practices. Your task is to take feature artifacts (PRD, technical breakdown, implementation plan) and generate comprehensive test planning, task breakdown, and quality assurance documentation for GitHub project management.
|
|
11
|
-
|
|
12
|
-
## Quality Standards Framework
|
|
13
|
-
|
|
14
|
-
### ISTQB Framework Application
|
|
15
|
-
|
|
16
|
-
- **Test Process Activities**: Planning, monitoring, analysis, design, implementation, execution, completion
|
|
17
|
-
- **Test Design Techniques**: Black-box, white-box, and experience-based testing approaches
|
|
18
|
-
- **Test Types**: Functional, non-functional, structural, and change-related testing
|
|
19
|
-
- **Risk-Based Testing**: Risk assessment and mitigation strategies
|
|
20
|
-
|
|
21
|
-
### ISO 25010 Quality Model
|
|
22
|
-
|
|
23
|
-
- **Quality Characteristics**: Functional suitability, performance efficiency, compatibility, usability, reliability, security, maintainability, portability
|
|
24
|
-
- **Quality Validation**: Measurement and assessment approaches for each characteristic
|
|
25
|
-
- **Quality Gates**: Entry and exit criteria for quality checkpoints
|
|
26
|
-
|
|
27
|
-
## Input Requirements
|
|
28
|
-
|
|
29
|
-
Before using this prompt, ensure you have:
|
|
30
|
-
|
|
31
|
-
### Core Feature Documents
|
|
32
|
-
|
|
33
|
-
1. **Feature PRD**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}.md`
|
|
34
|
-
2. **Technical Breakdown**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/technical-breakdown.md`
|
|
35
|
-
3. **Implementation Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`
|
|
36
|
-
4. **GitHub Project Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/project-plan.md`
|
|
37
|
-
|
|
38
|
-
## Output Format
|
|
39
|
-
|
|
40
|
-
Create comprehensive test planning documentation:
|
|
41
|
-
|
|
42
|
-
1. **Test Strategy**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/test-strategy.md`
|
|
43
|
-
2. **Test Issues Checklist**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/test-issues-checklist.md`
|
|
44
|
-
3. **Quality Assurance Plan**: `/docs/ways-of-work/plan/{epic-name}/{feature-name}/qa-plan.md`
|
|
45
|
-
|
|
46
|
-
### Test Strategy Structure
|
|
47
|
-
|
|
48
|
-
#### 1. Test Strategy Overview
|
|
49
|
-
|
|
50
|
-
- **Testing Scope**: Features and components to be tested
|
|
51
|
-
- **Quality Objectives**: Measurable quality goals and success criteria
|
|
52
|
-
- **Risk Assessment**: Identified risks and mitigation strategies
|
|
53
|
-
- **Test Approach**: Overall testing methodology and framework application
|
|
54
|
-
|
|
55
|
-
#### 2. ISTQB Framework Implementation
|
|
56
|
-
|
|
57
|
-
##### Test Design Techniques Selection
|
|
58
|
-
|
|
59
|
-
Create a comprehensive analysis of which ISTQB test design techniques to apply:
|
|
60
|
-
|
|
61
|
-
- **Equivalence Partitioning**: Input domain partitioning strategy
|
|
62
|
-
- **Boundary Value Analysis**: Edge case identification and testing
|
|
63
|
-
- **Decision Table Testing**: Complex business rule validation
|
|
64
|
-
- **State Transition Testing**: System state behavior validation
|
|
65
|
-
- **Experience-Based Testing**: Exploratory and error guessing approaches
|
|
66
|
-
|
|
67
|
-
##### Test Types Coverage Matrix
|
|
68
|
-
|
|
69
|
-
Define comprehensive test type coverage:
|
|
70
|
-
|
|
71
|
-
- **Functional Testing**: Feature behavior validation
|
|
72
|
-
- **Non-Functional Testing**: Performance, usability, security validation
|
|
73
|
-
- **Structural Testing**: Code coverage and architecture validation
|
|
74
|
-
- **Change-Related Testing**: Regression and confirmation testing
|
|
75
|
-
|
|
76
|
-
#### 3. ISO 25010 Quality Characteristics Assessment
|
|
77
|
-
|
|
78
|
-
Create a quality characteristics prioritization matrix:
|
|
79
|
-
|
|
80
|
-
- **Functional Suitability**: Completeness, correctness, appropriateness assessment
|
|
81
|
-
- **Performance Efficiency**: Time behavior, resource utilization, capacity validation
|
|
82
|
-
- **Compatibility**: Co-existence and interoperability testing
|
|
83
|
-
- **Usability**: User interface, accessibility, and user experience validation
|
|
84
|
-
- **Reliability**: Fault tolerance, recoverability, and availability testing
|
|
85
|
-
- **Security**: Confidentiality, integrity, authentication, and authorization validation
|
|
86
|
-
- **Maintainability**: Modularity, reusability, and testability assessment
|
|
87
|
-
- **Portability**: Adaptability, installability, and replaceability validation
|
|
88
|
-
|
|
89
|
-
#### 4. Test Environment and Data Strategy
|
|
90
|
-
|
|
91
|
-
- **Test Environment Requirements**: Hardware, software, and network configurations
|
|
92
|
-
- **Test Data Management**: Data preparation, privacy, and maintenance strategies
|
|
93
|
-
- **Tool Selection**: Testing tools, frameworks, and automation platforms
|
|
94
|
-
- **CI/CD Integration**: Continuous testing pipeline integration
|
|
95
|
-
|
|
96
|
-
### Test Issues Checklist
|
|
97
|
-
|
|
98
|
-
#### Test Level Issues Creation
|
|
99
|
-
|
|
100
|
-
- [ ] **Test Strategy Issue**: Overall testing approach and quality validation plan
|
|
101
|
-
- [ ] **Unit Test Issues**: Component-level testing for each implementation task
|
|
102
|
-
- [ ] **Integration Test Issues**: Interface and interaction testing between components
|
|
103
|
-
- [ ] **End-to-End Test Issues**: Complete user workflow validation using Playwright
|
|
104
|
-
- [ ] **Performance Test Issues**: Non-functional requirement validation
|
|
105
|
-
- [ ] **Security Test Issues**: Security requirement and vulnerability testing
|
|
106
|
-
- [ ] **Accessibility Test Issues**: WCAG compliance and inclusive design validation
|
|
107
|
-
- [ ] **Regression Test Issues**: Change impact and existing functionality preservation
|
|
108
|
-
|
|
109
|
-
#### Test Types Identification and Prioritization
|
|
110
|
-
|
|
111
|
-
- [ ] **Functional Testing Priority**: Critical user paths and core business logic
|
|
112
|
-
- [ ] **Non-Functional Testing Priority**: Performance, security, and usability requirements
|
|
113
|
-
- [ ] **Structural Testing Priority**: Code coverage targets and architecture validation
|
|
114
|
-
- [ ] **Change-Related Testing Priority**: Risk-based regression testing scope
|
|
115
|
-
|
|
116
|
-
#### Test Dependencies Documentation
|
|
117
|
-
|
|
118
|
-
- [ ] **Implementation Dependencies**: Tests blocked by specific development tasks
|
|
119
|
-
- [ ] **Environment Dependencies**: Test environment and data requirements
|
|
120
|
-
- [ ] **Tool Dependencies**: Testing framework and automation tool setup
|
|
121
|
-
- [ ] **Cross-Team Dependencies**: Dependencies on external systems or teams
|
|
122
|
-
|
|
123
|
-
#### Test Coverage Targets and Metrics
|
|
124
|
-
|
|
125
|
-
- [ ] **Code Coverage Targets**: >80% line coverage, >90% branch coverage for critical paths
|
|
126
|
-
- [ ] **Functional Coverage Targets**: 100% acceptance criteria validation
|
|
127
|
-
- [ ] **Risk Coverage Targets**: 100% high-risk scenario validation
|
|
128
|
-
- [ ] **Quality Characteristics Coverage**: Validation approach for each ISO 25010 characteristic
|
|
129
|
-
|
|
130
|
-
### Task Level Breakdown
|
|
131
|
-
|
|
132
|
-
#### Implementation Task Creation and Estimation
|
|
133
|
-
|
|
134
|
-
- [ ] **Test Implementation Tasks**: Detailed test case development and automation tasks
|
|
135
|
-
- [ ] **Test Environment Setup Tasks**: Infrastructure and configuration tasks
|
|
136
|
-
- [ ] **Test Data Preparation Tasks**: Data generation and management tasks
|
|
137
|
-
- [ ] **Test Automation Framework Tasks**: Tool setup and framework development
|
|
138
|
-
|
|
139
|
-
#### Task Estimation Guidelines
|
|
140
|
-
|
|
141
|
-
- [ ] **Unit Test Tasks**: 0.5-1 story point per component
|
|
142
|
-
- [ ] **Integration Test Tasks**: 1-2 story points per interface
|
|
143
|
-
- [ ] **E2E Test Tasks**: 2-3 story points per user workflow
|
|
144
|
-
- [ ] **Performance Test Tasks**: 3-5 story points per performance requirement
|
|
145
|
-
- [ ] **Security Test Tasks**: 2-4 story points per security requirement
|
|
146
|
-
|
|
147
|
-
#### Task Dependencies and Sequencing
|
|
148
|
-
|
|
149
|
-
- [ ] **Sequential Dependencies**: Tests that must be implemented in specific order
|
|
150
|
-
- [ ] **Parallel Development**: Tests that can be developed simultaneously
|
|
151
|
-
- [ ] **Critical Path Identification**: Testing tasks on the critical path to delivery
|
|
152
|
-
- [ ] **Resource Allocation**: Task assignment based on team skills and capacity
|
|
153
|
-
|
|
154
|
-
#### Task Assignment Strategy
|
|
155
|
-
|
|
156
|
-
- [ ] **Skill-Based Assignment**: Matching tasks to team member expertise
|
|
157
|
-
- [ ] **Capacity Planning**: Balancing workload across team members
|
|
158
|
-
- [ ] **Knowledge Transfer**: Pairing junior and senior team members
|
|
159
|
-
- [ ] **Cross-Training Opportunities**: Skill development through task assignment
|
|
160
|
-
|
|
161
|
-
### Quality Assurance Plan
|
|
162
|
-
|
|
163
|
-
#### Quality Gates and Checkpoints
|
|
164
|
-
|
|
165
|
-
Create comprehensive quality validation checkpoints:
|
|
166
|
-
|
|
167
|
-
- **Entry Criteria**: Requirements for beginning each testing phase
|
|
168
|
-
- **Exit Criteria**: Quality standards required for phase completion
|
|
169
|
-
- **Quality Metrics**: Measurable indicators of quality achievement
|
|
170
|
-
- **Escalation Procedures**: Process for addressing quality failures
|
|
171
|
-
|
|
172
|
-
#### GitHub Issue Quality Standards
|
|
173
|
-
|
|
174
|
-
- [ ] **Template Compliance**: All test issues follow standardized templates
|
|
175
|
-
- [ ] **Required Field Completion**: Mandatory fields populated with accurate information
|
|
176
|
-
- [ ] **Label Consistency**: Standardized labeling across all test work items
|
|
177
|
-
- [ ] **Priority Assignment**: Risk-based priority assignment using defined criteria
|
|
178
|
-
- [ ] **Value Assessment**: Business value and quality impact assessment
|
|
179
|
-
|
|
180
|
-
#### Labeling and Prioritization Standards
|
|
181
|
-
|
|
182
|
-
- [ ] **Test Type Labels**: `unit-test`, `integration-test`, `e2e-test`, `performance-test`, `security-test`
|
|
183
|
-
- [ ] **Quality Labels**: `quality-gate`, `iso25010`, `istqb-technique`, `risk-based`
|
|
184
|
-
- [ ] **Priority Labels**: `test-critical`, `test-high`, `test-medium`, `test-low`
|
|
185
|
-
- [ ] **Component Labels**: `frontend-test`, `backend-test`, `api-test`, `database-test`
|
|
186
|
-
|
|
187
|
-
#### Dependency Validation and Management
|
|
188
|
-
|
|
189
|
-
- [ ] **Circular Dependency Detection**: Validation to prevent blocking relationships
|
|
190
|
-
- [ ] **Critical Path Analysis**: Identification of testing dependencies on delivery timeline
|
|
191
|
-
- [ ] **Risk Assessment**: Impact analysis of dependency delays on quality validation
|
|
192
|
-
- [ ] **Mitigation Strategies**: Alternative approaches for blocked testing activities
|
|
193
|
-
|
|
194
|
-
#### Estimation Accuracy and Review
|
|
195
|
-
|
|
196
|
-
- [ ] **Historical Data Analysis**: Using past project data for estimation accuracy
|
|
197
|
-
- [ ] **Technical Lead Review**: Expert validation of test complexity estimates
|
|
198
|
-
- [ ] **Risk Buffer Allocation**: Additional time allocation for high-uncertainty tasks
|
|
199
|
-
- [ ] **Estimate Refinement**: Iterative improvement of estimation accuracy
|
|
200
|
-
|
|
201
|
-
## GitHub Issue Templates for Testing
|
|
202
|
-
|
|
203
|
-
### Test Strategy Issue Template
|
|
204
|
-
|
|
205
|
-
```markdown
|
|
206
|
-
# Test Strategy: {Feature Name}
|
|
207
|
-
|
|
208
|
-
## Test Strategy Overview
|
|
209
|
-
|
|
210
|
-
{Summary of testing approach based on ISTQB and ISO 25010}
|
|
211
|
-
|
|
212
|
-
## ISTQB Framework Application
|
|
213
|
-
|
|
214
|
-
**Test Design Techniques Used:**
|
|
215
|
-
- [ ] Equivalence Partitioning
|
|
216
|
-
- [ ] Boundary Value Analysis
|
|
217
|
-
- [ ] Decision Table Testing
|
|
218
|
-
- [ ] State Transition Testing
|
|
219
|
-
- [ ] Experience-Based Testing
|
|
220
|
-
|
|
221
|
-
**Test Types Coverage:**
|
|
222
|
-
- [ ] Functional Testing
|
|
223
|
-
- [ ] Non-Functional Testing
|
|
224
|
-
- [ ] Structural Testing
|
|
225
|
-
- [ ] Change-Related Testing (Regression)
|
|
226
|
-
|
|
227
|
-
## ISO 25010 Quality Characteristics
|
|
228
|
-
|
|
229
|
-
**Priority Assessment:**
|
|
230
|
-
- [ ] Functional Suitability: {Critical/High/Medium/Low}
|
|
231
|
-
- [ ] Performance Efficiency: {Critical/High/Medium/Low}
|
|
232
|
-
- [ ] Compatibility: {Critical/High/Medium/Low}
|
|
233
|
-
- [ ] Usability: {Critical/High/Medium/Low}
|
|
234
|
-
- [ ] Reliability: {Critical/High/Medium/Low}
|
|
235
|
-
- [ ] Security: {Critical/High/Medium/Low}
|
|
236
|
-
- [ ] Maintainability: {Critical/High/Medium/Low}
|
|
237
|
-
- [ ] Portability: {Critical/High/Medium/Low}
|
|
238
|
-
|
|
239
|
-
## Quality Gates
|
|
240
|
-
- [ ] Entry criteria defined
|
|
241
|
-
- [ ] Exit criteria established
|
|
242
|
-
- [ ] Quality thresholds documented
|
|
243
|
-
|
|
244
|
-
## Labels
|
|
245
|
-
`test-strategy`, `istqb`, `iso25010`, `quality-gates`
|
|
246
|
-
|
|
247
|
-
## Estimate
|
|
248
|
-
{Strategic planning effort: 2-3 story points}
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
### Playwright Test Implementation Issue Template
|
|
252
|
-
|
|
253
|
-
```markdown
|
|
254
|
-
# Playwright Tests: {Story/Component Name}
|
|
255
|
-
|
|
256
|
-
## Test Implementation Scope
|
|
257
|
-
{Specific user story or component being tested}
|
|
258
|
-
|
|
259
|
-
## ISTQB Test Case Design
|
|
260
|
-
**Test Design Technique**: {Selected ISTQB technique}
|
|
261
|
-
**Test Type**: {Functional/Non-Functional/Structural/Change-Related}
|
|
262
|
-
|
|
263
|
-
## Test Cases to Implement
|
|
264
|
-
**Functional Tests:**
|
|
265
|
-
- [ ] Happy path scenarios
|
|
266
|
-
- [ ] Error handling validation
|
|
267
|
-
- [ ] Boundary value testing
|
|
268
|
-
- [ ] Input validation testing
|
|
269
|
-
|
|
270
|
-
**Non-Functional Tests:**
|
|
271
|
-
- [ ] Performance testing (response time < {threshold})
|
|
272
|
-
- [ ] Accessibility testing (WCAG compliance)
|
|
273
|
-
- [ ] Cross-browser compatibility
|
|
274
|
-
- [ ] Mobile responsiveness
|
|
275
|
-
|
|
276
|
-
## Playwright Implementation Tasks
|
|
277
|
-
- [ ] Page Object Model development
|
|
278
|
-
- [ ] Test fixture setup
|
|
279
|
-
- [ ] Test data management
|
|
280
|
-
- [ ] Test case implementation
|
|
281
|
-
- [ ] Visual regression tests
|
|
282
|
-
- [ ] CI/CD integration
|
|
283
|
-
|
|
284
|
-
## Acceptance Criteria
|
|
285
|
-
- [ ] All test cases pass
|
|
286
|
-
- [ ] Code coverage targets met (>80%)
|
|
287
|
-
- [ ] Performance thresholds validated
|
|
288
|
-
- [ ] Accessibility standards verified
|
|
289
|
-
|
|
290
|
-
## Labels
|
|
291
|
-
`playwright`, `e2e-test`, `quality-validation`
|
|
292
|
-
|
|
293
|
-
## Estimate
|
|
294
|
-
{Test implementation effort: 2-5 story points}
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
### Quality Assurance Issue Template
|
|
298
|
-
|
|
299
|
-
```markdown
|
|
300
|
-
# Quality Assurance: {Feature Name}
|
|
301
|
-
|
|
302
|
-
## Quality Validation Scope
|
|
303
|
-
{Overall quality validation for feature/epic}
|
|
304
|
-
|
|
305
|
-
## ISO 25010 Quality Assessment
|
|
306
|
-
**Quality Characteristics Validation:**
|
|
307
|
-
- [ ] Functional Suitability: Completeness, correctness, appropriateness
|
|
308
|
-
- [ ] Performance Efficiency: Time behavior, resource utilization, capacity
|
|
309
|
-
- [ ] Usability: Interface aesthetics, accessibility, learnability, operability
|
|
310
|
-
- [ ] Security: Confidentiality, integrity, authentication, authorization
|
|
311
|
-
- [ ] Reliability: Fault tolerance, recovery, availability
|
|
312
|
-
- [ ] Compatibility: Browser, device, integration compatibility
|
|
313
|
-
- [ ] Maintainability: Code quality, modularity, testability
|
|
314
|
-
- [ ] Portability: Environment adaptability, installation procedures
|
|
315
|
-
|
|
316
|
-
## Quality Gates Validation
|
|
317
|
-
**Entry Criteria:**
|
|
318
|
-
- [ ] All implementation tasks completed
|
|
319
|
-
- [ ] Unit tests passing
|
|
320
|
-
- [ ] Code review approved
|
|
321
|
-
|
|
322
|
-
**Exit Criteria:**
|
|
323
|
-
- [ ] All test types completed with >95% pass rate
|
|
324
|
-
- [ ] No critical/high severity defects
|
|
325
|
-
- [ ] Performance benchmarks met
|
|
326
|
-
- [ ] Security validation passed
|
|
327
|
-
|
|
328
|
-
## Quality Metrics
|
|
329
|
-
- [ ] Test coverage: {target}%
|
|
330
|
-
- [ ] Defect density: <{threshold} defects/KLOC
|
|
331
|
-
- [ ] Performance: Response time <{threshold}ms
|
|
332
|
-
- [ ] Accessibility: WCAG {level} compliance
|
|
333
|
-
- [ ] Security: Zero critical vulnerabilities
|
|
334
|
-
|
|
335
|
-
## Labels
|
|
336
|
-
`quality-assurance`, `iso25010`, `quality-gates`
|
|
337
|
-
|
|
338
|
-
## Estimate
|
|
339
|
-
{Quality validation effort: 3-5 story points}
|
|
340
|
-
```
|
|
341
|
-
|
|
342
|
-
## Success Metrics
|
|
343
|
-
|
|
344
|
-
### Test Coverage Metrics
|
|
345
|
-
|
|
346
|
-
- **Code Coverage**: >80% line coverage, >90% branch coverage for critical paths
|
|
347
|
-
- **Functional Coverage**: 100% acceptance criteria validation
|
|
348
|
-
- **Risk Coverage**: 100% high-risk scenario testing
|
|
349
|
-
- **Quality Characteristics Coverage**: Validation for all applicable ISO 25010 characteristics
|
|
350
|
-
|
|
351
|
-
### Quality Validation Metrics
|
|
352
|
-
|
|
353
|
-
- **Defect Detection Rate**: >95% of defects found before production
|
|
354
|
-
- **Test Execution Efficiency**: >90% test automation coverage
|
|
355
|
-
- **Quality Gate Compliance**: 100% quality gates passed before release
|
|
356
|
-
- **Risk Mitigation**: 100% identified risks addressed with mitigation strategies
|
|
357
|
-
|
|
358
|
-
### Process Efficiency Metrics
|
|
359
|
-
|
|
360
|
-
- **Test Planning Time**: <2 hours to create comprehensive test strategy
|
|
361
|
-
- **Test Implementation Speed**: <1 day per story point of test development
|
|
362
|
-
- **Quality Feedback Time**: <2 hours from test completion to quality assessment
|
|
363
|
-
- **Documentation Completeness**: 100% test issues have complete template information
|
|
364
|
-
|
|
365
|
-
This comprehensive test planning approach ensures thorough quality validation aligned with industry standards while maintaining efficient project management and clear accountability for all testing activities.
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.'
|
|
3
|
-
mode: 'agent'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Code Exemplars Blueprint Generator
|
|
7
|
-
|
|
8
|
-
## Configuration Variables
|
|
9
|
-
${PROJECT_TYPE="Auto-detect|.NET|Java|JavaScript|TypeScript|React|Angular|Python|Other"} <!-- Primary technology -->
|
|
10
|
-
${SCAN_DEPTH="Basic|Standard|Comprehensive"} <!-- How deeply to analyze the codebase -->
|
|
11
|
-
${INCLUDE_CODE_SNIPPETS=true|false} <!-- Include actual code snippets in addition to file references -->
|
|
12
|
-
${CATEGORIZATION="Pattern Type|Architecture Layer|File Type"} <!-- How to organize exemplars -->
|
|
13
|
-
${MAX_EXAMPLES_PER_CATEGORY=3} <!-- Maximum number of examples per category -->
|
|
14
|
-
${INCLUDE_COMMENTS=true|false} <!-- Include explanatory comments for each exemplar -->
|
|
15
|
-
|
|
16
|
-
## Generated Prompt
|
|
17
|
-
|
|
18
|
-
"Scan this codebase and generate an exemplars.md file that identifies high-quality, representative code examples. The exemplars should demonstrate our coding standards and patterns to help maintain consistency. Use the following approach:
|
|
19
|
-
|
|
20
|
-
### 1. Codebase Analysis Phase
|
|
21
|
-
- ${PROJECT_TYPE == "Auto-detect" ? "Automatically detect primary programming languages and frameworks by scanning file extensions and configuration files" : `Focus on ${PROJECT_TYPE} code files`}
|
|
22
|
-
- Identify files with high-quality implementation, good documentation, and clear structure
|
|
23
|
-
- Look for commonly used patterns, architecture components, and well-structured implementations
|
|
24
|
-
- Prioritize files that demonstrate best practices for our technology stack
|
|
25
|
-
- Only reference actual files that exist in the codebase - no hypothetical examples
|
|
26
|
-
|
|
27
|
-
### 2. Exemplar Identification Criteria
|
|
28
|
-
- Well-structured, readable code with clear naming conventions
|
|
29
|
-
- Comprehensive comments and documentation
|
|
30
|
-
- Proper error handling and validation
|
|
31
|
-
- Adherence to design patterns and architectural principles
|
|
32
|
-
- Separation of concerns and single responsibility principle
|
|
33
|
-
- Efficient implementation without code smells
|
|
34
|
-
- Representative of our standard approaches
|
|
35
|
-
|
|
36
|
-
### 3. Core Pattern Categories
|
|
37
|
-
|
|
38
|
-
${PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect" ? `#### .NET Exemplars (if detected)
|
|
39
|
-
- **Domain Models**: Find entities that properly implement encapsulation and domain logic
|
|
40
|
-
- **Repository Implementations**: Examples of our data access approach
|
|
41
|
-
- **Service Layer Components**: Well-structured business logic implementations
|
|
42
|
-
- **Controller Patterns**: Clean API controllers with proper validation and responses
|
|
43
|
-
- **Dependency Injection Usage**: Good examples of DI configuration and usage
|
|
44
|
-
- **Middleware Components**: Custom middleware implementations
|
|
45
|
-
- **Unit Test Patterns**: Well-structured tests with proper arrangement and assertions` : ""}
|
|
46
|
-
|
|
47
|
-
${(PROJECT_TYPE == "JavaScript" || PROJECT_TYPE == "TypeScript" || PROJECT_TYPE == "React" || PROJECT_TYPE == "Angular" || PROJECT_TYPE == "Auto-detect") ? `#### Frontend Exemplars (if detected)
|
|
48
|
-
- **Component Structure**: Clean, well-structured components
|
|
49
|
-
- **State Management**: Good examples of state handling
|
|
50
|
-
- **API Integration**: Well-implemented service calls and data handling
|
|
51
|
-
- **Form Handling**: Validation and submission patterns
|
|
52
|
-
- **Routing Implementation**: Navigation and route configuration
|
|
53
|
-
- **UI Components**: Reusable, well-structured UI elements
|
|
54
|
-
- **Unit Test Examples**: Component and service tests` : ""}
|
|
55
|
-
|
|
56
|
-
${PROJECT_TYPE == "Java" || PROJECT_TYPE == "Auto-detect" ? `#### Java Exemplars (if detected)
|
|
57
|
-
- **Entity Classes**: Well-designed JPA entities or domain models
|
|
58
|
-
- **Service Implementations**: Clean service layer components
|
|
59
|
-
- **Repository Patterns**: Data access implementations
|
|
60
|
-
- **Controller/Resource Classes**: API endpoint implementations
|
|
61
|
-
- **Configuration Classes**: Application configuration
|
|
62
|
-
- **Unit Tests**: Well-structured JUnit tests` : ""}
|
|
63
|
-
|
|
64
|
-
${PROJECT_TYPE == "Python" || PROJECT_TYPE == "Auto-detect" ? `#### Python Exemplars (if detected)
|
|
65
|
-
- **Class Definitions**: Well-structured classes with proper documentation
|
|
66
|
-
- **API Routes/Views**: Clean API implementations
|
|
67
|
-
- **Data Models**: ORM model definitions
|
|
68
|
-
- **Service Functions**: Business logic implementations
|
|
69
|
-
- **Utility Modules**: Helper and utility functions
|
|
70
|
-
- **Test Cases**: Well-structured unit tests` : ""}
|
|
71
|
-
|
|
72
|
-
### 4. Architecture Layer Exemplars
|
|
73
|
-
|
|
74
|
-
- **Presentation Layer**:
|
|
75
|
-
- User interface components
|
|
76
|
-
- Controllers/API endpoints
|
|
77
|
-
- View models/DTOs
|
|
78
|
-
|
|
79
|
-
- **Business Logic Layer**:
|
|
80
|
-
- Service implementations
|
|
81
|
-
- Business logic components
|
|
82
|
-
- Workflow orchestration
|
|
83
|
-
|
|
84
|
-
- **Data Access Layer**:
|
|
85
|
-
- Repository implementations
|
|
86
|
-
- Data models
|
|
87
|
-
- Query patterns
|
|
88
|
-
|
|
89
|
-
- **Cross-Cutting Concerns**:
|
|
90
|
-
- Logging implementations
|
|
91
|
-
- Error handling
|
|
92
|
-
- Authentication/authorization
|
|
93
|
-
- Validation
|
|
94
|
-
|
|
95
|
-
### 5. Exemplar Documentation Format
|
|
96
|
-
|
|
97
|
-
For each identified exemplar, document:
|
|
98
|
-
- File path (relative to repository root)
|
|
99
|
-
- Brief description of what makes it exemplary
|
|
100
|
-
- Pattern or component type it represents
|
|
101
|
-
${INCLUDE_COMMENTS ? "- Key implementation details and coding principles demonstrated" : ""}
|
|
102
|
-
${INCLUDE_CODE_SNIPPETS ? "- Small, representative code snippet (if applicable)" : ""}
|
|
103
|
-
|
|
104
|
-
${SCAN_DEPTH == "Comprehensive" ? `### 6. Additional Documentation
|
|
105
|
-
|
|
106
|
-
- **Consistency Patterns**: Note consistent patterns observed across the codebase
|
|
107
|
-
- **Architecture Observations**: Document architectural patterns evident in the code
|
|
108
|
-
- **Implementation Conventions**: Identify naming and structural conventions
|
|
109
|
-
- **Anti-patterns to Avoid**: Note any areas where the codebase deviates from best practices` : ""}
|
|
110
|
-
|
|
111
|
-
### ${SCAN_DEPTH == "Comprehensive" ? "7" : "6"}. Output Format
|
|
112
|
-
|
|
113
|
-
Create exemplars.md with:
|
|
114
|
-
1. Introduction explaining the purpose of the document
|
|
115
|
-
2. Table of contents with links to categories
|
|
116
|
-
3. Organized sections based on ${CATEGORIZATION}
|
|
117
|
-
4. Up to ${MAX_EXAMPLES_PER_CATEGORY} exemplars per category
|
|
118
|
-
5. Conclusion with recommendations for maintaining code quality
|
|
119
|
-
|
|
120
|
-
The document should be actionable for developers needing guidance on implementing new features consistent with existing patterns.
|
|
121
|
-
|
|
122
|
-
Important: Only include actual files from the codebase. Verify all file paths exist. Do not include placeholder or hypothetical examples.
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
## Expected Output
|
|
126
|
-
Upon running this prompt, GitHub Copilot will scan your codebase and generate an exemplars.md file containing real references to high-quality code examples in your repository, organized according to your selected parameters.
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.'
|
|
3
|
-
mode: 'agent'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
Transform this Python script into a polished, beginner-friendly project by refactoring the code, adding clear instructional comments, and generating a complete markdown tutorial.
|
|
7
|
-
|
|
8
|
-
1. **Refactor the code**
|
|
9
|
-
- Apply standard Python best practices
|
|
10
|
-
- Ensure code follows the PEP 8 style guide
|
|
11
|
-
- Rename unclear variables and functions if needed for clarity
|
|
12
|
-
|
|
13
|
-
1. **Add comments throughout the code**
|
|
14
|
-
- Use a beginner-friendly, instructional tone
|
|
15
|
-
- Explain what each part of the code is doing and why it's important
|
|
16
|
-
- Focus on the logic and reasoning, not just syntax
|
|
17
|
-
- Avoid redundant or superficial comments
|
|
18
|
-
|
|
19
|
-
1. **Generate a tutorial as a `README.md` file**
|
|
20
|
-
Include the following sections:
|
|
21
|
-
- **Project Overview:** What the script does and why it's useful
|
|
22
|
-
- **Setup Instructions:** Prerequisites, dependencies, and how to run the script
|
|
23
|
-
- **How It Works:** A breakdown of the code logic based on the comments
|
|
24
|
-
- **Example Usage:** A code snippet showing how to use it
|
|
25
|
-
- **Sample Output:** (Optional) Include if the script returns visible results
|
|
26
|
-
- Use clear, readable Markdown formatting
|