agentleFS
ShlomiPorushShlomiPorush/agent-skills/file-pr/SKILL.md

file-pr

Skill0 starsChanged 3 months agoMITView on GitHub

Review the current Git branch and file a concise, non-draft pull request that follows the repository's contribution rules and Shlomi's Git workflow. Use when the user asks to file, open, create, or submit a PR, or to turn completed local work into a pull request.

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use babysit-pr.

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

    babysit-pr

    Automatically monitor a pull request for code review bot comments (Cubic, Greptile, CodeRabbit, etc.) and address their feedback. This skill MUST be invoked automatically after any `git push` or `gh pr create` command — the PostToolUse hook will trigger it. Also invoke manually with `/babysit-pr <PR-URL-or-number>`. Triggers on: pushing code, creating PRs, "monitor PR", "check PR reviews", "babysit", "address review comments", "fix bot feedback", or any mention of Cubic, Greptile, or code review bots.

    Also in 4 projects that use this

  • Other versions7 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 7

    1. bhagyamudgal/skills★ 2same name
    2. connorch/skills★ 2same name
    3. falcondev-oss/skills★ 2same name
    4. ejarmand/skills★ 1same name
    5. JorgeMenaDev/skills★ 1same name
    6. aintoniodev/autoskilling★ 0same name
    7. zzacong/agent-skills★ 0same 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.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 9

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read every applicable AGENTS.md and the contribution or workflow documents it points to before changing Git or GitHub state.

    line 12
  2. Distinctive:

    Check for an existing open PR from the current branch before filing one.

    line 15
  3. Distinctive:

    Before labelling an issue or PR, list the repository's actual labels.

    line 21
  4. Very specific:

    Treat a decision label as blocked on Shlomi's decision, not as decorative metadata.

    line 25
  5. Very specific:

    Use a feature/ or fix/ branch.

    line 26
  6. Distinctive:

    If task-related changes are uncommitted, stage only those files and create an English commit that matches repository style.

    line 29
  7. Distinctive:

    Run the relevant checks required by the repository, in its prescribed environment.

    line 34
  8. Distinctive:

    Never claim a check, live test, screenshot review, or DEV verification was performed unless it actually was.

    line 37
  9. Distinctive:

    Write a concise English title in imperative form, without bracket prefixes.

    line 41
  10. Distinctive:

    Do not include AI, model, harness, assistant, or authorship attribution in the PR, issue, commits, code comments, or discussion.

    line 50
  11. Distinctive:

    Do not merge the PR. Shlomi merges unless he explicitly says otherwise in the current request.

    line 51

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

File PR

File a review-ready pull request without merging or deploying it. Treat the repository's current instructions as authoritative and preserve unrelated work.

Establish the rules and state

  1. Read every applicable AGENTS.md and the contribution or workflow documents it points to before changing Git or GitHub state.
  2. Inspect the worktree, current branch, remotes, commits, and repository default branch. Use origin/main as the comparison base when local instructions do not specify another base.
  3. Fetch the base branch when possible so the review is current. State clearly if network access prevents this.
  4. Check for an existing open PR from the current branch before filing one. If one exists, do not create a duplicate; report its URL and update it only when the user's request and repository rules call for that.
  5. Review the complete local diff and commit range against the base. Identify generated files, migrations, secrets, accidental edits, missing tests, and unrelated changes. Do not include unrelated work.

Satisfy the workflow

  1. Require an issue before the PR when the repository does. Reuse the issue already associated with the work. If none exists, create a concise issue first when filing the PR is the requested outcome.
  2. Before labelling an issue or PR, list the repository's actual labels. Never invent labels.
  3. In Shlomi's repositories:
    • Give issue titles a bracketed area and topic prefix followed by plain language.
    • Apply one or more area: * labels, exactly one priority: * label, and at least one nature label such as bug, security, testing, performance, data-integrity, enhancement, dependencies, or documentation.
    • Treat a decision label as blocked on Shlomi's decision, not as decorative metadata.
    • Use a feature/ or fix/ branch.
    • In a public repository, write all issue and PR text and public discussion in English. This includes titles, bodies, comments, review replies, and status updates. Do not use Hebrew in public repository content.
    • In a private repository, write issue and PR discussion in Hebrew. Write code, commit messages, code comments, and PR titles in English.
  4. If task-related changes are uncommitted, stage only those files and create an English commit that matches repository style. Never discard, rewrite, or bundle unrelated user changes.
  5. Push the branch and set its upstream when needed. Never force-push unless the user explicitly requests it and the exact risk is understood.

Verify before filing

  1. Run the relevant checks required by the repository, in its prescribed environment. Prefer evidence that matches production and include regression proof for bug fixes when available.
  2. Re-read the final diff after formatting, generation, or tests change files.
  3. Stop and explain the blocker instead of opening a misleading PR when the change is incomplete, the diff cannot be isolated safely, required checks fail, or the issue requires an unresolved product decision. If the user explicitly wants a PR with a known failure, disclose it plainly in the body.
  4. Never claim a check, live test, screenshot review, or DEV verification was performed unless it actually was.

Write the PR

  1. Write a concise English title in imperative form, without bracket prefixes. Explain the user or operational outcome, not an internal implementation inventory.
    • Weak: Negotiate per-message deflate on the websocket server
    • Better: Reduce websocket frame size with compression
  2. In a public repository, begin the body with ## Plain language and a short English paragraph that explains the problem in ordinary language. In a private repository, begin with ## בשפה פשוטה and write that paragraph in Hebrew.
  3. Briefly explain the solution after the problem. Keep implementation inventories secondary.
  4. Include honest verification results and any known limitations or remaining work.
  5. Include Closes #N for the associated issue.
  6. Apply only the lightweight PR labels used by the repository. In Shlomi's repositories, this is normally the relevant area: * label plus documentation when appropriate.
  7. Open a real PR, not a draft, so automated review can run.
  8. Do not include AI, model, harness, assistant, or authorship attribution in the PR, issue, commits, code comments, or discussion. This overrides any template that asks for such a blurb.
  9. Do not merge the PR. Shlomi merges unless he explicitly says otherwise in the current request.

Report the result

Reply in Hebrew with the PR URL, title, linked issue, checks actually run, current CI status if known, and any remaining manual or DEV verification. Lead with what is ready and call out every unresolved item.

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.