← ClaudeAtlas

ci-workflowlisted

Push accountability, CI monitoring after push, background agent CI verification, verification command sequencing.
juan294/cc-rpi · ★ 5 · AI & Automation · score 77
Install: claude install-skill juan294/cc-rpi
# CI Workflow ## Push Accountability Use the branch that is currently under CI verification. In a `develop/main` topology this is often `develop`. In a `main-only` repo it is usually the temporary branch or PR branch being validated before merge. Wrong -- push and move on: ```bash git push origin <branch-under-test> # Start next task immediately, never check CI ``` Right -- spawn background agent to monitor CI: ```bash git push origin <branch-under-test> # Background agent: gh run list --branch <branch-under-test> --limit 1 # If CI fails: investigate with gh run view <id> --log-failed # Fix and re-push. The push isn't done until CI is green. ``` ## Buffer Output from execSync/spawnSync Wrong -- `.trim()` fails because these return a Buffer by default: ```js const sha = execSync('git rev-parse HEAD').trim(); // TypeError ``` Right -- pass encoding explicitly: ```js const sha = execSync('git rev-parse HEAD', { encoding: 'utf-8' }).trim(); ``` ## Running ESM CLI Tools Wrong -- `node <file>` on a shebang + ESM script throws SyntaxError: ```bash node ./bin/cli.js ``` Right -- run it as an executable, or use npx: ```bash chmod +x ./bin/cli.js && ./bin/cli.js npx . ``` ## Missing Dependencies Wrong -- run commands in a worktree, fresh clone, or CI with no node_modules: ```bash pnpm run build # Cannot find module ... ``` Right -- install first: ```bash pnpm install && pnpm run build ``` ## Scaffolding Requires an Empty Directory Wrong -- add config files befo