workspace-architect 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +1 -0
- package/.gitattributes +1 -0
- package/.github/workflows/manual-publish.yml +36 -0
- package/.github/workflows/sync-and-publish.yml +58 -0
- package/.release-it.json +20 -0
- package/CHANGELOG.md +43 -0
- package/README.md +62 -0
- package/assets/chatmodes/4.1-Beast.chatmode.md +152 -0
- package/assets/chatmodes/Thinking-Beast-Mode.chatmode.md +337 -0
- package/assets/chatmodes/Ultimate-Transparent-Thinking-Beast-Mode.chatmode.md +644 -0
- package/assets/chatmodes/accessibility.chatmode.md +298 -0
- package/assets/chatmodes/address-comments.chatmode.md +59 -0
- package/assets/chatmodes/aem-frontend-specialist.chatmode.md +385 -0
- package/assets/chatmodes/api-architect.chatmode.md +40 -0
- package/assets/chatmodes/atlassian-requirements-to-jira.chatmode.md +444 -0
- package/assets/chatmodes/azure-logic-apps-expert.chatmode.md +100 -0
- package/assets/chatmodes/azure-principal-architect.chatmode.md +58 -0
- package/assets/chatmodes/azure-saas-architect.chatmode.md +118 -0
- package/assets/chatmodes/azure-verified-modules-bicep.chatmode.md +44 -0
- package/assets/chatmodes/azure-verified-modules-terraform.chatmode.md +58 -0
- package/assets/chatmodes/bicep-implement.chatmode.md +40 -0
- package/assets/chatmodes/bicep-plan.chatmode.md +112 -0
- package/assets/chatmodes/blueprint-mode-codex.chatmode.md +110 -0
- package/assets/chatmodes/blueprint-mode.chatmode.md +171 -0
- package/assets/chatmodes/clojure-interactive-programming.chatmode.md +174 -0
- package/assets/chatmodes/code-tour.chatmode.md +205 -0
- package/assets/chatmodes/critical-thinking.chatmode.md +23 -0
- package/assets/chatmodes/csharp-dotnet-janitor.chatmode.md +83 -0
- package/assets/chatmodes/csharp-mcp-expert.chatmode.md +69 -0
- package/assets/chatmodes/debug.chatmode.md +79 -0
- package/assets/chatmodes/declarative-agents-architect.chatmode.md +76 -0
- package/assets/chatmodes/demonstrate-understanding.chatmode.md +60 -0
- package/assets/chatmodes/dotnet-upgrade.chatmode.md +222 -0
- package/assets/chatmodes/drupal-expert.chatmode.md +687 -0
- package/assets/chatmodes/electron-angular-native.chatmode.md +285 -0
- package/assets/chatmodes/expert-cpp-software-engineer.chatmode.md +27 -0
- package/assets/chatmodes/expert-dotnet-software-engineer.chatmode.md +22 -0
- package/assets/chatmodes/expert-nextjs-developer.chatmode.md +477 -0
- package/assets/chatmodes/expert-react-frontend-engineer.chatmode.md +738 -0
- package/assets/chatmodes/gilfoyle.chatmode.md +66 -0
- package/assets/chatmodes/go-mcp-expert.chatmode.md +122 -0
- package/assets/chatmodes/gpt-5-beast-mode.chatmode.md +109 -0
- package/assets/chatmodes/hlbpa.chatmode.md +232 -0
- package/assets/chatmodes/implementation-plan.chatmode.md +159 -0
- package/assets/chatmodes/janitor.chatmode.md +89 -0
- package/assets/chatmodes/java-mcp-expert.chatmode.md +325 -0
- package/assets/chatmodes/kotlin-mcp-expert.chatmode.md +181 -0
- package/assets/chatmodes/kusto-assistant.chatmode.md +143 -0
- package/assets/chatmodes/laravel-expert-agent.chatmode.md +628 -0
- package/assets/chatmodes/mentor.chatmode.md +32 -0
- package/assets/chatmodes/meta-agentic-project-scaffold.chatmode.md +15 -0
- package/assets/chatmodes/microsoft-agent-framework-dotnet.chatmode.md +62 -0
- package/assets/chatmodes/microsoft-agent-framework-python.chatmode.md +62 -0
- package/assets/chatmodes/microsoft-study-mode.chatmode.md +32 -0
- package/assets/chatmodes/microsoft_learn_contributor.chatmode.md +388 -0
- package/assets/chatmodes/ms-sql-dba.chatmode.md +25 -0
- package/assets/chatmodes/php-mcp-expert.chatmode.md +498 -0
- package/assets/chatmodes/pimcore-expert.chatmode.md +869 -0
- package/assets/chatmodes/plan.chatmode.md +114 -0
- package/assets/chatmodes/planner.chatmode.md +14 -0
- package/assets/chatmodes/playwright-tester.chatmode.md +13 -0
- package/assets/chatmodes/postgresql-dba.chatmode.md +17 -0
- package/assets/chatmodes/power-bi-data-modeling-expert.chatmode.md +319 -0
- package/assets/chatmodes/power-bi-dax-expert.chatmode.md +334 -0
- package/assets/chatmodes/power-bi-performance-expert.chatmode.md +533 -0
- package/assets/chatmodes/power-bi-visualization-expert.chatmode.md +549 -0
- package/assets/chatmodes/power-platform-expert.chatmode.md +116 -0
- package/assets/chatmodes/power-platform-mcp-integration-expert.chatmode.md +149 -0
- package/assets/chatmodes/prd.chatmode.md +201 -0
- package/assets/chatmodes/principal-software-engineer.chatmode.md +41 -0
- package/assets/chatmodes/prompt-builder.chatmode.md +352 -0
- package/assets/chatmodes/prompt-engineer.chatmode.md +72 -0
- package/assets/chatmodes/python-mcp-expert.chatmode.md +99 -0
- package/assets/chatmodes/refine-issue.chatmode.md +34 -0
- package/assets/chatmodes/research-technical-spike.chatmode.md +169 -0
- package/assets/chatmodes/ruby-mcp-expert.chatmode.md +346 -0
- package/assets/chatmodes/rust-gpt-4.1-beast-mode.chatmode.md +197 -0
- package/assets/chatmodes/rust-mcp-expert.chatmode.md +465 -0
- package/assets/chatmodes/search-ai-optimization-expert.chatmode.md +227 -0
- package/assets/chatmodes/semantic-kernel-dotnet.chatmode.md +31 -0
- package/assets/chatmodes/semantic-kernel-python.chatmode.md +28 -0
- package/assets/chatmodes/shopify-expert.chatmode.md +681 -0
- package/assets/chatmodes/simple-app-idea-generator.chatmode.md +134 -0
- package/assets/chatmodes/software-engineer-agent-v1.chatmode.md +164 -0
- package/assets/chatmodes/specification.chatmode.md +127 -0
- package/assets/chatmodes/swift-mcp-expert.chatmode.md +240 -0
- package/assets/chatmodes/task-planner.chatmode.md +374 -0
- package/assets/chatmodes/task-researcher.chatmode.md +254 -0
- package/assets/chatmodes/tdd-green.chatmode.md +59 -0
- package/assets/chatmodes/tdd-red.chatmode.md +59 -0
- package/assets/chatmodes/tdd-refactor.chatmode.md +84 -0
- package/assets/chatmodes/tech-debt-remediation-plan.chatmode.md +49 -0
- package/assets/chatmodes/terraform-azure-implement.chatmode.md +104 -0
- package/assets/chatmodes/terraform-azure-planning.chatmode.md +157 -0
- package/assets/chatmodes/typescript-mcp-expert.chatmode.md +91 -0
- package/assets/chatmodes/voidbeast-gpt41enhanced.chatmode.md +230 -0
- package/assets/chatmodes/wg-code-alchemist.chatmode.md +61 -0
- package/assets/chatmodes/wg-code-sentinel.chatmode.md +55 -0
- package/assets/collections/ai-prompt-engineering.json +18 -0
- package/assets/collections/angular-development.json +7 -0
- package/assets/collections/azure-cloud-architect.json +29 -0
- package/assets/collections/cpp-development.json +6 -0
- package/assets/collections/database-administration.json +8 -0
- package/assets/collections/devops-sre.json +11 -0
- package/assets/collections/dotnet-development.json +22 -0
- package/assets/collections/general-productivity.json +9 -0
- package/assets/collections/go-development.json +7 -0
- package/assets/collections/java-spring-developer.json +26 -0
- package/assets/collections/learning-mentoring.json +10 -0
- package/assets/collections/legacy-migration.json +4 -0
- package/assets/collections/mcp-specialist.json +41 -0
- package/assets/collections/mobile-development.json +4 -0
- package/assets/collections/php-cms-development.json +11 -0
- package/assets/collections/power-platform-specialist.json +31 -0
- package/assets/collections/project-management.json +12 -0
- package/assets/collections/python-development.json +13 -0
- package/assets/collections/quality-assurance.json +13 -0
- package/assets/collections/ruby-development.json +9 -0
- package/assets/collections/rust-development.json +10 -0
- package/assets/collections/security-specialist.json +8 -0
- package/assets/collections/software-architect.json +25 -0
- package/assets/collections/technical-writing.json +9 -0
- package/assets/collections/web-frontend-development.json +14 -0
- package/assets/instructions/a11y.instructions.md +369 -0
- package/assets/instructions/ai-prompt-engineering-safety-best-practices.instructions.md +867 -0
- package/assets/instructions/angular.instructions.md +104 -0
- package/assets/instructions/ansible.instructions.md +88 -0
- package/assets/instructions/aspnet-rest-apis.instructions.md +110 -0
- package/assets/instructions/astro.instructions.md +182 -0
- package/assets/instructions/azure-devops-pipelines.instructions.md +185 -0
- package/assets/instructions/azure-functions-typescript.instructions.md +14 -0
- package/assets/instructions/azure-logic-apps-power-automate.instructions.md +1943 -0
- package/assets/instructions/azure-verified-modules-terraform.instructions.md +229 -0
- package/assets/instructions/bicep-code-best-practices.instructions.md +54 -0
- package/assets/instructions/blazor.instructions.md +77 -0
- package/assets/instructions/clojure.instructions.md +349 -0
- package/assets/instructions/cmake-vcpkg.instructions.md +10 -0
- package/assets/instructions/codexer.instructions.md +428 -0
- package/assets/instructions/coldfusion-cfc.instructions.md +30 -0
- package/assets/instructions/coldfusion-cfm.instructions.md +28 -0
- package/assets/instructions/collections.instructions.md +54 -0
- package/assets/instructions/containerization-docker-best-practices.instructions.md +681 -0
- package/assets/instructions/convert-jpa-to-spring-data-cosmos.instructions.md +949 -0
- package/assets/instructions/copilot-thought-logging.instructions.md +62 -0
- package/assets/instructions/csharp-ja.instructions.md +114 -0
- package/assets/instructions/csharp-ko.instructions.md +77 -0
- package/assets/instructions/csharp-mcp-server.instructions.md +95 -0
- package/assets/instructions/csharp.instructions.md +114 -0
- package/assets/instructions/dart-n-flutter.instructions.md +447 -0
- package/assets/instructions/declarative-agents-microsoft365.instructions.md +316 -0
- package/assets/instructions/devbox-image-definition.instructions.md +302 -0
- package/assets/instructions/devops-core-principles.instructions.md +167 -0
- package/assets/instructions/dotnet-architecture-good-practices.instructions.md +279 -0
- package/assets/instructions/dotnet-framework.instructions.md +113 -0
- package/assets/instructions/dotnet-maui-9-to-dotnet-maui-10-upgrade.instructions.md +1922 -0
- package/assets/instructions/dotnet-maui.instructions.md +69 -0
- package/assets/instructions/dotnet-upgrade.instructions.md +287 -0
- package/assets/instructions/dotnet-wpf.instructions.md +79 -0
- package/assets/instructions/genaiscript.instructions.md +21 -0
- package/assets/instructions/generate-modern-terraform-code-for-azure.instructions.md +82 -0
- package/assets/instructions/gilfoyle-code-review.instructions.md +114 -0
- package/assets/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
- package/assets/instructions/go-mcp-server.instructions.md +346 -0
- package/assets/instructions/go.instructions.md +373 -0
- package/assets/instructions/instructions.instructions.md +256 -0
- package/assets/instructions/java-11-to-java-17-upgrade.instructions.md +793 -0
- package/assets/instructions/java-17-to-java-21-upgrade.instructions.md +464 -0
- package/assets/instructions/java-21-to-java-25-upgrade.instructions.md +311 -0
- package/assets/instructions/java-mcp-server.instructions.md +553 -0
- package/assets/instructions/java.instructions.md +81 -0
- package/assets/instructions/joyride-user-project.instructions.md +206 -0
- package/assets/instructions/joyride-workspace-automation.instructions.md +46 -0
- package/assets/instructions/kotlin-mcp-server.instructions.md +481 -0
- package/assets/instructions/kubernetes-deployment-best-practices.instructions.md +307 -0
- package/assets/instructions/langchain-python.instructions.md +229 -0
- package/assets/instructions/localization.instructions.md +39 -0
- package/assets/instructions/makefile.instructions.md +410 -0
- package/assets/instructions/markdown.instructions.md +52 -0
- package/assets/instructions/memory-bank.instructions.md +299 -0
- package/assets/instructions/mongo-dba.instructions.md +25 -0
- package/assets/instructions/ms-sql-dba.instructions.md +25 -0
- package/assets/instructions/nestjs.instructions.md +406 -0
- package/assets/instructions/nextjs-tailwind.instructions.md +72 -0
- package/assets/instructions/nextjs.instructions.md +143 -0
- package/assets/instructions/nodejs-javascript-vitest.instructions.md +30 -0
- package/assets/instructions/object-calisthenics.instructions.md +302 -0
- package/assets/instructions/oqtane.instructions.md +86 -0
- package/assets/instructions/performance-optimization.instructions.md +420 -0
- package/assets/instructions/php-mcp-server.instructions.md +809 -0
- package/assets/instructions/playwright-dotnet.instructions.md +101 -0
- package/assets/instructions/playwright-python.instructions.md +62 -0
- package/assets/instructions/playwright-typescript.instructions.md +86 -0
- package/assets/instructions/power-apps-canvas-yaml.instructions.md +827 -0
- package/assets/instructions/power-apps-code-apps.instructions.md +601 -0
- package/assets/instructions/power-bi-custom-visuals-development.instructions.md +810 -0
- package/assets/instructions/power-bi-data-modeling-best-practices.instructions.md +639 -0
- package/assets/instructions/power-bi-dax-best-practices.instructions.md +795 -0
- package/assets/instructions/power-bi-devops-alm-best-practices.instructions.md +623 -0
- package/assets/instructions/power-bi-report-design-best-practices.instructions.md +752 -0
- package/assets/instructions/power-bi-security-rls-best-practices.instructions.md +504 -0
- package/assets/instructions/power-platform-connector.instructions.md +430 -0
- package/assets/instructions/power-platform-mcp-development.instructions.md +88 -0
- package/assets/instructions/powershell-pester-5.instructions.md +197 -0
- package/assets/instructions/powershell.instructions.md +356 -0
- package/assets/instructions/prompt.instructions.md +73 -0
- package/assets/instructions/python-mcp-server.instructions.md +204 -0
- package/assets/instructions/python.instructions.md +56 -0
- package/assets/instructions/quarkus-mcp-server-sse.instructions.md +49 -0
- package/assets/instructions/quarkus.instructions.md +98 -0
- package/assets/instructions/r.instructions.md +116 -0
- package/assets/instructions/reactjs.instructions.md +162 -0
- package/assets/instructions/ruby-mcp-server.instructions.md +629 -0
- package/assets/instructions/ruby-on-rails.instructions.md +124 -0
- package/assets/instructions/rust-mcp-server.instructions.md +715 -0
- package/assets/instructions/rust.instructions.md +135 -0
- package/assets/instructions/security-and-owasp.instructions.md +51 -0
- package/assets/instructions/self-explanatory-code-commenting.instructions.md +162 -0
- package/assets/instructions/shell.instructions.md +132 -0
- package/assets/instructions/spec-driven-workflow-v1.instructions.md +323 -0
- package/assets/instructions/springboot.instructions.md +68 -0
- package/assets/instructions/sql-sp-generation.instructions.md +74 -0
- package/assets/instructions/svelte.instructions.md +161 -0
- package/assets/instructions/swift-mcp-server.instructions.md +498 -0
- package/assets/instructions/taming-copilot.instructions.md +40 -0
- package/assets/instructions/tanstack-start-shadcn-tailwind.instructions.md +212 -0
- package/assets/instructions/task-implementation.instructions.md +190 -0
- package/assets/instructions/tasksync.instructions.md +352 -0
- package/assets/instructions/terraform-azure.instructions.md +254 -0
- package/assets/instructions/terraform-sap-btp.instructions.md +195 -0
- package/assets/instructions/terraform.instructions.md +113 -0
- package/assets/instructions/typescript-5-es2022.instructions.md +114 -0
- package/assets/instructions/typescript-mcp-server.instructions.md +228 -0
- package/assets/instructions/update-code-from-shorthand.instructions.md +130 -0
- package/assets/instructions/vuejs3.instructions.md +153 -0
- package/assets/instructions/wordpress.instructions.md +186 -0
- package/assets/prompts/add-educational-comments.prompt.md +129 -0
- package/assets/prompts/ai-prompt-engineering-safety-review.prompt.md +230 -0
- package/assets/prompts/architecture-blueprint-generator.prompt.md +322 -0
- package/assets/prompts/aspnet-minimal-api-openapi.prompt.md +42 -0
- package/assets/prompts/az-cost-optimize.prompt.md +305 -0
- package/assets/prompts/azure-resource-health-diagnose.prompt.md +290 -0
- package/assets/prompts/boost-prompt.prompt.md +25 -0
- package/assets/prompts/breakdown-epic-arch.prompt.md +66 -0
- package/assets/prompts/breakdown-epic-pm.prompt.md +58 -0
- package/assets/prompts/breakdown-feature-implementation.prompt.md +128 -0
- package/assets/prompts/breakdown-feature-prd.prompt.md +61 -0
- package/assets/prompts/breakdown-plan.prompt.md +509 -0
- package/assets/prompts/breakdown-test.prompt.md +365 -0
- package/assets/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
- package/assets/prompts/comment-code-generate-a-tutorial.prompt.md +26 -0
- package/assets/prompts/containerize-aspnet-framework.prompt.md +455 -0
- package/assets/prompts/containerize-aspnetcore.prompt.md +393 -0
- package/assets/prompts/conventional-commit.prompt.md +73 -0
- package/assets/prompts/copilot-instructions-blueprint-generator.prompt.md +294 -0
- package/assets/prompts/cosmosdb-datamodeling.prompt.md +1045 -0
- package/assets/prompts/create-agentsmd.prompt.md +249 -0
- package/assets/prompts/create-architectural-decision-record.prompt.md +97 -0
- package/assets/prompts/create-github-action-workflow-specification.prompt.md +276 -0
- package/assets/prompts/create-github-issue-feature-from-specification.prompt.md +28 -0
- package/assets/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
- package/assets/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +35 -0
- package/assets/prompts/create-github-pull-request-from-specification.prompt.md +24 -0
- package/assets/prompts/create-implementation-plan.prompt.md +157 -0
- package/assets/prompts/create-llms.prompt.md +210 -0
- package/assets/prompts/create-oo-component-documentation.prompt.md +193 -0
- package/assets/prompts/create-readme.prompt.md +21 -0
- package/assets/prompts/create-specification.prompt.md +127 -0
- package/assets/prompts/create-spring-boot-java-project.prompt.md +163 -0
- package/assets/prompts/create-spring-boot-kotlin-project.prompt.md +147 -0
- package/assets/prompts/create-technical-spike.prompt.md +231 -0
- package/assets/prompts/csharp-async.prompt.md +50 -0
- package/assets/prompts/csharp-docs.prompt.md +63 -0
- package/assets/prompts/csharp-mcp-server-generator.prompt.md +59 -0
- package/assets/prompts/csharp-mstest.prompt.md +67 -0
- package/assets/prompts/csharp-nunit.prompt.md +72 -0
- package/assets/prompts/csharp-tunit.prompt.md +101 -0
- package/assets/prompts/csharp-xunit.prompt.md +69 -0
- package/assets/prompts/declarative-agents.prompt.md +93 -0
- package/assets/prompts/documentation-writer.prompt.md +46 -0
- package/assets/prompts/dotnet-best-practices.prompt.md +84 -0
- package/assets/prompts/dotnet-design-pattern-review.prompt.md +41 -0
- package/assets/prompts/dotnet-upgrade.prompt.md +116 -0
- package/assets/prompts/editorconfig.prompt.md +64 -0
- package/assets/prompts/ef-core.prompt.md +76 -0
- package/assets/prompts/finalize-agent-prompt.prompt.md +27 -0
- package/assets/prompts/first-ask.prompt.md +29 -0
- package/assets/prompts/folder-structure-blueprint-generator.prompt.md +405 -0
- package/assets/prompts/gen-specs-as-issues.prompt.md +165 -0
- package/assets/prompts/generate-custom-instructions-from-codebase.prompt.md +240 -0
- package/assets/prompts/git-flow-branch-creator.prompt.md +293 -0
- package/assets/prompts/github-copilot-starter.prompt.md +372 -0
- package/assets/prompts/go-mcp-server-generator.prompt.md +334 -0
- package/assets/prompts/java-docs.prompt.md +24 -0
- package/assets/prompts/java-junit.prompt.md +64 -0
- package/assets/prompts/java-mcp-server-generator.prompt.md +756 -0
- package/assets/prompts/java-refactoring-extract-method.prompt.md +105 -0
- package/assets/prompts/java-refactoring-remove-parameter.prompt.md +85 -0
- package/assets/prompts/java-springboot.prompt.md +66 -0
- package/assets/prompts/javascript-typescript-jest.prompt.md +44 -0
- package/assets/prompts/kotlin-mcp-server-generator.prompt.md +449 -0
- package/assets/prompts/kotlin-springboot.prompt.md +71 -0
- package/assets/prompts/mcp-copilot-studio-server-generator.prompt.md +118 -0
- package/assets/prompts/memory-merger.prompt.md +107 -0
- package/assets/prompts/mkdocs-translations.prompt.md +110 -0
- package/assets/prompts/model-recommendation.prompt.md +677 -0
- package/assets/prompts/multi-stage-dockerfile.prompt.md +47 -0
- package/assets/prompts/my-issues.prompt.md +9 -0
- package/assets/prompts/my-pull-requests.prompt.md +15 -0
- package/assets/prompts/next-intl-add-language.prompt.md +20 -0
- package/assets/prompts/php-mcp-server-generator.prompt.md +522 -0
- package/assets/prompts/playwright-automation-fill-in-form.prompt.md +30 -0
- package/assets/prompts/playwright-explore-website.prompt.md +19 -0
- package/assets/prompts/playwright-generate-test.prompt.md +19 -0
- package/assets/prompts/postgresql-code-review.prompt.md +214 -0
- package/assets/prompts/postgresql-optimization.prompt.md +406 -0
- package/assets/prompts/power-apps-code-app-scaffold.prompt.md +150 -0
- package/assets/prompts/power-bi-dax-optimization.prompt.md +175 -0
- package/assets/prompts/power-bi-model-design-review.prompt.md +405 -0
- package/assets/prompts/power-bi-performance-troubleshooting.prompt.md +384 -0
- package/assets/prompts/power-bi-report-design-consultation.prompt.md +353 -0
- package/assets/prompts/power-platform-mcp-connector-suite.prompt.md +156 -0
- package/assets/prompts/project-workflow-analysis-blueprint-generator.prompt.md +294 -0
- package/assets/prompts/prompt-builder.prompt.md +142 -0
- package/assets/prompts/pytest-coverage.prompt.md +28 -0
- package/assets/prompts/python-mcp-server-generator.prompt.md +105 -0
- package/assets/prompts/readme-blueprint-generator.prompt.md +79 -0
- package/assets/prompts/remember-interactive-programming.prompt.md +13 -0
- package/assets/prompts/remember.prompt.md +125 -0
- package/assets/prompts/repo-story-time.prompt.md +156 -0
- package/assets/prompts/review-and-refactor.prompt.md +15 -0
- package/assets/prompts/ruby-mcp-server-generator.prompt.md +660 -0
- package/assets/prompts/rust-mcp-server-generator.prompt.md +578 -0
- package/assets/prompts/shuffle-json-data.prompt.md +151 -0
- package/assets/prompts/sql-code-review.prompt.md +303 -0
- package/assets/prompts/sql-optimization.prompt.md +298 -0
- package/assets/prompts/suggest-awesome-github-copilot-agents.prompt.md +72 -0
- package/assets/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +71 -0
- package/assets/prompts/suggest-awesome-github-copilot-collections.prompt.md +149 -0
- package/assets/prompts/suggest-awesome-github-copilot-instructions.prompt.md +88 -0
- package/assets/prompts/suggest-awesome-github-copilot-prompts.prompt.md +71 -0
- package/assets/prompts/swift-mcp-server-generator.prompt.md +669 -0
- package/assets/prompts/technology-stack-blueprint-generator.prompt.md +242 -0
- package/assets/prompts/typescript-mcp-server-generator.prompt.md +90 -0
- package/assets/prompts/update-avm-modules-in-bicep.prompt.md +60 -0
- package/assets/prompts/update-implementation-plan.prompt.md +157 -0
- package/assets/prompts/update-llms.prompt.md +216 -0
- package/assets/prompts/update-markdown-file-index.prompt.md +76 -0
- package/assets/prompts/update-oo-component-documentation.prompt.md +162 -0
- package/assets/prompts/update-specification.prompt.md +127 -0
- package/assets/prompts/write-coding-standards-from-file.prompt.md +316 -0
- package/bin/cli.js +200 -0
- package/package.json +53 -0
- package/scripts/sync.js +99 -0
- package/verdaccio/config.yaml +202 -0
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Prompt for generating an AGENTS.md file for a repository"
|
|
3
|
+
mode: "agent"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Create high‑quality AGENTS.md file
|
|
7
|
+
|
|
8
|
+
You are a code agent. Your task is to create a complete, accurate AGENTS.md at the root of this repository that follows the public guidance at https://agents.md/.
|
|
9
|
+
|
|
10
|
+
AGENTS.md is an open format designed to provide coding agents with the context and instructions they need to work effectively on a project.
|
|
11
|
+
|
|
12
|
+
## What is AGENTS.md?
|
|
13
|
+
|
|
14
|
+
AGENTS.md is a Markdown file that serves as a "README for agents" - a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project. It complements README.md by containing detailed technical context that coding agents need but might clutter a human-focused README.
|
|
15
|
+
|
|
16
|
+
## Key Principles
|
|
17
|
+
|
|
18
|
+
- **Agent-focused**: Contains detailed technical instructions for automated tools
|
|
19
|
+
- **Complements README.md**: Doesn't replace human documentation but adds agent-specific context
|
|
20
|
+
- **Standardized location**: Placed at repository root (or subproject roots for monorepos)
|
|
21
|
+
- **Open format**: Uses standard Markdown with flexible structure
|
|
22
|
+
- **Ecosystem compatibility**: Works across 20+ different AI coding tools and agents
|
|
23
|
+
|
|
24
|
+
## File Structure and Content Guidelines
|
|
25
|
+
|
|
26
|
+
### 1. Required Setup
|
|
27
|
+
|
|
28
|
+
- Create the file as `AGENTS.md` in the repository root
|
|
29
|
+
- Use standard Markdown formatting
|
|
30
|
+
- No required fields - flexible structure based on project needs
|
|
31
|
+
|
|
32
|
+
### 2. Essential Sections to Include
|
|
33
|
+
|
|
34
|
+
#### Project Overview
|
|
35
|
+
|
|
36
|
+
- Brief description of what the project does
|
|
37
|
+
- Architecture overview if complex
|
|
38
|
+
- Key technologies and frameworks used
|
|
39
|
+
|
|
40
|
+
#### Setup Commands
|
|
41
|
+
|
|
42
|
+
- Installation instructions
|
|
43
|
+
- Environment setup steps
|
|
44
|
+
- Dependency management commands
|
|
45
|
+
- Database setup if applicable
|
|
46
|
+
|
|
47
|
+
#### Development Workflow
|
|
48
|
+
|
|
49
|
+
- How to start development server
|
|
50
|
+
- Build commands
|
|
51
|
+
- Watch/hot-reload setup
|
|
52
|
+
- Package manager specifics (npm, pnpm, yarn, etc.)
|
|
53
|
+
|
|
54
|
+
#### Testing Instructions
|
|
55
|
+
|
|
56
|
+
- How to run tests (unit, integration, e2e)
|
|
57
|
+
- Test file locations and naming conventions
|
|
58
|
+
- Coverage requirements
|
|
59
|
+
- Specific test patterns or frameworks used
|
|
60
|
+
- How to run subset of tests or focus on specific areas
|
|
61
|
+
|
|
62
|
+
#### Code Style Guidelines
|
|
63
|
+
|
|
64
|
+
- Language-specific conventions
|
|
65
|
+
- Linting and formatting rules
|
|
66
|
+
- File organization patterns
|
|
67
|
+
- Naming conventions
|
|
68
|
+
- Import/export patterns
|
|
69
|
+
|
|
70
|
+
#### Build and Deployment
|
|
71
|
+
|
|
72
|
+
- Build commands and outputs
|
|
73
|
+
- Environment configurations
|
|
74
|
+
- Deployment steps and requirements
|
|
75
|
+
- CI/CD pipeline information
|
|
76
|
+
|
|
77
|
+
### 3. Optional but Recommended Sections
|
|
78
|
+
|
|
79
|
+
#### Security Considerations
|
|
80
|
+
|
|
81
|
+
- Security testing requirements
|
|
82
|
+
- Secrets management
|
|
83
|
+
- Authentication patterns
|
|
84
|
+
- Permission models
|
|
85
|
+
|
|
86
|
+
#### Monorepo Instructions (if applicable)
|
|
87
|
+
|
|
88
|
+
- How to work with multiple packages
|
|
89
|
+
- Cross-package dependencies
|
|
90
|
+
- Selective building/testing
|
|
91
|
+
- Package-specific commands
|
|
92
|
+
|
|
93
|
+
#### Pull Request Guidelines
|
|
94
|
+
|
|
95
|
+
- Title format requirements
|
|
96
|
+
- Required checks before submission
|
|
97
|
+
- Review process
|
|
98
|
+
- Commit message conventions
|
|
99
|
+
|
|
100
|
+
#### Debugging and Troubleshooting
|
|
101
|
+
|
|
102
|
+
- Common issues and solutions
|
|
103
|
+
- Logging patterns
|
|
104
|
+
- Debug configuration
|
|
105
|
+
- Performance considerations
|
|
106
|
+
|
|
107
|
+
## Example Template
|
|
108
|
+
|
|
109
|
+
Use this as a starting template and customize based on the specific project:
|
|
110
|
+
|
|
111
|
+
```markdown
|
|
112
|
+
# AGENTS.md
|
|
113
|
+
|
|
114
|
+
## Project Overview
|
|
115
|
+
|
|
116
|
+
[Brief description of the project, its purpose, and key technologies]
|
|
117
|
+
|
|
118
|
+
## Setup Commands
|
|
119
|
+
|
|
120
|
+
- Install dependencies: `[package manager] install`
|
|
121
|
+
- Start development server: `[command]`
|
|
122
|
+
- Build for production: `[command]`
|
|
123
|
+
|
|
124
|
+
## Development Workflow
|
|
125
|
+
|
|
126
|
+
- [Development server startup instructions]
|
|
127
|
+
- [Hot reload/watch mode information]
|
|
128
|
+
- [Environment variable setup]
|
|
129
|
+
|
|
130
|
+
## Testing Instructions
|
|
131
|
+
|
|
132
|
+
- Run all tests: `[command]`
|
|
133
|
+
- Run unit tests: `[command]`
|
|
134
|
+
- Run integration tests: `[command]`
|
|
135
|
+
- Test coverage: `[command]`
|
|
136
|
+
- [Specific testing patterns or requirements]
|
|
137
|
+
|
|
138
|
+
## Code Style
|
|
139
|
+
|
|
140
|
+
- [Language and framework conventions]
|
|
141
|
+
- [Linting rules and commands]
|
|
142
|
+
- [Formatting requirements]
|
|
143
|
+
- [File organization patterns]
|
|
144
|
+
|
|
145
|
+
## Build and Deployment
|
|
146
|
+
|
|
147
|
+
- [Build process details]
|
|
148
|
+
- [Output directories]
|
|
149
|
+
- [Environment-specific builds]
|
|
150
|
+
- [Deployment commands]
|
|
151
|
+
|
|
152
|
+
## Pull Request Guidelines
|
|
153
|
+
|
|
154
|
+
- Title format: [component] Brief description
|
|
155
|
+
- Required checks: `[lint command]`, `[test command]`
|
|
156
|
+
- [Review requirements]
|
|
157
|
+
|
|
158
|
+
## Additional Notes
|
|
159
|
+
|
|
160
|
+
- [Any project-specific context]
|
|
161
|
+
- [Common gotchas or troubleshooting tips]
|
|
162
|
+
- [Performance considerations]
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
## Working Example from agents.md
|
|
166
|
+
|
|
167
|
+
Here's a real example from the agents.md website:
|
|
168
|
+
|
|
169
|
+
```markdown
|
|
170
|
+
# Sample AGENTS.md file
|
|
171
|
+
|
|
172
|
+
## Dev environment tips
|
|
173
|
+
|
|
174
|
+
- Use `pnpm dlx turbo run where <project_name>` to jump to a package instead of scanning with `ls`.
|
|
175
|
+
- Run `pnpm install --filter <project_name>` to add the package to your workspace so Vite, ESLint, and TypeScript can see it.
|
|
176
|
+
- Use `pnpm create vite@latest <project_name> -- --template react-ts` to spin up a new React + Vite package with TypeScript checks ready.
|
|
177
|
+
- Check the name field inside each package's package.json to confirm the right name—skip the top-level one.
|
|
178
|
+
|
|
179
|
+
## Testing instructions
|
|
180
|
+
|
|
181
|
+
- Find the CI plan in the .github/workflows folder.
|
|
182
|
+
- Run `pnpm turbo run test --filter <project_name>` to run every check defined for that package.
|
|
183
|
+
- From the package root you can just call `pnpm test`. The commit should pass all tests before you merge.
|
|
184
|
+
- To focus on one step, add the Vitest pattern: `pnpm vitest run -t "<test name>"`.
|
|
185
|
+
- Fix any test or type errors until the whole suite is green.
|
|
186
|
+
- After moving files or changing imports, run `pnpm lint --filter <project_name>` to be sure ESLint and TypeScript rules still pass.
|
|
187
|
+
- Add or update tests for the code you change, even if nobody asked.
|
|
188
|
+
|
|
189
|
+
## PR instructions
|
|
190
|
+
|
|
191
|
+
- Title format: [<project_name>] <Title>
|
|
192
|
+
- Always run `pnpm lint` and `pnpm test` before committing.
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## Implementation Steps
|
|
196
|
+
|
|
197
|
+
1. **Analyze the project structure** to understand:
|
|
198
|
+
|
|
199
|
+
- Programming languages and frameworks used
|
|
200
|
+
- Package managers and build tools
|
|
201
|
+
- Testing frameworks
|
|
202
|
+
- Project architecture (monorepo, single package, etc.)
|
|
203
|
+
|
|
204
|
+
2. **Identify key workflows** by examining:
|
|
205
|
+
|
|
206
|
+
- package.json scripts
|
|
207
|
+
- Makefile or other build files
|
|
208
|
+
- CI/CD configuration files
|
|
209
|
+
- Documentation files
|
|
210
|
+
|
|
211
|
+
3. **Create comprehensive sections** covering:
|
|
212
|
+
|
|
213
|
+
- All essential setup and development commands
|
|
214
|
+
- Testing strategies and commands
|
|
215
|
+
- Code style and conventions
|
|
216
|
+
- Build and deployment processes
|
|
217
|
+
|
|
218
|
+
4. **Include specific, actionable commands** that agents can execute directly
|
|
219
|
+
|
|
220
|
+
5. **Test the instructions** by ensuring all commands work as documented
|
|
221
|
+
|
|
222
|
+
6. **Keep it focused** on what agents need to know, not general project information
|
|
223
|
+
|
|
224
|
+
## Best Practices
|
|
225
|
+
|
|
226
|
+
- **Be specific**: Include exact commands, not vague descriptions
|
|
227
|
+
- **Use code blocks**: Wrap commands in backticks for clarity
|
|
228
|
+
- **Include context**: Explain why certain steps are needed
|
|
229
|
+
- **Stay current**: Update as the project evolves
|
|
230
|
+
- **Test commands**: Ensure all listed commands actually work
|
|
231
|
+
- **Consider nested files**: For monorepos, create AGENTS.md files in subprojects as needed
|
|
232
|
+
|
|
233
|
+
## Monorepo Considerations
|
|
234
|
+
|
|
235
|
+
For large monorepos:
|
|
236
|
+
|
|
237
|
+
- Place a main AGENTS.md at the repository root
|
|
238
|
+
- Create additional AGENTS.md files in subproject directories
|
|
239
|
+
- The closest AGENTS.md file takes precedence for any given location
|
|
240
|
+
- Include navigation tips between packages/projects
|
|
241
|
+
|
|
242
|
+
## Final Notes
|
|
243
|
+
|
|
244
|
+
- AGENTS.md works with 20+ AI coding tools including Cursor, Aider, Gemini CLI, and many others
|
|
245
|
+
- The format is intentionally flexible - adapt it to your project's needs
|
|
246
|
+
- Focus on actionable instructions that help agents understand and work with your codebase
|
|
247
|
+
- This is living documentation - update it as your project evolves
|
|
248
|
+
|
|
249
|
+
When creating the AGENTS.md file, prioritize clarity, completeness, and actionability. The goal is to give any coding agent enough context to effectively contribute to the project without requiring additional human guidance.
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Create an Architectural Decision Record (ADR) document for AI-optimized decision documentation.'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'githubRepo', 'openSimpleBrowser', 'problems', 'runTasks', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI']
|
|
5
|
+
---
|
|
6
|
+
# Create Architectural Decision Record
|
|
7
|
+
|
|
8
|
+
Create an ADR document for `${input:DecisionTitle}` using structured formatting optimized for AI consumption and human readability.
|
|
9
|
+
|
|
10
|
+
## Inputs
|
|
11
|
+
|
|
12
|
+
- **Context**: `${input:Context}`
|
|
13
|
+
- **Decision**: `${input:Decision}`
|
|
14
|
+
- **Alternatives**: `${input:Alternatives}`
|
|
15
|
+
- **Stakeholders**: `${input:Stakeholders}`
|
|
16
|
+
|
|
17
|
+
## Input Validation
|
|
18
|
+
If any of the required inputs are not provided or cannot be determined from the conversation history, ask the user to provide the missing information before proceeding with ADR generation.
|
|
19
|
+
|
|
20
|
+
## Requirements
|
|
21
|
+
|
|
22
|
+
- Use precise, unambiguous language
|
|
23
|
+
- Follow standardized ADR format with front matter
|
|
24
|
+
- Include both positive and negative consequences
|
|
25
|
+
- Document alternatives with rejection rationale
|
|
26
|
+
- Structure for machine parsing and human reference
|
|
27
|
+
- Use coded bullet points (3-4 letter codes + 3-digit numbers) for multi-item sections
|
|
28
|
+
|
|
29
|
+
The ADR must be saved in the `/docs/adr/` directory using the naming convention: `adr-NNNN-[title-slug].md`, where NNNN is the next sequential 4-digit number (e.g., `adr-0001-database-selection.md`).
|
|
30
|
+
|
|
31
|
+
## Required Documentation Structure
|
|
32
|
+
|
|
33
|
+
The documentation file must follow the template below, ensuring that all sections are filled out appropriately. The front matter for the markdown should be structured correctly as per the example following:
|
|
34
|
+
|
|
35
|
+
```md
|
|
36
|
+
---
|
|
37
|
+
title: "ADR-NNNN: [Decision Title]"
|
|
38
|
+
status: "Proposed"
|
|
39
|
+
date: "YYYY-MM-DD"
|
|
40
|
+
authors: "[Stakeholder Names/Roles]"
|
|
41
|
+
tags: ["architecture", "decision"]
|
|
42
|
+
supersedes: ""
|
|
43
|
+
superseded_by: ""
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
# ADR-NNNN: [Decision Title]
|
|
47
|
+
|
|
48
|
+
## Status
|
|
49
|
+
|
|
50
|
+
**Proposed** | Accepted | Rejected | Superseded | Deprecated
|
|
51
|
+
|
|
52
|
+
## Context
|
|
53
|
+
|
|
54
|
+
[Problem statement, technical constraints, business requirements, and environmental factors requiring this decision.]
|
|
55
|
+
|
|
56
|
+
## Decision
|
|
57
|
+
|
|
58
|
+
[Chosen solution with clear rationale for selection.]
|
|
59
|
+
|
|
60
|
+
## Consequences
|
|
61
|
+
|
|
62
|
+
### Positive
|
|
63
|
+
|
|
64
|
+
- **POS-001**: [Beneficial outcomes and advantages]
|
|
65
|
+
- **POS-002**: [Performance, maintainability, scalability improvements]
|
|
66
|
+
- **POS-003**: [Alignment with architectural principles]
|
|
67
|
+
|
|
68
|
+
### Negative
|
|
69
|
+
|
|
70
|
+
- **NEG-001**: [Trade-offs, limitations, drawbacks]
|
|
71
|
+
- **NEG-002**: [Technical debt or complexity introduced]
|
|
72
|
+
- **NEG-003**: [Risks and future challenges]
|
|
73
|
+
|
|
74
|
+
## Alternatives Considered
|
|
75
|
+
|
|
76
|
+
### [Alternative 1 Name]
|
|
77
|
+
|
|
78
|
+
- **ALT-001**: **Description**: [Brief technical description]
|
|
79
|
+
- **ALT-002**: **Rejection Reason**: [Why this option was not selected]
|
|
80
|
+
|
|
81
|
+
### [Alternative 2 Name]
|
|
82
|
+
|
|
83
|
+
- **ALT-003**: **Description**: [Brief technical description]
|
|
84
|
+
- **ALT-004**: **Rejection Reason**: [Why this option was not selected]
|
|
85
|
+
|
|
86
|
+
## Implementation Notes
|
|
87
|
+
|
|
88
|
+
- **IMP-001**: [Key implementation considerations]
|
|
89
|
+
- **IMP-002**: [Migration or rollout strategy if applicable]
|
|
90
|
+
- **IMP-003**: [Monitoring and success criteria]
|
|
91
|
+
|
|
92
|
+
## References
|
|
93
|
+
|
|
94
|
+
- **REF-001**: [Related ADRs]
|
|
95
|
+
- **REF-002**: [External documentation]
|
|
96
|
+
- **REF-003**: [Standards or frameworks referenced]
|
|
97
|
+
```
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Create a formal specification for an existing GitHub Actions CI/CD workflow, optimized for AI consumption and workflow maintenance.'
|
|
4
|
+
tools: ['changes', 'search/codebase', 'edit/editFiles', 'extensions', 'fetch', 'findTestFiles', 'githubRepo', 'new', 'openSimpleBrowser', 'problems', 'runCommands', 'runInTerminal2', 'runNotebooks', 'runTasks', 'runTests', 'search', 'search/searchResults', 'runCommands/terminalLastCommand', 'runCommands/terminalSelection', 'testFailure', 'usages', 'vscodeAPI', 'microsoft.docs.mcp', 'github', 'Microsoft Docs']
|
|
5
|
+
---
|
|
6
|
+
# Create GitHub Actions Workflow Specification
|
|
7
|
+
|
|
8
|
+
Create a comprehensive specification for the GitHub Actions workflow: `${input:WorkflowFile}`.
|
|
9
|
+
|
|
10
|
+
This specification serves as a specification for the workflow's behavior, requirements, and constraints. It must be implementation-agnostic, focusing on **what** the workflow accomplishes rather than **how** it's implemented.
|
|
11
|
+
|
|
12
|
+
## AI-Optimized Requirements
|
|
13
|
+
|
|
14
|
+
- **Token Efficiency**: Use concise language without sacrificing clarity
|
|
15
|
+
- **Structured Data**: Leverage tables, lists, and diagrams for dense information
|
|
16
|
+
- **Semantic Clarity**: Use precise terminology consistently throughout
|
|
17
|
+
- **Implementation Abstraction**: Avoid specific syntax, commands, or tool versions
|
|
18
|
+
- **Maintainability**: Design for easy updates as workflow evolves
|
|
19
|
+
|
|
20
|
+
## Specification Template
|
|
21
|
+
|
|
22
|
+
Save as: `/spec/spec-process-cicd-[workflow-name].md`
|
|
23
|
+
|
|
24
|
+
```md
|
|
25
|
+
---
|
|
26
|
+
title: CI/CD Workflow Specification - [Workflow Name]
|
|
27
|
+
version: 1.0
|
|
28
|
+
date_created: [YYYY-MM-DD]
|
|
29
|
+
last_updated: [YYYY-MM-DD]
|
|
30
|
+
owner: DevOps Team
|
|
31
|
+
tags: [process, cicd, github-actions, automation, [domain-specific-tags]]
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Workflow Overview
|
|
35
|
+
|
|
36
|
+
**Purpose**: [One sentence describing workflow's primary goal]
|
|
37
|
+
**Trigger Events**: [List trigger conditions]
|
|
38
|
+
**Target Environments**: [Environment scope]
|
|
39
|
+
|
|
40
|
+
## Execution Flow Diagram
|
|
41
|
+
|
|
42
|
+
```mermaid
|
|
43
|
+
graph TD
|
|
44
|
+
A[Trigger Event] --> B[Job 1]
|
|
45
|
+
B --> C[Job 2]
|
|
46
|
+
C --> D[Job 3]
|
|
47
|
+
D --> E[End]
|
|
48
|
+
|
|
49
|
+
B --> F[Parallel Job]
|
|
50
|
+
F --> D
|
|
51
|
+
|
|
52
|
+
style A fill:#e1f5fe
|
|
53
|
+
style E fill:#e8f5e8
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Jobs & Dependencies
|
|
57
|
+
|
|
58
|
+
| Job Name | Purpose | Dependencies | Execution Context |
|
|
59
|
+
|----------|---------|--------------|-------------------|
|
|
60
|
+
| job-1 | [Purpose] | [Prerequisites] | [Runner/Environment] |
|
|
61
|
+
| job-2 | [Purpose] | job-1 | [Runner/Environment] |
|
|
62
|
+
|
|
63
|
+
## Requirements Matrix
|
|
64
|
+
|
|
65
|
+
### Functional Requirements
|
|
66
|
+
| ID | Requirement | Priority | Acceptance Criteria |
|
|
67
|
+
|----|-------------|----------|-------------------|
|
|
68
|
+
| REQ-001 | [Requirement] | High | [Testable criteria] |
|
|
69
|
+
| REQ-002 | [Requirement] | Medium | [Testable criteria] |
|
|
70
|
+
|
|
71
|
+
### Security Requirements
|
|
72
|
+
| ID | Requirement | Implementation Constraint |
|
|
73
|
+
|----|-------------|---------------------------|
|
|
74
|
+
| SEC-001 | [Security requirement] | [Constraint description] |
|
|
75
|
+
|
|
76
|
+
### Performance Requirements
|
|
77
|
+
| ID | Metric | Target | Measurement Method |
|
|
78
|
+
|----|-------|--------|-------------------|
|
|
79
|
+
| PERF-001 | [Metric] | [Target value] | [How measured] |
|
|
80
|
+
|
|
81
|
+
## Input/Output Contracts
|
|
82
|
+
|
|
83
|
+
### Inputs
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
# Environment Variables
|
|
87
|
+
ENV_VAR_1: string # Purpose: [description]
|
|
88
|
+
ENV_VAR_2: secret # Purpose: [description]
|
|
89
|
+
|
|
90
|
+
# Repository Triggers
|
|
91
|
+
paths: [list of path filters]
|
|
92
|
+
branches: [list of branch patterns]
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Outputs
|
|
96
|
+
|
|
97
|
+
```yaml
|
|
98
|
+
# Job Outputs
|
|
99
|
+
job_1_output: string # Description: [purpose]
|
|
100
|
+
build_artifact: file # Description: [content type]
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
### Secrets & Variables
|
|
104
|
+
|
|
105
|
+
| Type | Name | Purpose | Scope |
|
|
106
|
+
|------|------|---------|-------|
|
|
107
|
+
| Secret | SECRET_1 | [Purpose] | Workflow |
|
|
108
|
+
| Variable | VAR_1 | [Purpose] | Repository |
|
|
109
|
+
|
|
110
|
+
## Execution Constraints
|
|
111
|
+
|
|
112
|
+
### Runtime Constraints
|
|
113
|
+
|
|
114
|
+
- **Timeout**: [Maximum execution time]
|
|
115
|
+
- **Concurrency**: [Parallel execution limits]
|
|
116
|
+
- **Resource Limits**: [Memory/CPU constraints]
|
|
117
|
+
|
|
118
|
+
### Environmental Constraints
|
|
119
|
+
|
|
120
|
+
- **Runner Requirements**: [OS/hardware needs]
|
|
121
|
+
- **Network Access**: [External connectivity needs]
|
|
122
|
+
- **Permissions**: [Required access levels]
|
|
123
|
+
|
|
124
|
+
## Error Handling Strategy
|
|
125
|
+
|
|
126
|
+
| Error Type | Response | Recovery Action |
|
|
127
|
+
|------------|----------|-----------------|
|
|
128
|
+
| Build Failure | [Response] | [Recovery steps] |
|
|
129
|
+
| Test Failure | [Response] | [Recovery steps] |
|
|
130
|
+
| Deployment Failure | [Response] | [Recovery steps] |
|
|
131
|
+
|
|
132
|
+
## Quality Gates
|
|
133
|
+
|
|
134
|
+
### Gate Definitions
|
|
135
|
+
|
|
136
|
+
| Gate | Criteria | Bypass Conditions |
|
|
137
|
+
|------|----------|-------------------|
|
|
138
|
+
| Code Quality | [Standards] | [When allowed] |
|
|
139
|
+
| Security Scan | [Thresholds] | [When allowed] |
|
|
140
|
+
| Test Coverage | [Percentage] | [When allowed] |
|
|
141
|
+
|
|
142
|
+
## Monitoring & Observability
|
|
143
|
+
|
|
144
|
+
### Key Metrics
|
|
145
|
+
|
|
146
|
+
- **Success Rate**: [Target percentage]
|
|
147
|
+
- **Execution Time**: [Target duration]
|
|
148
|
+
- **Resource Usage**: [Monitoring approach]
|
|
149
|
+
|
|
150
|
+
### Alerting
|
|
151
|
+
|
|
152
|
+
| Condition | Severity | Notification Target |
|
|
153
|
+
|-----------|----------|-------------------|
|
|
154
|
+
| [Condition] | [Level] | [Who/Where] |
|
|
155
|
+
|
|
156
|
+
## Integration Points
|
|
157
|
+
|
|
158
|
+
### External Systems
|
|
159
|
+
|
|
160
|
+
| System | Integration Type | Data Exchange | SLA Requirements |
|
|
161
|
+
|--------|------------------|---------------|------------------|
|
|
162
|
+
| [System] | [Type] | [Data format] | [Requirements] |
|
|
163
|
+
|
|
164
|
+
### Dependent Workflows
|
|
165
|
+
|
|
166
|
+
| Workflow | Relationship | Trigger Mechanism |
|
|
167
|
+
|----------|--------------|-------------------|
|
|
168
|
+
| [Workflow] | [Type] | [How triggered] |
|
|
169
|
+
|
|
170
|
+
## Compliance & Governance
|
|
171
|
+
|
|
172
|
+
### Audit Requirements
|
|
173
|
+
|
|
174
|
+
- **Execution Logs**: [Retention policy]
|
|
175
|
+
- **Approval Gates**: [Required approvals]
|
|
176
|
+
- **Change Control**: [Update process]
|
|
177
|
+
|
|
178
|
+
### Security Controls
|
|
179
|
+
|
|
180
|
+
- **Access Control**: [Permission model]
|
|
181
|
+
- **Secret Management**: [Rotation policy]
|
|
182
|
+
- **Vulnerability Scanning**: [Scan frequency]
|
|
183
|
+
|
|
184
|
+
## Edge Cases & Exceptions
|
|
185
|
+
|
|
186
|
+
### Scenario Matrix
|
|
187
|
+
|
|
188
|
+
| Scenario | Expected Behavior | Validation Method |
|
|
189
|
+
|----------|-------------------|-------------------|
|
|
190
|
+
| [Edge case] | [Behavior] | [How to verify] |
|
|
191
|
+
|
|
192
|
+
## Validation Criteria
|
|
193
|
+
|
|
194
|
+
### Workflow Validation
|
|
195
|
+
|
|
196
|
+
- **VLD-001**: [Validation rule]
|
|
197
|
+
- **VLD-002**: [Validation rule]
|
|
198
|
+
|
|
199
|
+
### Performance Benchmarks
|
|
200
|
+
|
|
201
|
+
- **PERF-001**: [Benchmark criteria]
|
|
202
|
+
- **PERF-002**: [Benchmark criteria]
|
|
203
|
+
|
|
204
|
+
## Change Management
|
|
205
|
+
|
|
206
|
+
### Update Process
|
|
207
|
+
|
|
208
|
+
1. **Specification Update**: Modify this document first
|
|
209
|
+
2. **Review & Approval**: [Approval process]
|
|
210
|
+
3. **Implementation**: Apply changes to workflow
|
|
211
|
+
4. **Testing**: [Validation approach]
|
|
212
|
+
5. **Deployment**: [Release process]
|
|
213
|
+
|
|
214
|
+
### Version History
|
|
215
|
+
|
|
216
|
+
| Version | Date | Changes | Author |
|
|
217
|
+
|---------|------|---------|--------|
|
|
218
|
+
| 1.0 | [Date] | Initial specification | [Author] |
|
|
219
|
+
|
|
220
|
+
## Related Specifications
|
|
221
|
+
|
|
222
|
+
- [Link to related workflow specs]
|
|
223
|
+
- [Link to infrastructure specs]
|
|
224
|
+
- [Link to deployment specs]
|
|
225
|
+
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
## Analysis Instructions
|
|
229
|
+
|
|
230
|
+
When analyzing the workflow file:
|
|
231
|
+
|
|
232
|
+
1. **Extract Core Purpose**: Identify the primary business objective
|
|
233
|
+
2. **Map Job Flow**: Create dependency graph showing execution order
|
|
234
|
+
3. **Identify Contracts**: Document inputs, outputs, and interfaces
|
|
235
|
+
4. **Capture Constraints**: Extract timeouts, permissions, and limits
|
|
236
|
+
5. **Define Quality Gates**: Identify validation and approval points
|
|
237
|
+
6. **Document Error Paths**: Map failure scenarios and recovery
|
|
238
|
+
7. **Abstract Implementation**: Focus on behavior, not syntax
|
|
239
|
+
|
|
240
|
+
## Mermaid Diagram Guidelines
|
|
241
|
+
|
|
242
|
+
### Flow Types
|
|
243
|
+
- **Sequential**: `A --> B --> C`
|
|
244
|
+
- **Parallel**: `A --> B & A --> C; B --> D & C --> D`
|
|
245
|
+
- **Conditional**: `A --> B{Decision}; B -->|Yes| C; B -->|No| D`
|
|
246
|
+
|
|
247
|
+
### Styling
|
|
248
|
+
```mermaid
|
|
249
|
+
style TriggerNode fill:#e1f5fe
|
|
250
|
+
style SuccessNode fill:#e8f5e8
|
|
251
|
+
style FailureNode fill:#ffebee
|
|
252
|
+
style ProcessNode fill:#f3e5f5
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Complex Workflows
|
|
256
|
+
For workflows with 5+ jobs, use subgraphs:
|
|
257
|
+
```mermaid
|
|
258
|
+
graph TD
|
|
259
|
+
subgraph "Build Phase"
|
|
260
|
+
A[Lint] --> B[Test] --> C[Build]
|
|
261
|
+
end
|
|
262
|
+
subgraph "Deploy Phase"
|
|
263
|
+
D[Staging] --> E[Production]
|
|
264
|
+
end
|
|
265
|
+
C --> D
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
## Token Optimization Strategies
|
|
269
|
+
|
|
270
|
+
1. **Use Tables**: Dense information in structured format
|
|
271
|
+
2. **Abbreviate Consistently**: Define once, use throughout
|
|
272
|
+
3. **Bullet Points**: Avoid prose paragraphs
|
|
273
|
+
4. **Code Blocks**: Structured data over narrative
|
|
274
|
+
5. **Cross-Reference**: Link instead of repeat information
|
|
275
|
+
|
|
276
|
+
Focus on creating a specification that serves as both documentation and a template for workflow updates.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Create GitHub Issue for feature request from specification file using feature_request.yml template.'
|
|
4
|
+
tools: ['search/codebase', 'search', 'github', 'create_issue', 'search_issues', 'update_issue']
|
|
5
|
+
---
|
|
6
|
+
# Create GitHub Issue from Specification
|
|
7
|
+
|
|
8
|
+
Create GitHub Issue for the specification at `${file}`.
|
|
9
|
+
|
|
10
|
+
## Process
|
|
11
|
+
|
|
12
|
+
1. Analyze specification file to extract requirements
|
|
13
|
+
2. Check existing issues using `search_issues`
|
|
14
|
+
3. Create new issue using `create_issue` or update existing with `update_issue`
|
|
15
|
+
4. Use `feature_request.yml` template (fallback to default)
|
|
16
|
+
|
|
17
|
+
## Requirements
|
|
18
|
+
|
|
19
|
+
- Single issue for the complete specification
|
|
20
|
+
- Clear title identifying the specification
|
|
21
|
+
- Include only changes required by the specification
|
|
22
|
+
- Verify against existing issues before creation
|
|
23
|
+
|
|
24
|
+
## Issue Content
|
|
25
|
+
|
|
26
|
+
- Title: Feature name from specification
|
|
27
|
+
- Description: Problem statement, proposed solution, and context
|
|
28
|
+
- Labels: feature, enhancement (as appropriate)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: 'agent'
|
|
3
|
+
description: 'Create GitHub Issues from implementation plan phases using feature_request.yml or chore_request.yml templates.'
|
|
4
|
+
tools: ['search/codebase', 'search', 'github', 'create_issue', 'search_issues', 'update_issue']
|
|
5
|
+
---
|
|
6
|
+
# Create GitHub Issue from Implementation Plan
|
|
7
|
+
|
|
8
|
+
Create GitHub Issues for the implementation plan at `${file}`.
|
|
9
|
+
|
|
10
|
+
## Process
|
|
11
|
+
|
|
12
|
+
1. Analyze plan file to identify phases
|
|
13
|
+
2. Check existing issues using `search_issues`
|
|
14
|
+
3. Create new issue per phase using `create_issue` or update existing with `update_issue`
|
|
15
|
+
4. Use `feature_request.yml` or `chore_request.yml` templates (fallback to default)
|
|
16
|
+
|
|
17
|
+
## Requirements
|
|
18
|
+
|
|
19
|
+
- One issue per implementation phase
|
|
20
|
+
- Clear, structured titles and descriptions
|
|
21
|
+
- Include only changes required by the plan
|
|
22
|
+
- Verify against existing issues before creation
|
|
23
|
+
|
|
24
|
+
## Issue Content
|
|
25
|
+
|
|
26
|
+
- Title: Phase name from implementation plan
|
|
27
|
+
- Description: Phase details, requirements, and context
|
|
28
|
+
- Labels: Appropriate for issue type (feature/chore)
|