agentleFS
s977043s977043/river-review/commands/skill.md

commands

Skill4 starsChanged 6 months agoMITView on GitHub

Load the best-matching skill doc from skills/ and apply it to the current task

3 other projects use a version of this.

Adopted by

Most recently taken up by

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 $ARGUMENTS matches the safe skill-ID grammar ^[a-z0-9][a-z0-9._-]*$, try exact resolution first: node …

    line 16
  2. Very specific:

    If this invocation came from another skill's owner-skill delegation and exact resolution fails, record the owner as unresolved / …

    line 21

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

Find the best matching review skill for: $ARGUMENTS

The portable dependency key is a skill ID, not a physical path. The bundled skill collection lives under ${CLAUDE_PLUGIN_ROOT:-.}/skills/ in the full plugin or repository checkout.

Steps:

  1. Set RIVER_ROOT="${CLAUDE_PLUGIN_ROOT:-.}".
  2. If $ARGUMENTS matches the safe skill-ID grammar ^[a-z0-9][a-z0-9._-]*$, try exact resolution first: node "$RIVER_ROOT/scripts/resolve-skill-id.mjs" "$RIVER_ROOT" "$ARGUMENTS".
  3. On exit 0, use Read on the returned SKILL.md. The resolver verifies the declared ID and rejects ambiguous packages.
  4. If this invocation came from another skill's owner-skill delegation and exact resolution fails, record the owner as unresolved / skippedSkills. Do not keyword-fallback or reconstruct the missing specialist knowledge by guess.
  5. For an ad-hoc user keyword (not an owner-skill delegation), an unresolved exact lookup may fall back to a case-insensitive search across the whole collection: rg -i -l -F -g 'SKILL.md' -- "$ARGUMENTS" "$RIVER_ROOT/skills".
  6. Inputs containing slash, backslash, .., whitespace, or other characters outside the ID grammar are never sanitized into another ID. Path-like input must not be treated as an owner skill ID.
  7. Summarize the selected skill's workflow rules and apply them to the current task.

For river skills export, the same resolver contract applies to the export root: <export-root>/<skill-id>/SKILL.md. Exported files carry the canonical ID under metadata.rr.id; the resolver verifies that value before returning a package.

See docs/development/skill-id-resolution-contract.md for the full ownership, resolution, and degradation contract.

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.