GitHub Copilot
| 类型 | 模式 | 默认源目录 | 文件后缀 | 文档 |
|---|---|---|---|---|
| Instructions | file | .github/instructions/ | .instructions.md, .md | 文档 |
| Prompts | file | .github/prompts/ | .prompt.md, .md | 文档 |
| Skills | directory | .github/skills/ | - | 文档 |
| Agents | file | .github/agents/ | .agent.md, .md | 文档 |
Instructions
bash
ais copilot instructions add coding-style
# 后缀匹配(两者都存在时需要明确指定)
ais copilot instructions add style.md
ais copilot instructions add style.instructions.md
ais copilot instructions rm coding-stylePrompts
bash
ais copilot prompts add generate-tests
ais copilot prompts rm generate-testsSkills
bash
ais copilot skills add web-scraping
ais copilot skills rm web-scrapingAgents
bash
ais copilot agents add code-reviewer
ais copilot agents rm code-reviewer安装全部
bash
ais copilot install