Copilot Customization Files.instructions
--- applyTo: "agents/*.agent.md,prompts/*.prompt.md,instructions/*.instructions.md,skills/**/SKILL.md" --- # Instructions for Copilot customization Markdown files ## Required structure - YAML frontmatter MUST be the first content in the file, delimited by `---` lines. - The body MUST start after the frontmatter and a blank line. - Use consistent, predictable headings: - `# <Title>` - `## Purpose` - `## How to use` - `## Rules` - `## Examples` (when relevant) ## Frontmatter requirements by file type ### `.agent.md` - MUST have `description`. - SHOULD have `name`. - MAY have `tools`, `model`, `target`, `mcp-servers` (when applicable). ### `.prompt.md` - SHOULD have `description`. - SHOULD have `agent` when the prompt is intended for agent mode. - Use `${input:...}` placeholders for user-provided variables. ### `.instructions.md` - MUST have `applyTo`. - MAY have `excludeAgent` to limit to `"code-review"` or `"coding-agent"`. ### `SKILL.md` - MUST have `name` (lowercase-hyphenated) and `description`. - Keep the skill directory name lowercase and hyphenated. ## Markdown formatting rules - Prefer bullet lists for rules. Use “MUST/SHOULD/MAY”. - Include at least one concrete example for non-trivial behaviors. - Keep examples minimal but realistic. - Use fenced code blocks with language tags.
fill the variables
This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{input:...}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo Robotti-io/copilot-security-instructions (Apache-2.0). A "Copilot Customization Files.instructions" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
Robotti-io/copilot-security-instructions · Apache-2.0
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar