markdown-customizations
Skill42 starsChanged 10 months agoApache-2.0View on GitHub
Use this skill when creating or editing GitHub Copilot customization Markdown files (agent profiles, prompt files, instruction files, and skills).
In this repository10 other files it gives its agents.
- copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- access-control-reviewSkill
- dependency-cve-triageSkill
- genai-acceptance-reviewSkill
- input-validation-hardeningSkill
- secrets-and-logging-hygieneSkill
- secure-code-reviewSkill
- secure-fix-validationSkill
- threat-modelSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this skill when working on any of:
- Distinctive: line 25
Add YAML frontmatter at the top with required keys.
- Distinctive: line 26
Write the body using this structure:
- Very specific: line 33
Ensure no contradictions with repo-wide copilot-instructions.md.
- Very specific: line 39
Use short, testable rules (e.g., “MUST include description in agent profiles”).
- Very specific: line 41
Use fenced code blocks with yaml or md tags.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Markdown Customizations Skill
Purpose
Help create and maintain Copilot customization files with correct structure and consistent, high-signal instructions.
When to use
Use this skill when working on any of:
agents/*.agent.mdprompts/*.prompt.mdinstructions/*.instructions.mdskills/**/SKILL.md
Procedure
- Identify the target file type and verify the correct path + extension.
- Add YAML frontmatter at the top with required keys.
- Write the body using this structure:
# Title## Purpose## How to use## Rules(MUST/SHOULD/MAY)## Examples(at least one when ambiguity is likely)
- Validate glob patterns for
.instructions.mdfiles. - Ensure no contradictions with repo-wide
copilot-instructions.md.
Do / Don’t
Do
- Use short, testable rules (e.g., “MUST include
descriptionin agent profiles”). - Provide one minimal realistic example for each “pattern” (agent/prompt/instructions/skill).
- Use fenced code blocks with
yamlormdtags.
Don’t
- Don’t put YAML anywhere except the initial frontmatter block.
- Don’t create
skill.md; the file must be namedSKILL.md. - Don’t introduce conflicting guidance across multiple instruction files.
Examples
Agent profile frontmatter example
---
name: my-agent
description: Short description of what this agent does
tools: ["read", "search", "edit"]
---Path-specific instructions frontmatter example
---
applyTo: ".github/prompts/**/*.prompt.md"
excludeAgent: "code-review"
---Prompt file frontmatter example
---
agent: "agent"
description: "One-line description of what this prompt does"
---Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

