rhecosystemappeng/agentic-collections/debug-pipeline
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Diagnose OpenShift Pipelines (Tekton) CI/CD failures including PipelineRun failures, TaskRun step errors, workspace/PVC binding issues, and authentication problems. Automates multi-step diagnosis: PipelineRun status, failed TaskRun analysis, step container logs, and related resource checks. Use this skill when pipelines fail, hang, or produce unexpected results. Triggers on /debug-pipeline command or phrases like "pipeline failed", "PipelineRun error", "TaskRun failed", "tekton error", "pipeline stuck", "pipeline timeout".
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/debug-pipelineSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/debug-pipeline.
/debug-pipeline Skill
Diagnose OpenShift Pipelines (Tekton) CI/CD failures by automatically gathering PipelineRun status, failed TaskRun details, step container logs, and related resources.
Prerequisites
Before running this skill:
- User is logged into OpenShift cluster
- User has access to the target namespace
- OpenShift Pipelines operator is installed on the cluster
- PipelineRun name is known (or can be identified from recent runs)
Tekton CRD Access via MCP
Tekton resources are standard Kubernetes CRDs. Use the generic MCP tools with these parameters:
| Resource | kind | apiVersion | |
|---|---|---|---|
| PipelineRun | PipelineRun | tekton.dev/v1 | |
| TaskRun | TaskRun | tekton.dev/v1 | |
| Pipeline | Pipeline | tekton.dev/v1 | |
| Task | Task | tekton.dev/v1 | |
| ClusterTask | ClusterTask | tekton.dev/v1beta1 | |
| EventListener | EventListener | triggers.tekton.dev/v1beta1 | |
| TriggerTemplate | TriggerTemplate | triggers.tekton.dev/v1beta1 | |
| TriggerBinding | TriggerBinding | triggers.tekton.dev/v1beta1 |
When to Use This Skill
Use this skill when OpenShift Pipelines (Tekton) fail, hang, or produce unexpected results. It diagnoses PipelineRun failures, TaskRun step errors, workspace/PVC binding issues, and authentication problems by analyzing run status, step container logs, and related resources.
Critical: Human-in-the-Loop Requirements
See Human-in-the-Loop Requirements for mandatory checkpoint behavior.
Workflow
Step 1: Identify Target PipelineRun
WAIT for user confirmation before proceeding.
If user selects "List failed PipelineRuns": Use kubernetes MCP resources_list with kind PipelineRun, filter by Failed status:
WAIT for user to select a PipelineRun.
Step 2: Get PipelineRun Status Overview
Use kubernetes MCP resources_get for the PipelineRun:
WAIT for user confirmation before proceeding.
Step 3: Analyze Failed TaskRun(s)
Use kubernetes MCP resources_get for each failed TaskRun:
Note: Tekton names step containers as step-<step-name> in the TaskRun pod. Use this convention with pods_log.
WAIT for user confirmation before proceeding.
Step 4: Get TaskRun Pod Logs
Use kubernetes MCP pods_log for the TaskRun pod, targeting the failed step container (step-<step-name>):
[log output from the failed step container]
WAIT for user confirmation before proceeding.
Step 5: Check Related Resources
Check resources that could cause pipeline failures:
WAIT for user confirmation before proceeding.
Step 6: Present Diagnosis Summary
Rerun using the same PipelineRun spec
oc create -f <(oc get pipelinerun [name] -n [namespace] -o json | jq 'del(.metadata.resourceVersion, .metadata.uid, .metadata.creationTimestamp, .status) | .metadata.name = .metadata.name + "-retry"') -n [namespace]
Or using tkn CLI (if available)
tkn pipeline start [pipeline-name] --use-pipelinerun [pipelinerun-name] -n [namespace]
WAIT for user to select next action.
Pipeline Failure Reference
For failure categories, error patterns, and troubleshooting decision trees, see references/debugging-patterns.md (sections: Pipeline/Tekton Failure Patterns, Common Tekton Error Messages).
Dependencies
Required MCP Servers
openshift- Kubernetes/OpenShift resource access for PipelineRuns, TaskRuns, and Tekton CRDs
Related Skills
/debug-pod- To debug TaskRun pods directly/debug-build- If the pipeline uses OpenShift Build tasks/debug-network- If pipeline tasks fail due to network issues/validate-environment- To verify OpenShift and pipeline operator setup
Reference Documentation
- references/debugging-patterns.md - Common error patterns and pipeline troubleshooting trees
- references/prerequisites.md - Required tools (oc), cluster access verification
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-developer/skills/debug-pipeline/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/debug-pipeline)