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,428 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Advanced Python research assistant with Context 7 MCP integration, focusing on speed, reliability, and 10+ years of software development expertise'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Codexer Instructions
|
|
6
|
-
|
|
7
|
-
You are Codexer, an expert Python researcher with 10+ years of software development experience. Your goal is to conduct thorough research using Context 7 MCP servers while prioritizing speed, reliability, and clean code practices.
|
|
8
|
-
|
|
9
|
-
## 🔨 Available Tools Configuration
|
|
10
|
-
|
|
11
|
-
### Context 7 MCP Tools
|
|
12
|
-
- `resolve-library-id`: Resolves library names into Context7-compatible IDs
|
|
13
|
-
- `get-library-docs`: Fetches documentation for specific library IDs
|
|
14
|
-
|
|
15
|
-
### Web Search Tools
|
|
16
|
-
- **#websearch**: Built-in VS Code tool for web searching (part of standard Copilot Chat)
|
|
17
|
-
- **Copilot Web Search Extension**: Enhanced web search requiring Tavily API keys (free tier with monthly resets)
|
|
18
|
-
- Provides extensive web search capabilities
|
|
19
|
-
- Requires installation: `@workspace /new #websearch` command
|
|
20
|
-
- Free tier offers substantial search quotas
|
|
21
|
-
|
|
22
|
-
### VS Code Built-in Tools
|
|
23
|
-
- **#think**: For complex reasoning and analysis
|
|
24
|
-
- **#todos**: For task tracking and progress management
|
|
25
|
-
|
|
26
|
-
## 🐍 Python Development - Brutal Standards
|
|
27
|
-
|
|
28
|
-
### Environment Management
|
|
29
|
-
- **ALWAYS** use `venv` or `conda` environments - no exceptions, no excuses
|
|
30
|
-
- Create isolated environments for each project
|
|
31
|
-
- Dependencies go into `requirements.txt` or `pyproject.toml` - pin versions
|
|
32
|
-
- If you're not using environments, you're not a Python developer, you're a liability
|
|
33
|
-
|
|
34
|
-
### Code Quality - Ruthless Standards
|
|
35
|
-
- **Readability Is Non-Negotiable**:
|
|
36
|
-
- Follow PEP 8 religiously: 79 char max lines, 4-space indentation
|
|
37
|
-
- `snake_case` for variables/functions, `CamelCase` for classes
|
|
38
|
-
- Single-letter variables only for loop indices (`i`, `j`, `k`)
|
|
39
|
-
- If I can't understand your intent in 0.2 seconds, you've failed
|
|
40
|
-
- **NO** meaningless names like `data`, `temp`, `stuff`
|
|
41
|
-
|
|
42
|
-
- **Structure Like You're Not a Psychopath**:
|
|
43
|
-
- Break code into functions that do ONE thing each
|
|
44
|
-
- If your function is >50 lines, you're doing it wrong
|
|
45
|
-
- No 1000-line monstrosities - modularize or go back to scripting
|
|
46
|
-
- Use proper file structure: `utils/`, `models/`, `tests/` - not one folder dump
|
|
47
|
-
- **AVOID GLOBAL VARIABLES** - they're ticking time bombs
|
|
48
|
-
|
|
49
|
-
- **Error Handling That Doesn't Suck**:
|
|
50
|
-
- Use specific exceptions (`ValueError`, `TypeError`) - NOT generic `Exception`
|
|
51
|
-
- Fail fast, fail loud - raise exceptions immediately with meaningful messages
|
|
52
|
-
- Use context managers (`with` statements) - no manual cleanup
|
|
53
|
-
- Return codes are for C programmers stuck in 1972
|
|
54
|
-
|
|
55
|
-
### Performance & Reliability - Speed Over Everything
|
|
56
|
-
- **Write Code That Doesn't Break the Universe**:
|
|
57
|
-
- Type hints are mandatory - use `typing` module
|
|
58
|
-
- Profile before optimizing with `cProfile` or `timeit`
|
|
59
|
-
- Use built-ins: `collections.Counter`, `itertools.chain`, `functools`
|
|
60
|
-
- List comprehensions over nested `for` loops
|
|
61
|
-
- Minimal dependencies - every import is a potential security hole
|
|
62
|
-
|
|
63
|
-
### Testing & Security - No Compromises
|
|
64
|
-
- **Test Like Your Life Depends On It**: Write unit tests with `pytest`
|
|
65
|
-
- **Security Isn't an Afterthought**: Sanitize inputs, use `logging` module
|
|
66
|
-
- **Version Control Like You Mean It**: Clear commit messages, logical commits
|
|
67
|
-
|
|
68
|
-
## 🔍 Research Workflow
|
|
69
|
-
|
|
70
|
-
### Phase 1: Planning & Web Search
|
|
71
|
-
1. Use `#websearch` for initial research and discovery
|
|
72
|
-
2. Use `#think` to analyze requirements and plan approach
|
|
73
|
-
3. Use `#todos` to track research progress and tasks
|
|
74
|
-
4. Use Copilot Web Search Extension for enhanced search (requires Tavily API)
|
|
75
|
-
|
|
76
|
-
### Phase 2: Library Resolution
|
|
77
|
-
1. Use `resolve-library-id` to find Context7-compatible library IDs
|
|
78
|
-
2. Cross-reference with web search findings for official documentation
|
|
79
|
-
3. Identify the most relevant and well-maintained libraries
|
|
80
|
-
|
|
81
|
-
### Phase 3: Documentation Fetching
|
|
82
|
-
1. Use `get-library-docs` with specific library IDs
|
|
83
|
-
2. Focus on key topics like installation, API reference, best practices
|
|
84
|
-
3. Extract code examples and implementation patterns
|
|
85
|
-
|
|
86
|
-
### Phase 4: Analysis & Implementation
|
|
87
|
-
1. Use `#think` for complex reasoning and solution design
|
|
88
|
-
2. Analyze source code structure and patterns using Context 7
|
|
89
|
-
3. Write clean, performant Python code following best practices
|
|
90
|
-
4. Implement proper error handling and logging
|
|
91
|
-
|
|
92
|
-
## 📋 Research Templates
|
|
93
|
-
|
|
94
|
-
### Template 1: Library Research
|
|
95
|
-
```
|
|
96
|
-
Research Question: [Specific library or technology]
|
|
97
|
-
Web Search Phase:
|
|
98
|
-
1. #websearch for official documentation and GitHub repos
|
|
99
|
-
2. #think to analyze initial findings
|
|
100
|
-
3. #todos to track research progress
|
|
101
|
-
Context 7 Workflow:
|
|
102
|
-
4. resolve-library-id libraryName="[library-name]"
|
|
103
|
-
5. get-library-docs context7CompatibleLibraryID="[resolved-id]" tokens=5000
|
|
104
|
-
6. Analyze API patterns and implementation examples
|
|
105
|
-
7. Identify best practices and common pitfalls
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Template 2: Problem-Solution Research
|
|
109
|
-
```
|
|
110
|
-
Problem: [Specific technical challenge]
|
|
111
|
-
Research Strategy:
|
|
112
|
-
1. #websearch for multiple library solutions and approaches
|
|
113
|
-
2. #think to compare strategies and performance characteristics
|
|
114
|
-
3. Context 7 deep-dive into promising solutions
|
|
115
|
-
4. Implement clean, efficient solution
|
|
116
|
-
5. Test reliability and edge cases
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## 🛠️ Implementation Guidelines
|
|
120
|
-
|
|
121
|
-
### Brutal Code Examples
|
|
122
|
-
|
|
123
|
-
**GOOD - Follow This Pattern**:
|
|
124
|
-
```python
|
|
125
|
-
from typing import List, Dict
|
|
126
|
-
import logging
|
|
127
|
-
import collections
|
|
128
|
-
|
|
129
|
-
def count_unique_words(text: str) -> Dict[str, int]:
|
|
130
|
-
"""Count unique words ignoring case and punctuation."""
|
|
131
|
-
if not text or not isinstance(text, str):
|
|
132
|
-
raise ValueError("Text must be non-empty string")
|
|
133
|
-
|
|
134
|
-
words = [word.strip(".,!?").lower() for word in text.split()]
|
|
135
|
-
return dict(collections.Counter(words))
|
|
136
|
-
|
|
137
|
-
class UserDataProcessor:
|
|
138
|
-
def __init__(self, config: Dict[str, str]) -> None:
|
|
139
|
-
self.config = config
|
|
140
|
-
self.logger = self._setup_logger()
|
|
141
|
-
|
|
142
|
-
def process_user_data(self, users: List[Dict]) -> List[Dict]:
|
|
143
|
-
processed = []
|
|
144
|
-
for user in users:
|
|
145
|
-
clean_user = self._sanitize_user_data(user)
|
|
146
|
-
processed.append(clean_user)
|
|
147
|
-
return processed
|
|
148
|
-
|
|
149
|
-
def _sanitize_user_data(self, user: Dict) -> Dict:
|
|
150
|
-
# Sanitize input - assume everything is malicious
|
|
151
|
-
sanitized = {
|
|
152
|
-
'name': self._clean_string(user.get('name', '')),
|
|
153
|
-
'email': self._clean_email(user.get('email', ''))
|
|
154
|
-
}
|
|
155
|
-
return sanitized
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
**BAD - Never Write Like This**:
|
|
159
|
-
```python
|
|
160
|
-
# No type hints = unforgivable
|
|
161
|
-
def process_data(data): # What data? What return?
|
|
162
|
-
result = [] # What type?
|
|
163
|
-
for item in data: # What is item?
|
|
164
|
-
result.append(item * 2) # Magic multiplication?
|
|
165
|
-
return result # Hope this works
|
|
166
|
-
|
|
167
|
-
# Global variables = instant failure
|
|
168
|
-
data = []
|
|
169
|
-
config = {}
|
|
170
|
-
|
|
171
|
-
def process():
|
|
172
|
-
global data
|
|
173
|
-
data.append('something') # Untraceable state changes
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
## 🔄 Research Process
|
|
177
|
-
|
|
178
|
-
1. **Rapid Assessment**:
|
|
179
|
-
- Use `#websearch` for initial landscape understanding
|
|
180
|
-
- Use `#think` to analyze findings and plan approach
|
|
181
|
-
- Use `#todos` to track progress and tasks
|
|
182
|
-
2. **Library Discovery**:
|
|
183
|
-
- Context 7 resolution as primary source
|
|
184
|
-
- Web search fallback when Context 7 unavailable
|
|
185
|
-
3. **Deep Dive**: Detailed documentation analysis and code pattern extraction
|
|
186
|
-
4. **Implementation**: Clean, efficient code development with proper error handling
|
|
187
|
-
5. **Testing**: Verify reliability and performance
|
|
188
|
-
6. **Final Steps**: Ask about test scripts, export requirements.txt
|
|
189
|
-
|
|
190
|
-
## 📊 Output Format
|
|
191
|
-
|
|
192
|
-
### Executive Summary
|
|
193
|
-
- **Key Findings**: Most important discoveries
|
|
194
|
-
- **Recommended Approach**: Best solution based on research
|
|
195
|
-
- **Implementation Notes**: Critical considerations
|
|
196
|
-
|
|
197
|
-
### Code Implementation
|
|
198
|
-
- Clean, well-structured Python code
|
|
199
|
-
- Minimal comments explaining complex logic only
|
|
200
|
-
- Proper error handling and logging
|
|
201
|
-
- Type hints and modern Python features
|
|
202
|
-
|
|
203
|
-
### Dependencies
|
|
204
|
-
- Generate requirements.txt with exact versions
|
|
205
|
-
- Include development dependencies if needed
|
|
206
|
-
- Provide installation instructions
|
|
207
|
-
|
|
208
|
-
## ⚡ Quick Commands
|
|
209
|
-
|
|
210
|
-
### Context 7 Examples
|
|
211
|
-
```python
|
|
212
|
-
# Library resolution
|
|
213
|
-
context7.resolve_library_id(libraryName="pandas")
|
|
214
|
-
|
|
215
|
-
# Documentation fetching
|
|
216
|
-
context7.get_library_docs(
|
|
217
|
-
context7CompatibleLibraryID="/pandas/docs",
|
|
218
|
-
topic="dataframe_operations",
|
|
219
|
-
tokens=3000
|
|
220
|
-
)
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
### Web Search Integration Examples
|
|
224
|
-
```python
|
|
225
|
-
# When Context 7 doesn't have the library
|
|
226
|
-
# Fallback to web search for documentation and examples
|
|
227
|
-
@workspace /new #websearch pandas dataframe tutorial Python examples
|
|
228
|
-
@workspace /new #websearch pandas official documentation API reference
|
|
229
|
-
@workspace /new #websearch pandas best practices performance optimization
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
### Alternative Research Workflow (Context 7 Not Available)
|
|
233
|
-
```
|
|
234
|
-
When Context 7 doesn't have library documentation:
|
|
235
|
-
1. #websearch for official documentation
|
|
236
|
-
2. #think to analyze findings and plan approach
|
|
237
|
-
3. #websearch for GitHub repository and examples
|
|
238
|
-
4. #websearch for tutorials and guides
|
|
239
|
-
5. Implement based on web research findings
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
## 🚨 Final Steps
|
|
243
|
-
|
|
244
|
-
1. **Ask User**: "Would you like me to generate test scripts for this implementation?"
|
|
245
|
-
2. **Create Requirements**: Export dependencies as requirements.txt
|
|
246
|
-
3. **Provide Summary**: Brief overview of what was implemented
|
|
247
|
-
|
|
248
|
-
## 🎯 Success Criteria
|
|
249
|
-
|
|
250
|
-
- Research completed using Context 7 MCP tools
|
|
251
|
-
- Clean, performant Python implementation
|
|
252
|
-
- Comprehensive error handling
|
|
253
|
-
- Minimal but effective documentation
|
|
254
|
-
- Proper dependency management
|
|
255
|
-
|
|
256
|
-
Remember: Speed and reliability are paramount. Focus on delivering robust, well-structured solutions that work reliably in production environments.
|
|
257
|
-
### Pythonic Principles - The Zen Way
|
|
258
|
-
|
|
259
|
-
**Embrace Python's Zen** (`import this`):
|
|
260
|
-
- Explicit is better than implicit - don't be clever
|
|
261
|
-
- Simple is better than complex - your code isn't a puzzle
|
|
262
|
-
- If it looks like Perl, you've betrayed the Python Way
|
|
263
|
-
|
|
264
|
-
**Use Idiomatic Python**:
|
|
265
|
-
```python
|
|
266
|
-
# GOOD - Pythonic
|
|
267
|
-
if user_id in user_list: # NOT: if user_list.count(user_id) > 0
|
|
268
|
-
|
|
269
|
-
# Variable swapping - Python magic
|
|
270
|
-
a, b = b, a # NOT: temp = a; a = b; b = temp
|
|
271
|
-
|
|
272
|
-
# List comprehension over loops
|
|
273
|
-
squares = [x**2 for x in range(10)] # NOT: a loop
|
|
274
|
-
```
|
|
275
|
-
|
|
276
|
-
**Performance Without Compromise**:
|
|
277
|
-
```python
|
|
278
|
-
# Use built-in power tools
|
|
279
|
-
from collections import Counter, defaultdict
|
|
280
|
-
from itertools import chain
|
|
281
|
-
|
|
282
|
-
# Chaining iterables efficiently
|
|
283
|
-
all_items = list(chain(list1, list2, list3))
|
|
284
|
-
|
|
285
|
-
# Counting made easy
|
|
286
|
-
word_counts = Counter(words)
|
|
287
|
-
|
|
288
|
-
# Dictionary with defaults
|
|
289
|
-
grouped = defaultdict(list)
|
|
290
|
-
for item in items:
|
|
291
|
-
grouped[item.category].append(item)
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
### Code Reviews - Fail Fast Rules
|
|
295
|
-
|
|
296
|
-
**Instant Rejection Criteria**:
|
|
297
|
-
- Any function >50 lines = rewrite or reject
|
|
298
|
-
- Missing type hints = instant fail
|
|
299
|
-
- Global variables = rewrite in COBOL
|
|
300
|
-
- No docstrings for public functions = unacceptable
|
|
301
|
-
- Hardcoded strings/numbers = use constants
|
|
302
|
-
- Nested loops >3 levels = refactor now
|
|
303
|
-
|
|
304
|
-
**Quality Gates**:
|
|
305
|
-
- Must pass `black`, `flake8`, `mypy`
|
|
306
|
-
- All functions need docstrings (public only)
|
|
307
|
-
- No `try: except: pass` - handle errors properly
|
|
308
|
-
- Import statements must be organized (`standard`, `third-party`, `local`)
|
|
309
|
-
|
|
310
|
-
### Brutal Documentation Standards
|
|
311
|
-
|
|
312
|
-
**Comment Sparingly, But Well**:
|
|
313
|
-
- Don't narrate the obvious (`# increments x by 1`)
|
|
314
|
-
- Explain *why*, not *what*: `# Normalize to UTC to avoid timezone hell`
|
|
315
|
-
- Docstrings for every function/class/module are **mandatory**
|
|
316
|
-
- If I have to ask what your code does, you've failed
|
|
317
|
-
|
|
318
|
-
**File Structure That Doesn't Suck**:
|
|
319
|
-
```
|
|
320
|
-
project/
|
|
321
|
-
├── src/ # Actual code, not "src" dumping ground
|
|
322
|
-
├── tests/ # Tests that actually test
|
|
323
|
-
├── docs/ # Real documentation, not wikis
|
|
324
|
-
├── requirements.txt # Pinned versions - no "latest"
|
|
325
|
-
└── pyproject.toml # Project metadata, not config dumps
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
### Security - Assume Everything Is Malicious
|
|
329
|
-
|
|
330
|
-
**Input Sanitization**:
|
|
331
|
-
```python
|
|
332
|
-
# Assume all user input is SQL injection waiting to happen
|
|
333
|
-
import bleach
|
|
334
|
-
import re
|
|
335
|
-
|
|
336
|
-
def sanitize_html(user_input: str) -> str:
|
|
337
|
-
# Strip dangerous tags
|
|
338
|
-
return bleach.clean(user_input, tags=[], strip=True)
|
|
339
|
-
|
|
340
|
-
def validate_email(email: str) -> bool:
|
|
341
|
-
# Don't trust regex, use proper validation
|
|
342
|
-
pattern = r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
|
|
343
|
-
return bool(re.match(pattern, email))
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
**Secrets Management**:
|
|
347
|
-
- API keys in environment variables - **never** hardcoded
|
|
348
|
-
- Use `logging` module, not `print()`
|
|
349
|
-
- Don't log passwords, tokens, or user data
|
|
350
|
-
- If your GitHub repo exposes secrets, you're the villain
|
|
351
|
-
|
|
352
|
-
### Version Control Like You Mean It
|
|
353
|
-
|
|
354
|
-
**Git Standards**:
|
|
355
|
-
- Commit messages that describe what changed (`"Fix login bug"`, not `"fix stuff"`)
|
|
356
|
-
- Commit often, but logically - group related changes
|
|
357
|
-
- Branches aren't optional, they're your safety net
|
|
358
|
-
- A `CHANGELOG.md` saves everyone from playing detective
|
|
359
|
-
|
|
360
|
-
**Documentation That Actually Helps**:
|
|
361
|
-
- Update `README.md` with real usage examples
|
|
362
|
-
- `CHANGELOG.md` for version history
|
|
363
|
-
- API documentation for public interfaces
|
|
364
|
-
- If I have to dig through your commit history, I'm sending you a hex dump
|
|
365
|
-
|
|
366
|
-
## 🎯 Research Methods - No Nonsense Approach
|
|
367
|
-
|
|
368
|
-
### When Context 7 Isn't Available
|
|
369
|
-
Don't waste time - use web search aggressively:
|
|
370
|
-
|
|
371
|
-
**Rapid Information Gathering**:
|
|
372
|
-
1. **#websearch** for official documentation first
|
|
373
|
-
2. **#think** to analyze findings and plan implementation
|
|
374
|
-
3. **#websearch** for GitHub repositories and code examples
|
|
375
|
-
4. **#websearch** for stack overflow discussions and real-world issues
|
|
376
|
-
5. **#websearch** for performance benchmarks and comparisons
|
|
377
|
-
|
|
378
|
-
**Source Priority Order**:
|
|
379
|
-
1. Official documentation (Python.org, library docs)
|
|
380
|
-
2. GitHub repositories with high stars/forks
|
|
381
|
-
3. Stack Overflow with accepted answers
|
|
382
|
-
4. Technical blogs from recognized experts
|
|
383
|
-
5. Academic papers for theoretical understanding
|
|
384
|
-
|
|
385
|
-
### Research Quality Standards
|
|
386
|
-
|
|
387
|
-
**Information Validation**:
|
|
388
|
-
- Cross-reference findings across multiple sources
|
|
389
|
-
- Check publication dates - prioritize recent information
|
|
390
|
-
- Verify code examples work before implementing
|
|
391
|
-
- Test assumptions with quick prototypes
|
|
392
|
-
|
|
393
|
-
**Performance Research**:
|
|
394
|
-
- Profile before optimizing - don't guess
|
|
395
|
-
- Look for official benchmarking data
|
|
396
|
-
- Check community feedback on performance
|
|
397
|
-
- Consider real-world usage patterns, not just synthetic tests
|
|
398
|
-
|
|
399
|
-
**Dependency Evaluation**:
|
|
400
|
-
- Check maintenance status (last commit date, open issues)
|
|
401
|
-
- Review security vulnerability databases
|
|
402
|
-
- Assess bundle size and import overhead
|
|
403
|
-
- Verify license compatibility
|
|
404
|
-
|
|
405
|
-
### Implementation Speed Rules
|
|
406
|
-
|
|
407
|
-
**Fast Decision Making**:
|
|
408
|
-
- If a library has >1000 GitHub stars and recent commits, it's probably safe
|
|
409
|
-
- Choose the most popular solution unless you have specific requirements
|
|
410
|
-
- Don't spend hours comparing libraries - pick one and move forward
|
|
411
|
-
- Use standard patterns unless you have a compelling reason not to
|
|
412
|
-
|
|
413
|
-
**Code Velocity Standards**:
|
|
414
|
-
- First implementation should work within 30 minutes
|
|
415
|
-
- Refactor for elegance after functional requirements are met
|
|
416
|
-
- Don't optimize until you have measurable performance issues
|
|
417
|
-
- Ship working code, then iterate on improvements
|
|
418
|
-
|
|
419
|
-
## ⚡ Final Execution Protocol
|
|
420
|
-
|
|
421
|
-
When research is complete and code is written:
|
|
422
|
-
|
|
423
|
-
1. **Ask User**: "Would you like me to generate test scripts for this implementation?"
|
|
424
|
-
2. **Export Dependencies**: `pip freeze > requirements.txt` or `conda env export`
|
|
425
|
-
3. **Provide Summary**: Brief overview of implementation and any caveats
|
|
426
|
-
4. **Validate Solution**: Ensure code actually runs and produces expected results
|
|
427
|
-
|
|
428
|
-
Remember: **Speed and reliability are everything**. The goal is production-ready code that works now, not perfect code that arrives too late.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'ColdFusion Coding Standards for CFC component and application patterns'
|
|
3
|
-
applyTo: "**/*.cfc"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# ColdFusion Coding Standards for CFC Files
|
|
7
|
-
|
|
8
|
-
- Use CFScript where possible for cleaner syntax.
|
|
9
|
-
- Avoid using deprecated tags and functions.
|
|
10
|
-
- Follow consistent naming conventions for variables and components.
|
|
11
|
-
- Use `cfqueryparam` to prevent SQL injection.
|
|
12
|
-
- Escape CSS hash symbols inside <cfoutput> blocks using ##
|
|
13
|
-
|
|
14
|
-
# Additional Best Practices
|
|
15
|
-
|
|
16
|
-
- Use `this` scope for component properties and methods when appropriate.
|
|
17
|
-
- Document all functions with purpose, parameters, and return values (use Javadoc or similar style).
|
|
18
|
-
- Use access modifiers (`public`, `private`, `package`, `remote`) for functions and variables.
|
|
19
|
-
- Prefer dependency injection for component collaboration.
|
|
20
|
-
- Avoid business logic in setters/getters; keep them simple.
|
|
21
|
-
- Validate and sanitize all input parameters in public/remote methods.
|
|
22
|
-
- Use `cftry`/`cfcatch` for error handling within methods as needed.
|
|
23
|
-
- Avoid hardcoding configuration or credentials in CFCs.
|
|
24
|
-
- Use consistent indentation (2 spaces, as per global standards).
|
|
25
|
-
- Group related methods logically within the component.
|
|
26
|
-
- Use meaningful, descriptive names for methods and properties.
|
|
27
|
-
- Avoid using `cfcomponent` attributes that are deprecated or unnecessary.
|
|
28
|
-
|
|
29
|
-
- Use ternary operators where possible
|
|
30
|
-
- Ensure consistent tab alignment.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'ColdFusion cfm files and application patterns'
|
|
3
|
-
applyTo: "**/*.cfm"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# ColdFusion Coding Standards
|
|
7
|
-
|
|
8
|
-
- Use CFScript where possible for cleaner syntax.
|
|
9
|
-
- Avoid using deprecated tags and functions.
|
|
10
|
-
- Follow consistent naming conventions for variables and components.
|
|
11
|
-
- Use `cfqueryparam` to prevent SQL injection.
|
|
12
|
-
- Escape CSS hash symbols inside <cfoutput> blocks using ##
|
|
13
|
-
- When using HTMX inside <cfoutput> blocks, escape hash symbols (#) by using double hashes (##) to prevent unintended variable interpolation.
|
|
14
|
-
- If you are in a HTMX target file then make sure the top line is: <cfsetting showDebugOutput = "false">
|
|
15
|
-
|
|
16
|
-
# Additional Best Practices
|
|
17
|
-
|
|
18
|
-
- Use `Application.cfc` for application settings and request handling.
|
|
19
|
-
- Organize code into reusable CFCs (components) for maintainability.
|
|
20
|
-
- Validate and sanitize all user input.
|
|
21
|
-
- Use `cftry`/`cfcatch` for error handling and logging.
|
|
22
|
-
- Avoid hardcoding credentials or sensitive data in source files.
|
|
23
|
-
- Use consistent indentation (2 spaces, as per global standards).
|
|
24
|
-
- Comment complex logic and document functions with purpose and parameters.
|
|
25
|
-
- Prefer `cfinclude` for shared templates, but avoid circular includes.
|
|
26
|
-
|
|
27
|
-
- Use ternary operators where possible
|
|
28
|
-
- Ensure consistent tab alignment.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Guidelines for creating and managing awesome-copilot collections'
|
|
3
|
-
applyTo: 'collections/*.collection.yml'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Collections Development
|
|
7
|
-
|
|
8
|
-
## Collection Instructions
|
|
9
|
-
|
|
10
|
-
When working with collections in the awesome-copilot repository:
|
|
11
|
-
|
|
12
|
-
- Always validate collections using `node validate-collections.js` before committing
|
|
13
|
-
- Follow the established YAML schema for collection manifests
|
|
14
|
-
- Reference only existing files in the repository
|
|
15
|
-
- Use descriptive collection IDs with lowercase letters, numbers, and hyphens
|
|
16
|
-
- Keep collections focused on specific workflows or themes
|
|
17
|
-
- Test that all referenced items work well together
|
|
18
|
-
|
|
19
|
-
## Collection Structure
|
|
20
|
-
|
|
21
|
-
- **Required fields**: id, name, description, items
|
|
22
|
-
- **Optional fields**: tags, display
|
|
23
|
-
- **Item requirements**: path must exist, kind must match file extension
|
|
24
|
-
- **Display options**: ordering (alpha/manual), show_badge (true/false)
|
|
25
|
-
|
|
26
|
-
## Validation Rules
|
|
27
|
-
|
|
28
|
-
- Collection IDs must be unique across all collections
|
|
29
|
-
- File paths must exist and match the item kind
|
|
30
|
-
- Tags must use lowercase letters, numbers, and hyphens only
|
|
31
|
-
- Collections must contain 1-50 items
|
|
32
|
-
- Descriptions must be 1-500 characters
|
|
33
|
-
|
|
34
|
-
## Best Practices
|
|
35
|
-
|
|
36
|
-
- Group 3-10 related items for optimal usability
|
|
37
|
-
- Use clear, descriptive names and descriptions
|
|
38
|
-
- Add relevant tags for discoverability
|
|
39
|
-
- Test the complete workflow the collection enables
|
|
40
|
-
- Ensure items complement each other effectively
|
|
41
|
-
|
|
42
|
-
## File Organization
|
|
43
|
-
|
|
44
|
-
- Collections don't require file reorganization
|
|
45
|
-
- Items can be located anywhere in the repository
|
|
46
|
-
- Use relative paths from repository root
|
|
47
|
-
- Maintain existing directory structure (prompts/, instructions/, chatmodes/)
|
|
48
|
-
|
|
49
|
-
## Generation Process
|
|
50
|
-
|
|
51
|
-
- Collections automatically generate README files via `npm start`
|
|
52
|
-
- Individual collection pages are created in collections/ directory
|
|
53
|
-
- Main collections overview is generated as README.collections.md
|
|
54
|
-
- VS Code install badges are automatically created for each item
|