brainstorming
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Maintains a project-specific known-issues.md mapping recurring errors to their solutions. Consulted automatically by systematic-debugging before investigation. Saves time by avoiding rediscovery of known problems across sessions. Triggers on: "save this fix", "remember this
$ npx -y skills add REPOZY/superpowers-optimized --skill error-recovery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/error-recoveryContext preview
The summary Claude sees to decide when to auto-load this skill.
Maintains a project-specific known-issues.md mapping recurring errors to their solutions. Consulted automatically by systematic-debugging before investigation. Saves time by avoiding rediscovery of known problems across sessions. Triggers on: "save this fix", "remember this
name: error-recovery description: > Maintains a project-specific known-issues.md mapping recurring errors to their solutions. Consulted automatically by systematic-debugging before investigation. Saves time by avoiding rediscovery of known problems across sessions. Triggers on: "save this fix", "remember this error", "known issues", or automatically when systematic-debugging resolves a recurring error.
Maintain a project-level error→solution mapping to avoid rediscovering known problems.
`known-issues.md` at the project root (same level as `package.json`, `Cargo.toml`, etc.).
Before starting any debugging investigation: 1. Check if `known-issues.md` exists. 2. Search it for the error message, error code, or failing test name. 3. If a match is found, try the documented solution first before full investigation.
After resolving a bug that is likely to recur:
**Do NOT record:**
Each entry must be concise and actionable:
## [Short description] **Error:** `exact error message or pattern` **Cause:** One sentence explaining why this happens. **Fix:** ```bash exact command or steps to resolve
**Context:** When this typically occurs (e.g., "after fresh clone", "on Windows", "when DB is not running").
## File Management - Keep `known-issues.md` under 50 entries. If it grows beyond that, prune entries that haven't been relevant in months. - Group entries by category (Environment, Dependencies, Tests, Build, Platform). - **When an issue is fixed, strike the heading — do not delete the entry.** Change `## Some error` to `## ~~Some error~~ ✅ Fixed in vX.Y.Z` and leave the body in place. The session-start hook and the keyword-recall hook both skip headings that begin with `## ~~`, so a struck entry costs nothing at injection time while remaining greppable. Deleting it throws away the diagnosis — and a "fixed" error that regresses is exactly the case where the old root-cause analysis is worth most. Delete only when the entire subsystem the entry describes no longer exists. ## Integration - `systematic-debugging` consults this file in Phase 1 (Investigate) before generating hypotheses. - `using-superpowers` reads this file during the entry sequence when it exists. - After resolving a debugging session, offer to add the error→solution mapping if it meets the "When to Update" criteria.
The production-grade fork of obra/superpowers — same trusted workflow, dramatically leaner, safer, and more intelligent.
MUST USE when the user wants new features, behavior changes, refactoring with new capabilities, or architecture decisions and no…
Creates minimal, high-signal CLAUDE.md and AGENTS.md context files based on empirical best practices. Invoke on /init command,…
Use in long or noisy sessions to persist durable state across session boundaries via state.md. Also generates project-map.md when…
Use BEFORE brainstorming when facing a complex architectural, technology, or design decision where the options are not yet…
MUST USE when updating, migrating, or auditing project dependencies: upgrading packages, fixing security vulnerabilities (CVEs),…
Use when 2+ tasks are independent and can run concurrently without file or state conflicts or sequential dependencies. Triggers…