@totaland/create-starter-kit 2.0.1 → 2.0.2
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/README.md +27 -3
- package/bin/index.js +88 -30
- package/package.json +1 -1
- package/templates/backend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
- package/templates/backend/.github/agents/api-architect.agent.md +0 -41
- package/templates/backend/.github/agents/code-reviewer.agent.md +0 -26
- package/templates/backend/.github/agents/code-simplifier.agent.md +0 -41
- package/templates/backend/.github/agents/code-skeptic.agent.md +0 -74
- package/templates/backend/.github/agents/docs-specialist.agent.md +0 -25
- package/templates/backend/.github/agents/implementation-plan.agent.md +0 -160
- package/templates/backend/.github/agents/janitor.agent.md +0 -90
- package/templates/backend/.github/agents/ms-sql-dba.agent.md +0 -25
- package/templates/backend/.github/agents/plan.agent.md +0 -115
- package/templates/backend/.github/agents/planner.agent.md +0 -15
- package/templates/backend/.github/agents/playwright-tester.agent.md +0 -13
- package/templates/backend/.github/agents/postgresql-dba.agent.md +0 -18
- package/templates/backend/.github/agents/prd.agent.md +0 -202
- package/templates/backend/.github/agents/research-technical-spike.agent.md +0 -170
- package/templates/backend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
- package/templates/backend/.github/agents/task-planner.agent.md +0 -375
- package/templates/backend/.github/agents/task-researcher.agent.md +0 -255
- package/templates/backend/.github/agents/tdd-green.agent.md +0 -60
- package/templates/backend/.github/agents/tdd-red.agent.md +0 -60
- package/templates/backend/.github/agents/tdd-refactor.agent.md +0 -85
- package/templates/backend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
- package/templates/backend/.github/agents/typescript-mcp-expert.agent.md +0 -91
- package/templates/backend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
- package/templates/backend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
- package/templates/backend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
- package/templates/backend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
- package/templates/backend/.github/instructions/a11y.instructions.md +0 -369
- package/templates/backend/.github/instructions/ms-sql-dba.instructions.md +0 -25
- package/templates/backend/.github/instructions/object-calisthenics.instructions.md +0 -302
- package/templates/backend/.github/instructions/performance-optimization.instructions.md +0 -420
- package/templates/backend/.github/instructions/playwright-python.instructions.md +0 -62
- package/templates/backend/.github/instructions/playwright-typescript.instructions.md +0 -86
- package/templates/backend/.github/instructions/security-and-owasp.instructions.md +0 -51
- package/templates/backend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
- package/templates/backend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
- package/templates/backend/.github/instructions/sql-sp-generation.instructions.md +0 -74
- package/templates/backend/.github/instructions/task-implementation.instructions.md +0 -190
- package/templates/backend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
- package/templates/backend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
- package/templates/backend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
- package/templates/backend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
- package/templates/backend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
- package/templates/backend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
- package/templates/backend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
- package/templates/backend/.github/prompts/breakdown-plan.prompt.md +0 -508
- package/templates/backend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
- package/templates/backend/.github/prompts/create-agentsmd.prompt.md +0 -248
- package/templates/backend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
- package/templates/backend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
- package/templates/backend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
- package/templates/backend/.github/prompts/create-implementation-plan.prompt.md +0 -156
- package/templates/backend/.github/prompts/create-llms.prompt.md +0 -209
- package/templates/backend/.github/prompts/create-specification.prompt.md +0 -126
- package/templates/backend/.github/prompts/create-technical-spike.prompt.md +0 -230
- package/templates/backend/.github/prompts/csharp-nunit.prompt.md +0 -71
- package/templates/backend/.github/prompts/ef-core.prompt.md +0 -76
- package/templates/backend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
- package/templates/backend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
- package/templates/backend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
- package/templates/backend/.github/prompts/java-junit.prompt.md +0 -64
- package/templates/backend/.github/prompts/memory-merger.prompt.md +0 -107
- package/templates/backend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
- package/templates/backend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
- package/templates/backend/.github/prompts/playwright-explore-website.prompt.md +0 -19
- package/templates/backend/.github/prompts/playwright-generate-test.prompt.md +0 -19
- package/templates/backend/.github/prompts/postgresql-code-review.prompt.md +0 -214
- package/templates/backend/.github/prompts/postgresql-optimization.prompt.md +0 -406
- package/templates/backend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
- package/templates/backend/.github/prompts/prompt-builder.prompt.md +0 -142
- package/templates/backend/.github/prompts/remember.prompt.md +0 -125
- package/templates/backend/.github/prompts/review-and-refactor.prompt.md +0 -15
- package/templates/backend/.github/prompts/sql-code-review.prompt.md +0 -303
- package/templates/backend/.github/prompts/sql-optimization.prompt.md +0 -298
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
- package/templates/backend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
- package/templates/backend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
- package/templates/backend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
- package/templates/backend/.github/prompts/update-implementation-plan.prompt.md +0 -157
- package/templates/backend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
- package/templates/backend/Project_Folders_Structure_Blueprint.md +0 -529
- package/templates/backend/README.md +0 -99
- package/templates/backend/biome.json +0 -45
- package/templates/backend/drizzle.config.ts +0 -10
- package/templates/backend/knip.json +0 -10
- package/templates/backend/package.json +0 -60
- package/templates/backend/playwright.config.ts +0 -16
- package/templates/backend/pnpm-lock.yaml +0 -4240
- package/templates/backend/pnpm-workspace.yaml +0 -3
- package/templates/backend/src/features/health/controller.ts +0 -5
- package/templates/backend/src/features/health/health.test.ts +0 -23
- package/templates/backend/src/features/health/index.ts +0 -7
- package/templates/backend/src/features/health/schemas.ts +0 -29
- package/templates/backend/src/features/orders/controller.ts +0 -18
- package/templates/backend/src/features/orders/index.ts +0 -10
- package/templates/backend/src/features/orders/schemas.ts +0 -62
- package/templates/backend/src/index.ts +0 -43
- package/templates/backend/src/lib/openapi.ts +0 -25
- package/templates/backend/src/lib/validateRequest.test.ts +0 -84
- package/templates/backend/src/lib/validateRequest.ts +0 -72
- package/templates/backend/tsconfig.build.json +0 -10
- package/templates/backend/tsconfig.json +0 -30
- package/templates/backend/vitest.config.ts +0 -31
- package/templates/frontend/.env.example +0 -7
- package/templates/frontend/.github/agents/ /360/237/216/255 planner.agent.md" +0 -92
- package/templates/frontend/.github/agents/api-architect.agent.md +0 -41
- package/templates/frontend/.github/agents/code-reviewer.agent.md +0 -26
- package/templates/frontend/.github/agents/code-simplifier.agent.md +0 -41
- package/templates/frontend/.github/agents/code-skeptic.agent.md +0 -74
- package/templates/frontend/.github/agents/docs-specialist.agent.md +0 -25
- package/templates/frontend/.github/agents/implementation-plan.agent.md +0 -160
- package/templates/frontend/.github/agents/janitor.agent.md +0 -90
- package/templates/frontend/.github/agents/ms-sql-dba.agent.md +0 -25
- package/templates/frontend/.github/agents/plan.agent.md +0 -115
- package/templates/frontend/.github/agents/planner.agent.md +0 -15
- package/templates/frontend/.github/agents/playwright-tester.agent.md +0 -13
- package/templates/frontend/.github/agents/postgresql-dba.agent.md +0 -18
- package/templates/frontend/.github/agents/prd.agent.md +0 -202
- package/templates/frontend/.github/agents/research-technical-spike.agent.md +0 -170
- package/templates/frontend/.github/agents/software-engineer-agent-v1.agent.md +0 -165
- package/templates/frontend/.github/agents/task-planner.agent.md +0 -375
- package/templates/frontend/.github/agents/task-researcher.agent.md +0 -255
- package/templates/frontend/.github/agents/tdd-green.agent.md +0 -60
- package/templates/frontend/.github/agents/tdd-red.agent.md +0 -60
- package/templates/frontend/.github/agents/tdd-refactor.agent.md +0 -85
- package/templates/frontend/.github/agents/tech-debt-remediation-plan.agent.md +0 -50
- package/templates/frontend/.github/agents/typescript-mcp-expert.agent.md +0 -91
- package/templates/frontend/.github/agents/ultimate-thinking-beastmode.agent.md +0 -644
- package/templates/frontend/.github/agents//360/237/216/255 generator.agent.md" +0 -264
- package/templates/frontend/.github/agents//360/237/216/255 healer.agent.md" +0 -44
- package/templates/frontend/.github/agents//360/237/216/255 pom.agent.md" +0 -308
- package/templates/frontend/.github/instructions/a11y.instructions.md +0 -369
- package/templates/frontend/.github/instructions/ms-sql-dba.instructions.md +0 -25
- package/templates/frontend/.github/instructions/object-calisthenics.instructions.md +0 -302
- package/templates/frontend/.github/instructions/performance-optimization.instructions.md +0 -420
- package/templates/frontend/.github/instructions/playwright-python.instructions.md +0 -62
- package/templates/frontend/.github/instructions/playwright-typescript.instructions.md +0 -86
- package/templates/frontend/.github/instructions/security-and-owasp.instructions.md +0 -51
- package/templates/frontend/.github/instructions/self-explanatory-code-commenting.instructions.md +0 -162
- package/templates/frontend/.github/instructions/spec-driven-workflow-v1.instructions.md +0 -323
- package/templates/frontend/.github/instructions/sql-sp-generation.instructions.md +0 -74
- package/templates/frontend/.github/instructions/task-implementation.instructions.md +0 -190
- package/templates/frontend/.github/instructions/typescript-mcp-server.instructions.md +0 -228
- package/templates/frontend/.github/prompts/ai-prompt-engineering-safety-review.prompt.md +0 -229
- package/templates/frontend/.github/prompts/architecture-blueprint-generator.prompt.md +0 -321
- package/templates/frontend/.github/prompts/breakdown-epic-arch.prompt.md +0 -65
- package/templates/frontend/.github/prompts/breakdown-epic-pm.prompt.md +0 -57
- package/templates/frontend/.github/prompts/breakdown-feature-implementation.prompt.md +0 -127
- package/templates/frontend/.github/prompts/breakdown-feature-prd.prompt.md +0 -60
- package/templates/frontend/.github/prompts/breakdown-plan.prompt.md +0 -508
- package/templates/frontend/.github/prompts/copilot-instructions-blueprint-generator.prompt.md +0 -293
- package/templates/frontend/.github/prompts/create-agentsmd.prompt.md +0 -248
- package/templates/frontend/.github/prompts/create-github-issue-feature-from-specification.prompt.md +0 -27
- package/templates/frontend/.github/prompts/create-github-issues-feature-from-implementation-plan.prompt.md +0 -27
- package/templates/frontend/.github/prompts/create-github-issues-for-unmet-specification-requirements.prompt.md +0 -35
- package/templates/frontend/.github/prompts/create-implementation-plan.prompt.md +0 -156
- package/templates/frontend/.github/prompts/create-llms.prompt.md +0 -209
- package/templates/frontend/.github/prompts/create-specification.prompt.md +0 -126
- package/templates/frontend/.github/prompts/create-technical-spike.prompt.md +0 -230
- package/templates/frontend/.github/prompts/csharp-nunit.prompt.md +0 -71
- package/templates/frontend/.github/prompts/ef-core.prompt.md +0 -76
- package/templates/frontend/.github/prompts/folder-structure-blueprint-generator.prompt.md +0 -404
- package/templates/frontend/.github/prompts/gen-specs-as-issues.prompt.md +0 -165
- package/templates/frontend/.github/prompts/generate-custom-instructions-from-codebase.prompt.md +0 -239
- package/templates/frontend/.github/prompts/java-junit.prompt.md +0 -64
- package/templates/frontend/.github/prompts/memory-merger.prompt.md +0 -107
- package/templates/frontend/.github/prompts/multi-stage-dockerfile.prompt.md +0 -46
- package/templates/frontend/.github/prompts/playwright-automation-fill-in-form.prompt.md +0 -29
- package/templates/frontend/.github/prompts/playwright-explore-website.prompt.md +0 -19
- package/templates/frontend/.github/prompts/playwright-generate-test.prompt.md +0 -19
- package/templates/frontend/.github/prompts/postgresql-code-review.prompt.md +0 -214
- package/templates/frontend/.github/prompts/postgresql-optimization.prompt.md +0 -406
- package/templates/frontend/.github/prompts/project-workflow-analysis-blueprint-generator.prompt.md +0 -294
- package/templates/frontend/.github/prompts/prompt-builder.prompt.md +0 -142
- package/templates/frontend/.github/prompts/remember.prompt.md +0 -125
- package/templates/frontend/.github/prompts/review-and-refactor.prompt.md +0 -15
- package/templates/frontend/.github/prompts/sql-code-review.prompt.md +0 -303
- package/templates/frontend/.github/prompts/sql-optimization.prompt.md +0 -298
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-agents.prompt.md +0 -72
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md +0 -71
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md +0 -149
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md +0 -88
- package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-prompts.prompt.md +0 -71
- package/templates/frontend/.github/prompts/technology-stack-blueprint-generator.prompt.md +0 -242
- package/templates/frontend/.github/prompts/typescript-mcp-server-generator.prompt.md +0 -90
- package/templates/frontend/.github/prompts/update-implementation-plan.prompt.md +0 -157
- package/templates/frontend/.github/prompts/update-markdown-file-index.prompt.md +0 -76
- package/templates/frontend/README.md +0 -199
- package/templates/frontend/biome.json +0 -45
- package/templates/frontend/components.json +0 -22
- package/templates/frontend/index.html +0 -13
- package/templates/frontend/package.json +0 -44
- package/templates/frontend/pnpm-lock.yaml +0 -2011
- package/templates/frontend/postcss.config.js +0 -6
- package/templates/frontend/public/vite.svg +0 -1
- package/templates/frontend/src/App.css +0 -42
- package/templates/frontend/src/App.tsx +0 -17
- package/templates/frontend/src/assets/react.svg +0 -1
- package/templates/frontend/src/components/layout/layout.component.tsx +0 -31
- package/templates/frontend/src/components/menu-toggle-icon.tsx +0 -53
- package/templates/frontend/src/components/ui/button.tsx +0 -57
- package/templates/frontend/src/docs/RECOMMENDED_LIBRARIES.md +0 -226
- package/templates/frontend/src/docs/SETUP_SUMMARY.md +0 -162
- package/templates/frontend/src/hooks/use-scroll.ts +0 -21
- package/templates/frontend/src/index.css +0 -121
- package/templates/frontend/src/lib/api-client.ts +0 -46
- package/templates/frontend/src/lib/utils.ts +0 -6
- package/templates/frontend/src/main.tsx +0 -30
- package/templates/frontend/src/pages/about/about.page.tsx +0 -50
- package/templates/frontend/src/pages/home/home.page.tsx +0 -43
- package/templates/frontend/tailwind.config.js +0 -59
- package/templates/frontend/tsconfig.app.json +0 -41
- package/templates/frontend/tsconfig.json +0 -13
- package/templates/frontend/tsconfig.node.json +0 -26
- package/templates/frontend/vite.config.ts +0 -14
package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-chatmodes.prompt.md
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
agent: 'agent'
|
|
3
|
-
description: 'Suggest relevant GitHub Copilot Custom Chat Modes files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing custom chat modes in this repository.'
|
|
4
|
-
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Suggest Awesome GitHub Copilot Custom Chat Modes
|
|
8
|
-
|
|
9
|
-
Analyze current repository context and suggest relevant Custom Chat Modes files from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/docs/README.chatmodes.md) that are not already available in this repository. Custom Chat Mode files are located in the [chatmodes](https://github.com/github/awesome-copilot/tree/main/chatmodes) folder of the awesome-copilot repository.
|
|
10
|
-
|
|
11
|
-
## Process
|
|
12
|
-
|
|
13
|
-
1. **Fetch Available Custom Chat Modes**: Extract Custom Chat Modes list and descriptions from [awesome-copilot README.chatmodes.md](https://github.com/github/awesome-copilot/blob/main/docs/README.chatmodes.md). Must use `#fetch` tool.
|
|
14
|
-
2. **Scan Local Custom Chat Modes**: Discover existing custom chat mode files in `.github/chatmodes/` folder
|
|
15
|
-
3. **Extract Descriptions**: Read front matter from local custom chat mode files to get descriptions
|
|
16
|
-
4. **Analyze Context**: Review chat history, repository files, and current project needs
|
|
17
|
-
5. **Compare Existing**: Check against custom chat modes already available in this repository
|
|
18
|
-
6. **Match Relevance**: Compare available custom chat modes against identified patterns and requirements
|
|
19
|
-
7. **Present Options**: Display relevant custom chat modes with descriptions, rationale, and availability status
|
|
20
|
-
8. **Validate**: Ensure suggested chatmodes would add value not already covered by existing chatmodes
|
|
21
|
-
9. **Output**: Provide structured table with suggestions, descriptions, and links to both awesome-copilot custom chat modes and similar local custom chat modes
|
|
22
|
-
**AWAIT** user request to proceed with installation of specific custom chat modes. DO NOT INSTALL UNLESS DIRECTED TO DO SO.
|
|
23
|
-
10. **Download Assets**: For requested chat modes, automatically download and install individual chat modes to `.github/chatmodes/` folder. Do NOT adjust content of the files. Use `#todos` tool to track progress. Prioritize use of `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved.
|
|
24
|
-
|
|
25
|
-
## Context Analysis Criteria
|
|
26
|
-
|
|
27
|
-
🔍 **Repository Patterns**:
|
|
28
|
-
- Programming languages used (.cs, .js, .py, etc.)
|
|
29
|
-
- Framework indicators (ASP.NET, React, Azure, etc.)
|
|
30
|
-
- Project types (web apps, APIs, libraries, tools)
|
|
31
|
-
- Documentation needs (README, specs, ADRs)
|
|
32
|
-
|
|
33
|
-
🗨️ **Chat History Context**:
|
|
34
|
-
- Recent discussions and pain points
|
|
35
|
-
- Feature requests or implementation needs
|
|
36
|
-
- Code review patterns
|
|
37
|
-
- Development workflow requirements
|
|
38
|
-
|
|
39
|
-
## Output Format
|
|
40
|
-
|
|
41
|
-
Display analysis results in structured table comparing awesome-copilot custom chat modes with existing repository custom chat modes:
|
|
42
|
-
|
|
43
|
-
| Awesome-Copilot Custom Chat Mode | Description | Already Installed | Similar Local Custom Chat Mode | Suggestion Rationale |
|
|
44
|
-
|---------------------------|-------------|-------------------|-------------------------|---------------------|
|
|
45
|
-
| [code-reviewer.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/code-reviewer.chatmode.md) | Specialized code review custom chat mode | ❌ No | None | Would enhance development workflow with dedicated code review assistance |
|
|
46
|
-
| [architect.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/architect.chatmode.md) | Software architecture guidance | ✅ Yes | azure_principal_architect.chatmode.md | Already covered by existing architecture custom chat modes |
|
|
47
|
-
| [debugging-expert.chatmode.md](https://github.com/github/awesome-copilot/blob/main/chatmodes/debugging-expert.chatmode.md) | Debug assistance custom chat mode | ❌ No | None | Could improve troubleshooting efficiency for development team |
|
|
48
|
-
|
|
49
|
-
## Local Chatmodes Discovery Process
|
|
50
|
-
|
|
51
|
-
1. List all `*.chatmode.md` files in `.github/chatmodes/` directory
|
|
52
|
-
2. For each discovered file, read front matter to extract `description`
|
|
53
|
-
3. Build comprehensive inventory of existing chatmodes
|
|
54
|
-
4. Use this inventory to avoid suggesting duplicates
|
|
55
|
-
|
|
56
|
-
## Requirements
|
|
57
|
-
|
|
58
|
-
- Use `githubRepo` tool to get content from awesome-copilot repository chatmodes folder
|
|
59
|
-
- Scan local file system for existing chatmodes in `.github/chatmodes/` directory
|
|
60
|
-
- Read YAML front matter from local chatmode files to extract descriptions
|
|
61
|
-
- Compare against existing chatmodes in this repository to avoid duplicates
|
|
62
|
-
- Focus on gaps in current chatmode library coverage
|
|
63
|
-
- Validate that suggested chatmodes align with repository's purpose and standards
|
|
64
|
-
- Provide clear rationale for each suggestion
|
|
65
|
-
- Include links to both awesome-copilot chatmodes and similar local chatmodes
|
|
66
|
-
- Don't provide any additional information or context beyond the table and the analysis
|
|
67
|
-
|
|
68
|
-
## Icons Reference
|
|
69
|
-
|
|
70
|
-
- ✅ Already installed in repo
|
|
71
|
-
- ❌ Not installed in repo
|
package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-collections.prompt.md
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: 'agent'
|
|
3
|
-
description: 'Suggest relevant GitHub Copilot collections from the awesome-copilot repository based on current repository context and chat history, providing automatic download and installation of collection assets.'
|
|
4
|
-
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
|
5
|
-
---
|
|
6
|
-
# Suggest Awesome GitHub Copilot Collections
|
|
7
|
-
|
|
8
|
-
Analyze current repository context and suggest relevant collections from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/docs/README.collections.md) that would enhance the development workflow for this repository.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Fetch Available Collections**: Extract collection list and descriptions from [awesome-copilot README.collections.md](https://github.com/github/awesome-copilot/blob/main/docs/README.collections.md). Must use `#fetch` tool.
|
|
13
|
-
2. **Scan Local Assets**: Discover existing prompt files in `prompts/`, instruction files in `instructions/`, and chat modes in `chatmodes/` folders
|
|
14
|
-
3. **Extract Local Descriptions**: Read front matter from local asset files to understand existing capabilities
|
|
15
|
-
4. **Analyze Repository Context**: Review chat history, repository files, programming languages, frameworks, and current project needs
|
|
16
|
-
5. **Match Collection Relevance**: Compare available collections against identified patterns and requirements
|
|
17
|
-
6. **Check Asset Overlap**: For relevant collections, analyze individual items to avoid duplicates with existing repository assets
|
|
18
|
-
7. **Present Collection Options**: Display relevant collections with descriptions, item counts, and rationale for suggestion
|
|
19
|
-
8. **Provide Usage Guidance**: Explain how the installed collection enhances the development workflow
|
|
20
|
-
**AWAIT** user request to proceed with installation of specific collections. DO NOT INSTALL UNLESS DIRECTED TO DO SO.
|
|
21
|
-
9. **Download Assets**: For requested collections, automatically download and install each individual asset (prompts, instructions, chat modes) to appropriate directories. Do NOT adjust content of the files. Prioritize use of `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved.
|
|
22
|
-
|
|
23
|
-
## Context Analysis Criteria
|
|
24
|
-
|
|
25
|
-
🔍 **Repository Patterns**:
|
|
26
|
-
- Programming languages used (.cs, .js, .py, .ts, .bicep, .tf, etc.)
|
|
27
|
-
- Framework indicators (ASP.NET, React, Azure, Next.js, Angular, etc.)
|
|
28
|
-
- Project types (web apps, APIs, libraries, tools, infrastructure)
|
|
29
|
-
- Documentation needs (README, specs, ADRs, architectural decisions)
|
|
30
|
-
- Development workflow indicators (CI/CD, testing, deployment)
|
|
31
|
-
|
|
32
|
-
🗨️ **Chat History Context**:
|
|
33
|
-
- Recent discussions and pain points
|
|
34
|
-
- Feature requests or implementation needs
|
|
35
|
-
- Code review patterns and quality concerns
|
|
36
|
-
- Development workflow requirements and challenges
|
|
37
|
-
- Technology stack and architecture decisions
|
|
38
|
-
|
|
39
|
-
## Output Format
|
|
40
|
-
|
|
41
|
-
Display analysis results in structured table showing relevant collections and their potential value:
|
|
42
|
-
|
|
43
|
-
### Collection Recommendations
|
|
44
|
-
|
|
45
|
-
| Collection Name | Description | Items | Asset Overlap | Suggestion Rationale |
|
|
46
|
-
|-----------------|-------------|-------|---------------|---------------------|
|
|
47
|
-
| [Azure & Cloud Development](https://github.com/github/awesome-copilot/blob/main/collections/azure-cloud-development.md) | Comprehensive Azure cloud development tools including Infrastructure as Code, serverless functions, architecture patterns, and cost optimization | 15 items | 3 similar | Would enhance Azure development workflow with Bicep, Terraform, and cost optimization tools |
|
|
48
|
-
| [C# .NET Development](https://github.com/github/awesome-copilot/blob/main/collections/csharp-dotnet-development.md) | Essential prompts, instructions, and chat modes for C# and .NET development including testing, documentation, and best practices | 7 items | 2 similar | Already covered by existing .NET-related assets but includes advanced testing patterns |
|
|
49
|
-
| [Testing & Test Automation](https://github.com/github/awesome-copilot/blob/main/collections/testing-automation.md) | Comprehensive collection for writing tests, test automation, and test-driven development | 11 items | 1 similar | Could significantly improve testing practices with TDD guidance and automation tools |
|
|
50
|
-
|
|
51
|
-
### Asset Analysis for Recommended Collections
|
|
52
|
-
|
|
53
|
-
For each suggested collection, break down individual assets:
|
|
54
|
-
|
|
55
|
-
**Azure & Cloud Development Collection Analysis:**
|
|
56
|
-
- ✅ **New Assets (12)**: Azure cost optimization prompts, Bicep planning mode, AVM modules, Logic Apps expert mode
|
|
57
|
-
- ⚠️ **Similar Assets (3)**: Azure DevOps pipelines (similar to existing CI/CD), Terraform (basic overlap), Containerization (Docker basics covered)
|
|
58
|
-
- 🎯 **High Value**: Cost optimization tools, Infrastructure as Code expertise, Azure-specific architectural guidance
|
|
59
|
-
|
|
60
|
-
**Installation Preview:**
|
|
61
|
-
- Will install to `prompts/`: 4 Azure-specific prompts
|
|
62
|
-
- Will install to `instructions/`: 6 infrastructure and DevOps best practices
|
|
63
|
-
- Will install to `chatmodes/`: 5 specialized Azure expert modes
|
|
64
|
-
|
|
65
|
-
## Local Asset Discovery Process
|
|
66
|
-
|
|
67
|
-
1. **Scan Asset Directories**:
|
|
68
|
-
- List all `*.prompt.md` files in `prompts/` directory
|
|
69
|
-
- List all `*.instructions.md` files in `instructions/` directory
|
|
70
|
-
- List all `*.chatmode.md` files in `chatmodes/` directory
|
|
71
|
-
|
|
72
|
-
2. **Extract Asset Metadata**: For each discovered file, read YAML front matter to extract:
|
|
73
|
-
- `description` - Primary purpose and functionality
|
|
74
|
-
- `tools` - Required tools and capabilities
|
|
75
|
-
- `mode` - Operating mode (for prompts)
|
|
76
|
-
- `model` - Specific model requirements (for chat modes)
|
|
77
|
-
|
|
78
|
-
3. **Build Asset Inventory**: Create comprehensive map of existing capabilities organized by:
|
|
79
|
-
- **Technology Focus**: Programming languages, frameworks, platforms
|
|
80
|
-
- **Workflow Type**: Development, testing, deployment, documentation, planning
|
|
81
|
-
- **Specialization Level**: General purpose vs. specialized expert modes
|
|
82
|
-
|
|
83
|
-
4. **Identify Coverage Gaps**: Compare existing assets against:
|
|
84
|
-
- Repository technology stack requirements
|
|
85
|
-
- Development workflow needs indicated by chat history
|
|
86
|
-
- Industry best practices for identified project types
|
|
87
|
-
- Missing expertise areas (security, performance, architecture, etc.)
|
|
88
|
-
|
|
89
|
-
## Collection Asset Download Process
|
|
90
|
-
|
|
91
|
-
When user confirms a collection installation:
|
|
92
|
-
|
|
93
|
-
1. **Fetch Collection Manifest**: Get collection YAML from awesome-copilot repository
|
|
94
|
-
2. **Download Individual Assets**: For each item in collection:
|
|
95
|
-
- Download raw file content from GitHub
|
|
96
|
-
- Validate file format and front matter structure
|
|
97
|
-
- Check naming convention compliance
|
|
98
|
-
3. **Install to Appropriate Directories**:
|
|
99
|
-
- `*.prompt.md` files → `prompts/` directory
|
|
100
|
-
- `*.instructions.md` files → `instructions/` directory
|
|
101
|
-
- `*.chatmode.md` files → `chatmodes/` directory
|
|
102
|
-
4. **Avoid Duplicates**: Skip files that are substantially similar to existing assets
|
|
103
|
-
5. **Report Installation**: Provide summary of installed assets and usage instructions
|
|
104
|
-
|
|
105
|
-
## Requirements
|
|
106
|
-
|
|
107
|
-
- Use `fetch` tool to get collections data from awesome-copilot repository
|
|
108
|
-
- Use `githubRepo` tool to get individual asset content for download
|
|
109
|
-
- Scan local file system for existing assets in `prompts/`, `instructions/`, and `chatmodes/` directories
|
|
110
|
-
- Read YAML front matter from local asset files to extract descriptions and capabilities
|
|
111
|
-
- Compare collections against repository context to identify relevant matches
|
|
112
|
-
- Focus on collections that fill capability gaps rather than duplicate existing assets
|
|
113
|
-
- Validate that suggested collections align with repository's technology stack and development needs
|
|
114
|
-
- Provide clear rationale for each collection suggestion with specific benefits
|
|
115
|
-
- Enable automatic download and installation of collection assets to appropriate directories
|
|
116
|
-
- Ensure downloaded assets follow repository naming conventions and formatting standards
|
|
117
|
-
- Provide usage guidance explaining how collections enhance the development workflow
|
|
118
|
-
- Include links to both awesome-copilot collections and individual assets within collections
|
|
119
|
-
|
|
120
|
-
## Collection Installation Workflow
|
|
121
|
-
|
|
122
|
-
1. **User Confirms Collection**: User selects specific collection(s) for installation
|
|
123
|
-
2. **Fetch Collection Manifest**: Download YAML manifest from awesome-copilot repository
|
|
124
|
-
3. **Asset Download Loop**: For each asset in collection:
|
|
125
|
-
- Download raw content from GitHub repository
|
|
126
|
-
- Validate file format and structure
|
|
127
|
-
- Check for substantial overlap with existing local assets
|
|
128
|
-
- Install to appropriate directory (`prompts/`, `instructions/`, or `chatmodes/`)
|
|
129
|
-
4. **Installation Summary**: Report installed assets with usage instructions
|
|
130
|
-
5. **Workflow Enhancement Guide**: Explain how the collection improves development capabilities
|
|
131
|
-
|
|
132
|
-
## Post-Installation Guidance
|
|
133
|
-
|
|
134
|
-
After installing a collection, provide:
|
|
135
|
-
- **Asset Overview**: List of installed prompts, instructions, and chat modes
|
|
136
|
-
- **Usage Examples**: How to activate and use each type of asset
|
|
137
|
-
- **Workflow Integration**: Best practices for incorporating assets into development process
|
|
138
|
-
- **Customization Tips**: How to modify assets for specific project needs
|
|
139
|
-
- **Related Collections**: Suggestions for complementary collections that work well together
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
## Icons Reference
|
|
143
|
-
|
|
144
|
-
- ✅ Collection recommended for installation
|
|
145
|
-
- ⚠️ Collection has some asset overlap but still valuable
|
|
146
|
-
- ❌ Collection not recommended (significant overlap or not relevant)
|
|
147
|
-
- 🎯 High-value collection that fills major capability gaps
|
|
148
|
-
- 📁 Collection partially installed (some assets skipped due to duplicates)
|
|
149
|
-
- 🔄 Collection needs customization for repository-specific needs
|
package/templates/frontend/.github/prompts/suggest-awesome-github-copilot-instructions.prompt.md
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
agent: 'agent'
|
|
3
|
-
description: 'Suggest relevant GitHub Copilot instruction files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing instructions in this repository.'
|
|
4
|
-
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
|
5
|
-
---
|
|
6
|
-
# Suggest Awesome GitHub Copilot Instructions
|
|
7
|
-
|
|
8
|
-
Analyze current repository context and suggest relevant copilot-instruction files from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md) that are not already available in this repository.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Fetch Available Instructions**: Extract instruction list and descriptions from [awesome-copilot README.instructions.md](https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md). Must use `#fetch` tool.
|
|
13
|
-
2. **Scan Local Instructions**: Discover existing instruction files in `.github/instructions/` folder
|
|
14
|
-
3. **Extract Descriptions**: Read front matter from local instruction files to get descriptions and `applyTo` patterns
|
|
15
|
-
4. **Analyze Context**: Review chat history, repository files, and current project needs
|
|
16
|
-
5. **Compare Existing**: Check against instructions already available in this repository
|
|
17
|
-
6. **Match Relevance**: Compare available instructions against identified patterns and requirements
|
|
18
|
-
7. **Present Options**: Display relevant instructions with descriptions, rationale, and availability status
|
|
19
|
-
8. **Validate**: Ensure suggested instructions would add value not already covered by existing instructions
|
|
20
|
-
9. **Output**: Provide structured table with suggestions, descriptions, and links to both awesome-copilot instructions and similar local instructions
|
|
21
|
-
**AWAIT** user request to proceed with installation of specific instructions. DO NOT INSTALL UNLESS DIRECTED TO DO SO.
|
|
22
|
-
10. **Download Assets**: For requested instructions, automatically download and install individual instructions to `.github/instructions/` folder. Do NOT adjust content of the files. Use `#todos` tool to track progress. Prioritize use of `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved.
|
|
23
|
-
|
|
24
|
-
## Context Analysis Criteria
|
|
25
|
-
|
|
26
|
-
🔍 **Repository Patterns**:
|
|
27
|
-
- Programming languages used (.cs, .js, .py, .ts, etc.)
|
|
28
|
-
- Framework indicators (ASP.NET, React, Azure, Next.js, etc.)
|
|
29
|
-
- Project types (web apps, APIs, libraries, tools)
|
|
30
|
-
- Development workflow requirements (testing, CI/CD, deployment)
|
|
31
|
-
|
|
32
|
-
🗨️ **Chat History Context**:
|
|
33
|
-
- Recent discussions and pain points
|
|
34
|
-
- Technology-specific questions
|
|
35
|
-
- Coding standards discussions
|
|
36
|
-
- Development workflow requirements
|
|
37
|
-
|
|
38
|
-
## Output Format
|
|
39
|
-
|
|
40
|
-
Display analysis results in structured table comparing awesome-copilot instructions with existing repository instructions:
|
|
41
|
-
|
|
42
|
-
| Awesome-Copilot Instruction | Description | Already Installed | Similar Local Instruction | Suggestion Rationale |
|
|
43
|
-
|------------------------------|-------------|-------------------|---------------------------|---------------------|
|
|
44
|
-
| [blazor.instructions.md](https://github.com/github/awesome-copilot/blob/main/instructions/blazor.instructions.md) | Blazor development guidelines | ❌ No | blazor.instructions.md | Already covered by existing Blazor instructions |
|
|
45
|
-
| [reactjs.instructions.md](https://github.com/github/awesome-copilot/blob/main/instructions/reactjs.instructions.md) | ReactJS development standards | ❌ No | None | Would enhance React development with established patterns |
|
|
46
|
-
| [java.instructions.md](https://github.com/github/awesome-copilot/blob/main/instructions/java.instructions.md) | Java development best practices | ❌ No | None | Could improve Java code quality and consistency |
|
|
47
|
-
|
|
48
|
-
## Local Instructions Discovery Process
|
|
49
|
-
|
|
50
|
-
1. List all `*.instructions.md` files in the `instructions/` directory
|
|
51
|
-
2. For each discovered file, read front matter to extract `description` and `applyTo` patterns
|
|
52
|
-
3. Build comprehensive inventory of existing instructions with their applicable file patterns
|
|
53
|
-
4. Use this inventory to avoid suggesting duplicates
|
|
54
|
-
|
|
55
|
-
## File Structure Requirements
|
|
56
|
-
|
|
57
|
-
Based on GitHub documentation, copilot-instructions files should be:
|
|
58
|
-
- **Repository-wide instructions**: `.github/copilot-instructions.md` (applies to entire repository)
|
|
59
|
-
- **Path-specific instructions**: `.github/instructions/NAME.instructions.md` (applies to specific file patterns via `applyTo` frontmatter)
|
|
60
|
-
- **Community instructions**: `instructions/NAME.instructions.md` (for sharing and distribution)
|
|
61
|
-
|
|
62
|
-
## Front Matter Structure
|
|
63
|
-
|
|
64
|
-
Instructions files in awesome-copilot use this front matter format:
|
|
65
|
-
```markdown
|
|
66
|
-
---
|
|
67
|
-
description: 'Brief description of what this instruction provides'
|
|
68
|
-
applyTo: '**/*.js,**/*.ts' # Optional: glob patterns for file matching
|
|
69
|
-
---
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Requirements
|
|
73
|
-
|
|
74
|
-
- Use `githubRepo` tool to get content from awesome-copilot repository
|
|
75
|
-
- Scan local file system for existing instructions in `instructions/` directory
|
|
76
|
-
- Read YAML front matter from local instruction files to extract descriptions and `applyTo` patterns
|
|
77
|
-
- Compare against existing instructions in this repository to avoid duplicates
|
|
78
|
-
- Focus on gaps in current instruction library coverage
|
|
79
|
-
- Validate that suggested instructions align with repository's purpose and standards
|
|
80
|
-
- Provide clear rationale for each suggestion
|
|
81
|
-
- Include links to both awesome-copilot instructions and similar local instructions
|
|
82
|
-
- Consider technology stack compatibility and project-specific needs
|
|
83
|
-
- Don't provide any additional information or context beyond the table and the analysis
|
|
84
|
-
|
|
85
|
-
## Icons Reference
|
|
86
|
-
|
|
87
|
-
- ✅ Already installed in repo
|
|
88
|
-
- ❌ Not installed in repo
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: 'agent'
|
|
3
|
-
description: 'Suggest relevant GitHub Copilot prompt files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing prompts in this repository.'
|
|
4
|
-
tools: ['edit', 'search', 'runCommands', 'runTasks', 'think', 'changes', 'testFailure', 'openSimpleBrowser', 'fetch', 'githubRepo', 'todos', 'search']
|
|
5
|
-
---
|
|
6
|
-
# Suggest Awesome GitHub Copilot Prompts
|
|
7
|
-
|
|
8
|
-
Analyze current repository context and suggest relevant prompt files from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/docs/README.prompts.md) that are not already available in this repository.
|
|
9
|
-
|
|
10
|
-
## Process
|
|
11
|
-
|
|
12
|
-
1. **Fetch Available Prompts**: Extract prompt list and descriptions from [awesome-copilot README.prompts.md](https://github.com/github/awesome-copilot/blob/main/docs/README.prompts.md). Must use `#fetch` tool.
|
|
13
|
-
2. **Scan Local Prompts**: Discover existing prompt files in `.github/prompts/` folder
|
|
14
|
-
3. **Extract Descriptions**: Read front matter from local prompt files to get descriptions
|
|
15
|
-
4. **Analyze Context**: Review chat history, repository files, and current project needs
|
|
16
|
-
5. **Compare Existing**: Check against prompts already available in this repository
|
|
17
|
-
6. **Match Relevance**: Compare available prompts against identified patterns and requirements
|
|
18
|
-
7. **Present Options**: Display relevant prompts with descriptions, rationale, and availability status
|
|
19
|
-
8. **Validate**: Ensure suggested prompts would add value not already covered by existing prompts
|
|
20
|
-
9. **Output**: Provide structured table with suggestions, descriptions, and links to both awesome-copilot prompts and similar local prompts
|
|
21
|
-
**AWAIT** user request to proceed with installation of specific instructions. DO NOT INSTALL UNLESS DIRECTED TO DO SO.
|
|
22
|
-
10. **Download Assets**: For requested instructions, automatically download and install individual instructions to `.github/prompts/` folder. Do NOT adjust content of the files. Use `#todos` tool to track progress. Prioritize use of `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved.
|
|
23
|
-
|
|
24
|
-
## Context Analysis Criteria
|
|
25
|
-
|
|
26
|
-
🔍 **Repository Patterns**:
|
|
27
|
-
- Programming languages used (.cs, .js, .py, etc.)
|
|
28
|
-
- Framework indicators (ASP.NET, React, Azure, etc.)
|
|
29
|
-
- Project types (web apps, APIs, libraries, tools)
|
|
30
|
-
- Documentation needs (README, specs, ADRs)
|
|
31
|
-
|
|
32
|
-
🗨️ **Chat History Context**:
|
|
33
|
-
- Recent discussions and pain points
|
|
34
|
-
- Feature requests or implementation needs
|
|
35
|
-
- Code review patterns
|
|
36
|
-
- Development workflow requirements
|
|
37
|
-
|
|
38
|
-
## Output Format
|
|
39
|
-
|
|
40
|
-
Display analysis results in structured table comparing awesome-copilot prompts with existing repository prompts:
|
|
41
|
-
|
|
42
|
-
| Awesome-Copilot Prompt | Description | Already Installed | Similar Local Prompt | Suggestion Rationale |
|
|
43
|
-
|-------------------------|-------------|-------------------|---------------------|---------------------|
|
|
44
|
-
| [code-review.md](https://github.com/github/awesome-copilot/blob/main/prompts/code-review.md) | Automated code review prompts | ❌ No | None | Would enhance development workflow with standardized code review processes |
|
|
45
|
-
| [documentation.md](https://github.com/github/awesome-copilot/blob/main/prompts/documentation.md) | Generate project documentation | ✅ Yes | create_oo_component_documentation.prompt.md | Already covered by existing documentation prompts |
|
|
46
|
-
| [debugging.md](https://github.com/github/awesome-copilot/blob/main/prompts/debugging.md) | Debug assistance prompts | ❌ No | None | Could improve troubleshooting efficiency for development team |
|
|
47
|
-
|
|
48
|
-
## Local Prompts Discovery Process
|
|
49
|
-
|
|
50
|
-
1. List all `*.prompt.md` files directory `.github/prompts/`.
|
|
51
|
-
2. For each discovered file, read front matter to extract `description`
|
|
52
|
-
3. Build comprehensive inventory of existing prompts
|
|
53
|
-
4. Use this inventory to avoid suggesting duplicates
|
|
54
|
-
|
|
55
|
-
## Requirements
|
|
56
|
-
|
|
57
|
-
- Use `githubRepo` tool to get content from awesome-copilot repository
|
|
58
|
-
- Scan local file system for existing prompts in `.github/prompts/` directory
|
|
59
|
-
- Read YAML front matter from local prompt files to extract descriptions
|
|
60
|
-
- Compare against existing prompts in this repository to avoid duplicates
|
|
61
|
-
- Focus on gaps in current prompt library coverage
|
|
62
|
-
- Validate that suggested prompts align with repository's purpose and standards
|
|
63
|
-
- Provide clear rationale for each suggestion
|
|
64
|
-
- Include links to both awesome-copilot prompts and similar local prompts
|
|
65
|
-
- Don't provide any additional information or context beyond the table and the analysis
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## Icons Reference
|
|
69
|
-
|
|
70
|
-
- ✅ Already installed in repo
|
|
71
|
-
- ❌ Not installed in repo
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: 'Comprehensive technology stack blueprint generator that analyzes codebases to create detailed architectural documentation. Automatically detects technology stacks, programming languages, and implementation patterns across multiple platforms (.NET, Java, JavaScript, React, Python). Generates configurable blueprints with version information, licensing details, usage patterns, coding conventions, and visual diagrams. Provides implementation-ready templates and maintains architectural consistency for guided development.'
|
|
3
|
-
mode: 'agent'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Comprehensive Technology Stack Blueprint Generator
|
|
7
|
-
|
|
8
|
-
## Configuration Variables
|
|
9
|
-
${PROJECT_TYPE="Auto-detect|.NET|Java|JavaScript|React.js|React Native|Angular|Python|Other"} <!-- Primary technology -->
|
|
10
|
-
${DEPTH_LEVEL="Basic|Standard|Comprehensive|Implementation-Ready"} <!-- Analysis depth -->
|
|
11
|
-
${INCLUDE_VERSIONS=true|false} <!-- Include version information -->
|
|
12
|
-
${INCLUDE_LICENSES=true|false} <!-- Include license information -->
|
|
13
|
-
${INCLUDE_DIAGRAMS=true|false} <!-- Generate architecture diagrams -->
|
|
14
|
-
${INCLUDE_USAGE_PATTERNS=true|false} <!-- Include code usage patterns -->
|
|
15
|
-
${INCLUDE_CONVENTIONS=true|false} <!-- Document coding conventions -->
|
|
16
|
-
${OUTPUT_FORMAT="Markdown|JSON|YAML|HTML"} <!-- Select output format -->
|
|
17
|
-
${CATEGORIZATION="Technology Type|Layer|Purpose"} <!-- Organization method -->
|
|
18
|
-
|
|
19
|
-
## Generated Prompt
|
|
20
|
-
|
|
21
|
-
"Analyze the codebase and generate a ${DEPTH_LEVEL} technology stack blueprint that thoroughly documents technologies and implementation patterns to facilitate consistent code generation. Use the following approach:
|
|
22
|
-
|
|
23
|
-
### 1. Technology Identification Phase
|
|
24
|
-
- ${PROJECT_TYPE == "Auto-detect" ? "Scan the codebase for project files, configuration files, and dependencies to determine all technology stacks in use" : "Focus on ${PROJECT_TYPE} technologies"}
|
|
25
|
-
- Identify all programming languages by examining file extensions and content
|
|
26
|
-
- Analyze configuration files (package.json, .csproj, pom.xml, etc.) to extract dependencies
|
|
27
|
-
- Examine build scripts and pipeline definitions for tooling information
|
|
28
|
-
- ${INCLUDE_VERSIONS ? "Extract precise version information from package files and configuration" : "Skip version details"}
|
|
29
|
-
- ${INCLUDE_LICENSES ? "Document license information for all dependencies" : ""}
|
|
30
|
-
|
|
31
|
-
### 2. Core Technologies Analysis
|
|
32
|
-
|
|
33
|
-
${PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect" ? "#### .NET Stack Analysis (if detected)
|
|
34
|
-
- Target frameworks and language versions (detect from project files)
|
|
35
|
-
- All NuGet package references with versions and purpose comments
|
|
36
|
-
- Project structure and organization patterns
|
|
37
|
-
- Configuration approach (appsettings.json, IOptions, etc.)
|
|
38
|
-
- Authentication mechanisms (Identity, JWT, etc.)
|
|
39
|
-
- API design patterns (REST, GraphQL, minimal APIs, etc.)
|
|
40
|
-
- Data access approaches (EF Core, Dapper, etc.)
|
|
41
|
-
- Dependency injection patterns
|
|
42
|
-
- Middleware pipeline components" : ""}
|
|
43
|
-
|
|
44
|
-
${PROJECT_TYPE == "Java" || PROJECT_TYPE == "Auto-detect" ? "#### Java Stack Analysis (if detected)
|
|
45
|
-
- JDK version and core frameworks
|
|
46
|
-
- All Maven/Gradle dependencies with versions and purpose
|
|
47
|
-
- Package structure organization
|
|
48
|
-
- Spring Boot usage and configurations
|
|
49
|
-
- Annotation patterns
|
|
50
|
-
- Dependency injection approach
|
|
51
|
-
- Data access technologies (JPA, JDBC, etc.)
|
|
52
|
-
- API design (Spring MVC, JAX-RS, etc.)" : ""}
|
|
53
|
-
|
|
54
|
-
${PROJECT_TYPE == "JavaScript" || PROJECT_TYPE == "Auto-detect" ? "#### JavaScript Stack Analysis (if detected)
|
|
55
|
-
- ECMAScript version and transpiler settings
|
|
56
|
-
- All npm dependencies categorized by purpose
|
|
57
|
-
- Module system (ESM, CommonJS)
|
|
58
|
-
- Build tooling (webpack, Vite, etc.) with configuration
|
|
59
|
-
- TypeScript usage and configuration
|
|
60
|
-
- Testing frameworks and patterns" : ""}
|
|
61
|
-
|
|
62
|
-
${PROJECT_TYPE == "React.js" || PROJECT_TYPE == "Auto-detect" ? "#### React Analysis (if detected)
|
|
63
|
-
- React version and key patterns (hooks vs class components)
|
|
64
|
-
- State management approach (Context, Redux, Zustand, etc.)
|
|
65
|
-
- Component library usage (Material-UI, Chakra, etc.)
|
|
66
|
-
- Routing implementation
|
|
67
|
-
- Form handling strategies
|
|
68
|
-
- API integration patterns
|
|
69
|
-
- Testing approach for components" : ""}
|
|
70
|
-
|
|
71
|
-
${PROJECT_TYPE == "Python" || PROJECT_TYPE == "Auto-detect" ? "#### Python Analysis (if detected)
|
|
72
|
-
- Python version and key language features used
|
|
73
|
-
- Package dependencies and virtual environment setup
|
|
74
|
-
- Web framework details (Django, Flask, FastAPI)
|
|
75
|
-
- ORM usage patterns
|
|
76
|
-
- Project structure organization
|
|
77
|
-
- API design patterns" : ""}
|
|
78
|
-
|
|
79
|
-
### 3. Implementation Patterns & Conventions
|
|
80
|
-
${INCLUDE_CONVENTIONS ?
|
|
81
|
-
"Document coding conventions and patterns for each technology area:
|
|
82
|
-
|
|
83
|
-
#### Naming Conventions
|
|
84
|
-
- Class/type naming patterns
|
|
85
|
-
- Method/function naming patterns
|
|
86
|
-
- Variable naming conventions
|
|
87
|
-
- File naming and organization conventions
|
|
88
|
-
- Interface/abstract class patterns
|
|
89
|
-
|
|
90
|
-
#### Code Organization
|
|
91
|
-
- File structure and organization
|
|
92
|
-
- Folder hierarchy patterns
|
|
93
|
-
- Component/module boundaries
|
|
94
|
-
- Code separation and responsibility patterns
|
|
95
|
-
|
|
96
|
-
#### Common Patterns
|
|
97
|
-
- Error handling approaches
|
|
98
|
-
- Logging patterns
|
|
99
|
-
- Configuration access
|
|
100
|
-
- Authentication/authorization implementation
|
|
101
|
-
- Validation strategies
|
|
102
|
-
- Testing patterns" : ""}
|
|
103
|
-
|
|
104
|
-
### 4. Usage Examples
|
|
105
|
-
${INCLUDE_USAGE_PATTERNS ?
|
|
106
|
-
"Extract representative code examples showing standard implementation patterns:
|
|
107
|
-
|
|
108
|
-
#### API Implementation Examples
|
|
109
|
-
- Standard controller/endpoint implementation
|
|
110
|
-
- Request DTO pattern
|
|
111
|
-
- Response formatting
|
|
112
|
-
- Validation approach
|
|
113
|
-
- Error handling
|
|
114
|
-
|
|
115
|
-
#### Data Access Examples
|
|
116
|
-
- Repository pattern implementation
|
|
117
|
-
- Entity/model definitions
|
|
118
|
-
- Query patterns
|
|
119
|
-
- Transaction handling
|
|
120
|
-
|
|
121
|
-
#### Service Layer Examples
|
|
122
|
-
- Service class implementation
|
|
123
|
-
- Business logic organization
|
|
124
|
-
- Cross-cutting concerns integration
|
|
125
|
-
- Dependency injection usage
|
|
126
|
-
|
|
127
|
-
#### UI Component Examples (if applicable)
|
|
128
|
-
- Component structure
|
|
129
|
-
- State management pattern
|
|
130
|
-
- Event handling
|
|
131
|
-
- API integration pattern" : ""}
|
|
132
|
-
|
|
133
|
-
### 5. Technology Stack Map
|
|
134
|
-
${DEPTH_LEVEL == "Comprehensive" || DEPTH_LEVEL == "Implementation-Ready" ?
|
|
135
|
-
"Create a comprehensive technology map including:
|
|
136
|
-
|
|
137
|
-
#### Core Framework Usage
|
|
138
|
-
- Primary frameworks and their specific usage in the project
|
|
139
|
-
- Framework-specific configurations and customizations
|
|
140
|
-
- Extension points and customizations
|
|
141
|
-
|
|
142
|
-
#### Integration Points
|
|
143
|
-
- How different technology components integrate
|
|
144
|
-
- Authentication flow between components
|
|
145
|
-
- Data flow between frontend and backend
|
|
146
|
-
- Third-party service integration patterns
|
|
147
|
-
|
|
148
|
-
#### Development Tooling
|
|
149
|
-
- IDE settings and conventions
|
|
150
|
-
- Code analysis tools
|
|
151
|
-
- Linters and formatters with configuration
|
|
152
|
-
- Build and deployment pipeline
|
|
153
|
-
- Testing frameworks and approaches
|
|
154
|
-
|
|
155
|
-
#### Infrastructure
|
|
156
|
-
- Deployment environment details
|
|
157
|
-
- Container technologies
|
|
158
|
-
- Cloud services utilized
|
|
159
|
-
- Monitoring and logging infrastructure" : ""}
|
|
160
|
-
|
|
161
|
-
### 6. Technology-Specific Implementation Details
|
|
162
|
-
|
|
163
|
-
${PROJECT_TYPE == ".NET" || PROJECT_TYPE == "Auto-detect" ?
|
|
164
|
-
"#### .NET Implementation Details (if detected)
|
|
165
|
-
- **Dependency Injection Pattern**:
|
|
166
|
-
- Service registration approach (Scoped/Singleton/Transient patterns)
|
|
167
|
-
- Configuration binding patterns
|
|
168
|
-
|
|
169
|
-
- **Controller Patterns**:
|
|
170
|
-
- Base controller usage
|
|
171
|
-
- Action result types and patterns
|
|
172
|
-
- Route attribute conventions
|
|
173
|
-
- Filter usage (authorization, validation, etc.)
|
|
174
|
-
|
|
175
|
-
- **Data Access Patterns**:
|
|
176
|
-
- ORM configuration and usage
|
|
177
|
-
- Entity configuration approach
|
|
178
|
-
- Relationship definitions
|
|
179
|
-
- Query patterns and optimization approaches
|
|
180
|
-
|
|
181
|
-
- **API Design Patterns** (if used):
|
|
182
|
-
- Endpoint organization
|
|
183
|
-
- Parameter binding approaches
|
|
184
|
-
- Response type handling
|
|
185
|
-
|
|
186
|
-
- **Language Features Used**:
|
|
187
|
-
- Detect specific language features from code
|
|
188
|
-
- Identify common patterns and idioms
|
|
189
|
-
- Note any specific version-dependent features" : ""}
|
|
190
|
-
|
|
191
|
-
${PROJECT_TYPE == "React.js" || PROJECT_TYPE == "Auto-detect" ?
|
|
192
|
-
"#### React Implementation Details (if detected)
|
|
193
|
-
- **Component Structure**:
|
|
194
|
-
- Function vs class components
|
|
195
|
-
- Props interface definitions
|
|
196
|
-
- Component composition patterns
|
|
197
|
-
|
|
198
|
-
- **Hook Usage Patterns**:
|
|
199
|
-
- Custom hook implementation style
|
|
200
|
-
- useState patterns
|
|
201
|
-
- useEffect cleanup approaches
|
|
202
|
-
- Context usage patterns
|
|
203
|
-
|
|
204
|
-
- **State Management**:
|
|
205
|
-
- Local vs global state decisions
|
|
206
|
-
- State management library patterns
|
|
207
|
-
- Store configuration
|
|
208
|
-
- Selector patterns
|
|
209
|
-
|
|
210
|
-
- **Styling Approach**:
|
|
211
|
-
- CSS methodology (CSS modules, styled-components, etc.)
|
|
212
|
-
- Theme implementation
|
|
213
|
-
- Responsive design patterns" : ""}
|
|
214
|
-
|
|
215
|
-
### 7. Blueprint for New Code Implementation
|
|
216
|
-
${DEPTH_LEVEL == "Implementation-Ready" ?
|
|
217
|
-
"Based on the analysis, provide a detailed blueprint for implementing new features:
|
|
218
|
-
|
|
219
|
-
- **File/Class Templates**: Standard structure for common component types
|
|
220
|
-
- **Code Snippets**: Ready-to-use code patterns for common operations
|
|
221
|
-
- **Implementation Checklist**: Standard steps for implementing features end-to-end
|
|
222
|
-
- **Integration Points**: How to connect new code with existing systems
|
|
223
|
-
- **Testing Requirements**: Standard test patterns for different component types
|
|
224
|
-
- **Documentation Requirements**: Standard doc patterns for new features" : ""}
|
|
225
|
-
|
|
226
|
-
${INCLUDE_DIAGRAMS ?
|
|
227
|
-
"### 8. Technology Relationship Diagrams
|
|
228
|
-
- **Stack Diagram**: Visual representation of the complete technology stack
|
|
229
|
-
- **Dependency Flow**: How different technologies interact
|
|
230
|
-
- **Component Relationships**: How major components depend on each other
|
|
231
|
-
- **Data Flow**: How data flows through the technology stack" : ""}
|
|
232
|
-
|
|
233
|
-
### ${INCLUDE_DIAGRAMS ? "9" : "8"}. Technology Decision Context
|
|
234
|
-
- Document apparent reasons for technology choices
|
|
235
|
-
- Note any legacy or deprecated technologies marked for replacement
|
|
236
|
-
- Identify technology constraints and boundaries
|
|
237
|
-
- Document technology upgrade paths and compatibility considerations
|
|
238
|
-
|
|
239
|
-
Format the output as ${OUTPUT_FORMAT} and categorize technologies by ${CATEGORIZATION}.
|
|
240
|
-
|
|
241
|
-
Save the output as 'Technology_Stack_Blueprint.${OUTPUT_FORMAT == "Markdown" ? "md" : OUTPUT_FORMAT.toLowerCase()}'
|
|
242
|
-
"
|