Agents & OrchestrationSûr100100/100
Make Instructions (.NET)
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.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs make-instructions__dotnet-dotnet__src-efcore-agents-skills-7e1842c7d61e.NET
dotnet/dotnet
Contenu à copier
--- name: make-instructions description: '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.' metadata: origin: .NET --- # Create File-Based Instructions 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. ## When Not to Use - Setting project-wide instructions — use `.github/copilot-instructions.md` or `AGENTS.md` instead - Creating reusable agent workflows with structured steps — use Agent Skills instead - Adding instructions that need to be invokable on demand — use Agent Skills instead ## Workflow ### Step 1: Investigate the topic Build understanding of the area the instructions should cover. Identify: - [ ] What files or file patterns the instructions apply to - [ ] Key conventions, patterns, or architectural rules for that area - [ ] Common pitfalls that Copilot should avoid - [ ] Non-obvious domain knowledge that isn't discoverable from code alone If the scope is unclear or overlaps with existing instructions, ask the user for clarification. ### Step 2: Choose the file location 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` ### Step 3: Generate the file with YAML frontmatter Create the file with the required YAML frontmatter header: ```yaml --- name: '<Display Name>' # Optional. Display name in the UI. Defaults to filename. description: '<Short description>' # Optional. Shown on hover. Also used for semantic matching. applyTo: '<glob pattern>' # Optional. Glob pattern relative to workspace root. Omit to require manual attachment or rely on semantic matching only. --- ``` Common `applyTo` patterns: - `**/*.cs` — all C# files - `test/**` — files under a specific folder ### Step 4: Write the body content Write concise, actionable Markdown content. Follow these principles: - **Be concise** — instructions share the context window; only include what the agent wouldn't already know - **Be specific** — use concrete rules, not vague guidance - **Include examples** — short code snippets showing preferred vs. avoided patterns are very effective - **Explain why** — when a rule exists for a non-obvious reason, state it so the agent applies it correctly in edge cases - **Skip linter-enforced rules** — don't repeat what formatters and linters already catch - **Use Markdown links** to reference specific files or URLs for additional context Recommended sections (adapt as needed): 1. **<Title>** — one-line heading describing the domain 2. **Context paragraph** — brief explanation of what this area is and why these rules matter 3. **Guidelines / Conventions** — bullet list of concrete rules 4. **Examples** — short code blocks showing do/don't patterns (optional) 5. **Key Files** — table of important files for orientation (optional) 6. **Common Pitfalls** — traps to avoid (optional) ### Step 5: Validate After creating the file, verify: - [ ] File is in `.github/instructions/` (or a configured instructions folder) - [ ] Filename ends with `.instructions.md` and only contains lowercase letters, numbers, and hyphens - [ ] YAML frontmatter is valid - [ ] `applyTo` glob matches the intended files - [ ] Content is concise (aim for under 500 lines or 5000 tokens) — long instructions dilute effectiveness - [ ] No secrets, tokens, or internal URLs included - [ ] Instructions don't duplicate what's already in `.github/copilot-instructions.md` or under `.agents/skills/` ## Common Pitfalls | Pitfall | Solution | |---------|----------| | `applyTo` too broad | Use specific globs; `**` applies to every file and wastes context | | Missing `applyTo` | Without it, instructions won't auto-apply — they require manual attachment or semantic matching via `description` | | Vague guidance | Replace "write good tests" with something like "add both positive and negative test cases using `[ConditionalFact]` methods" |
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Make Instructions (.NET)
Setting project-wide instructions — use `.github/copilot-instructions.md` or `AGENTS.md` instead
Creating reusable agent workflows with structured steps — use Agent Skills instead
Adding instructions that need to be invokable on demand — use Agent Skills instead
[ ] What files or file patterns the instructions apply to
Comment utiliser Make Instructions (.NET)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Make Instructions (.NET)
Dis simplement à ton agent quelque chose comme :
Applique le skill make-instructions__dotnet-dotnet__src-efcore-agents-skills-7e1842c7d61e à cette tâche
Utilise make-instructions__dotnet-dotnet__src-efcore-agents-skills-7e1842c7d61e pour améliorer cette implémentation
Passe en revue ce sujet avec make-instructions__dotnet-dotnet__src-efcore-agents-skills-7e1842c7d61e
Skills liés à Make Instructions (.NET)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.