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

accept

Skill2 starsChanged 3 months agoMITView on GitHub

Promote staging bundles into the catalog, or attach explain docs from explain/.

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use status.

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.
  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 3 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 3

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

    Read LORE.md (if present), docs/spec.md (/accept requirements), 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. Very specific:

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

    line 14
  4. Very specific:

    If variant is all (or default) and both new/ and modify/ have pending bundles, ask: accept everything, only new/, or only modify/?

    line 31
  5. Very specific:

    Read LORE.md for git workflow (local-only or own-repo) and folder map context.

    line 35
  6. Very specific:

    If LORE.md is missing, assume local-only and note it to the user.

    line 37
  7. Very specific:

    Block: if catalog bundle or matching .m is missing

    line 67
  8. Distinctive:

    Completion criterion: every item in scope passes validation or the command stops with a clear block reason.

    line 70
  9. Distinctive:

    After a successful run, clear staging for everything accepted:

    line 84
  10. Very specific:

    Never write to codes/ except through this confirmed flow.

    line 110
  11. Distinctive:

    Never delete measurement data files.

    line 111

“Common” is measured: kept by at least 6 in 10 of the 7 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.

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

The only allowed write path into codes/. Two modes: promote (new/ / modify/) or attach (explain/ → catalog).

Read LORE.md (if present), docs/spec.md (/accept requirements), 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). On NODE_MISSING or SYNC_FAILED_CONTINUE: warn + continue with vendored skills only — no three-option HITL menu (that menu is /build only).

Completion criterion: bootstrap outcome identified (skip, setup/update OK, or warn-and-continue).

Step 1 — Parse variant

User inputScope
/accept, /accept allAll pending bundles in new/ and modify/
/accept newOnly new/
/accept modifyOnly modify/
/accept explainCopy explain/explain_<stem>.md into matching codes/<type>/<bundle>/
/accept explain <type> <bundle>One catalog bundle only

Completion criterion: variant is identified.

If variant is all (or default) and both new/ and modify/ have pending bundles, ask: accept everything, only new/, or only modify/?

Step 2 — Read LORE

Read LORE.md for git workflow (local-only or own-repo) and folder map context.

If LORE.md is missing, assume local-only and note it to the user.

Completion criterion: git workflow preference is known.

Step 3 — List and validate scope

Promote (all / new / modify)

ACCEPT_DRY_RUN=1 ./scripts/accept-bundle.sh <variant>

Validation rules:

  • At least one .m — otherwise block
  • At least one base companion .md (not explain_*.md) — otherwise block and offer to generate from docs/templates/script-companion.md
  • 1:1: one .m + one .md with matching stems
  • N:1: multiple .m + exactly one base .md

Promotion also attaches matching explain/explain_<stem>.md files into the catalog bundle.

Attach (explain)

ACCEPT_DRY_RUN=1 ./scripts/accept-bundle.sh explain [type bundle]

For each explain/explain_<stem>.md:

  • Resolve codes/<type>/<bundle>/ from path (explain/<type>/<bundle>/…) or by unique codes/*/*/<stem>.m
  • Block if catalog bundle or matching .m is missing
  • Copy into catalog

Completion criterion: every item in scope passes validation or the command stops with a clear block reason.

Step 4 — Confirm destination

Confirm ambiguous codes/<type>/<bundle>/ paths with the user. New codes/<type>/ folders require user confirmation and a LORE folder-map row.

Completion criterion: user confirmed each destination path.

Step 5 — Execute

./scripts/accept-bundle.sh <variant> [type bundle]

After a successful run, clear staging for everything accepted:

  • new/ / modify/ — remove the promoted bundle folder (empty parent dirs too)
  • explain/ — remove each attached explain_<stem>.md (empty parent dirs too)

Completion criterion: each item exists under codes/; no accepted files remain in new/, modify/, or explain/ for this run.

Step 6 — Git per LORE

Git workflowAction
local-onlyDo not commit or push
own-repoPropose commit message catalog: <type>/<bundle> after user OK; then ask about push to main

Completion criterion: git behavior matches LORE.

Step 7 — LORE updates (significant changes only)

Append to LORE.md only when this accept introduced something that changes future behaviour — for example a new codes/<type>/ folder, a reclassification, or a confirmed preference about units, equipment, or workflow.

Routine promote/attach (moving drafts or study docs into an existing bundle) does not warrant a decision-log entry. Do not ask the user about LORE unless a significant change occurred in this run.

Completion criterion: LORE updated when warranted; otherwise proceed without mentioning the decision log.

Safety (non-negotiable)

  • Never write to codes/ except through this confirmed flow.
  • Never delete measurement data files.
  • From new/: block if codes/<type>/<bundle>/ already exists (use /modify instead).

Reference

  • Wayfinder spec: .scratch/matstudylab/issues/08-grilling-comando-accept.md
  • Companion template: docs/templates/script-companion.md
  • Step 0 contract: docs/agents/command-skill-step-0.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.