copilot-instruction-layering
instruction layering with reusable, conditional instruction files
来源信息
- 仓库
- rcarmo/apfelstrudel
- 最近来源活动
- 2026年2月7日 13:19
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 19
- Forks
- 1
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- Copilot instruction layering
- description
- instruction layering with reusable, conditional instruction files
# Skill: Copilot instruction layering
## Goal
Provide a small set of reusable Copilot instruction files that can be copied into new repos and applied conditionally based on project type.
## Files
- `.github/copilot-instructions.md` (high-level, Makefile-first)
- `.github/instructions/*.instructions.md` (stack-specific guidance, with `applyTo` globs)
- `.github/skills/*/SKILL.md` (reusable skill definitions)
## Conventions
- Keep instructions short and actionable.
- Prefer conditional language ("Applies when...") so files can coexist in mixed repos.
- Use `applyTo` front matter to scope instructions to relevant file patterns.
在 GitHub 查看