Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

troubleshoottroubleshoot 搜索

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

42

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/taylorhuston/local-life-manager --skill troubleshoot

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息检索与筛选的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • troubleshoot 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/troubleshoot

Systematic debugging using a 5-step loop: Research → Hypothesize → Implement → Test → Document.

Usage

/troubleshoot yourbench "tests failing after auth changes"
/troubleshoot yourbench 001       # Debug in context of issue
/troubleshoot coordinatr          # General debugging session

The 5-Step Loop

┌─────────────────────────────────────────────┐
│                                             │
│  1. Research → 2. Hypothesize → 3. Implement│
│       ↑                              ↓      │
│       │                              │      │
│       └──────── 5. Document ← 4. Test ──────│
│                     │                       │
│                     ↓                       │
│              (if not fixed, repeat)         │
│                                             │
└─────────────────────────────────────────────┘

Step Details

Step 1: Research

Before guessing, understand:

# Check existing research
Glob: resources/research/*.md
Glob: ideas/[project]/notes/research/*.md

# Search for similar issues in codebase
Grep: spaces/[project]/ for error message

# Check library docs via Context7
# WebSearch for error messages, known issues

Spawn research-specialist agent for:

  • Unfamiliar error messages
  • Library/framework behavior
  • Best practices for the pattern

Step 2: Hypothesize

Form ONE hypothesis:

Hypothesis: Query fires before auth state is set

Evidence:
- isLoading is true when query executes
- Error occurs only on initial load
- Works after manual refresh

Debug Plan:
1. Add console.log before query
2. Check auth state timing
3. Verify order of operations

Only one hypothesis at a time. Multiple theories = confusion.

Step 3: Implement

Apply fix + add debugging:

// Add liberal debug logging
console.log('[Auth] State before query:', authState);
console.log('[Query] Executing with user:', user?.id);

// Implement the fix
if (!authState.isReady) {
  console.log('[Query] Waiting for auth...');
  return;
}

Step 4: Test

Validate the fix:

cd spaces/[project]

# Run specific tests
npm test -- --grep "auth"

# Run full suite
npm test

# Manual verification if needed
npm run dev

NEVER claim "fixed" without tests passing.

Step 5: Document

Update WORKLOG with findings:

## YYYY-MM-DD - Troubleshooting Loop 1

**Hypothesis**: Query fires before auth state is set

**Debug findings**:
- isLoading was true when query executed
- Auth state not propagating to component
- Race condition between auth init and query

**Implementation**: Added auth state check before query

**Result**: ✓ Fixed - 47/47 tests passing

**Gotcha**: Auth state needs explicit ready check, not just truthy

If Not Fixed

  1. Rollback changes: git checkout --.
  2. Document what you learned
  3. Return to Step 1 with new information

Execution Modes

Mode 1: During TASK Implementation

/troubleshoot yourbench 001 "tests failing"
  1. Read: TASK.md, PLAN.md, WORKLOG.md for context
  2. Execute 5-step loop
  3. Document in issue's WORKLOG.md
  4. Continue with /implement when fixed

Mode 2: Standalone Debugging

/troubleshoot yourbench "login broken on Safari"
  1. Investigate without issue context
  2. Document findings
  3. Suggest creating BUG issue if significant

Key Rules

  1. Research BEFORE guessing
  2. ONE hypothesis at a time
  3. Liberal debug logging - console.log('[Component] State:', data)
  4. NEVER claim "fixed" without tests passing
  5. Rollback on failure before next attempt
  6. Document everything for future reference

Workflow

/implement → (issue occurs) → /troubleshoot → /worklog → /implement

After fixing:

  • Add WORKLOG entry with findings
  • Continue implementation
  • Or create BUG issue if recurring problem

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.53%
按下载量换算24

Claude

29.16%
按下载量换算21

Cursor

20.71%
按下载量换算15

Gemini CLI

9.84%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/taylorhuston/local-life-manager --skill troubleshoot 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills