Pytest.Fix Ci Tests
БесплатноБез исполняемых скриптовНе проверенAnalyze and fix failure of tests in GitHub CI
от gpsaggese★ 158 звёзд на GitHubОб этом скилле
Goal
- Given a run of the GitHub CI, analyze the failures and fix the failing tests
<RUN>: the GitHub CI run to analyze, optional- If missing, use the latest failed runs of the current branch
Plan Only (--only_plan)
- With
--only_plan, follow.claude/skills/skill.rules.mdsection "Create Only a Plan with--only_plan" - Write the plan to
pytest.fix_ci_tests.<INPUT_REF>.md, then stop without executing the skill
Workflow
- Read
.claude/skills/pytest.rules.md
Parse Logs From CI
Parse the output of
invoke gh_workflow_list, which lists the failing testsThe CI log of the failing tests is in a file
<CI_LOG>, e.g.:# Log is in 'tmp.failure.check_if_the_linter_was_run.gp_scratch_19.txt'The list of failing tests
<FAILING_TESTS>is in a file<REPRO_SCRIPT>, e.g.:... # To run the tests: ... > ./tmp.pytest_repro.fast_tests.sh
Check Whether the Failure Reproduces Locally
- Parse
<CI_LOG> - Run
<REPRO_SCRIPT>locally to check whether<FAILING_TESTS>fail there too- For tests that run Docker or Apple containers, run them with each container
build, per
## Analyze the Effect of Container Buildsin.claude/skills/pytest.rules.md
- For tests that run Docker or Apple containers, run them with each container
build, per
- Note any CI vs. local difference: env vars, secrets, container build, or
flakiness.
/pytest.fix_local_testscannot see this CI-specific context, so capture it here
Diagnose and Fix
- Run
/pytest.fix_local_testswith<REPRO_SCRIPT>as<FAILURE_INFO>to diagnose the root cause and fix the failing tests- If a failure reproduces only on CI, diagnose the CI-specific cause directly (env, secrets, container build, flakiness) and fix it
<INPUT_REF>is<RUN>, or the current branch name without<RUN>, as in.claude/skills/skill.rules.md### Name the Output File- In
pytest.fix_ci_tests.<INPUT_REF>.mdin the current dir, report a table of which tests pass on CI and locally, and why they fail on CI and locally - Verify the fixes per
# Verification of the Fixin.claude/skills/pytest.rules.md
Ask the User to Commit
- Ask the user to review and commit the changes
- Wait for CI to pick up the changes and run the tests, then repeat the workflow
Verification
-
--only_plan(check only this item): the plan is inpytest.fix_ci_tests.<INPUT_REF>.mdin the current dir, has theGenerated byline, and nothing was executed - The output file is
pytest.fix_ci_tests.<INPUT_REF>.mdin the current dir -
pytest.fix_ci_tests.<INPUT_REF>.mdlists a fix for every failing test - Every fix follows
# Verification of the Fixin.claude/skills/pytest.rules.md - The failing tests pass on both CI and locally after the fix
Установить Pytest.Fix Ci Tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Pytest.Fix Ci Tests?
Analyze and fix failure of tests in GitHub CI
Как установить скилл Pytest.Fix Ci Tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pytest.Fix Ci Tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub