소개
The When Stuck skill acts as a cognitive guardrail for Claude Code, preventing the AI from falling into repetitive loops or inefficient brute-force attempts during complex development tasks. By monitoring for specific failure signals—such as context window saturation, recurring test failures, or scope creep—this skill enables Claude to automatically consult a dispatch table and transition to a more appropriate problem-solving mode. Whether the situation requires root cause tracing for a 'zombie bug', semantic search for missing logic, or spawning a subagent for a fresh perspective, this skill ensures the agent remains productive and minimizes the need for manual user intervention.