Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Github Pr.Pass Ci Tests

БесплатноБез исполняемых скриптовНе проверен

Monitor GitHub CI checks for a PR and fix any failures until they pass

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Goal

  • Monitor GitHub CI checks for a PR, fix any failures, and report status on the PR

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to github_pr.pass_ci_tests.<INPUT_REF>.md, then stop without executing the skill

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

Make Sure the PR Is Ready

  • Run

    > gh pr view <PR_NUM>
    
  • If the PR is a draft and not ready, it looks like this

    > gh pr view <PR_NUM>
    gp_5 causify-ai/helpers#1353
    Draft • gpsaggese (GP Saggese) wants to merge 2 commits into master from gp_5 • about 10 minutes ago
    +1499 -240 • ✓ Checks passing
    

    run

    > gh pr ready <PR_NUM>
    

Make Sure Local Tests Pass

  • Use /github_pr.pass_local_tests to run and fix the local unit tests for the branch

Run and Monitor GitHub CI

  • Start monitoring GitHub CI checks:

    > gh pr checks --watch <PR_NUM>
    All checks were successful
    0 cancelled, 0 failing, 5 successful, 2 skipped, and 0 pending checks
    
       NAME                                                  DESCRIPTION  ELAPSED  URL
    ✓  CodeQL/Analyze (actions) (dynamic)                                 37s      https://github.com/causify-ai/helpers/actions/runs/34052614245/job/101538799648
    ✓  CodeQL                                                             3s       https://github.com/causify-ai/helpers/runs/101538870379
    ✓  Gitleaks Scan/Run gitleaks (pull_request)                          11s      https://github.com/causify-ai/helpers/actions/runs/34052615814/job/101538802083
    ✓  Claude Code Review/claude-review (pull_request)                    56s      https://github.com/causify-ai/helpers/actions/runs/34052615817/job/101538802077
    -  Fast tests/run_fast_tests / run_tests (pull_request)                        https://github.com/causify-ai/helpers/actions/runs/34052615896/job/101538803046
    -  Slow tests/run_slow_tests / run_tests (pull_request)                        https://github.com/causify-ai/helpers/actions/runs/34052615907/job/101538803253
    ✓  CodeQL/Analyze (python) (dynamic)                                  1m0s     https://github.com/causify-ai/helpers/actions/runs/34052614245/job/101538799529
    
  • Monitor for any failures, and make sure all checks run and complete successfully

Report Status on the PR

  • If GitHub CI is passing:
    > gh pr comment <PR_NUM> --body "GitHub CI checks passing"
    
  • If there are failures, document them and post:
    > gh pr comment <PR_NUM> --body "GitHub CI failures found: [error summary]. Investigating..."
    

Fix the Failures

  • If failures were found, use /pytest.fix_ci_tests to analyze and fix them
  • Commit and push the fix, then repeat "Run and Monitor GitHub CI" until it is green

Loop

  • Repeat until all GitHub CI checks pass

Constraints

  • This skill runs both locally on a dev computer and remotely on cloud (e.g., GitHub or Anthropic infrastructure)

Verification

  • --only_plan (check only this item): the plan is in github_pr.pass_ci_tests.<INPUT_REF>.md in the current dir, has the Generated by line, and nothing was executed
  • gh pr checks --watch <PR_NUM> reports all checks successful
  • A PR comment reports the final CI status
Полный SKILL.md на GitHub

Установить Github Pr.Pass Ci Tests в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Github Pr.Pass Ci Tests?

Monitor GitHub CI checks for a PR and fix any failures until they pass

Как установить скилл Github Pr.Pass Ci Tests?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Github Pr.Pass Ci Tests запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Github Pr.Pass Ci Tests с