Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bug-analysis

БесплатноБез исполняемых скриптовНе проверен

Analyzes software bugs including root cause identification, severity assessment, impact analysis, reproduction steps validation, and fix recommendations…

DauQuangThanhот DauQuangThanh★ 18 звёзд на GitHub12 установок в других каталогах

Об этом скилле

Bug Analysis

Overview

This skill provides systematic bug analysis to identify root causes, assess impact, classify severity, and generate actionable fix recommendations. It helps triage bugs efficiently and provides structured analysis for development teams.

Core Analysis Workflow

Step 1: Initial Triage & Information Gathering

Collect Essential Information:

  • Bug description and symptoms
  • Reproduction steps (verify they work)
  • Expected vs actual behavior
  • Environment details (OS, browser, version, config)
  • Error messages, stack traces, logs
  • Screenshots or videos
  • User impact and frequency

Quick Assessment:

  • Severity: Critical/High/Medium/Low
  • Type: Functional/Performance/Security/UI/Data/Integration/Configuration/Regression
  • Priority: Based on severity + business impact
  • Potential duplicates: Search existing issues

Step 2: Bug Categorization

Severity Classification (see severity-guidelines.md for detailed criteria):

Critical (P0) - Response: Immediate (<1 hour)

  • System outage, data loss, security breach, no workaround

High (P1) - Response: Same day

  • Major feature broken, significant user impact (>25%), difficult workaround

Medium (P2) - Response: Within 1 week

  • Feature partially broken, moderate impact, workaround available

Low (P3) - Response: Backlog

  • Minor issue, cosmetic problem, minimal impact

Bug Type Categories:

  • Functional: Feature not working as specified
  • Performance: Slow response, timeouts, resource issues
  • Security: Vulnerabilities, unauthorized access
  • UI/UX: Visual glitches, usability problems
  • Data: Corruption, loss, incorrect processing
  • Integration: API failures, third-party issues
  • Configuration: Environment or deployment issues
  • Regression: Previously working feature broken

Step 3: Root Cause Analysis

Investigation Process:

  1. Review Error Evidence

    • Parse stack traces to identify failure point
    • Map error codes to known issues
    • Check recent code changes (git blame, commit history)
  2. Reproduce the Issue

    • Validate reproduction steps
    • Test in different environments
    • Vary inputs to identify boundaries
    • Document consistent reproduction method
  3. Trace Execution Flow

    • Follow code path from entry to failure
    • Identify where actual diverges from expected
    • Check data transformations and control flow
    • Review relevant code sections
  4. Analyze Dependencies

    • Verify library and framework versions
    • Check for known issues in dependencies
    • Review integration points
    • Test with different dependency versions

Common Root Cause Patterns:

  • Logic errors (incorrect conditions, calculations)
  • Null/undefined reference errors
  • Race conditions and timing issues
  • Memory leaks
  • Boundary conditions (off-by-one, overflow)
  • Configuration issues
  • Dependency problems
  • Integration failures

For detailed analysis techniques, see analysis-techniques.md for:

  • Five Whys technique
  • Stack trace analysis
  • Differential analysis
  • Data flow tracing
  • Hypothesis testing
  • Evidence collection methods

Step 4: Impact Assessment

Evaluate Impact Across Dimensions:

User Impact:

  • Number/percentage of affected users
  • User workflows disrupted
  • User segments affected

Business Impact:

  • Revenue loss or risk
  • SLA violations
  • Customer satisfaction impact
  • Reputation risk

System Impact:

  • Performance degradation
  • Resource consumption
  • Cascading failures
  • Data integrity risks

Security Impact (if applicable):

  • Confidentiality: Data exposure level
  • Integrity: Unauthorized modifications
  • Availability: Service disruptions
  • Exploit potential

Scope Definition:

  • Affected versions/releases
  • Affected platforms/browsers
  • Affected features/workflows
  • Regression scope

Step 5: Fix Recommendation

Generate Structured Fix Strategy:

1. Immediate Mitigation (if not already done):

  • Workarounds for users
  • Configuration changes to reduce impact
  • Feature flags to disable problematic code
  • Rollback options if recent regression

2. Permanent Solution:

  • Specific code changes needed
  • Files to modify with line numbers
  • Design changes required
  • Database migrations or cleanup needed
  • Configuration updates required

3. Testing Requirements:

  • Unit tests to add
  • Integration tests needed
  • Regression tests to prevent recurrence
  • Performance/security tests if applicable

4. Prevention Measures:

  • Code review focus areas
  • Additional validation needed
  • Monitoring/alerting to add
  • Documentation updates
  • Process improvements

Output Format

Provide structured analysis using these templates:

Standard Bug Analysis: Use template from output-templates.md including:

  • Bug summary with severity and priority
  • Environment and reproduction steps
Полный SKILL.md на GitHub

Установить bug-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/analysis-techniques.mdreferences/investigation-commands.mdreferences/output-templates.mdreferences/severity-guidelines.md

FAQ

Что делает скилл bug-analysis?

Analyzes software bugs including root cause identification, severity assessment, impact analysis, reproduction steps validation, and fix recommendations. Performs bug triage, categorization, duplicate detection, and regression analysis. Use when investigating bugs, analyzing crash reports, triaging issues, debugging problems, reviewing error logs, or when users mention "analyze bug", "investigate issue", "debug problem", "bug report", "crash analysis", "root cause analysis", or "fix recommendation".

Как установить скилл bug-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bug-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bug-analysis с