Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(skill): wait for codecov/patch in CI monitoring (#1470)

worktrunk-bot584913931edc
diff --git a/.claude/skills/running-in-ci/SKILL.md b/.claude/skills/running-in-ci/SKILL.md
index c82882e95..4d78f2409 100644
--- a/.claude/skills/running-in-ci/SKILL.md
+++ b/.claude/skills/running-in-ci/SKILL.md
@@ -77,14 +77,20 @@ After pushing changes to a PR branch, you **must** wait for CI before saying
1. Push your changes
2. Run `gh pr checks <number> --required` once
-3. If all required checks passed, report completion
-4. If checks are still running, poll with `gh pr checks <number> --required`
+3. If checks are still running, poll with `gh pr checks <number> --required`
every 60 seconds until all required checks complete (this may take up to
10 minutes). Non-required checks (e.g., benchmarks) are ignored — do not
wait for them.
-5. If a required check fails, diagnose with `gh run view <run-id> --log-failed`,
+4. If a required check fails, diagnose with `gh run view <run-id> --log-failed`,
fix issues, commit, push, and repeat from step 2
-6. Only after all required checks pass, report completion
+5. After all required checks pass, also check `codecov/patch`. Although it is
+ marked non-required in GitHub, this repo treats it as mandatory (see
+ CLAUDE.md). Run `gh pr checks <number>` (without `--required`) and look for
+ the `codecov/patch` row. If it hasn't completed yet, continue polling every
+ 60 seconds. If it fails, investigate and fix the coverage gap before
+ reporting completion.
+6. Only after all required checks **and** `codecov/patch` pass, report
+ completion
**Never** post a "done" or "fixed" comment before CI passes. Local tests alone
are not sufficient — CI runs on Linux, Windows, and macOS. If you report