Token导航 LogoToken导航

Agent Skill · 研究检索

troubleshooting-guide(故障排除指南)

troubleshooting-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

troubleshooting-guide 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 38,269。

总安装 1,584周安装 66GitHub Stars 4下载 528核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:troubleshooting-guide(故障排除指南)
来源仓库:https://github.com/dengineproblem/agents-monorepo
仓库路径:skills/troubleshooting-guide
安装命令:
npx skills add https://github.com/dengineproblem/agents-monorepo --skill troubleshooting-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dengineproblem/agents-monorepo --skill troubleshooting-guide

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

troubleshooting-guide 协助构建结构化的故障诊断与问题解决指南,提升排查效率。适用于复杂系统问题分析,采用 If-Then 逻辑流与可能性排序组织解决方案。强调从症状出发逐步缩小范围,优先尝试高频低风险修复方案。生成指南时应基于真实案例模板,避免引入未经测试的假设性修复步骤。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/troubleshooting-guide

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dengineproblem/agents-monorepo --skill trouble…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

troubleshooting-guide 怎么安装?

在终端执行 npx skills add https://github.com/dengineproblem/agents-monorepo --skill troubleshooting-g…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

troubleshooting-guide 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

troubleshooting-guide 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

troubleshooting-guide 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

troubleshooting-guide 用的人多吗?

公开数据是累计安装 1,584 次,近一周安装 66 次,下载 528 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

troubleshooting-guide 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
troubleshooting-guide

故障排除指南 · 本页

1,5844需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Troubleshooting Guide Creator

Эксперт по созданию структурированных руководств по диагностике и устранению проблем.

Core Principles

Problem-Centric Structure

troubleshooting_principles:
  - principle: "Start with clear problem statements and symptoms"
    reason: "Users need to quickly identify if guide applies to their issue"

  - principle: "Use If-Then logic flows for decision trees"
    reason: "Systematic elimination of possible causes"

  - principle: "Organize solutions by likelihood and impact"
    reason: "Try simple/common fixes first, escalate to complex"

  - principle: "Follow logical diagnostic sequence (simple to complex)"
    reason: "Minimize time to resolution"

  - principle: "Include verification steps after each fix"
    reason: "Confirm the issue is actually resolved"

  - principle: "Provide rollback instructions"
    reason: "Allow safe recovery if fix causes new issues"

User Experience Focus

  • Пиши для целевого уровня аудитории
  • Используй консистентное форматирование
  • Указывай оценочное время для каждого шага
  • Включай скриншоты и примеры где возможно

Standard Guide Template

# Troubleshooting: [Problem Title]

**Last Updated:** [Date]
**Applies To:** [Product/Service/Version]
**Difficulty:** Beginner | Intermediate | Advanced
**Time Estimate:** X-Y minutes

---

## Problem Statement

### Symptoms
Users experiencing this issue will observe:
- [ ] Symptom 1 (observable behavior)
- [ ] Symptom 2 (error message or code)
- [ ] Symptom 3 (system state)

### Error Messages

[Exact error message or code]

### Affected Components
- Component A
- Component B

### Impact
- **Severity:** Critical | High | Medium | Low
- **Affected Users:** All users | Specific group | Single user
- **Business Impact:** [Description]

---

## Quick Checks (2-5 minutes)

Before diving into detailed troubleshooting, verify these common causes:

### Check 1: [Most Common Cause]
**Time:** 30 seconds

Command to verify

[diagnostic command]


**Expected Output:** [What you should see] **If this fails:** Continue to Check 2

### Check 2: [Second Most Common Cause]

**Time:** 1 minute

[Steps to verify]

---

## Diagnostic Steps

### Step 1: Gather Information

Collect the following before proceeding:

- Error logs from [location]
- System configuration from [location]
- User actions that triggered the issue

Commands to gather diagnostic info

[command 1] [command 2]


### Step 2: Identify the Root Cause

Use this decision tree to identify the cause:

Start │ ├─ Is [condition A] true? │ ├─ YES → Go to Solution A │ └─ NO → Continue │ ├─ Is [condition B] true? │ ├─ YES → Go to Solution B │ └─ NO → Continue │ └─ None of the above → Escalate to Support


---

## Solutions

### Solution A: [Fix Name]

**Difficulty:** Easy **Time:** 5 minutes **Risk:** Low

#### Prerequisites

- [Prerequisite 1]
- [Prerequisite 2]

#### Steps

1. **Step 1 Title** `[command]` Expected output: [description]
2. **Step 2 Title** [Instructions]
3. **Step 3 Title** [Instructions]

#### Verify Fix

[verification command]


**Success Indicator:** [What to look for]

#### Rollback (if needed)

[rollback command]


---

### Solution B: [Fix Name]

**Difficulty:** Medium **Time:** 15 minutes **Risk:** Medium

[Same structure as Solution A]

---

## Prevention

To prevent this issue from recurring:

1. **Monitoring:** Set up alerts for [metric]
2. **Configuration:** Ensure [setting] is properly configured
3. **Process:** Follow [procedure] when making changes
4. **Training:** Educate team on [best practice]

---

## Escalation

If the above solutions don't resolve the issue:

### When to Escalate

- Issue persists after trying all solutions
- Data loss or security concern identified
- Multiple users affected simultaneously

### Information to Provide

- Time issue started
- Steps already attempted
- Diagnostic logs collected
- Business impact assessment

### Contact

- **Support Team:** [Contact info]
- **Escalation Path:** [Who to contact]
- **SLA:** [Expected response time]

---

## Related Resources

- [Link to related guide]
- [Link to documentation]
- [Link to FAQ]

---

## Revision History

| Date | Author | Changes |
| --- | --- | --- |
| [Date] | [Name] | Initial version |
| [Date] | [Name] | Added Solution C |

Diagnostic Patterns

Layer-by-Layer Approach

## Network Connectivity Troubleshooting

### Layer 1: Physical
- [ ] Check cable connections
- [ ] Verify link lights are active
- [ ] Test with known-good cable

### Layer 2: Data Link
- [ ] Verify MAC address is learned
- [ ] Check for VLAN misconfigurations
- [ ] Review spanning tree state

### Layer 3: Network
- [ ] Verify IP configuration
- [ ] Test ping to gateway
- [ ] Check routing table

### Layer 4: Transport
- [ ] Verify service is listening on correct port
- [ ] Check firewall rules
- [ ] Test with telnet/nc to port

### Layer 7: Application
- [ ] Check application logs
- [ ] Verify configuration files
- [ ] Test with curl/wget

Binary Elimination Method

## Identifying Faulty Component

Use binary search to isolate the issue:

### Step 1: Test Midpoint
Test the system at the midpoint of the data flow:

[Client] → [Load Balancer] → [App Server] → [Database] ↑ Test here first

**If working at midpoint:** Issue is between midpoint and client
**If failing at midpoint:** Issue is between midpoint and database

### Step 2: Narrow Down
Repeat the process, testing the midpoint of the remaining segment.

### Step 3: Isolate
Continue until you've identified the specific failing component.

Symptom-Based Decision Tree

## Application Not Responding

┌─ Can you reach the server at all? │ ├─ NO → Network/DNS Issue │ └─ Go to: Network Troubleshooting Guide │ └─ YES → Continue │ ├─ Does the service port respond? │ ├─ NO → Service Not Running │ └─ Go to: Service Restart Procedure │ └─ YES → Continue │ ├─ Are there errors in application logs? │ ├─ YES → Application Error │ └─ Go to: Log Analysis Guide │ └─ NO → Resource Exhaustion └─ Go to: Performance Troubleshooting


Log Analysis Guide

Common Log Locations

linux_logs:
  system:
    - /var/log/syslog
    - /var/log/messages
    - journalctl -xe

  application:
    - /var/log/[app-name]/
    - ~/.pm2/logs/
    - docker logs [container]

  web_server:
    nginx:
      - /var/log/nginx/error.log
      - /var/log/nginx/access.log
    apache:
      - /var/log/apache2/error.log
      - /var/log/httpd/error_log

  database:
    postgresql:
      - /var/log/postgresql/
    mysql:
      - /var/log/mysql/error.log

Log Analysis Commands

# Find errors in last 100 lines
tail -100 /var/log/app.log | grep -i error

# Find errors with timestamp
grep -i error /var/log/app.log | tail -50

# Watch log in real-time
tail -f /var/log/app.log | grep --line-buffered -i error

# Count errors by type
grep -i error /var/log/app.log | sort | uniq -c | sort -rn | head -20

# Find entries around specific time
awk '/2024-01-15 14:3[0-5]/' /var/log/app.log

# Extract specific fields (JSON logs)
cat /var/log/app.json | jq 'select(.level == "error") | {time, message}'

# Search compressed logs
zgrep -i error /var/log/app.log.*.gz

Error Pattern Recognition

## Common Error Patterns

### Connection Errors

Pattern: "Connection refused" | "ECONNREFUSED" | "Connection timed out" Cause: Service not running or firewall blocking Fix: Check service status, verify port, check firewall rules

### Memory Errors

Pattern: "Out of memory" | "OOM" | "Cannot allocate memory" Cause: Process exhausting available RAM Fix: Increase memory, optimize application, add swap

### Disk Errors

Pattern: "No space left on device" | "ENOSPC" | "Disk full" Cause: Filesystem at capacity Fix: Clean old files, increase disk, enable log rotation

### Permission Errors

Pattern: "Permission denied" | "EACCES" | "Operation not permitted" Cause: Insufficient file/directory permissions Fix: Check ownership, verify permissions, check SELinux/AppArmor

### Database Errors

Pattern: "Too many connections" | "Connection pool exhausted" Cause: Connection leak or undersized pool Fix: Close unused connections, increase pool size, fix leaks


Specific Problem Templates

API Not Responding

# Troubleshooting: API Not Responding

## Quick Diagnosis Script

#!/bin/bash

api-health-check.sh

API_URL="${1:-http://localhost:8080}" TIMEOUT=5

echo "=== API Health Check ===" echo "Target: $API_URL" echo

1. DNS Resolution

echo "1. DNS Resolution..." if host=$(dig +short $(echo $API_URL | sed 's|.*://||' | cut -d'/' -f1 | cut -d':' -f1) 2>/dev/null); then echo " ✅ DNS resolves to: $host" else echo " ❌ DNS resolution failed" fi

2. Port Connectivity

echo "2. Port Connectivity..." PORT=$(echo $API_URL | grep -oP ':\K[0-9]+' || echo "80") HOST=$(echo $API_URL | sed 's|.*://||' | cut -d'/' -f1 | cut -d':' -f1) if nc -z -w $TIMEOUT $HOST $PORT 2>/dev/null; then echo " ✅ Port $PORT is open" else echo " ❌ Port $PORT is not reachable" fi

3. HTTP Response

echo "3. HTTP Response..." HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" --connect-timeout $TIMEOUT "$API_URL/health" 2>/dev/null) if [ "$HTTP_CODE" = "200" ]; then echo " ✅ Health endpoint returns 200" elif [ -n "$HTTP_CODE" ] && [ "$HTTP_CODE" != "000" ]; then echo " ⚠️ Health endpoint returns $HTTP_CODE" else echo " ❌ No HTTP response" fi

4. Response Time

echo "4. Response Time..." RESPONSE_TIME=$(curl -s -o /dev/null -w "%{time_total}" --connect-timeout $TIMEOUT "$API_URL/health" 2>/dev/null) if (( $(echo "$RESPONSE_TIME < 1" | bc -l) )); then echo " ✅ Response time: ${RESPONSE_TIME}s" else echo " ⚠️ Slow response: ${RESPONSE_TIME}s" fi

echo echo "=== Check Complete ==="


## Decision Tree

API Not Responding │ ├─ Can you ping the server? │ ├─ NO → Check network/DNS │ └─ YES ↓ │ ├─ Is the service running? │ ├─ NO → Start/restart service │ └─ YES ↓ │ ├─ Is the port listening? │ ├─ NO → Check service configuration │ └─ YES ↓ │ ├─ Does health check pass? │ ├─ NO → Check dependencies (DB, cache) │ └─ YES ↓ │ └─ Check application logs for errors

Database Connection Issues

# Troubleshooting: Database Connection Failed

## Symptoms
- Application shows "Connection refused" or "Connection timed out"
- Error: "FATAL: too many connections for role"
- Error: "FATAL: password authentication failed"

## Quick Checks

### 1. Verify Database is Running

PostgreSQL

sudo systemctl status postgresql pg_isready -h localhost -p 5432

MySQL

sudo systemctl status mysql mysqladmin -u root -p ping


### 2. Test Connection

PostgreSQL

psql -h localhost -U username -d database -c "SELECT 1"

MySQL

mysql -h localhost -u username -p -e "SELECT 1"


### 3. Check Connection Count

-- PostgreSQL SELECT count(*) FROM pg_stat_activity; SELECT max_connections FROM pg_settings WHERE name = 'max_connections';

-- MySQL SHOW STATUS LIKE 'Threads_connected'; SHOW VARIABLES LIKE 'max_connections';


## Solutions

### Solution 1: Restart Connection Pool

If using PgBouncer

sudo systemctl restart pgbouncer

Application restart

sudo systemctl restart myapp


### Solution 2: Clear Idle Connections

-- PostgreSQL: Kill idle connections older than 10 minutes SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE state = 'idle' AND state_change < NOW() - INTERVAL '10 minutes';


### Solution 3: Increase Max Connections

-- PostgreSQL (requires restart) ALTER SYSTEM SET max_connections = 200;

-- MySQL (can be done live) SET GLOBAL max_connections = 200;


Quality Assurance Checklist

Pre-Publication Review

## Troubleshooting Guide Quality Checklist

### Accuracy
- [ ] All commands tested and verified
- [ ] Output examples are accurate
- [ ] Links to resources are valid
- [ ] Version numbers are current

### Completeness
- [ ] All common causes covered
- [ ] Rollback instructions provided
- [ ] Escalation path defined
- [ ] Prevention tips included

### Usability
- [ ] Clear success/failure criteria
- [ ] Time estimates accurate
- [ ] Difficulty levels appropriate
- [ ] Tested by someone unfamiliar with issue

### Formatting
- [ ] Consistent heading structure
- [ ] Code blocks properly formatted
- [ ] Decision trees clear
- [ ] Screenshots/diagrams where helpful

### Maintenance
- [ ] Last updated date included
- [ ] Revision history maintained
- [ ] Owner/contact identified
- [ ] Review schedule established

Лучшие практики

  1. Начинай с симптомов — пользователь должен быстро понять, подходит ли гайд
  2. Простое решение первым — проверь очевидные причины до сложной диагностики
  3. Включай verification steps — как понять, что проблема решена
  4. Документируй rollback — возможность отката если fix не помог
  5. Указывай время — пользователь должен знать сколько займёт каждый шаг
  6. Тестируй на новичках — гайд должен работать для тех, кто не знает систему
  7. Обновляй регулярно — устаревший гайд хуже чем его отсутствие
  8. Включай escalation path — когда и к кому обращаться

平台分布

Codex

36.05%
按下载量换算190

Claude

27.87%
按下载量换算147

Cursor

18.87%
按下载量换算100

Gemini CLI

8.85%
按下载量换算47

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills