From jenkins
Fetches the console log of a failing Jenkins build, identifies the root cause, and explains what went wrong. Use this when a build is red and you want a fast diagnosis.
How this skill is triggered — by the user, by Claude, or both
Slash command
/jenkins:ci-diagnoseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
If the user provided a job name (e.g. `/ci-diagnose my-service`), use it directly.
If the user provided a job name (e.g. /ci-diagnose my-service), use it directly.
If the user provided a job name and build number (e.g. /ci-diagnose my-service 42), use both.
If neither was given, ask: "Which Jenkins job are you looking at, and which build number (or should I check the last build)?"
Call get_job_status with the job name to get the last build number and its result (if no build number was specified).
If a specific build number was provided, call get_build_status with the job name and build number.
Call get_console_log with the job name and build number.
Limit the log to the most relevant portion — look for lines containing ERROR, FAILED, Exception, exit code, or BUILD FAILURE.
Analyse the console output and identify:
Structure your response as:
### CI Diagnosis — <job-name> #<build-number>
**Status**: <FAILURE / ABORTED / etc.>
**Root cause**: <one-sentence summary>
**Details**:
<explanation of what went wrong and why>
**Suggested fix**:
<concrete next step — e.g. "update the dependency", "re-run the flaky test", "check the env var X">
If the build is not failing (status is SUCCESS), say so and skip the diagnosis.
If relevant, offer to fetch:
get_test_results — to see which tests failedget_pipeline_stages — to see which pipeline stage brokeget_build_changes — to correlate with recent commitsnpx claudepluginhub kud/claude-plugins --plugin jenkinsMonitors running CI builds on GitHub Actions and CircleCI via polling, reports completion status, and diagnoses failures by fetching logs, job summaries, and artifacts.
Diagnoses and fixes CI/CD pipeline failures including build errors, test failures, and pipeline issues. Uses git log analysis and structured debugging to identify root causes.
Diagnoses and fixes CI/CD pipeline failures including build errors, test failures, and environment issues. Guides users through triage and repair workflows.