mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 10:25:13 +00:00
Revert "fetch -> web/fetch for everything"
This reverts commit ca790b1716.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
agent: 'agent'
|
||||
model: Claude Sonnet 4
|
||||
tools: ['edit', 'githubRepo', 'changes', 'problems', 'search', 'runCommands', 'web/fetch']
|
||||
tools: ['edit', 'githubRepo', 'changes', 'problems', 'search', 'runCommands', 'fetch']
|
||||
description: 'Set up complete GitHub Copilot configuration for a new project based on technology stack'
|
||||
---
|
||||
|
||||
@@ -58,7 +58,7 @@ Create Coding Agent workflow file:
|
||||
- `copilot-setup-steps.yml` - GitHub Actions workflow for Coding Agent environment setup
|
||||
|
||||
**CRITICAL**: The workflow MUST follow this exact structure:
|
||||
- Job name MUST be `copilot-setup-steps`
|
||||
- Job name MUST be `copilot-setup-steps`
|
||||
- Include proper triggers (workflow_dispatch, push, pull_request on the workflow file)
|
||||
- Set appropriate permissions (minimum required)
|
||||
- Customize steps based on the technology stack provided
|
||||
@@ -67,9 +67,9 @@ Create Coding Agent workflow file:
|
||||
|
||||
For each file, follow these principles:
|
||||
|
||||
**MANDATORY FIRST STEP**: Always use the web/fetch tool to research existing patterns before creating any content:
|
||||
1. **web/fetch from awesome-copilot collections**: https://github.com/github/awesome-copilot/blob/main/docs/README.collections.md
|
||||
2. **web/fetch specific instruction files**: https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/[relevant-file].instructions.md
|
||||
**MANDATORY FIRST STEP**: Always use the fetch tool to research existing patterns before creating any content:
|
||||
1. **Fetch from awesome-copilot collections**: https://github.com/github/awesome-copilot/blob/main/docs/README.collections.md
|
||||
2. **Fetch specific instruction files**: https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/[relevant-file].instructions.md
|
||||
3. **Check for existing patterns** that match the technology stack
|
||||
|
||||
**Primary Approach**: Reference and adapt existing instructions from awesome-copilot repository:
|
||||
@@ -127,7 +127,7 @@ description: "Java Spring Boot development standards"
|
||||
- ✅ **"Use TypeScript strict mode for better type safety"**
|
||||
- ✅ **"Follow the repository's established error handling patterns"**
|
||||
|
||||
**Research Strategy with web/fetch tool:**
|
||||
**Research Strategy with fetch tool:**
|
||||
1. **Check awesome-copilot first** - Always start here for ALL file types
|
||||
2. **Look for exact tech stack matches** (e.g., React, Node.js, Spring Boot)
|
||||
3. **Look for general matches** (e.g., frontend chatmodes, testing prompts, review modes)
|
||||
@@ -135,15 +135,15 @@ description: "Java Spring Boot development standards"
|
||||
5. **Adapt community examples** to project needs
|
||||
6. **Only create custom content** if nothing relevant exists
|
||||
|
||||
**web/fetch these awesome-copilot directories:**
|
||||
**Fetch these awesome-copilot directories:**
|
||||
- **Instructions**: https://github.com/github/awesome-copilot/tree/main/instructions
|
||||
- **Prompts**: https://github.com/github/awesome-copilot/tree/main/prompts
|
||||
- **Prompts**: https://github.com/github/awesome-copilot/tree/main/prompts
|
||||
- **Chat Modes**: https://github.com/github/awesome-copilot/tree/main/chatmodes
|
||||
- **Collections**: https://github.com/github/awesome-copilot/blob/main/docs/README.collections.md
|
||||
|
||||
**Awesome-Copilot Collections to Check:**
|
||||
- **Frontend Web Development**: React, Angular, Vue, TypeScript, CSS frameworks
|
||||
- **C# .NET Development**: Testing, documentation, and best practices
|
||||
- **C# .NET Development**: Testing, documentation, and best practices
|
||||
- **Java Development**: Spring Boot, Quarkus, testing, documentation
|
||||
- **Database Development**: PostgreSQL, SQL Server, and general database best practices
|
||||
- **Azure Development**: Infrastructure as Code, serverless functions
|
||||
@@ -237,7 +237,7 @@ Requirements for the form:
|
||||
```yaml
|
||||
---
|
||||
description: Generate an implementation plan for new features or refactoring existing code.
|
||||
tools: ['codebase', 'web/fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
tools: ['codebase', 'fetch', 'findTestFiles', 'githubRepo', 'search', 'usages']
|
||||
model: Claude Sonnet 4
|
||||
---
|
||||
# Planning mode instructions
|
||||
|
||||
Reference in New Issue
Block a user