dataframely
Copilot instructions623 starsChanged 12 months agoBSD-3-ClauseView on GitHub
This repository uses the Pixi package manager. When editing pixi.toml, run pixi lock afterwards. When running any commands (like pytest), prepend them with pixi run. - Document all public functions/methods and classes using docstrings - For functions & methods, use Google Docstrings and include Args (if there are any arguments) and Returns (if there is a return type). - Do not include type hints in the docstrings - Do not mention default values in the docstrings - Do not write…
We split this copilot-instructions.md into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
When running any commands (like pytest), prepend them with pixi run.
- Distinctive: line 13
Document all public functions/methods and classes using docstrings
- Distinctive: line 16
Do not include type hints in the docstrings
- Distinctive: line 17
Do not mention default values in the docstrings
- Distinctive: line 18
Do not write docstrings for private functions/methods unless the function is highly complex
- Distinctive: line 22
Do not manually adjust or add license headers.
- Distinctive: line 26
Never use classes for pytest, but only free functions
- Very specific: line 27
Do not put __init__.py files into test directories
- Distinctive: line 30
All tests should follow the arrange-act-assert pattern.
- Very specific: line 45
If two or more tests are structurally equivalent, they should be merged into a single test and parametrized with @pytest.mark.parametrize
- Distinctive: line 47
If at least two tests share the same logic in the "arrange" step, the respective logic should be extracted into a fixture
- Very specific: line 52
When reviewing code changes, make sure that the SKILL.md is up-to-date and in line with the public API of this package.
≈ “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
Dataframely
Package Management
This repository uses the Pixi package manager. When editing pixi.toml, run pixi lock afterwards.
When running any commands (like pytest), prepend them with pixi run.
Code Style
Documentation
- Document all public functions/methods and classes using docstrings
- For functions & methods, use Google Docstrings and include
Args(if there are any arguments) andReturns(if there is a return type). - Do not include type hints in the docstrings
- Do not mention default values in the docstrings
- For functions & methods, use Google Docstrings and include
- Do not write docstrings for private functions/methods unless the function is highly complex
License Headers
Do not manually adjust or add license headers. A pre-commit hook will take care of this.
Testing
- Never use classes for pytest, but only free functions
- Do not put
__init__.pyfiles into test directories - Tests should not have docstrings unless they are very complicated or very specific, i.e. warrant a description beyond the test's name
All tests should follow the arrange-act-assert pattern. The respective logical blocks should be distinguished via code comments as follows:
def test_method() -> None: # Arrange ... # Act ... # Assert ...- If two or more tests are structurally equivalent, they should be merged into a single test and parametrized with
@pytest.mark.parametrize - If at least two tests share the same logic in the "arrange" step, the respective logic should be extracted into a fixture
Reviewing
When reviewing code changes, make sure that the SKILL.md is up-to-date and in line with the public API of this
package.
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.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dataframelySkill
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.

