agentleFS
rockdairockdai/agent-scripts/skills/spells/SKILL.md

spells

Skill0 starsChanged 7 months agoUnlicenseView on GitHub

Routes the shortcut trigger phrases an agent recognizes in chat — `pr N`, `review N`, `recheck N`, `merged`, `merged N`, `issue N` — to the corresponding skill in this repo. Apply when any of these phrases appears in an incoming message.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a human types merged N by mistake, treat it as the peer path (so it does no damage) and remind the human in the reply that the bare form …

    line 31
  2. Very specific:

    Agent → peer agent: use the tmux-send skill rather than calling ssh and tmux send-keys directly.

    line 40

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

Spells

Overview

A spell is a short trigger phrase a human or peer agent sends in chat. Each spell is a shortcut into one of the other skills in this repo. When any of the phrases below appears in an incoming message, run the linked skill. The skill itself owns the workflow, the rules, the stop conditions, the reply format — this file is only the routing table.

Spells are recognized in natural-language input; they are not slash commands and are not parsed by the host CLI. Each spell takes at most one argument, always a single token (a PR number, an issue number) separated from the spell by one space.

Spell → Skill Routing

SpellSkillUse when
pr Npr-feedbackProcess all reviewer feedback on pull request N.
review Npr-reviewFirst-time full review of pull request N.
recheck Npr-recheckRe-evaluate pull request N after the dev responded to findings.
mergedmerge-syncThe PR you just pushed has been merged (see form note below).
merged Nmerge-syncPeer agent telling you PR N has been merged (see form note below).
issue Nissue-checkVerify and handle GitHub issue N.

merged vs merged N

This is the only spell where the form (bare vs parameterized) is part of the contract — it tells the receiver who sent it and which path inside merge-sync to run.

  • Bare merged — human-triggered, sent to the agent that just pushed the now-merged PR. Run merge-sync § Human-Originated Sync, which includes deleting the merged feature branch locally and dispatching merged N to the peer.
  • merged N — peer-agent dispatched, with the PR number explicit because the peer is in a different context. Run merge-sync § Peer-Originated Sync, which syncs trunk and rereads changed rule sources but does not delete the current branch and does not re-dispatch.
  • If a human types merged N by mistake, treat it as the peer path (so it does no damage) and remind the human in the reply that the bare form is what triggers full local cleanup plus peer notification.

The other spells in the table do not have this dual form.

Dispatch Channels

How a spell arrives depends on who sent it; the receiver's behavior is owned by the linked skill, not by the channel.

  • Human → agent: typed into the agent's chat. No transport tooling needed.
  • Agent → peer agent: use the tmux-send skill rather than calling ssh and tmux send-keys directly. Routing details (which host, which session, which spells are valid in which direction) live in the consuming project's configuration, not in this skill.
  • Bot or webhook → agent: same as agent-to-agent — the trigger needs to land in the agent's input stream the same way a human message would; transport is project-specific.

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.