agentleFS
ShipfoxHQShipfoxHQ/shipfox/.agents/skills/pr/SKILL.md

pr

Skill87 starsChanged 12 days agoMITView on GitHub

ALWAYS use this skill when creating pull requests. Applies Shipfox agent sequencing for GitHub CLI review preparation and pull-request creation. Trigger on create PR, open PR, submit PR, make PR, push and create PR, or prepare changes for review.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    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. Distinctive:

    Create a pull request after applying the shared contributor rules and the agent workflow below.

    line 9
  2. Distinctive:

    Before opening a pull request, read the contributor review standard.

    line 12
  3. Distinctive:

    When the change may affect a published package, read the Changesets and publishing workflow.

    line 17
  4. Distinctive:

    Check git status --porcelain.

    line 23
  5. Distinctive:

    Use the contributor standard to prepare the title, description, and Linear reference.

    line 32
  6. Very specific:

    Use Closes ENG-123 when the task implements that issue and no requested work remains.

    line 35
  7. Very specific:

    Use Refs ENG-123, Part of ENG-123, or Related to ENG-123 only when the issue is an umbrella item, the pull request is an explicit partial …

    line 37
  8. Distinctive:

    Ask only when the issue and diff contain conflicting evidence that cannot be resolved by inspection.

    line 43
  9. Very specific:

    Before submission, inspect the final body.

    line 57
  10. Very specific:

    Use gh api to update an existing pull request:

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Pull Request

Create a pull request after applying the shared contributor rules and the agent workflow below.

Before opening a pull request, read the contributor review standard. It owns shared pull-request scope, title, description, and Linear-reference rules for humans and agents.

When the change may affect a published package, read the Changesets and publishing workflow. It owns when a Changeset is required and how releases are published.

Process

  1. Check git status --porcelain. If intended changes are uncommitted, use the repository commit workflow. Ask before committing only when the intended scope is unclear.
  2. Inspect git status, git log origin/main..HEAD --oneline, and git diff origin/main...HEAD. Confirm the branch is not main and contains only the intended review scope.
  3. Apply the shared Changeset rule. If one is required and absent, invoke the generate-changeset skill or use pnpm exec changeset interactively, then commit it before opening the pull request.
  4. Use the contributor standard to prepare the title, description, and Linear reference. Inspect the source issue and compare its requested scope with the branch diff before choosing the keyword:
    • Use Closes ENG-123 when the task implements that issue and no requested work remains. This is the default when the branch covers the full scope.
    • Use Refs ENG-123, Part of ENG-123, or Related to ENG-123 only when the issue is an umbrella item, the pull request is an explicit partial step, or a named requirement remains for another pull request. State the remaining work in the description.
    • Optional follow-up improvements do not make the work partial. Neither do a draft pull request, a narrow implementation, or a Refs commit footer. Ask only when the issue and diff contain conflicting evidence that cannot be resolved by inspection.
  5. Push the branch when needed with git push -u origin HEAD, then create the pull request:
gh pr create --base main --title "<title>" --body "$(cat <<'EOF'
<description body here>
EOF
)"

Pass --draft when the user request, task context, or arguments require it.

Before submission, inspect the final body. A pull request that completes a Linear issue must contain a closing line such as Closes ENG-123. This lets the Linear integration apply its merge automation.

Edit an existing pull request

Use gh api to update an existing pull request:

gh api -X PATCH repos/{owner}/{repo}/pulls/PR_NUMBER \
  -f title='New title' \
  -f body='New description'

Report the pull-request URL, branch, included commits, validation status, and any follow-up work.

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.