agentleFS
briansu2004briansu2004/MyAgentSkills/.github/skills/prepare-pr/SKILL.md

prepare-pr

Skill1 starsChanged 9 months agoMITView on GitHub

Prepares for a pull request when the user enters the phrase "Prepare PR

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. NVIDIA/NeMo-Relay★ 191same name
    2. atsushi-green/ds-ai-coding-skills★ 85same name
    3. NVIDIA/NeMo-Fabric★ 46same name
    4. andreilupu/my-claude-skills★ 1same name
    5. shivangiG/CodeAtlas★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the prepare-pr skill when the user enters the phrase "Prepare PR" in the chat.

    line 8
  2. Distinctive:

    Run the script to determine if there are uncommitted changes.

    line 14
  3. Distinctive:

    If the script responds with a value of 0, then print a thumbs up emoji followed by "All Changes Committed"

    line 16
  4. Distinctive:

    If the script responds with a value of 1, then print a thumbs down emoji followed by "Uncommitted changes"

    line 18
  5. Distinctive:

    If you find any references to an untracked file then print a thumbs down emoji followed by "Untracked File Dependencies"

    line 27
  6. Distinctive:

    After that output a report on the dependencies according to the template to the screen to list both the untracked file and the committed …

    line 29
  7. Distinctive:

    If there are no references to any of the untracked files, then print a thumbs up emoji followed by "No Untracked File Dependencies"

    line 31

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

Prepare PR

Use the prepare-pr skill when the user enters the phrase "Prepare PR" in the chat.

The check consists of two stages.

Step 1. Check for uncommited changes to files already in the repository.

Run the script to determine if there are uncommitted changes.

If the script responds with a value of 0, then print a thumbs up emoji followed by "All Changes Committed"

If the script responds with a value of 1, then print a thumbs down emoji followed by "Uncommitted changes"

Step 2. Check if there are untracked files that the committed files depend on.

Get a list of all the untracked files and iterate over them.

For each untracked file check if there is an include statement or link or mention of the untracked file inside any of the committed files. Any connection to the untracked file is a reference we need to flag.

If you find any references to an untracked file then print a thumbs down emoji followed by "Untracked File Dependencies"

After that output a report on the dependencies according to the template to the screen to list both the untracked file and the committed files that appears to depend on it.

If there are no references to any of the untracked files, then print a thumbs up emoji followed by "No Untracked File Dependencies"

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.