rhecosystemappeng/agentic-collections/debug-build
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Diagnose OpenShift build failures including S2I builds, Docker/Podman builds, and BuildConfig issues. Automates multi-step diagnosis: BuildConfig validation, build pod logs, registry authentication, and source repository access. Use this skill when builds fail, hang, or produce unexpected results. Triggers on /debug-build command or phrases like "build failed", "S2I error", "can't pull builder image", "can't push to registry", "build timeout".
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/debug-buildSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/debug-build.
/debug-build Skill
Diagnose OpenShift build failures by automatically gathering BuildConfig, Build status, build pod logs, and related resources.
Prerequisites
Before running this skill:
- User is logged into OpenShift cluster
- User has access to the target namespace
- Build or BuildConfig name is known (or can be identified from recent builds)
When to Use This Skill
Use this skill when OpenShift builds fail, hang, or produce unexpected results. It diagnoses S2I builds, Docker/Podman builds, and BuildConfig issues by analyzing build pod logs, registry authentication, and source repository access.
Critical: Human-in-the-Loop Requirements
See Human-in-the-Loop Requirements for mandatory checkpoint behavior.
Workflow
Step 1: Identify Target Build
WAIT for user confirmation before proceeding.
If user selects "List failed builds": Use kubernetes MCP resources_list for builds, filter by Failed phase:
WAIT for user to select a build.
Step 2: Get Build Status Overview
Use kubernetes MCP resources_get to get Build details:
WAIT for user confirmation before proceeding.
Step 3: Analyze BuildConfig
Use kubernetes MCP resources_get to get BuildConfig:
WAIT for user confirmation before proceeding.
Step 4: Get Build Pod Logs
Use kubernetes MCP pods_log for the builder pod:
[Last 100 lines of build logs, focused on the failing phase]
WAIT for user confirmation before proceeding.
Step 5: Check Related Resources
Check secrets, imagestreams, and source access:
WAIT for user confirmation before proceeding.
Step 6: Present Diagnosis Summary
Start a new build
oc start-build [buildconfig-name] -n [namespace]
Or start build with follow
oc start-build [buildconfig-name] -n [namespace] --follow
WAIT for user to select next action.
Build Failure Categories
For S2I build phase failures, common error patterns (Node.js, Python, Java), and troubleshooting decision trees, see references/debugging-patterns.md.
Dependencies
Required MCP Servers
openshift- Kubernetes/OpenShift resource access for builds, BuildConfigs, and build pod logs
Related Skills
/s2i-build- To retry build after fixing issues/debug-pod- To debug the builder pod directly/deploy- To deploy after a successful build
Reference Documentation
- references/builder-images.md - S2I builder image selection, version mapping
- references/python-s2i-entrypoints.md - Python APP_MODULE configuration
- references/debugging-patterns.md - Common error patterns
- 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-build/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-build)