1
---
2
name: suggest-awesome-github-copilot-skills
3
description: 'Suggest relevant GitHub Copilot skills from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing skills in this repository, and identifying outdated skills that need updates.'
4
---
5
6
# Suggest Awesome GitHub Copilot Skills
7
8
Analyze current repository context and suggest relevant Agent Skills from the [GitHub awesome-copilot repository](https://github.com/github/awesome-copilot/blob/main/docs/README.skills.md) that are not already available in this repository. Agent Skills are self-contained folders located in the [skills](https://github.com/github/awesome-copilot/tree/main/skills) folder of the awesome-copilot repository, each containing a `SKILL.md` file with instructions and optional bundled assets.
9
10
## Process
11
12
1. **Fetch Available Skills**: Extract skills list and descriptions from [awesome-copilot README.skills.md](https://github.com/github/awesome-copilot/blob/main/docs/README.skills.md). Must use `#fetch` tool.
13
2. **Scan Local Skills**: Discover existing skill folders in `.github/skills/` folder
14
3. **Extract Descriptions**: Read front matter from local `SKILL.md` files to get `name` and `description`
15
4. **Fetch Remote Versions**: For each local skill, fetch the corresponding `SKILL.md` from awesome-copilot repository using raw GitHub URLs (e.g., `https://raw.githubusercontent.com/github/awesome-copilot/main/skills/<skill-name>/SKILL.md`)
16
5. **Compare Versions**: Compare local skill content with remote versions to identify:
17
- Skills that are up-to-date (exact match)
18
- Skills that are outdated (content differs)
19
- Key differences in outdated skills (description, instructions, bundled assets)
20
6. **Analyze Context**: Review chat history, repository files, and current project needs
21
7. **Compare Existing**: Check against skills already available in this repository
22
8. **Match Relevance**: Compare available skills against identified patterns and requirements
23
9. **Present Options**: Display relevant skills with descriptions, rationale, and availability status including outdated skills
24
10. **Validate**: Ensure suggested skills would add value not already covered by existing skills
25
11. **Output**: Provide structured table with suggestions, descriptions, and links to both awesome-copilot skills and similar local skills
26
**AWAIT** user request to proceed with installation or updates of specific skills. DO NOT INSTALL OR UPDATE UNLESS DIRECTED TO DO SO.
27
12. **Download/Update Assets**: For requested skills, automatically:
28
- Download new skills to `.github/skills/` folder, preserving the folder structure
29
- Update outdated skills by replacing with latest version from awesome-copilot
30
- Download both `SKILL.md` and any bundled assets (scripts, templates, data files)
31
- Do NOT adjust content of the files
32
- Use `#fetch` tool to download assets, but may use `curl` using `#runInTerminal` tool to ensure all content is retrieved
33
- Use `#todos` tool to track progress
34
35
## Context Analysis Criteria
36
37
🔍 **Repository Patterns**:
38
- Programming languages used (.cs, .js, .py, .ts, etc.)
39
- Framework indicators (ASP.NET, React, Azure, Next.js, etc.)
40
- Project types (web apps, APIs, libraries, tools, infrastructure)
41
- Development workflow requirements (testing, CI/CD, deployment)
42
- Infrastructure and cloud providers (Azure, AWS, GCP)
43
44
🗨️ **Chat History Context**:
45
- Recent discussions and pain points
46
- Feature requests or implementation needs
47
- Code review patterns
48
- Development workflow requirements
49
- Specialized task needs (diagramming, evaluation, deployment)
50
51
## Output Format
52
53
Display analysis results in structured table comparing awesome-copilot skills with existing repository skills:
54
55
| Awesome-Copilot Skill | Description | Bundled Assets | Already Installed | Similar Local Skill | Suggestion Rationale |
56
|-----------------------|-------------|----------------|-------------------|---------------------|---------------------|
57
| [gh-cli](https://github.com/github/awesome-copilot/tree/main/skills/gh-cli) | GitHub CLI skill for managing repositories and workflows | None | ❌ No | None | Would enhance GitHub workflow automation capabilities |
58
| [aspire](https://github.com/github/awesome-copilot/tree/main/skills/aspire) | Aspire skill for distributed application development | 9 reference files | ✅ Yes | aspire | Already covered by existing Aspire skill |
59
| [terraform-azurerm-set-diff-analyzer](https://github.com/github/awesome-copilot/tree/main/skills/terraform-azurerm-set-diff-analyzer) | Analyze Terraform AzureRM provider changes | Reference files | ⚠️ Outdated | terraform-azurerm-set-diff-analyzer | Instructions updated with new validation patterns - Update recommended |
60
61
## Local Skills Discovery Process
62
63
1. List all folders in `.github/skills/` directory
64
2. For each folder, read `SKILL.md` front matter to extract `name` and `description`
65
3. List any bundled assets within each skill folder
66
4. Build comprehensive inventory of existing skills with their capabilities
67
5. Use this inventory to avoid suggesting duplicates
68
69
## Version Comparison Process
70
71
1. For each local skill folder, construct the raw GitHub URL to fetch the remote `SKILL.md`:
72
- Pattern: `https://raw.githubusercontent.com/github/awesome-copilot/main/skills/<skill-name>/SKILL.md`
73
2. Fetch the remote version using the `#fetch` tool
74
3. Compare entire file content (including front matter and body)
75
4. Identify specific differences:
76
- **Front matter changes** (name, description)
77
- **Instruction updates** (guidelines, examples, best practices)
78
- **Bundled asset changes** (new, removed, or modified assets)
79
5. Document key differences for outdated skills
80
6. Calculate similarity to determine if update is needed
81
82
## Skill Structure Requirements
83
84
Based on the Agent Skills specification, each skill is a folder containing:
85
- **`SKILL.md`**: Main instruction file with front matter (`name`, `description`) and detailed instructions
86
- **Optional bundled assets**: Scripts, templates, reference data, and other files referenced from `SKILL.md`
87
- **Folder naming**: Lowercase with hyphens (e.g., `azure-deployment-preflight`)
88
- **Name matching**: The `name` field in `SKILL.md` front matter must match the folder name
89
90
## Front Matter Structure
91
92
Skills in awesome-copilot use this front matter format in `SKILL.md`:
93
```markdown
94
---
95
name: 'skill-name'
96
description: 'Brief description of what this skill provides and when to use it'
97
---
98
```
99
100
## Requirements
101
102
- Use `fetch` tool to get content from awesome-copilot repository skills documentation
103
- Use `githubRepo` tool to get individual skill content for download
104
- Scan local file system for existing skills in `.github/skills/` directory
105
- Read YAML front matter from local `SKILL.md` files to extract names and descriptions
106
- Compare local skills with remote versions to detect outdated skills
107
- Compare against existing skills in this repository to avoid duplicates
108
- Focus on gaps in current skill library coverage
109
- Validate that suggested skills align with repository's purpose and technology stack
110
- Provide clear rationale for each suggestion
111
- Include links to both awesome-copilot skills and similar local skills
112
- Clearly identify outdated skills with specific differences noted
113
- Consider bundled asset requirements and compatibility
114
- Don't provide any additional information or context beyond the table and the analysis
115
116
## Icons Reference
117
118
- ✅ Already installed and up-to-date
119
- ⚠️ Installed but outdated (update available)
120
- ❌ Not installed in repo
121
122
## Update Handling
123
124
When outdated skills are identified:
125
1. Include them in the output table with ⚠️ status
126
2. Document specific differences in the "Suggestion Rationale" column
127
3. Provide recommendation to update with key changes noted
128
4. When user requests update, replace entire local skill folder with remote version
129
5. Preserve folder location in `.github/skills/` directory
130
6. Ensure all bundled assets are downloaded alongside the updated `SKILL.md`
131