Use when facing ANY technical issue. Systematic debugging - root cause investigation BEFORE attempting fixes.
/plugin marketplace add sharpner/claude-agents/plugin install workflow-core@sharpner-claude-agentsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Core Principle: "NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST."
Random fixes create new bugs and waste time. Understand before you fix.
Use for ANY technical issue:
Especially critical when:
BEFORE attempting ANY fix:
Analyze error messages carefully
Reproduce consistently
Review recent changes
git log --oneline -10
git diff HEAD~5
Trace data flow backward
Form ONE specific hypothesis:
"I believe X causes this because Y"
Test with smallest possible change
Verify result before proceeding
If unsuccessful → new hypothesis (don't compound fixes!)
Stop immediately if you're thinking:
Partner signals to heed:
**Debugging Report:**
**Symptom:** [What's failing]
**Root Cause Investigation:**
- Error message: [exact error]
- Recent changes: [relevant commits]
- Data trace: [where bad value originates]
**Hypothesis:** [specific theory]
**Test:** [minimal change to verify]
**Result:** [confirmed/rejected]
**Fix:** [single targeted change]
**Verification:** [test output proving fix]
| Approach | Time | Success Rate |
|---|---|---|
| Systematic investigation | 15-30 min | 95% |
| Random guessing | 2-3 hours | 40% |
Investigation beats guessing. Every time.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.