agentleFS
RLinfRLinf/RPent/.agents/skills/create-pr/SKILL.md

create-pr

Skill1.8k starsChanged 8 days agoApache-2.0View on GitHub

Open a GitHub pull request for RPent, or fix an existing one — runs area checks, checks the PR title against Conventional Commits, writes a precise description that follows .github/PULL_REQUEST_TEMPLATE.md, and lints both before pushing. Use when asked to create/open/submit a PR, write or rewrite a PR description, or fix a PR title or body.

  • Commits and pushes

197 other projects use a version of this, 1 of them edited.

Trending

Less talk lately.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 4 mentionsOct 2026: 2 mentionsNov 2026: 1 mentionDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the RLinf/RPent repository that our weekly crawl found: only 8 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about RLinf/RPent

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8

Talked about on GitHub (8 times).

On GitHub · 8

3 more on GitHub

Used with

Projects with it also use update-pr, create-release-note and 10 more.

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

    update-pr

    Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

    Also in 10 projects that use this

  • ModelEngine-GroupSkill

    create-release-note

    从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。

    Also in 3 projects that use this

  • frostneySkill

    delivery-wait

    Provides deterministic, resumable GitHub transition waits used internally by delivery workflows. Use when another workflow must await CI, merge, tag, or release state without model heartbeats.

    Also in 3 projects that use this

  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • parkchuSkill

    start-mission

    넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.

    Also in 3 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • +1 more from frostney
  • +1 more from microsoft
  • Other versions197 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 1

    1. RLinf/RLinf★ 5.7k17% same

    Wrote their own version · 196

    1. microsoft/vscode★ 196ksame name
    2. vercel/next.js★ 144ksame name
    3. penpot/penpot★ 63ksame name
    4. remix-run/react-router★ 57ksame name
    5. moeru-ai/airi★ 52ksame name
    6. ToolJet/ToolJet★ 41ksame name
    7. ueberdosis/tiptap★ 39ksame name
    8. BabylonJS/Babylon.js★ 27ksame name
    9. kortix-ai/CompanyOS★ 21ksame name
    10. kortix-ai/suna★ 21ksame name

    186 more not listed

    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.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 182 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write the title and description, then run the linter before you post:

    line 8
  2. Distinctive:

    Read the actual diff against main instead of relying on memory:

    line 26
  3. Distinctive:

    Check just the title on its own:

    line 60
  4. Very specific:

    Start from the template skeleton so all four headings from .github/PULL_REQUEST_TEMPLATE.md stay in order:

    line 68
  5. Distinctive:

    Follow docs/rules/english.md for prose quality: lead with what changed in behavior, avoid hype/hedging, and name files/symbols only where …

    line 91
  6. Very specific:

    Read /tmp/fixed.md and confirm lint exits 0 before updating GitHub:

    line 121
  7. Very specific:

    If the title also needs fixing, set TITLE="...", run lint with --title "$TITLE", and update it with gh pr edit 364 --title "$TITLE".

    line 127
  8. Very specific:

    fix cannot repair an unclosed code fence: If body-fence fires, close the stray fence by hand.

    line 134
  9. Very specific:

    Title description limit is 72 characters after : : Keep PR titles concise so they stay readable in GitHub and git log --oneline.

    line 136

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

Write the title and description, then run the linter before you post:

python3 .agents/skills/create-pr/lint_pr.py lint \
    --title "fix(toolkit): retain the original handler error" \
    --body-file /tmp/pr-body.md

Exit code 1 means at least one ERROR — fix it and re-run. Point the same checker at an open PR:

python3 .agents/skills/create-pr/lint_pr.py lint --pr 364

The rules come from CONTRIBUTING.md ("Step 5. Commit and open a pull request") and .github/PULL_REQUEST_TEMPLATE.md. All paths below are relative to the repository root.

1. Gather the facts before writing a word

Read the actual diff against main instead of relying on memory:

git fetch origin main
git log --oneline origin/main..HEAD
git diff --stat origin/main...HEAD

Record concretely:

  • Which component the diff touches (planner, toolkit, cli, dashboard, flywheel, libero, robocasa, robotwin, robodojo, robolab, efe, franka, yam, docs, skills, etc.) — that becomes the scope.
  • Every user-visible change — new CLI flags, config keys, install extras, tool contracts, moved doc pages, or compatibility changes. Leave internal churn out of the summary.
  • Exact automated checks run — pre-commit run --all-files, pytest tests/unit_tests/... -v, python3 .agents/skills/docs/check.py. "Tested locally" is not an answer.
  • Manual verification — GPU, simulator, model-service, or real-robot runs with command and result, or Not needed when offline tests cover the change.
  • The issue it closes, if any (Fixes #123 or Refs #123).

Then run the check of every area the branch touches, and fix every critical or major finding or explain in the description why it stays:

python3 .agents/skills/route.py check

Record its result in ## Testing alongside the unit tests and pre-commit commands you ran.

2. Title

<type>(<scope>): <description>
  • type: feat, fix, docs, style, refactor, test, chore, perf, build, ci, revert (lowercase).
  • scope: lowercase [a-z0-9_-]+ naming the touched component. Optional; omit rather than using vague scopes like update or new.
  • description: ≤ 72 characters after : , starts with a lowercase ASCII letter a-z, imperative mood (add, fix, support, never added or fixed), no trailing period, plain ASCII only, and no trailing (#123) (GitHub appends the PR number on squash-merge).

Check just the title on its own:

python3 .agents/skills/create-pr/lint_pr.py lint --title "feat(planner): add custom adapter"

3. Body

Start from the template skeleton so all four headings from .github/PULL_REQUEST_TEMPLATE.md stay in order:

python3 .agents/skills/create-pr/lint_pr.py template > /tmp/pr-body.md

Fill in every section, keeping all four headings in order:

SectionWhat goes in it
## DescriptionBackground, motivation, linked issue (Fixes #NNN), and main user-visible changes (compatibility, migrations, new dependencies, runtime impact). ≤ 250 words, ≤ 12 bullets. Note if an AI assistant was used. Required.
## TestingExact automated commands run (route.py check, pre-commit, pytest, docs check) and their outcomes. Warns if missing or empty without --docs-only.
## Manual verificationGPU, simulator, model-service, or real-robot runs (environment, command, result), or Not needed when offline tests cover the change. Keep bounded integration evidence distinct from benchmark task success.
## ChecklistTick every applicable box from .github/PULL_REQUEST_TEMPLATE.md. Required.

Style rules enforced by lint_pr.py:

  • No uniform leading indentation on headings, prose, or table rows.
  • Delete <!-- ... --> template comments once filled.
  • Nothing above the first heading — put introductory text inside ## Description.
  • One line per paragraph so GitHub does not render artificial line breaks.
  • Balanced fenced code blocks (supports nested CommonMark backtick/tilde fences).

Follow docs/rules/english.md for prose quality: lead with what changed in behavior, avoid hype/hedging, and name files/symbols only where needed to locate the change.

4. Lint, then create

python3 .agents/skills/create-pr/lint_pr.py lint \
    --title "$TITLE" --body-file /tmp/pr-body.md

Pass --docs-only on documentation-only PRs to suppress the missing-testing warning, and --quiet to hide fix hints. Once it exits 0 and the user approves creating the PR:

gh pr create --base main --title "$TITLE" --body-file /tmp/pr-body.md

Commits must follow Conventional Commits.

5. Fixing an open PR

python3 .agents/skills/create-pr/lint_pr.py lint --pr 364

To mechanically strip paste-indentation, pull headings/tables flush left, drop leftover HTML template hints, and optionally unwrap hard-wrapped paragraphs:

python3 .agents/skills/create-pr/lint_pr.py fix --pr 364 --unwrap > /tmp/fixed.md \
    && python3 .agents/skills/create-pr/lint_pr.py lint --body-file /tmp/fixed.md

Read /tmp/fixed.md and confirm lint exits 0 before updating GitHub:

gh pr edit 364 --body-file /tmp/fixed.md

If the title also needs fixing, set TITLE="...", run lint with --title "$TITLE", and update it with gh pr edit 364 --title "$TITLE".

Gotchas

  • lint --pr N shells out to gh pr view and is strictly read-only; nothing changes on GitHub until you run gh pr create or gh pr edit.
  • The template skeleton intentionally fails its own lint until you tick at least one box under ## Checklist.
  • ### subheadings stay inside their parent ## section (for example ### Motivation inside ## Description), while renaming a top-level template heading triggers section-missing.
  • fix cannot repair an unclosed code fence. If body-fence fires, close the stray fence by hand.
  • Warnings do not fail the run (exit 0), but reviewers notice body-hardwrap, body-comments, section-order, and title-scope-vague.
  • Title description limit is 72 characters after : . Keep PR titles concise so they stay readable in GitHub and git log --oneline.

Troubleshooting

  • error: gh pr view N failed: ... could not resolve to a PullRequest — run from an RPent checkout or pass a valid RPent PR number.
  • [E] body/body-indented persists after fix — the body mixes multiple paste offsets; dedent manually.
  • [W] body/section-order — all template sections exist, but their order differs from .github/PULL_REQUEST_TEMPLATE.md.
  • Empty --title "" or empty --body-file — both fail with title-empty / body-empty; pass non-empty content for any flag you supply.

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.