Make skill

From dotnet/efcore · View interactive version

Make skill is an AI agent skill from the GitHub repository dotnet/efcore. Create, review, or fix Agent Skills for GitHub Copilot. Use when asked to create, scaffold, improve, or repair a SKILL.md and its paired harness evaluation.

How to use this skill

Skill file

Create Or Fix A Skill

Produce concise, stable task guidance that adds knowledge an agent cannot reliably infer from source alone, together with a paired evaluation that proves the guidance changes behavior.

Choose The Right Primitive

Workflow

  1. Read the relevant implementation, tests, repository instructions, and neighboring customizations.
  2. Identify repeated mistakes or non-obvious invariants. Do not turn source inventories, line counts, or facts easily rediscovered from code into skill content.
  3. Create .agents/skills/<name>/SKILL.md. The frontmatter name must exactly match the directory; the description must state what the skill does and when natural user requests should trigger it.
  4. Mark background domain guidance user-invocable: false. Keep user-invocable workflows focused on an outcome a user would deliberately request.
  5. Write actionable guidance with observable validation. Explain why edge cases matter; avoid generic engineering advice already present in repository instructions.
  6. Create eng/harness-evaluation/skills/<name>/eval.yaml and follow eng/harness-evaluation/README.md.
  7. Lint the customization and inspect both control and treatment artifacts before accepting it.

Paired Evaluation

Validation

Common Pitfalls

| Pitfall | Correction |

|---|---|

| Copying implementation inventories into the skill | Keep only non-obvious invariants and routing decisions |

| Exact line counts or volatile metrics | Remove them; point to stable symbols or behavior |

| Generic test-folder guidance | Describe the distinctive test shape or omit it |

| Eval prompt tells the agent what to find | Move expected facts into the hidden rubric |

| Eval root contains repository fixtures | Keep only the target skill at root; stage fixtures per stimulus |

| Prompt instructs skill invocation | Let the treatment-only runner gate enforce activation |

| Initial scaffold launches multi-model review | First produce and lint the requested artifacts; run expensive behavioral validation separately |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.