a11y-llm-eval
Copilot instructions59 starsChanged 8 months agoMITView on GitHub
You are working in the A11y LLM Evaluation Harness codebase. Before making any change that could affect behavior, outputs, or public interfaces, read: Treat it as the project’s contract for:
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
21 rules. About 0 are common, 13 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Before making *any* change that could affect behavior, outputs, or public interfaces, read:
- Distinctive: line 11
Treat it as the project’s contract for:
- Distinctive: line 24
If you find a mismatch between docs and code, assume code is the source of truth and update the doc.
- Very specific: line 27
Update docs/features-and-acceptance.md in the same PR.
- Very specific: line 28
Update or add tests in tests/ to lock the new behavior.
- Distinctive: line 29
Call out breaking changes and any migration steps.
- Very specific: line 32
Do not rename fields in results.json without updating schema and acceptance criteria.
- Very specific: line 33
Do not change file naming conventions under runs/<id>/raw or runs/<id>/screenshots without updating docs + tests.
- Distinctive: line 36
Prefer running the focused tests for any area you touch.
- Very specific: line 37
If you modify CLI/evaluation/reporting, run pytest.
- Very specific: line 40
Add test cases under tests/test_cases/ with clear prompts and assertions.
- Distinctive: line 41
Ensure new tests cover edge cases and failure modes.
- Distinctive: line 45
Keep the acceptance criteria concrete and testable.
- Very specific: line 46
Add new features to docs/features-and-acceptance.md when introduced.
- Distinctive: line 47
If a behavior is deprecated, document it explicitly with the planned removal version/date.
- Distinctive: line 51
Do not create commits unless the user explicitly asks for a commit or asks to finalize changes in git.
- Distinctive: line 52
Before staging or committing, inspect git status and the relevant diffs.
- Distinctive: line 54
If unrelated local changes are present, ask before including them in a commit.
- Distinctive: line 55
Use non-interactive git commands only.
- Very specific: line 56
Use commit subjects in conventional format: feat: ..., fix: ..., or chore: ....
- Distinctive: line 57
Do not amend, rebase, or push unless the user explicitly asks.
≈ “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
Copilot instructions for this repository
You are working in the A11y LLM Evaluation Harness codebase.
Non-negotiable: Backwards compatibility contract
Before making any change that could affect behavior, outputs, or public interfaces, read:
docs/features-and-acceptance.md
Treat it as the project’s contract for:
- CLI behavior and flags
- run directory layout
results.jsonfields and meaning- evaluation pass/fail logic
- sampling + pass@k semantics
- prompt configuration and caching
- Node runner I/O contract
When making changes
- Preserve documented behavior by default.
- If you find a mismatch between docs and code, assume code is the source of truth and update the doc.
- If you intentionally change user-visible behavior (CLI, artifacts, schema, pass/fail, caching, report path/format):
- Update
docs/features-and-acceptance.mdin the same PR. - Update or add tests in
tests/to lock the new behavior. - Call out breaking changes and any migration steps.
- Update
- Avoid accidental format drift
- Do not rename fields in
results.jsonwithout updating schema and acceptance criteria. - Do not change file naming conventions under
runs/<id>/raworruns/<id>/screenshotswithout updating docs + tests.
- Do not rename fields in
- Validation expectations
- Prefer running the focused tests for any area you touch.
- If you modify CLI/evaluation/reporting, run
pytest.
- Create tests for new features
- Add test cases under
tests/test_cases/with clear prompts and assertions. - Ensure new tests cover edge cases and failure modes.
- Add test cases under
Documentation hygiene
- Keep the acceptance criteria concrete and testable.
- Add new features to
docs/features-and-acceptance.mdwhen introduced. - If a behavior is deprecated, document it explicitly with the planned removal version/date.
Git workflow
- Do not create commits unless the user explicitly asks for a commit or asks to finalize changes in git.
- Before staging or committing, inspect
git statusand the relevant diffs. - Stage only files directly related to the requested change.
- If unrelated local changes are present, ask before including them in a commit.
- Use non-interactive git commands only.
- Use commit subjects in conventional format:
feat: ...,fix: ..., orchore: .... - Do not amend, rebase, or push unless the user explicitly asks.
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.

