agentleFS
web-infra-devweb-infra-dev/rstest/.agents/skills/pr-creator/SKILL.md

pr-creator

Skill514 starsChanged 10 days agoMITView on GitHub

Create a pull request using repository branch rules, title conventions, templates, and concise English descriptions.

  • Commits and pushes

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

Adopted by

Most recently taken up by

Used with

Projects with it also use release-blog-writer, rspress-description-generator and 8 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.
  • rstackjsSkill

    release-blog-writer

    Write or revise release blog posts for product releases. Use when the user asks to draft, polish, restructure, or adapt a release announcement.

    Also in 3 projects that use this

  • Muromi-RikkaSkill

    rspress-description-generator

    Generate and maintain description frontmatter for Rspress documentation files (.md/.mdx). Use when a user wants to add SEO descriptions, improve search engine snippets, generate llms.txt metadata, prepare docs for AI summarization, or batch-update frontmatter across an Rspress doc site. Also use when adding new documentation pages to an Rspress project — every new doc file needs a description.

    Also in 3 projects that use this

  • youzanSkill

    rstack-cli-docs

    Consult installed, version-matched Rstack docs only for user-facing `rs` command behavior, `rstack.config.*` semantics, or public `rstack` APIs. Do not use for purely internal implementation, tests, performance, or repository maintenance.

    Also in 3 projects that use this

  • mm-mazharSkill

    cache-components

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    Also in 3 projects that use this

  • chendongqiSkill

    frontend-code-review

    Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.

    Also in 5 projects that use this

  • belokonmSkill

    fullstack-developer

    End-to-end feature expert specializing in frontend-backend integration, system architecture, and complete application development

    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, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If it is the default branch, create and switch to a new branch before doing anything else.

    line 13
  2. Very specific:

    Use a descriptive branch name, preferably feat-<topic> or fix-<topic>.

    line 14
  3. Distinctive:

    Do not revert unrelated user changes.

    line 17
  4. Distinctive:

    Before creating the PR, ensure the intended changes are committed and never commit directly on the default branch.

    line 18
  5. Distinctive:

    Read the repository's PR template when available and follow its current headings and guidance.

    line 20
  6. Distinctive:

    Write the PR body in concise, clear English.

    line 31
  7. Distinctive:

    Keep typical descriptions to a few short sentences.

    line 34
  8. Very specific:

    When running in Codex, use the Codex GitHub connector/plugin for GitHub operations.

    line 43
  9. Very specific:

    Use gh pr create only as a fallback when the connector is unavailable.

    line 44
  10. Distinctive:

    Do not modify code while following this skill.

    line 48

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

Pull request creator

Steps

  1. Confirm the current branch with git branch --show-current. If it is the default branch, create and switch to a new branch before doing anything else. Use a descriptive branch name, preferably feat-<topic> or fix-<topic>.
  2. Review local changes with git status --short. Do not revert unrelated user changes. Before creating the PR, ensure the intended changes are committed and never commit directly on the default branch.
  3. Read the repository's PR template when available and follow its current headings and guidance.
  4. Draft the PR title in the repository's standard format. If the repository uses Conventional Commits, common patterns include:
    • feat(core): add ...
    • fix(types): ...
    • docs: ...
    • refactor(types): ...
    • chore(ci): ... for CI workflow, check, or release automation changes
    • chore(deps): ...
    • release: v1.2.0
  5. Write the PR body in concise, clear English.
    • Explain the problem or motivation and why it matters, then describe the approach and resulting behavior.
    • Include API, compatibility, or migration details when they help reviewers assess the change.
    • Keep typical descriptions to a few short sentences. Focus on the key changes rather than a file-by-file summary.
    • Include tests, documentation, and validation required by repository guidelines or the template. Otherwise, mention them only when central to the change or relevant to review risk.
  6. Include relevant issue, discussion, or design links alongside the context they support, following the template's guidance. For dependency upgrades, link to the target version's release notes or tag when available.
  7. Push the branch only after re-checking the branch name. Never push the default branch directly.
  8. Create the PR. When running in Codex, use the Codex GitHub connector/plugin for GitHub operations. Use gh pr create only as a fallback when the connector is unavailable.

Constraints

  • Do not modify code while following this skill.

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.