debug — for Claude Code epost_agent_kit, community, for Claude Code, ide skills, skill-discovery, Unified, Command, platform-specific, issues, automatic

v1.0.0

Об этом навыке

Идеально для ИИ-агентов, которым необходимы расширенные возможности обнаружения проблем и анализа ошибок, специфичных для платформы. Локализованное описание: (ePost) Debug issues — auto-detects platform # Debug — Unified Debug Command Debug platform-specific issues with automatic platform detection. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Возможности

Debug — Unified Debug Command
Debug platform-specific issues with automatic platform detection.
Platform Detection
Detect platform per skill-discovery protocol.
Route to platform-specific agent (read-only investigation tools preferred)

# Ключевые темы

Klara-copilot Klara-copilot
[2]
[0]
Обновлено: 3/9/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Идеально для ИИ-агентов, которым необходимы расширенные возможности обнаружения проблем и анализа ошибок, специфичных для платформы. Локализованное описание: (ePost) Debug issues — auto-detects platform # Debug — Unified Debug Command Debug platform-specific issues with automatic platform detection. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Зачем использовать этот навык

Наделяет агентов возможностью автоматически обнаруживать проблемы, специфичные для платформы, анализировать контекст ошибки и предлагать исправления с помощью инструментов только для чтения и протокола открытия навыков, обеспечивая унифицированную отладочную команду для эффективной отладки.

Подходит лучше всего

Идеально для ИИ-агентов, которым необходимы расширенные возможности обнаружения проблем и анализа ошибок, специфичных для платформы.

Реализуемые кейсы использования for debug

Отладка проблем, специфичных для платформы, с автоматическим обнаружением платформы
Анализ контекста ошибки и определение коренных причин
Предложение исправлений для проблем, специфичных для платформы, без автоматического применения изменений

! Безопасность и ограничения

  • Требует возможностей обнаружения платформы
  • Ограничен инструментами только для чтения
  • Не применяет изменения автоматически, только предлагает

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs-демо

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ и шаги установки

These questions and steps mirror the structured data on this page for better search understanding.

? Частые вопросы

Что такое debug?

Идеально для ИИ-агентов, которым необходимы расширенные возможности обнаружения проблем и анализа ошибок, специфичных для платформы. Локализованное описание: (ePost) Debug issues — auto-detects platform # Debug — Unified Debug Command Debug platform-specific issues with automatic platform detection. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Как установить debug?

Выполните команду: npx killer-skills add Klara-copilot/epost_agent_kit/debug. Она работает с Cursor, Windsurf, VS Code, Claude Code и более чем 19 другими IDE.

Для чего можно использовать debug?

Ключевые сценарии использования: Отладка проблем, специфичных для платформы, с автоматическим обнаружением платформы, Анализ контекста ошибки и определение коренных причин, Предложение исправлений для проблем, специфичных для платформы, без автоматического применения изменений.

Какие IDE совместимы с debug?

Этот навык совместим с Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Для единой установки используйте CLI Killer-Skills.

Есть ли ограничения у debug?

Требует возможностей обнаружения платформы. Ограничен инструментами только для чтения. Не применяет изменения автоматически, только предлагает.

Как установить этот skill

  1. 1. Откройте терминал

    Откройте терминал или командную строку в директории проекта.

  2. 2. Запустите команду установки

    Выполните: npx killer-skills add Klara-copilot/epost_agent_kit/debug. CLI автоматически определит вашу IDE или агента и настроит навык.

  3. 3. Начните использовать skill

    Skill уже активен. Ваш AI-агент может сразу использовать debug в текущем проекте.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

debug

Install debug, an AI agent skill for AI agent workflows and automation. Explore features, use cases, limitations, and setup guidance.

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Debug — Unified Debug Command

Debug platform-specific issues with automatic platform detection.

Platform Detection

Detect platform per skill-discovery protocol.

Execution

  1. Detect platform
  2. Route to platform-specific agent (read-only investigation tools preferred)
  3. Analyze error context, gather logs, identify root cause
  4. Explain root cause and suggest fix (do NOT auto-apply fix — that's /fix)

Expertise

Systematic Debugging

  1. Understand: What's the symptom?
  2. Reproduce: Can you reproduce it?
  3. Isolate: What's the minimal case?
  4. Analyze: What's actually happening?
  5. Hypothesize: What could cause this?
  6. Verify: Does the fix work?

Log Analysis

  • Parse error messages
  • Follow stack traces
  • Identify log patterns
  • Contextual logging

Stack Trace Interpretation

  • Read top-down
  • Identify root cause frame
  • Distinguish cause from symptom
  • Async stack traces

Reproduction Strategies

  • Minimal reproduction
  • Environment matching
  • Data setup
  • Step reproduction

Root Cause Analysis

See problem-solving for root cause analysis techniques (5 Whys, bisection, inversion).

Fix Validation

  • Regression testing
  • Edge case testing
  • Performance impact
  • Side effect analysis

Patterns

Debug Logging

typescript
1console.log('[Feature]', { variable, state }); 2console.debug('[Debug]', value); 3console.error('[Error]', error);

Error Boundaries

typescript
1class ErrorBoundary extends Component { 2 componentDidCatch(error, errorInfo) { 3 console.error('Error caught:', error, errorInfo); 4 } 5}

Debug Mode

typescript
1const DEBUG = process.env.DEBUG === 'true'; 2if (DEBUG) console.debug('Debug info');

Structured Logging

typescript
1logger.info('User action', { 2 action: 'login', 3 userId: user.id, 4 timestamp: Date.now() 5});

Common Issues

TypeScript

  • Type mismatches
  • Missing type imports
  • Any type issues
  • Generic constraints

React

  • Stale closures
  • Missing dependencies
  • Re-render loops
  • State timing

Async

  • Race conditions
  • Promise rejection
  • Missing await
  • Callback hell

Defense-in-Depth Patterns

Validation Layers

  1. Input validation (reject invalid early)
  2. Business logic validation (enforce invariants)
  3. Output validation (verify results before return)

Error Handling Strategy

  • Catch: Only where you can handle meaningfully
  • Transform: Convert to domain-specific errors
  • Log: Include context (not just message)
  • Propagate: Let upstream handle if you can't

Assertion vs Exception

  • Assertions: Programmer errors (should never happen)
  • Exceptions: Runtime problems (can happen legitimately)

State Diagram Tracing

When debugging state-related bugs (unexpected transitions, stuck states, race conditions):

  1. Draw the ACTUAL state machine from code — read every if/switch/state= and extract what ACTUALLY happens
  2. Draw the EXPECTED state machine from requirements or docs
  3. Overlay and diff — mismatches reveal the bug:
    • Missing transitions (no path from state A to B)
    • Unguarded transitions (state changes without preconditions)
    • Dead states (reachable but no exit — component gets "stuck")
    • Race conditions (two transitions competing for same state)
ACTUAL:   [LOADING] ──(timeout)──▸ [LOADING]     ← stuck! no error path
EXPECTED: [LOADING] ──(timeout)──▸ [ERROR] ──(retry)──▸ [LOADING]
MISSING:  timeout → ERROR transition

Applies to: React useState/useReducer, iOS view lifecycle, Android Compose state, async/Promise chains, WebSocket connections.

See plan/references/state-machine-guide.md for notation and common patterns.

Verification Checklist

  • Symptom reproduced consistently
  • Root cause identified and documented
  • Fix applied and tested
  • No new issues introduced
  • Edge cases considered
  • Similar issues checked elsewhere in codebase

Tools

  • Browser DevTools (breakpoints, profiling)
  • Node debugger (--inspect)
  • Console logging (structured)
  • Source maps (correct line numbers)
  • Test suite (regression testing)

Debugging Discipline

IRON LAW: NO FIXES WITHOUT ROOT CAUSE FIRST.

Applying a fix before identifying root cause is not debugging — it is guessing. Guesses compound into technical debt.

See verification-before-completion skill for anti-rationalization table, red flags, and the full verification gate protocol.

Sub-Skill Routing

IntentSub-SkillWhen
Fix broken codefix/fix, "fix this", error/crash/failing
Fix deeplyfix-deep/fix-deep, complex multi-file bugs
Fix CI pipelinefix-ci/fix-ci, CI/CD failures, build pipeline
Fix UI issuesfix-ui/fix-ui, visual bugs, layout broken
  • knowledge-retrieval — Knowledge storage format and docs/ directory
  • knowledge-capture — Post-task capture workflow
  • problem-solving — Root cause analysis techniques
  • error-recovery — Error handling and recovery patterns
  • verification-before-completion — Verify fixes before claiming done
  • auto-improvement — Error metrics auto-captured by session-metrics hook on Stop

References

  • references/debugging-flow.dot — Authoritative debugging process flowchart
  • references/condition-based-waiting.md — Patterns for replacing sleep() with condition polling

<issue>$ARGUMENTS</issue>

IMPORTANT: Analyze the skills catalog and activate needed skills for the detected platform.

Связанные навыки

Looking for an alternative to debug or another community skill for your workflow? Explore these related open-source skills.

Показать все

openclaw-release-maintainer

Logo of openclaw
openclaw

Локализованное описание: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

widget-generator

Logo of f
f

Локализованное описание: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor

flags

Logo of vercel
vercel

Локализованное описание: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Браузер

pr-review

Logo of pytorch
pytorch

Локализованное описание: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Разработчик