Check if fix affects other jobs in the same workflow
Check if fix affects the OTHER workflow file (install-verify ↔ privacy-scan)
Any new config files needed? (.gitleaks.toml, .npmrc, etc.)
PLAN template
1. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]
2. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]
3. Create [CONFIG_FILE] if needed
4. Local verify: [VERIFY_COMMANDS]
5. Commit with conventional format: fix(ci): [DESCRIPTION]
6. Push
7. Check CI status: gh run watch
VERIFY phase checklist
Run CI locally if possible
Push and watch: gh run watch
ALL jobs must pass — if any fail, go back to RESEARCH
Check both main AND codex-adapter branches
Confirm no regression in previously-passing jobs
Anti-patterns
Fixing only the first error found → audit ALL failures
Assuming a fix works without checking CI → always verify
Forgetting to check the OTHER workflow file → cross-check both
Using force push for workflow fixes → use normal push, let CI validate
1---2name: workflow-fix-template3description: workflow-fix-template4---56# workflow-fix-template78## RESEARCH phase checklist9101. List ALL workflow files: `ls .github/workflows/`112. Check CI run logs (gh CLI or web UI): `gh run list --limit 5; gh run view <id> --log`123. Identify EVERY failing job — do not stop at the first one134. For each failure: read the log output, identify root cause145. Common failure patterns:15 - Gitleaks false positives → needs .gitleaks.toml16 - npm ERR_OSSL_EVP_UNSUPPORTED → needs NODE_OPTIONS=--openssl-legacy-provider17 - Missing binary → check bin field in package.json18 - Permission denied → check chmod +x, workflow scope19 - Raw URL 404 → check file paths in raw-url job2021## DESIGN phase checklist22231. For each failure: design minimal fix242. Check if fix affects other jobs in the same workflow253. Check if fix affects the OTHER workflow file (install-verify ↔ privacy-scan)264. Any new config files needed? (.gitleaks.toml, .npmrc, etc.)2728## PLAN template2930```311. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]322. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]333. Create [CONFIG_FILE] if needed344. Local verify: [VERIFY_COMMANDS]355. Commit with conventional format: fix(ci): [DESCRIPTION]366. Push377. Check CI status: gh run watch38```3940## VERIFY phase checklist41421. Run CI locally if possible432. Push and watch: `gh run watch`443. ALL jobs must pass — if any fail, go back to RESEARCH454. Check both main AND codex-adapter branches465. Confirm no regression in previously-passing jobs4748## Anti-patterns4950- Fixing only the first error found → audit ALL failures51- Assuming a fix works without checking CI → always verify52- Forgetting to check the OTHER workflow file → cross-check both53- Using force push for workflow fixes → use normal push, let CI validate
Run npx skillmds@latest add jajupmochi/workflow-fix-template in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
workflow-fix-template It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
jajupmochi (@jajupmochi) published this skill. Their other Agent Skills are listed on their SkillMD profile.