agentleFS
keepplainkeepplain/keepplain-plugin/skills/share/SKILL.md

share

Skill4 starsChanged 54 days agoMITView on GitHub

Put one of the user's published KeepPlain Builds on GitHub: the block "How this change was built" in the session's pull request, or the "Built with AI" section in the README. Runs only when the user types /keepplain:share.

  • Reads credentials
  • Commits and pushes

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review.

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

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run this command exactly, and nothing else first:

    line 9
  2. Very specific:

    Ask the user where it goes: the pull request, the README, or both.

    line 18
  3. Very specific:

    Run the command from step 1 again with --pr (or --pr="<link>"), --readme, or both added at the end.

    line 19
  4. Very specific:

    If it says nothing is changed yet, ask the user whether to make the change.

    line 20
  5. Very specific:

    Run the commands exactly as written: the script finds the site, the sign-in and the pull request by itself.

    line 24
  6. Very specific:

    Never read, print or search for the KeepPlain token, ~/.keepplain/credentials.json or environment variables.

    line 25
  7. Distinctive:

    If the script says the GitHub CLI is missing or not signed in, tell the user.

    line 26
  8. Distinctive:

    If the script says no pull request was found, tell the user to open one (gh pr create) or to give its link.

    line 27
  9. Very specific:

    If node is not found, tell the user the plugin needs Node.js 20 or newer, and that they can upload the session at https://keepplain.com/new …

    line 28
  10. Distinctive:

    If the script says this computer is not connected, or the token was not accepted, tell the user to run /keepplain:login first.

    line 29

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

Put a published Build where other developers already are: the description of the pull request the session made, and the repository's README. The blocks come from KeepPlain; the pull request is changed with the user's own GitHub CLI (gh), the README only in the working tree. Nothing gets published here: a Build that is still a draft gets its link, and the user publishes it on the site first.

  1. Run this command exactly, and nothing else first:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/keepplain.mjs" share <build>

    <build> is the KeepPlain link or slug the user gave with the request, in double quotes; with none, leave it out: the script takes this session's Build. If the user wrote auto on or auto off, run node "${CLAUDE_PLUGIN_ROOT}/scripts/keepplain.mjs" share auto on (or off) instead, show what it printed and stop.

  2. Show the user what it printed, word for word. If it printed an error (the Build is not published, not sent yet, or not the user's), show it and stop.
  3. Ask the user where it goes: the pull request, the README, or both. If they wrote --pr or --readme after the command name, that is the answer. If they name a pull request, it goes with --pr="<link>".
  4. Run the command from step 1 again with --pr (or --pr="<link>"), --readme, or both added at the end. Show what it printed word for word: which pull request or file, and the block.
  5. If it says nothing is changed yet, ask the user whether to make the change. Continue only if they clearly say yes; otherwise stop. Then run the command from step 4 again with --write added at the end, and show what it printed.

Rules:

  • Run the commands exactly as written: the script finds the site, the sign-in and the pull request by itself. Do not run gh, edit the pull request or the README, or commit anything yourself.
  • Never read, print or search for the KeepPlain token, ~/.keepplain/credentials.json or environment variables.
  • If the script says the GitHub CLI is missing or not signed in, tell the user; it also printed the block to paste by hand.
  • If the script says no pull request was found, tell the user to open one (gh pr create) or to give its link.
  • If node is not found, tell the user the plugin needs Node.js 20 or newer, and that they can upload the session at https://keepplain.com/new instead.
  • If the script says this computer is not connected, or the token was not accepted, tell the user to run /keepplain:login first. Never ask for a token in the chat.

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.