npmx.dev
Copilot instructions3.7k starsChanged 7 months agoMITView on GitHub
We split this copilot-instructions.md into the rules it gives an agent
9 rules. About 1 is common, 6 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Follow standard TypeScript conventions and best practices
- Distinctive: line 8
Use the Composition API when creating Vue components
- Distinctive: line 9
Use clear, descriptive variable and function names
- Distinctive: line 11
Add comments only to explain complex logic or non-obvious implementations
- Very specific: line 12
Write unit tests for core functionality using vitest
- Very specific: line 13
Write end-to-end tests using Playwright and @nuxt/test-utils
- Distinctive: line 14
Keep functions focused and manageable (generally under 50 lines)
- Common: line 15
Use error handling patterns consistently
- Distinctive: line 16
Ensure you write strictly type-safe code, for example by ensuring you always check when accessing an array value by index
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions 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
Core Requirements
- The end goal is stability, speed and great user experience.
Code Quality Requirements
- Follow standard TypeScript conventions and best practices
- Use the Composition API when creating Vue components
- Use clear, descriptive variable and function names
- Accessibility should always be a first-class consideration and should be part of the initial planning and design.
- Add comments only to explain complex logic or non-obvious implementations
- Write unit tests for core functionality using
vitest - Write end-to-end tests using Playwright and
@nuxt/test-utils - Keep functions focused and manageable (generally under 50 lines)
- Use error handling patterns consistently
- Ensure you write strictly type-safe code, for example by ensuring you always check when accessing an array value by index
Other versions1 project uses a version of this.
Word for word · 1
- npmx-dev/npmx.dev★ 3.7k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
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.

