explain
Skill2 starsChanged 4 months agoMITView on GitHub
Deep-study a MATLAB script and write explain_<stem>.md without changing .m files.
58 other projects use a version of this.
Adopted by
Most recently taken up by
- cfgaudit/cfgaudittheir own version, first seen Oct 5, 2026
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- JeffreyFerreiras/ai-skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- shortcuts/dotfilestheir own version, first seen Oct 2, 2026
Used with
Projects with it also use doc, rubber-duck and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
JetBrainsSkilldoc
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
Also in 5 projects that use this
ElliotJLTSkillrubber-duck
When a user is stuck, frustrated, or describing a problem vaguely, do NOT immediately suggest solutions. First, force structured problem articulation through targeted questions: What did you expect? What happened instead? What have you tried? Only after the problem is clearly defined, propose solutions.
Also in 3 projects that use this
clearsmogSkilltranslate
Multi-format document translation. Supports Typst ↔ Quarto. For Beamer translations, configure at project level.
Also in 3 projects that use this
genomewalkerSkillmigrate
Import soul data from SQLite or shared chitta files
Also in 4 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 4 projects that use this
Hugging FaceSkillself-review
Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code) vs what to leave for the actual review. Report-only — does not edit files.
Also in 3 projects that use this
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- crbnos/carbon★ 2.7ksame name
- entireio/skills★ 223same name
- SerhiiKorniienko/bullshit-detector★ 151same name
- kv0906/pm-kit★ 138same name
- penwyp/ClaudePreference★ 136same name
- mbwsims/claude-universe★ 72same name
- hugobowne/show-us-your-agent-skills★ 68same name
- ARYANK-08/agentic-dev-kit★ 41same name
- agentcrew-academy/harness-starter-kit★ 39same name
- oakreader/oakreader★ 39same name
48 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- acceptSkill
- ask-mattSkill
- buildSkill
- claude-handoffSkill
- codebase-designSkill
- code-reviewSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- 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 skill into the rules it gives an agent
9 rules. 0 are common, 1 is distinctive, and 8 are very specific to this project.
0
Common
Most of the 52 edited versions we read keep these.
1
Distinctive
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
- Very specific: line 9
Read LORE.md, AGENTS.md, docs/spec.md, and CONTEXT.md before acting.
- Very specific: line 13
Read and execute .agents/skills/matstudylab-bootstrap/SKILL.md before any other step.
- Distinctive: line 14
Do not proceed until bootstrap completes (skip, setup/update, or warn-and-continue).
- Very specific: line 39
Read LORE.md for companion language and lab context.
- Very specific: line 69
If a matching bundle exists in codes/<type>/<bundle>/, recommend:
- Very specific: line 77
If the script has no catalog bundle yet, suggest /build or /new first, then /accept for the staging bundle.
- Very specific: line 83
Write only under explain/.
- Very specific: line 84
Never modify .m files.
- Very specific: line 85
Never edit codes/ in situ.
“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Produce explain_<stem>.md in explain/ for one script per session. Read-only on .m files — never edit codes/, new/, modify/, or import/ in place.
Read LORE.md, AGENTS.md, docs/spec.md, and CONTEXT.md before acting. Use docs/templates/explain-doc.md for structure.
Step 0 — Bootstrap (mandatory)
Read and execute .agents/skills/matstudylab-bootstrap/SKILL.md before any other step.
Do not proceed until bootstrap completes (skip, setup/update, or warn-and-continue).
Completion criterion: bootstrap outcome identified (skip, setup/update OK, or warn-and-continue).
Step 1 — Parse invocation
| User input | Behavior |
/explain | Resolve a single .m under explain/, or list choices if several |
/explain <script.m> | Study that script (paths under explain/, codes/, new/, modify/) |
/explain <script.m> <question> | Same + answer the question in Your questions |
No grill-me — didactic, one-way mode.
Completion criterion: target script path is identified.
Helper:
./scripts/explain-resolve.sh list
./scripts/explain-resolve.sh resolve <hint>Step 2 — Read context
Read LORE.md for companion language and lab context. Read the target .m and its base companion .md when present (codes/ is read-only context).
Apply zoom-out when the script is long, has non-obvious dependencies or toolboxes, or the user gave a hint — read related files under the same bundle before writing.
Completion criterion: script purpose and optical context are understood.
Step 3 — Write explain doc (explain/ only)
Resolve output path:
./scripts/explain-resolve.sh resolve <hint>Scaffold if needed, then fill content in the user's language:
./scripts/explain-resolve.sh scaffold <hint> "<optional question>"Required sections (see docs/templates/explain-doc.md):
- Possible improvements (not implemented) — ideas only, no code changes
- MATLAB concepts — plain-language teaching
- Your questions — when the user provided a hint
Completion criterion: explain_<stem>.md exists under explain/ with all required sections; no .m file was modified.
Step 4 — Recommend /accept explain
If a matching bundle exists in codes/<type>/<bundle>/, recommend:
/accept explainor /accept explain <type> <bundle> when scope should be one bundle. This copies explain_<stem>.md into the catalog (see .agents/skills/accept/SKILL.md).
If the script has no catalog bundle yet, suggest /build or /new first, then /accept for the staging bundle.
Completion criterion: user knows the next command to attach the study doc.
Safety (non-negotiable)
- Write only under
explain/. - Never modify
.mfiles. - Never edit
codes/in situ.
Reference
- Wayfinder spec:
.scratch/matstudylab/issues/09-grilling-comando-explain.md - Explain template:
docs/templates/explain-doc.md - Handoff: use
.agents/skills/handoff/SKILL.mdto compact context before generating the doc when zoom-out applies
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.

