AutoSaddler
Copilot instructions236 starsChanged 3 months agoMITView on GitHub
In this repository12 other files it gives its agents.
- src/autosaddler/v1/proposer/autosaddler/CLAUDE.mdCLAUDE.md
- capability-patchSkill
- diagnoseSkill
- history-analysisSkill
- patch-verificationSkill
- steering-patchSkill
- capability-patchSkill
- patch-verificationSkill
- steering-patchSkill
- causal-diagnosisSkill
- history-analysisSkill
- verification-baselineSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 6
Prefer these patterns (pick the most direct one):
- Very specific: line 8
If an interactive shell is needed: uv venv && source .venv/bin/activate (or platform equivalent), then run commands.
- Distinctive: line 9
Do not assume the env is already active.
- Very specific: line 10
Only skip uv wrapping for common non-Python shell commands like: ls, cd, cat, echo, pwd, git ..., mkdir, rm, cp, mv, sed, awk, curl, wget …
- Very specific: line 23
Add/remove deps using uv add <pkg> / uv remove <pkg> (or whatever standard this repo uses).
- Very specific: line 24
If a lockfile is present, keep it updated consistently with uv workflows.
- Distinctive: line 28
If inconsistencies are found between code and documentation, always correct them.
- Distinctive: line 29
Keep CLI help text, config file comments, and doc examples in sync with actual implementations.
- Distinctive: line 33
Do not consider a task complete until tests pass.
- Distinctive: line 36
Minimize fallback logic: Do not silently swallow errors or provide default values that hide incorrect state.
- Very specific: line 37
Prefer assertions and explicit checks: Use assert statements or raise clear exceptions (ValueError, TypeError, etc.) to enforce invariants …
- Distinctive: line 38
When a value *must* be present or a condition *must* hold, assert it rather than falling back to a default.
≈ “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
GitHub Copilot instructions (repo-wide)
Environment & command execution (IMPORTANT)
- This repo uses a Python environment managed by
uv. - Before running any Python-related command (anything that invokes
python,pip,pytest,ruff,mypy,alembic,django-admin,flask,uvicorn,gunicorn,mkdocs, etc.), always run it inside the uv environment. - Prefer these patterns (pick the most direct one):
uv run <command ...>(preferred for one-off commands)- If an interactive shell is needed:
uv venv && source .venv/bin/activate(or platform equivalent), then run commands.
- Do not assume the env is already active.
- Only skip
uvwrapping for common non-Python shell commands like:ls,cd,cat,echo,pwd,git ...,mkdir,rm,cp,mv,sed,awk,curl,wget(unless they are part of a Python workflow step).
Examples
- ✅
uv run python -m pytest -q - ✅
uv run ruff check . - ✅
uv run python -m mypy src/ - ✅
uv run python scripts/sync_data.py --dry-run - ✅
git status(nouvneeded) - ✅
ls -la(nouvneeded) - ❌
pytest(should beuv run pytest) - ❌
python script.py(should beuv run python script.py)
Dependency management
- Add/remove deps using
uv add <pkg>/uv remove <pkg>(or whatever standard this repo uses). - If a lockfile is present, keep it updated consistently with
uvworkflows.
Documentation & consistency (IMPORTANT)
- After any code changes, always check and update relevant documentation (
docs/,README.md), output-related files (docstring, config references), and log/result schemas to reflect the latest changes. - If inconsistencies are found between code and documentation, always correct them. If unsure how to resolve an inconsistency, ask the user before proceeding.
- Keep CLI help text, config file comments, and doc examples in sync with actual implementations.
Testing (IMPORTANT)
- Always run the test suite after significant code changes (
uv run python -m pytest tests/ -v --tb=short). - Do not consider a task complete until tests pass.
Error handling & debugging (IMPORTANT)
- Minimize fallback logic. Do not silently swallow errors or provide default values that hide incorrect state. Fallback paths easily mask bugs and make issues harder to diagnose. This applies to all code — not just error-handling paths but also normal implementation logic.
- Prefer assertions and explicit checks. Use
assertstatements or raise clear exceptions (ValueError,TypeError, etc.) to enforce invariants and fail fast when assumptions are violated. - When a value must be present or a condition must hold, assert it rather than falling back to a default.
- ✅
assert config is not None, "config must be loaded before use" - ✅
if result is None: raise ValueError("Expected a result but got None") - ❌
value = result or some_default # silently hides a missing result - ❌
try: ... except Exception: pass # swallows all errors
Git & version control (IMPORTANT)
- NEVER commit code changes without the user approval.
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.

