Copilot Instructions Lab
v1.1.0Audit, refactor, and ship pristine .github/copilot-instructions.md, applyTo files, AGENTS.md, and chat-mode prompts — with rules, scores, profiles, suppressions, and PR-ready patches.
A pro-grade audit + builder for GitHub Copilot instructions files — .github/copilot-instructions.md, per-file *.instructions.md with applyTo frontmatter, and AGENTS.md. Paste or drop your files, see a structured issue list with severity, an A–F health score, and one-click fixes; export a unified-diff patch, JSON / Markdown / SARIF audit report, or a paste-ready file. All static analysis — no LLM, no telemetry, no network calls.
How to use- →Drop your existing .github/copilot-instructions.md to get an instant audit — the tool flags vague rules, missing frontmatter, length issues, and contradictions.
- →Use the Profile menu to switch between Default, Strict, and OSS rule sets — or load your own custom profile JSON to enforce house style.
- →Click Generate patch after applying fixes to get a single .patch file you can ship as a PR — every change is preview-able as a diff first.
Profile
Preset
A92/100
27 tokens · 0.1 KB
First impression
Strong file. 3 rules across 1 file(s); only 0 important issue(s) left.
copilot-instructions.md20 words · 27 tokens
Token budget (rough estimate)27 / 8192
A92/100
- Rule is not imperative — open with a verb.· L5→ Use TypeScript.
- Weak verb — use a concrete action.· L5
- Rule reads vague — replace soft adjectives with measurable criteria.· L6→ Write tests.
- Rule reads vague — replace soft adjectives with measurable criteria.· L7→ Use self-contained code.
- Recommended section "Project Overview" is missing.· L1
- Recommended section "Testing" is missing.· L1
- Recommended section "Style" is missing.· L1
- Recommended section "Security" is missing.· L1