MatStudyLab
AGENTS.md2 starsChanged 3 months agoMITView on GitHub
Private portfolio/template repo for optical lab technicians using AI-assisted MATLAB workflows. Local markdown under .scratch/<feature>/ (wayfinder map and tickets). Implementation PRD at .scratch/matstudylab/PRD.md. See docs/agents/issue-tracker.md. Five canonical roles with default strings (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See docs/agents/triage-labels.md. Single-context repo: CONTEXT.md at root; ADRs in docs/adr/ when created. See docs/agents/domain.md. Installed under .agents/skills/ per skills-lock.json: All five workflow commands (/accept, /explain, /build, /new, /modify) are implemented (T3–T7).
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 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 repository44 other files it gives its agents.
- acceptSkill
- ask-mattSkill
- buildSkill
- claude-handoffSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- explainSkill
- git-guardrails-claude-codeSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- loop-meSkill
- matlab-performance-optimizerSkill
- matlabSkill
- matstudylab-bootstrapSkill
- migrate-to-shoehornSkill
- modifySkill
- newSkill
- prototypeSkill
- researchSkill
- resolving-merge-conflictsSkill
- scaffold-exercisesSkill
- setup-matt-pocock-skillsSkill
- setup-pre-commitSkill
- setup-ts-deep-modulesSkill
- tddSkill
- teachSkill
- to-questionnaireSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wait-whatSkill
- wayfinderSkill
- wizardSkill
- writing-beatsSkill
- writing-for-agentsSkill
- writing-fragmentsSkill
- writing-great-skillsSkill
- writing-shapeSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 17
Never edit codes/ in situ.
- Distinctive: line 19
Never change units without warning.
- Very specific: line 43
All five workflow commands (/accept, /explain, /build, /new, /modify) are implemented (T3–T7).
- Very specific: line 47
Read LORE.md (if present).
- Very specific: line 48
Read docs/spec.md for the command or area in scope.
- Very specific: line 49
Read CONTEXT.md for domain terms.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
MatStudyLab — Agent Instructions
Private portfolio/template repo for optical lab technicians using AI-assisted MATLAB workflows.
Project conventions
- Technical artifacts (code, specs, skills, this file): English.
- Companion
.mdand LORE content: user's preferred language (default Spanish); seeLORE.md. - Developer communication with Iván: Spanish.
- Spec contract:
docs/spec.md— commands, folders, safety rules, bundle model. - Domain glossary:
CONTEXT.md— use defined terms; avoid synonyms listed under Avoid. - MATLAB baseline:
docs/matlab-guidelines.md;LORE.mdoverrides personal style, never safety rules. - Templates:
docs/templates/script-companion.md,docs/templates/explain-doc.md,docs/templates/LORE.md.
Safety (non-negotiable)
- Never edit
codes/in situ. Write only innew/,modify/,explain/. /modifyon catalog content: copy tomodify/first.- Never change units without warning; never delete/overwrite measurement data; never use unavailable toolboxes.
Agent skills
Issue tracker
Local markdown under .scratch/<feature>/ (wayfinder map and tickets). Implementation PRD at .scratch/matstudylab/PRD.md. See docs/agents/issue-tracker.md.
Triage labels
Five canonical roles with default strings (needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix). See docs/agents/triage-labels.md.
Domain docs
Single-context repo: CONTEXT.md at root; ADRs in docs/adr/ when created. See docs/agents/domain.md.
Vendored skills
Installed under .agents/skills/ per skills-lock.json:
- Pocock engineering:
to-spec,to-tickets,implement,grill-me,writing-great-skills, etc. - MATLAB (manual vendoring):
matlab,matlab-performance-optimizer— required by/newand/modify; read.agents/skills/matlab/SKILL.mdand.agents/skills/matlab-performance-optimizer/SKILL.md matstudylab-bootstrap— not user-facing; runs as Step 0 inside/build,/new,/modify,/accept,/explain
All five workflow commands (/accept, /explain, /build, /new, /modify) are implemented (T3–T7).
Before touching code
- Read
LORE.md(if present). - Read
docs/spec.mdfor the command or area in scope. - Read
CONTEXT.mdfor domain terms. - For MATLAB generation (
/new,/modify): read and apply.agents/skills/matlab/SKILL.mdand.agents/skills/matlab-performance-optimizer/SKILL.md(manually vendored; bootstrap auto-sync deferred).
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.

