home / skills / ntcoding / claude-skillz / fix-it-never-work-around-it

fix-it-never-work-around-it skill

/fix-it-never-work-around-it

This skill identifies root causes when commands or builds fail and applies measured fixes to ensure the original workflow runs reliably.

npx playbooks add skill ntcoding/claude-skillz --skill fix-it-never-work-around-it

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
3.3 KB
---
name: fix-it-never-work-around-it
description: "Stops execution and fixes root cause when commands, builds, scripts, or tools fail unexpectedly. Triggers on workaround language: 'directly', 'instead', 'alternatively', 'skip', 'fall back', 'work around', 'isn't working', 'broken', 'manually'. Activates on any unexpected non-zero exit code or process failure."
version: 1.0.0
---

# Fix It, Never Work Around It

## Critical Rules

🚨 **Rule 1: Follow the prescribed process exactly.** If a step in the process fails, fix the root cause. Never skip, replace, or approximate the step. If you don't fix it, the problem recurs and all subsequent work is compromised. This does not apply to expected failures like TDD red phase — a failing test is the process working correctly.

Example: The code review subagent failed. ❌ "I'll review my own code and push." ✅ Fix why the subagent failed.

🚨 **Rule 2: Follow instructions exactly.** If a tool or command doesn't produce the expected result and there is no obvious alternative that produces the exact same result, stop immediately. Fix the root cause or ask for help. Never fabricate, approximate, or substitute.

Example: API authentication failed. ❌ "I'll define some likely values instead." ✅ Fix the authentication or ask the user.

## Workaround Detection

If you catch yourself using any of these phrases, you are about to workaround. STOP.

| Workaround Signal | What You're Actually Doing |
|---|---|
| "Let me check via X **directly**" | Bypassing the broken tool |
| "X **is broken**, let me use Y **instead**" | Abandoning the fix |
| "Let me try a **different approach**" | Avoiding the actual problem |
| "I'll **work around** this by..." | Literally saying it |
| "**Alternatively**, we can..." | Proposing a bypass |
| "Since X **isn't working**, let me..." | Giving up on fixing X |
| "Let me just **manually**..." | Bypassing automation |
| "I'll **skip** this step and..." | Ignoring the failure |
| "Let me **fall back** to..." | Retreating from the fix |

## Anti-patterns

### ❌ The Helpful Bypass

```
⏺ Bash(npm run build)
  ⎿ Error: Module not found '@company/shared'

⏺ The build has a dependency issue. Let me check the
  source files directly to understand the code structure.
```

The build is broken. Reading source files "directly" doesn't fix the build.

### ❌ The Tool Swap

```
⏺ Bash(nx show projects)
  ⎿ Error: Failed to process project graph

⏺ NX project graph is broken. Let me check the tasks
  via gh directly and read the PRD.
```

The NX project graph is broken. Using `gh` doesn't fix the project graph. Every NX command will fail until this is fixed.

## Mandatory Checklist

When a command or process fails unexpectedly:

1. [ ] Verify you have STOPPED your current task
2. [ ] Verify you are investigating the ROOT CAUSE of the failure
3. [ ] Verify your proposed fix makes the ORIGINAL command/process work
4. [ ] Verify you are NOT using a different tool/source/approach to bypass
5. [ ] Verify the original command succeeds after your fix

Do not resume your previous task until all checks pass.

🚨 **REMEMBER: Following the process and following instructions is MORE important than achieving a result by any means necessary. Consistency and reliability are crucial. Do not improvise, do not try to be helpful when the process cannot be followed.**

Overview

This skill stops execution and fixes the root cause whenever commands, builds, scripts, or tools fail unexpectedly. It detects workaround language and any unexpected non-zero exit code or process failure, then enforces investigation and remediation instead of bypassing the problem. The goal is reliability: make the original command succeed before continuing.

How this skill works

The skill monitors process exit codes and looks for common workaround phrases such as "directly", "instead", "alternatively", "skip", "fall back", "work around", "isn't working", "broken", and "manually". On detection of an unexpected failure or workaround signal, it halts the current flow, requires a root-cause investigation, and suggests or applies fixes that restore the original command or tool behavior. It prevents substitutions or temporary bypasses unless the failure is an expected part of the process (for example, a failing test in TDD).

When to use it

  • When an automated build, test run, deployment, or CI step fails with a non-zero exit code.
  • When a tool or subagent returns unexpected errors that threaten downstream steps.
  • During review of automation scripts where a failed command might tempt manual bypasses.
  • When authentication, dependency resolution, or environment setup errors occur.
  • When you see language or intent to "work around" rather than address a failure.

Best practices

  • Stop the current task immediately on unexpected failures; do not continue with downstream steps.
  • Investigate the root cause with logs, reproducible minimal repros, and environment checks.
  • Implement fixes that make the original command succeed; validate by re-running the same command.
  • Avoid swapping tools, skipping steps, or fabricating values as a substitute for a fix.
  • Document the failure, diagnosis, and fix so the recurrence risk is reduced.

Example use cases

  • A CI build fails due to a missing dependency; the skill prevents using a different build command and guides fixing dependency resolution.
  • An authentication call returns 401; the skill halts progress and enforces fixing credentials or token handling rather than guessing values.
  • A project graph command errors out; instead of reading other sources, the skill forces diagnosis of the graph generation and repair.
  • A deployment script exits unexpectedly; the skill requires remediation of the script or environment so the original deploy command succeeds.
  • When a team member suggests manual edits to bypass automation, the skill flags the language and insists on correcting the automation first.

FAQ

What if the failure is part of an expected test (TDD red phase)?

Expected failing tests are allowed; do not remediate those. The skill targets unexpected failures and workaround language that indicate abandoning the process.

Can I use a different tool temporarily to keep progress moving?

No. The policy requires fixing the original tool or command. Temporary tool swaps create brittle workflows and recurring failures.