From imersao
Diagnose and fix a failing CI / GitHub Actions run. Use when a pipeline or build breaks. Triggers on: ci quebrou, ci falhou, conserta o ci, arruma o ci, build quebrou, o actions ta vermelho, pipeline failing, workflow failed, fix ci.
How this skill is triggered — by the user, by Claude, or both
Slash command
/imersao:ci-fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Diagnose and fix CI failures from the latest workflow run.
Diagnose and fix CI failures from the latest workflow run.
# Get the latest failed run
gh run list --limit 5 --json databaseId,status,conclusion,name,headSha
Pick the most recent failed run and get logs:
gh run view <run_id> --log-failed 2>&1 | tail -80
| Error Pattern | Category | Fix Strategy |
|---|---|---|
error TS2307: Cannot find module in design-system check | tsconfig exclusion | Add path to tsconfig.design-system.json exclude |
Markup ownership check failed | baseline drift | Update count in scripts/architecture/markup-ownership-baseline.json |
Design token catalog out of date | token sync | Run pnpm tokens:build and commit |
error TS in type-check:src | type error | Fix the TypeScript error in source |
ESLint found too many warnings | lint warning | Fix the lint issue (often no-explicit-any or react-hooks/exhaustive-deps) |
Coverage threshold failures | coverage gap | Add targeted tests for uncovered branches |
E409 Conflict on npm publish | tag misalignment | Create missing git tag at correct commit |
changelog:validate failure | changelog format | Fix Keep a Changelog structure |
Fix the issue locally, then verify:
npm run type-check
npm run test:coverage
npm run lint
Use fix(ci): commit prefix for CI-only fixes:
git add <fixed-files>
git commit -m "fix(ci): <description of what was fixed>"
git push origin main
gh run list --limit 2 --json databaseId,status,conclusion,name
gh run watch <new_run_id>
If it fails again, re-run from Step 1 with the new failure logs.
Sometimes a single push reveals multiple issues. Fix them all in one commit:
any types to bridge propsAlways run the FULL verification suite locally before pushing the fix.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub parisgroup-ai/imersao-ia-setup --plugin imersao