Github Pr.Get Ready To Merge
БесплатноБез исполняемых скриптовНе проверенGet a PR to a state where it can be reviewed and merged
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Run the AI lint, the standard linter, the local tests, and GitHub CI for a PR, and fix anything that comes up, so the PR is ready to review and merge
Plan Only (--only_plan)
- With
--only_plan, follow.claude/skills/skill.rules.mdsection "Create Only a Plan with--only_plan" - Write the plan to
github_pr.get_ready_to_merge.<INPUT_REF>.md, then stop without executing the skill- Stop after "Create and Update a Plan"
Workflow
Resolve the Input
- Resolve the argument following
.claude/skills/github_pr.rules.md## Resolve the PR Argument - Get the code following
.claude/skills/github_pr.rules.md## Get the Local Code of the PR
Create and Update a Plan
<INPUT_REF>isPR<PR_NUM>, as in.claude/skills/skill.rules.md### Name the Output File- Create
github_pr.get_ready_to_merge.<INPUT_REF>.md, a bullet list of actions. Keep it updated:[.]in progress,[x]done,[F]failed - E.g.,
# Plan: get PR #... ready to merge - [ ] Resolve the input and get the code - [ ] Make sure PR is ready (not draft) - [ ] Run AI lint with --add_todos, commit TODOs - [ ] Resolve added TODO(ai_gp) items - [ ] Run standard linter, fix issues - [ ] Make Sure The Affected Local Tests Pass - [ ] Make local tests pass - [ ] Run and monitor GitHub CI - [ ] Report status on PR - [ ] Fix any CI failures
Run the AI Lint and Add TODOs
Run the AI linter on the branch. Make it leave
TODOs, not silently rewrite code:> linters2/cc_lint.py --branch --add_todosCommit the added
TODOs with pending changes (see "Never Commit Junk Files")
Resolve the Added TODOs
- For each file that
cc_lint.pyannotated, use/coding.todoai_gpto implement itsTODO(ai_gp)items - Commit the fixes (see "Never Commit Junk Files")
Run the Standard Linter
Run the standard linter on the branch:
> linters2/lint.py --branchCommit any resulting changes (see "Never Commit Junk Files")
Fix Pyright Issues
- Fix the pyright warnings and errors in the branch
> linters2/lint.py --clear_actions --action "pyright" --branch - Commit any resulting changes (see "Never Commit Junk Files")
Make Sure The Affected Local Tests Pass
- Run the tests affected by the change, using
to iterate, then check all builds with> pytest <TEST_NAMES>pytest_multi_build.py> pytest_multi_build.py --target <TEST_NAMES>
Make Sure Local Tests Pass
- Use
/github_pr.pass_local_teststo run and fix the local unit tests, even if it is a long task
Make Sure GitHub CI Passes
- Use
/github_pr.pass_ci_teststo run, monitor, and fix GitHub CI failures
Never Commit Junk Files
- Never run
git add -Aorgit add .to stage a fix. They sweep in untracked junk: logs,tmp.*scratch files, and test-run caches like.pkl/.json - Stage files explicitly by path, e.g.,
git add <file1> <file2> - Before committing, run
git status --shortand drop anything not part of the fix - If junk was already committed and pushed, amend the commit to contain only the
intended files, then force-push (
git push --force-with-lease). Do not leave the junk in history
Loop
- Repeat until no
cc_lint.pyTODOs remain, the standard linter is clean, and the local tests and GitHub CI checks all pass
Constraints
- Runs both locally on a dev computer and remotely on cloud (e.g., on GitHub or Anthropic infrastructure)
Verification
-
--only_plan(check only this item): the plan is ingithub_pr.get_ready_to_merge.<INPUT_REF>.mdin the current dir, has theGenerated byline, and nothing was executed - The output file is
github_pr.get_ready_to_merge.<INPUT_REF>.mdin the current dir -
linters2/cc_lint.py --branch --add_todosadds no newTODOs - No unresolved
TODO(ai_gp)items remain in the branch's modified files -
linters2/lint.py --branchreports no issues - Local unit tests pass (per
/github_pr.pass_local_tests) -
gh pr checks --watch <PR_NUM>reports all checks successful (per/github_pr.pass_ci_tests) - A PR comment reports the final CI status
-
git status --shortshows only the intended files staged before commit
Установить Github Pr.Get Ready To Merge в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Github Pr.Get Ready To Merge?
Get a PR to a state where it can be reviewed and merged
Как установить скилл Github Pr.Get Ready To Merge?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Github Pr.Get Ready To Merge запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic