esupgrade
Copilot instructions15 starsChanged 6 months agoBSD-2-ClauseView on GitHub
YOUR PRIORITY IS TO ENSURE THE SAFETY OF ALL TRANSFORMATIONS. When writing code, you MUST ALWAYS follow the naming guidelines. All code must be fully tested with a 100% coverage. Unreachable code must be removed. Follow the CONTRIBUTING.md guidelines for testing and linting. All transformers must be documented in the README.md. Use class syntax for all object-oriented code. Use named functions instead of anonymous functions whenever possible. Use # for private methods. Avoid overly complex functions. Break them into smaller…
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
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 3
When writing code, you MUST ALWAYS follow the naming guidelines.
- Distinctive: line 11
All code must be fully tested with a 100% coverage.
- Distinctive: line 12
Follow the CONTRIBUTING.md guidelines for testing and linting.
- Distinctive: line 14
All transformers must be documented in the README.md.
- Very specific: line 16
Use class syntax for all object-oriented code.
- Very specific: line 17
Use named functions instead of anonymous functions whenever possible.
- Very specific: line 18
Use # for private methods.
- Distinctive: line 20
Avoid overly complex functions.
- Distinctive: line 22
Write docstrings with jsdoc type annotations for all functions, classes, and methods.
- Distinctive: line 28
Avoid code comments unless they describe behavior of 3rd party code or complex algorithms.
- Distinctive: line 29
Avoid loops in favor of recursive functions or generator functions.
- Distinctive: line 30
Avoid functions or other code inside functions.
- Distinctive: line 31
Avoid if-statements in favor of switch-statements or polymorphism.
- Distinctive: line 32
Do not assign names to objects which are returned in the next line.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 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
YOUR PRIORITY IS TO ENSURE THE SAFETY OF ALL TRANSFORMATIONS.
When writing code, you MUST ALWAYS follow the naming guidelines.
Usage:
curl -sL https://raw.githubusercontent.com/codingjoe/naming-things/refs/heads/main/README.md | head -n 500All code must be fully tested with a 100% coverage. Unreachable code must be removed. Follow the CONTRIBUTING.md guidelines for testing and linting.
All transformers must be documented in the README.md.
Use class syntax for all object-oriented code.
Use named functions instead of anonymous functions whenever possible.
Use # for private methods.
Avoid overly complex functions. Break them into smaller functions if necessary.
Write docstrings with jsdoc type annotations for all functions, classes, and methods. Docstrings should be written in present tense imperative mood. They must start with a capital letter and end with a period. Docstrings must describe the external behavior of the function, class, or method. Docstrings should avoid redundant phrases like "This function" or "This method". Class docstrings must not repeat the class name or start with a verb since they don't do anything themselves. Avoid code comments unless they describe behavior of 3rd party code or complex algorithms. Avoid loops in favor of recursive functions or generator functions. Avoid functions or other code inside functions. Avoid if-statements in favor of switch-statements or polymorphism. Do not assign names to objects which are returned in the next line.
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.

