DEBUG Workflow

Error analysis and issue diagnosis

Error analysis
Log parsing
Issue diagnosis
Solution suggestions

Commands in this Workflow

Detailed documentation for each command including when to use it, what it's best for, and real-world examples.

/siftcoder:debug

Auto

Debug and analyze issues

What It Does

Analyzes error messages, stack traces, and code behavior to identify root causes. Examines logs, state, and execution flow to provide detailed diagnostics and solution suggestions.

Usage

/siftcoder:debug <issue>

Parameters

issueError message, stack trace, or issue description

When to Use

Investigating bugs, analyzing errors, understanding unexpected behavior

Best For

Complex bugs, intermittent issues, performance problems

Real-World Example

/siftcoder:debug 'TypeError: Cannot read property of undefined'
# Analyzes: Stack trace, variable states, execution flow
# Provides: Root cause, fix suggestions

/siftcoder:investigate

Auto

Safely investigate codebase

What It Does

Read-only exploration of codebase to understand behavior, find bugs, or analyze dependencies. Safe to use anywhere as it never modifies files. Perfect for understanding unfamiliar code.

Usage

/siftcoder:investigate <query>

Parameters

queryQuestion about code behavior or issue to investigate

When to Use

Understanding code, investigating issues without risk, exploring unfamiliar codebases

Best For

Legacy code investigation, onboarding, root cause analysis

Real-World Example

/siftcoder:investigate 'How does user authentication work?'
# Explores: Auth flow, token handling, middleware, validation
# Safe: Read-only, no modifications