/udcp-skills:remote-troubleshootfrom udcp-skills
Structured remote server troubleshooting workflow via SSH for k8s, bare metal, and containerized services. Investigation-only until approval, script-based repairs, and comprehensive reports.
Ships in udcp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Provides a structured workflow for troubleshooting issues on remote servers with emphasis on:
Before starting any investigation, gather:
Remote Server Access
Problem Description
Context
CRITICAL: Do NOT make any changes without user approval
Validate the reported issue actually exists:
sshpass -p<password> ssh -o StrictHostKeyChecking=no user@host "echo 'OK'"
ssh user@host "ss -tlnp | grep :<port>"
ssh user@host "systemctl status <service>"
ssh user@host "kubectl get pods -n <namespace>"
If issue cannot be reproduced, inform user and ask clarification.
ssh user@host "mkdir -p ~/troubleshoot-$(date +%Y%m%d)"
Generate and upload investigation scripts. Use scripts/generate_helper.sh.
Common scenarios: service status, ports, config inspection, logs.
Always execute investigation scripts, never modify actions.
Run helper scripts. Document:
Synthesize findings to identify root cause. Consider multiple hypotheses if unclear.
Present to user:
WAIT for user approval before proceeding to repair.
Script the fix procedure. Fix script MUST:
cat fix-script.sh | ssh user@host "bash -s"
Confirm fix resolved the issue:
Use assets/report-template.md to create analysis report.
See references/patterns.md for:
# Service
systemctl status <service>
systemctl is-active <service>
# Port
ss -tlnp | grep :<port>
# Process
ps aux | grep <name>
# Logs
journalctl -u <service> -n 50 --no-pager
tail -f /var/log/<service>.log
# K8s
kubectl get pods -n <namespace>
kubectl describe pod <name> -n <namespace>
kubectl logs <pod> -n <namespace>
generate_helper.sh - Generate investigation helper scriptsgenerate_fix.sh - Generate fix script templatesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
4 skills in this plugin
/code-review-assistant代码审核辅助工具,支持本地 Git 库和 Gerrit Review。支持审核当前最新 commit、暂存的修改、未暂存的修改等,也支持 Golang、Qt/C++、Ansible 等多语言的 Gerrit Code Review。提供"必须修复/建议修复/可选改进"三级分级审核,生成 Markdown 报告。/go-frame-best-practices提供 GoFrame 框架的官方最佳实践指导,包括项目结构、分层架构、配置管理、数据校验、数据库操作、中间件开发等开发规范/go-test-standardsGolang 单元测试规范与最佳实践指南npx claudepluginhub iceleaf916/my-cc-plugins --plugin udcp-skills