This skill should be used when preparing a /landpr prompt/checklist to land a PR.
59
74%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/00-utilities/landpr/SKILL.mdInput
<pr-number>Do (end-to-end)
Goal: PR ends in GitHub state MERGED (never CLOSED). Use gh pr merge with --rebase or --squash.
git status.gh pr view <pr-number> --json number,title,author,headRefName,baseRefName --jq '{number,title,author:.author.login,head:.headRefName,base:.baseRefName}'contrib=$(gh pr view <pr-number> --json author --jq .author.login)head=$(gh pr view <pr-number> --json headRefName --jq .headRefName)git checkout maingit pull --ff-onlymain:
git checkout -b temp/landpr-<pr-number>gh pr checkout <pr-number>git rebase temp/landpr-<pr-number>CHANGELOG.md and mention #<pr-number> + @$contribpnpm lint && pnpm build && pnpm testcommitter (include #<pr-number> + contributor in commit message):committer "fix: <summary> (#<pr-number>) (thanks @$contrib)" CHANGELOG.md <changed files>land_sha=$(git rev-parse HEAD)git push --force-with-leasegh pr merge <pr-number> --rebasegh pr merge <pr-number> --squashgh pr closemain + push:git checkout maingit pull --ff-onlygit pushmerge_sha=$(gh pr view <pr-number> --json mergeCommit --jq '.mergeCommit.oid')gh pr comment <pr-number> --body "Landed via temp rebase onto main.\n\n- Gate: pnpm lint && pnpm build && pnpm test\n- Land commit: $land_sha\n- Merge commit: $merge_sha\n\nThanks @$contrib!"MERGED:gh pr view <pr-number> --json state,mergedAt --jq '.state + \" @ \" + .mergedAt'git branch -D temp/landpr-<pr-number>marchatton/agent-skills
a0eadb2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.