agentleFS
IvanGomezMartinezIvanGomezMartinez/MatStudyLab/.agents/skills/modify/SKILL.md

modify

Skill2 starsChanged 3 months agoMITView on GitHub

Copy a catalog bundle to modify/ and adapt one script per session.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 4 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Very specific:

    Read LORE.md, AGENTS.md, docs/spec.md, docs/matlab-guidelines.md, and CONTEXT.md before acting.

    line 9
  2. Very specific:

    Read and execute .agents/skills/matstudylab-bootstrap/SKILL.md before any other step.

    line 13
  3. Distinctive:

    Do not proceed until bootstrap completes (skip, setup/update, or warn-and-continue).

    line 14
  4. Distinctive:

    If subscripts are involved → ask whether to edit together or one file per session.

    line 22
  5. Very specific:

    Run .agents/skills/grill-me/SKILL.md on what changes — behavior, plots, outputs, units — not the whole script from scratch.

    line 40
  6. Very specific:

    If base companion .md is missing or incomplete, run the full /new checklist first.

    line 42
  7. Very specific:

    Read and apply docs/agents/matlab-skills-gate.md before editing any .m file.

    line 48
  8. Very specific:

    Update .md history / relevant sections with each meaningful change.

    line 53
  9. Distinctive:

    Ask whether to promote now or keep iterating:

    line 59
  10. Very specific:

    Never: write to codes/ except via /accept or confirmed /build.

    line 69
  11. Very specific:

    Write only under modify/ after the mandatory copy step.

    line 70
  12. Distinctive:

    Never change units without warning.

    line 71

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adapt a catalog bundle by copying codes/<type>/<bundle>/ to modify/<type>/<bundle>/ before any edit. Never edit codes/ in situ.

Read LORE.md, AGENTS.md, docs/spec.md, docs/matlab-guidelines.md, and CONTEXT.md before acting.

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 — Select bundle and script

  • /modify without hint → ask which catalog bundle to adapt.
  • One main script per session by default.
  • If subscripts are involved → ask whether to edit together or one file per session.

Completion criterion: target codes/<type>/<bundle>/ and main .m are identified.

Step 2 — Copy catalog → modify (mandatory)

./scripts/modify-copy.sh <type> <bundle>

Copies the entire bundle folder (N:1 sets included). Reuses existing modify/ copy unless MODIFY_OVERWRITE=1.

Do not edit any file until this copy succeeds.

Completion criterion: modify/<type>/<bundle>/ exists and codes/ is unchanged.

Step 3 — Grill-me on changes

Run .agents/skills/grill-me/SKILL.md on what changes — behavior, plots, outputs, units — not the whole script from scratch.

If base companion .md is missing or incomplete, run the full /new checklist first.

Completion criterion: user confirmed intended changes.

Step 4 — Edit in modify/ only (with MATLAB skills)

Read and apply docs/agents/matlab-skills-gate.md before editing any .m file.

Then:

  • Rename .m + .md together if purpose changes (user confirmation).
  • Update .md history / relevant sections with each meaningful change.

Completion criterion: edits exist only under modify/; companion reflects the new behavior.

Step 5 — Recommend /accept modify

Ask whether to promote now or keep iterating:

/accept modify

Completion criterion: user knows how to promote or continue editing.

Safety (non-negotiable)

  • Never write to codes/ except via /accept or confirmed /build.
  • Write only under modify/ after the mandatory copy step.
  • Never change units without warning; never delete measurement data.

Reference

  • Wayfinder spec: .scratch/matstudylab/issues/07-grilling-comando-modify.md
  • Companion template: docs/templates/script-companion.md
  • MATLAB skills gate: docs/agents/matlab-skills-gate.md

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.