agentleFS
adamwardeckiadamwardecki/job-tracker-mcp/.claude/skills/create-pr/SKILL.md

create-pr

Skill7 starsChanged 8 days agoMITView on GitHub

Create a GitHub PR from current changes using gh CLI. Use this when the user says "create a PR", "open a pull request", "make a PR", "hand over the work", or wants to submit their branch for review. Also use as the final handover step after completing any coding task in this repo.

  • Deletes or force-pushes
  • Commits and pushes

197 other projects use a version of this.

Adopted by

Most recently taken up by

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 · 0

    None found.

    Wrote their own version · 197

    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

    187 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 repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 3 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 182 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 7

    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:

    Goal: the PR's GitHub checks are a formality: Before opening the PR, run the same checks CI will run, locally, and fix what fails.

    line 8
  2. Very specific:

    Never npm install or npm ci in the repo root.

    line 21
  3. Very specific:

    Every failure is yours to fix before opening the PR: Do not skip a failing test, do not use --no-verify, do not open the PR "to see if it …

    line 23
  4. Very specific:

    Look at git diff --stat origin/main...

    line 27
  5. Very specific:

    Gates: If the diff touches send, submit, consent, personal-data or delete gates, or a matcher in plugin/hooks/hooks.json, stop and confirm …

    line 39
  6. Very specific:

    Run git config user.email.

    line 47
  7. Distinctive:

    If the current branch is main, create a new branch first.

    line 48
  8. Very specific:

    Commit subjects are plain imperative sentences in sentence case, no conventional-commit prefix (Show the plugin as "Job Hunt" in listings).

    line 49
  9. Distinctive:

    No personal data in the title or body.

    line 67
  10. Very specific:

    If the branch falls behind main or conflicts, rebase onto origin/main and git push --force-with-lease.

    line 77

“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 PR — with local CI preflight

Goal: the PR's GitHub checks are a formality. Before opening the PR, run the same checks CI will run, locally, and fix what fails. Never open a PR you expect to go red.

main requires five checks from .github/workflows/ci.yml: lint and test on Ubuntu and macOS with Node 22.18 and 24.x. That workflow is the source of truth; if it changes, update this skill in the same PR.

Step 1 — Run the preflight

npm run setup                              # only if dev/node_modules is missing or dev/package-lock.json changed
npm test                                   # tsc typecheck + Node tests + Python Hermes tests (the `test` jobs)
npm --prefix dev exec --no -- biome ci .   # exactly what the `lint` job runs; stricter than `npm run lint`
git diff --check origin/main...            # whitespace errors

Never npm install or npm ci in the repo root. Why: a root lockfile makes Claude Code install its packages for every user, and a test fails if one appears.

Every failure is yours to fix before opening the PR. Do not skip a failing test, do not use --no-verify, do not open the PR "to see if it fails on CI too".

Step 2 — Checks that depend on what changed

Look at git diff --stat origin/main... (plus uncommitted work) and run whatever applies:

  • Tool name, description or schema (plugin/servers/tracker/src/tools.ts): tests/tracker/fixtures/tools-list.json and docs/tracker-api.md are updated in the same PR. Why: clients cache tools/list.
  • Plugin manifest, skills, commands, agents or hooks: claude plugin validate --strict ./plugin and claude plugin validate --strict . (the marketplace) pass.
  • Hooks or skill wiring: the matching change is in plugin/hooks/hermes.ts / plugin/__init__.py, with a test on both sides (Hermes parity).
  • Schema (db.ts): a new function appended to MIGRATIONS, no shipped migration edited, and a test in db.test.ts that migrates an older database.
  • Version bump: package.json, plugin/package.json, plugin/plugin.yaml, plugin/.claude-plugin/plugin.json, SERVER_INFO.version in mcp.ts and plugin/servers/tracker/package.json all match.
  • Wording in skills, commands or agents: tests/runtime-docs.test.ts asserts exact sentences; npm test covers it, but read the failure before rewording the test.
  • Node APIs: CI runs Node 22.18, the floor. If your local Node is newer (node --version) and the change uses a Node API, check it exists in 22.18.

Suites that skip locally. The triage guard tests need Google Chrome and skip without it, but CI runs them. If the change touches plugin/skills/triage-tracker/ and Chrome is missing here, say so in the PR description and watch those jobs closely.

Gates. If the diff touches send, submit, consent, personal-data or delete gates, or a matcher in plugin/hooks/hooks.json, stop and confirm with the user before opening the PR (AGENTS.md: ask first).

Personal data. The repo is public. Scan the diff for real CVs, company names from the user's own search, recruiter mail, .db files or secrets. Fixtures use made-up companies and people.

Step 3 — Commit, push, open the PR

Using GitHub CLI only.

  1. Run git config user.email. It must be a GitHub noreply address (1017097+adamwardecki@users.noreply.github.com for the maintainer). If not, stop and ask. Never pass --author, -c user.email or GIT_AUTHOR_EMAIL.
  2. If the current branch is main, create a new branch first; otherwise commit to the current branch.
  3. Commit subjects are plain imperative sentences in sentence case, no conventional-commit prefix (Show the plugin as "Job Hunt" in listings). Match git log --oneline.
  4. Push, then:
gh pr create --base main --title "..." --body-file <file>

Open it ready for review, never as a draft (no --draft). If something must be resolved before merging, call it out in bold in the body instead.

Title. The repo squash-merges, so the PR title becomes the commit subject on main (<title> (#N)). Write it the same way as a commit subject.

Body. Friendly, readable, concise: everything a reviewer needs to evaluate the PR, in the style of recent PRs (gh pr view <n>):

  • One short paragraph: what changes and why.
  • Bullets for the individual changes when there is more than one.
  • A Validation section listing each check that ran with its result (for npm test, the typecheck plus Node pass/skip counts and Python counts), plus anything skipped and why.
  • Anything the reviewer must decide or resolve, called out in bold.

No personal data in the title or body.

Step 4 — Watch CI

gh pr checks <number> --watch

Stay engaged until every required check is green. If something goes red that the preflight missed, fix it, push, and add the missing check to Step 2 of this skill so the preflight catches it next time.

If the branch falls behind main or conflicts, rebase onto origin/main and git push --force-with-lease; do not merge main into the branch. Do not merge the PR unless the user asks.

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.