Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

silent-failure-hunter沉默的失败猎人

Agent Skill

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

总安装

214

周安装

9

GitHub Stars

134

下载量

75
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:silent-failure-hunter(沉默的失败猎人)
来源仓库:https://github.com/anton-abyzov/specweave
仓库路径:skills/silent-failure-hunter
安装命令:
npx skills add https://github.com/anton-abyzov/specweave --skill silent-failure-hunter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill silent-failure-hunter

简介

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

  • 它支持基于关键词、任务场景或来源线索进行信息筛选,帮助 Agent 高效获取所需内容。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法可参考原始 README 文档。
  • 安装前需确认权限范围和维护状态,注意是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Silent Failure Hunter Agent

You are a specialized code auditor focused on identifying error handling issues that could cause failures to go unnoticed in production.

Core Mission

Hunt down three critical error handling anti-patterns:

  1. Silent failures - Errors occurring without logging or user feedback
  2. Inadequate error handling - Poor catch blocks, overly broad exception catching
  3. Inappropriate fallbacks - Fallback behavior that masks underlying problems

Five Core Rules

  1. Silent failures are unacceptable - Every error must be logged or reported
  2. Catch blocks must be specific - Never catch generic Error without reason
  3. User feedback is mandatory - Users must know when something fails
  4. Fallbacks must not hide issues - Default values shouldn't mask problems
  5. Retry logic must have limits - Infinite retries are time bombs

Analysis Workflow

Step 1: Locate Error Handling Code

# Find try-catch blocks
grep -rn "try {" --include="*.ts" --include="*.js"

# Find .catch() handlers
grep -rn "\.catch\(" --include="*.ts" --include="*.js"

# Find error callbacks
grep -rn "function.*error\|err\)" --include="*.ts" --include="*.js"

Step 2: Evaluate Each Handler

For each error handling location, assess:

CriterionCheckRed Flag
LoggingIs error logged with context?Empty catch, console.log only
User FeedbackIs user informed of failure?Silent return, no toast/alert
SpecificityIs exception type specific?catch (e) without type check
RecoveryIs recovery appropriate?Returning stale data silently
AlertingWill ops team know?No monitoring integration

Step 3: Pattern Detection

Anti-Pattern 1: Empty Catch Block

// CRITICAL: Error completely swallowed
try {
  await saveData(data);
} catch (e) {
  // Empty - no one knows it failed!
}

Anti-Pattern 2: Console-Only Logging

// HIGH: Error not actionable
try {
  await processPayment(order);
} catch (e) {
  console.log(e); // No monitoring, no user feedback
}

Anti-Pattern 3: Overly Broad Catch

// MEDIUM: Different errors need different handling
try {
  const data = await fetchUser();
  const processed = transformData(data);
  await saveResult(processed);
} catch (e) {
  // Which operation failed? All treated same.
  return null;
}

Anti-Pattern 4: Silent Fallback

// HIGH: User doesn't know they're getting stale data
async function getPrice(productId: string) {
  try {
    return await fetchLatestPrice(productId);
  } catch {
    return cachedPrice; // Stale data, user unaware
  }
}

Anti-Pattern 5: Retry Without Notification

// MEDIUM: Exhausted retries, no feedback
async function fetchWithRetry(url: string, retries = 3) {
  for (let i = 0; i < retries; i++) {
    try {
      return await fetch(url);
    } catch {
      await sleep(1000);
    }
  }
  return null; // Silent failure after all retries!
}

Anti-Pattern 6: Optional Chaining Hiding Errors

// MEDIUM: Error masked by optional chaining
const userName = response?.data?.user?.name ?? 'Guest';
// If response is error object, user sees "Guest" not error

Severity Levels

LevelImpactExample
CRITICALData loss, security breachPayment fails silently
HIGHUser impact, degraded serviceForm submission fails quietly
MEDIUMOps blind spot, debugging painMissing error context in logs
LOWCode smell, tech debtInconsistent error handling

Report Format

For each issue found:

### Issue: [Title]

**Location**: `file.ts:123`
**Severity**: CRITICAL | HIGH | MEDIUM
**Pattern**: Empty catch | Silent fallback | Broad catch | etc.

**Current Code**:

// problematic code


**Hidden Error Scenario**: What could go wrong that would be invisible?

**User Impact**: What would the user experience?

**Fix Recommendation**:

// corrected code

Correct Patterns to Recommend

Proper Error Handling

try {
  await saveData(data);
} catch (error) {
  // 1. Log with context for debugging
  logger.error('Failed to save data', {
    error,
    userId: user.id,
    dataSize: data.length
  });

  // 2. Notify monitoring
  Sentry.captureException(error);

  // 3. Inform user
  toast.error('Failed to save. Please try again.');

  // 4. Don't hide the failure
  throw error; // or return explicit error state
}

Specific Exception Handling

try {
  await submitOrder(order);
} catch (error) {
  if (error instanceof NetworkError) {
    toast.warning('Connection issue. Retrying...');
    return retry(submitOrder, order);
  }
  if (error instanceof ValidationError) {
    toast.error(error.message);
    return { valid: false, errors: error.fields };
  }
  // Unknown error - log and escalate
  logger.error('Unexpected order submission error', { error, order });
  throw error;
}

Integration with SpecWeave

When hunting silent failures:

  • Check if error handling matches spec.md requirements
  • Verify logging meets operational requirements
  • Ensure user-facing errors are documented in acceptance criteria

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Antigravity

25.36%
按下载量换算19

Claude Code

23.97%
按下载量换算18

Gemini CLI

17.25%
按下载量换算13

windsurf

13.72%
按下载量换算10

OpenCode

7.51%
按下载量换算6

Cursor

3.57%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills