From sem-ai
Diagnose and fix CI pipeline failures. Step-by-step debugging with sem-ai.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sem-ai:debug-pipelineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
sem-ai diagnose <workflow-id>
# or auto-detect from git:
sem-ai diagnose
sem-ai diagnose --project my-app --branch main
Returns: pipeline result, failed blocks, failed jobs with log tails AND parsed test results (file:line:message).
sem-ai workflow list --project my-app --branch feature-x
sem-ai pipeline show <pipeline-id>
# Shows blocks and jobs. Look for "result": "failed"
sem-ai job log <job-id> # structured JSON
sem-ai job log <job-id> --format table # human-readable
sem-ai test summary --pipeline <id>
Example output:
{
"verdict": "failed",
"total": 11, "passed": 10, "failed": 1,
"failures": [{"job": "go test", "test": "Test_timeHandler_statusCode", "file": "main_test.go", "line": 243, "message": "expected status 201, got 200"}]
}
sem-ai troubleshoot workflow <id>
sem-ai troubleshoot pipeline <id>
sem-ai troubleshoot job <id>
sem-ai test flaky --project my-app --count 10
sem-ai workflow rerun <id> # full rerun
sem-ai rerun-failed <pipeline-id> # rebuild failed blocks only
sem-ai watch <new-workflow-id> # wait for completion
sem-ai test summary --pipeline <id> # verify
| Log pattern | Cause | Next step |
|---|---|---|
exit_code: 1 on test command | Test failure | sem-ai test summary --pipeline <id> |
Pipeline stuck initializing | YAML error | sem-ai yaml validate --file .semaphore/semaphore.yml |
result_reason: "stuck" | No agent available | sem-ai agent types |
| All blocks empty | Compile failed | sem-ai troubleshoot pipeline <id> |
cache errors | Cache not configured | Environment issue, not code |
npx claudepluginhub semaphoreio/sem-ai --plugin sem-aiProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.