Create VS Code file-based instructions (.instructions.md files). Use when asked to create, scaffold, or add file-based instructions for Copilot. Generates .instructions.md with YAML frontmatter and background knowledge content.
This skill helps you scaffold VS Code file-based instructions (.instructions.md files) that provide background knowledge to Copilot about specific parts of the codebase. These files are applied automatically based on glob patterns or semantic matching, giving Copilot domain-specific context when working on matching files.
.github/copilot-instructions.md or AGENTS.md insteadBuild understanding of the area the instructions should cover. Identify:
If the scope is unclear or overlaps with existing instructions, ask the user for clarification.
Instructions files go in .github/instructions/ by default. Pick a descriptive filename:
.github/instructions/<topic>.instructions.md
Examples: csharp-style.instructions.md, query-pipeline.instructions.md, test-conventions.instructions.md
Create the file with the required YAML frontmatter header:
---