agentleFS
r3bl-orgr3bl-org/r3bl-open-core/.agents/skills/create-pr/SKILL.md

create-pr

Skill486 starsChanged 15 days agoApache-2.0View on GitHub

Use this skill when the user explicitly invokes /create-pr or asks to create a PR from their local branch.

  • Commits and pushes

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 1

    Distinctive

    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:

    Use this skill when the user explicitly invokes /create-pr or asks to create a PR from their local branch.

    line 9
  2. Distinctive:

    Verify the git working tree is clean.

    line 15
  3. Very specific:

    Create a PR using the GitHub CLI: gh pr create --fill.

    line 20

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

Create PR Workflow

Use this skill when the user explicitly invokes /create-pr or asks to create a PR from their local branch.

The Workflow

Step 1: Ensure Clean State & Push

  • Verify the git working tree is clean. If not, ask the user to commit or stash changes.
  • Push the current branch to origin using git push -u origin HEAD.

Step 2: Create the Pull Request

  • Create a PR using the GitHub CLI: gh pr create --fill.
  • This automatically uses the commit messages to populate the PR title and body.

Step 3: Next Steps

  • Tell the user the PR has been created and provide the link if available.
  • Remind the user they can use the /merge-pr slash command when they are ready to merge it into main.

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.