← ClaudeAtlas

ci-watchlisted

Pre-push verification and automated GitHub Actions CI monitoring with auto-remediation loop. Use before pushing code to GitHub and after pushing to monitor CI until all checks pass.
vijaysai1102/PingBack · ★ 2 · DevOps & Infrastructure · score 70
Install: claude install-skill vijaysai1102/PingBack
# CI Watch & Auto-Remediation Skill ## Overview Ensure that code is fully validated locally before pushing, and monitor remote GitHub Actions CI runs post-push. If any CI job fails on GitHub, automatically fetch logs, diagnose the failure, fix the code, re-verify locally, and re-push in a continuous loop until all CI checks pass. --- ## Phase 1: Pre-Push Local Verification Before executing `git push`, **always** run the full local quality and test suite to catch errors early. ### Local Check Commands (PingBack) ```powershell # 1. Formatting check npm run format:check # 2. Linting npm run lint # 3. Type checking npm run typecheck # 4. Build (generates required assets like sound files) npm run build # 5. Unit & Integration Tests npm test ``` - **If any local check fails**: Do **NOT** push. Fix the errors locally and re-run all checks until pristine. --- ## Phase 2: Push & Trigger CI Watch Once local checks pass cleanly: 1. Push your commit to GitHub: ```powershell git push ``` 2. Get the current commit SHA: ```powershell $commitSha = (git rev-parse HEAD).Trim() ``` 3. Locate the GitHub Actions workflow run for this commit using the GitHub CLI (`gh`): ```powershell gh run list --commit $commitSha --limit 1 ``` --- ## Phase 3: Post-Push GitHub CI Monitoring Monitor the remote CI workflow until completion using GitHub CLI. ### Polling / Watching the CI Run Watch the active run: ```powershell gh run watch <run-id> ``` Or check run s