rhecosystemappeng/agentic-collections/deploy
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Create Kubernetes Deployment, Service, and Route resources on OpenShift to deploy and expose an application. Use this skill after /s2i-build to make the built image accessible. Handles port detection, replica configuration, HTTPS route creation, rollout monitoring, and rollback on failure. Triggers on /deploy command when user wants to deploy a container image to OpenShift.
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/deploySKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/deploy.
/deploy Skill
Create Kubernetes/OpenShift resources (Deployment, Service, Route) to deploy and expose an application from a container image.
Prerequisites
Before running this skill:
- User is logged into OpenShift cluster
- Container image exists (from ImageStream or external registry)
- Target namespace exists
When to Use This Skill
Use /deploy after building a container image (via /s2i-build or external registry) to create Deployment, Service, and Route resources on OpenShift. This skill handles port detection, replica configuration, rollout monitoring, and rollback on failure.
Critical: Human-in-the-Loop Requirements
See Human-in-the-Loop Requirements for mandatory checkpoint behavior.
Workflow
Step 1: Gather Deployment Information
WAIT for user confirmation before proceeding.
Step 2: Detect Container Port
Try to detect port from project files:
- Dockerfile: Look for
EXPOSE <port>(Most accurate for container builds) - Web Server Config: Look for
listen <port>innginx.conf,httpd.conf, etc. - Framework Defaults:
- Node.js: Look for
PORTenv var usage, common: 3000 (dev), 8080 (prod/S2I) - Python: Flask default 5000, FastAPI/Uvicorn 8000
- Java: Spring Boot 8080, Quarkus 8080
- Go: Common 8080
- Ruby Rails: 3000
WAIT for user confirmation before proceeding.
If unable to detect:
Step 3: Create Deployment
Show the Deployment manifest:
WAIT for user confirmation before proceeding.
- If user says "yes" → Use kubernetes MCP
resources_create_or_updateto apply - If user says "no" → Ask what they would like to change
- If user wants modifications → Update the YAML and show again for confirmation
Step 4: Create Service
WAIT for user confirmation before proceeding.
- If user says "yes" → Use kubernetes MCP
resources_create_or_updateto apply - If user says "no" → Ask what they would like to change
- If user wants modifications → Update the YAML and show again for confirmation
Step 5: Create Route (Optional)
If user wants external exposure:
WAIT for user confirmation before proceeding.
- If user says "yes" → Use kubernetes MCP
resources_create_or_updateto apply - If user says "skip" → Skip Route creation and proceed to rollout monitoring
- If user says "no" → Ask what they would like to change
- If user wants modifications → Update the YAML and show again for confirmation
Step 6: Wait for Rollout
Monitor deployment status:
Step 6a: Handle Deployment Failure
If pods do not become ready within the timeout period, or pods are in error states (CrashLoopBackOff, ImagePullBackOff, Pending):
WAIT for user to select an option.
- If user selects "Debug Pod" → Invoke
/debug-podskill with pod name - If user selects "Debug Network" → Invoke
/debug-networkskill with service name - If user selects "View logs" → Show pod logs using
pods_log - If user selects "Rollback" → Delete Deployment, Service, Route
- If user selects "Continue" → Wait another polling cycle
Step 7: Deployment Complete
View logs
oc logs -f deployment/[app-name] -n [namespace]
Scale replicas
oc scale deployment/[app-name] --replicas=3 -n [namespace]
Restart pods
oc rollout restart deployment/[app-name] -n [namespace]
Delete all
oc delete all -l app=[app-name] -n [namespace]
Dependencies
Required MCP Servers
openshift- cluster resource creation and management
Related Skills
/debug-pod- Pod failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff)/debug-network- Service connectivity issues (no endpoints, 503 errors)/debug-build- Build failures before deployment
Reference Documentation
- references/prerequisites.md - Required tools (oc), cluster access verification
- references/debugging-patterns.md - Common error patterns and troubleshooting
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/deploy/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. Refreshed 20 Oct 2026, a month ago.
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/deploy)