error-fixer
Skill4 starsChanged 25 days agoMITView on GitHub
Interpret error messages and fix common coding issues without technical knowledge. Use when user shares error messages, stack traces, console errors, build failures, or says things like "I got an error", "it's not working", "what does this mean", or pastes red text from their terminal or browser.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- I-Onlabs/claude-code-skillsword for word, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 1
- I-Onlabs/claude-code-skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository169 other files it gives its agents.
- epub-skill/CLAUDE.mdCLAUDE.md
- linear-cli-skill/CLAUDE.mdCLAUDE.md
- AgentDB Advanced FeaturesSkill
- AgentDB Learning PluginsSkill
- AgentDB Memory PatternsSkill
- AgentDB Performance OptimizationSkill
- AgentDB Vector SearchSkill
- agent-evalSkill
- agentic-jujutsuSkill
- agile-product-ownerSkill
- ai-tool-pickerSkill
- algorithmic-artSkill
- api-connectorSkill
- api-design-patternsSkill
- architecture-diagram-creatorSkill
- article-extractorSkill
- aws-agentic-aiSkill
- aws-cdk-developmentSkill
- aws-cost-operationsSkill
- aws-serverless-edaSkill
- biogeobearsSkill
- brainstormingSkill
- brand-guidelinesSkill
- canvas-designSkill
- capa-officerSkill
- ceo-advisorSkill
- changelog-generatorSkill
- code-auditorSkill
- codebase-documenterSkill
- code-executionSkill
- code-explainerSkill
- code-refactorSkill
- code-reviewerSkill
- code-transferSkill
- content-creatorSkill
- content-research-writerSkill
- conversation-analyzerSkill
- csv-data-summarizerSkill
- cto-advisorSkill
- d3-vizSkill
- dashboard-creatorSkill
- defense-in-depthSkill
- deploy-itSkill
- developer-growth-analysisSkill
- dispatching-parallel-agentsSkill
- doc-coauthoringSkill
- docxSkill
- domain-name-brainstormerSkill
- dwa-councilSkill
- escalation-reasoningSkill
- evaluator-optimizerSkill
- executing-plansSkill
- extract-from-pdfsSkill
- fda-consultant-specialistSkill
- feature-planningSkill
- file-operationsSkill
- file-organizerSkill
- finishing-a-development-branchSkill
- firebase-buddySkill
- flowchart-creatorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When user shares an error:
- Distinctive: line 219
Look for a file path and line number
- Distinctive: line 222
Check if it's a known issue: search GitHub Issues
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Error Fixer
Translate scary error messages into plain English and actionable fixes.
How to Use This Skill
When user shares an error:
- Identify the error type (see patterns below)
- Explain in one sentence what's wrong
- Provide the fix command or action
- Explain what the fix does (briefly)
Common Error Patterns
Module/Import Errors
"Cannot find module 'X'" or "Module not found"
- Meaning: A package isn't installed
- Fix:
npm install X(replace X with the package name)
"Cannot find module './components/Thing'"
- Meaning: File path is wrong or file doesn't exist
- Fix: Check spelling, check if file exists, check capitalization
"Module parse failed" or "You may need a loader"
- Meaning: Trying to import a file type the bundler doesn't understand
- Fix: Install appropriate loader (e.g., css-loader, file-loader)
Syntax Errors
"Unexpected token" or "Parsing error"
- Meaning: Typo in code — missing bracket, comma, quote
- Fix: Look at the line number mentioned, check for typos
"X is not defined"
- Meaning: Using a variable/function that doesn't exist
- Fix: Import it, define it, or check spelling
"Unexpected end of input"
- Meaning: Missing closing bracket, brace, or quote
- Fix: Check for unclosed
{,[,(, or quotes
React Errors
"Invalid hook call"
- Meaning: Hook used outside a component or in wrong order
- Fix: Move hooks to top of component, don't use in loops/conditions
"Each child should have a unique key prop"
- Meaning: List items need key attributes
- Fix: Add
key={uniqueId}to each mapped element
"Cannot read property 'X' of undefined"
- Meaning: Trying to access something that doesn't exist yet
- Fix: Add optional chaining
?.or check if data exists first
"Too many re-renders"
- Meaning: Component is updating itself in an infinite loop
- Fix: Check useEffect dependencies, don't call setState during render
"Rendered more/fewer hooks than expected"
- Meaning: Hooks are being called conditionally
- Fix: Move all hooks before any return statements or conditions
"Hydration failed" or "Text content mismatch"
- Meaning: Server HTML doesn't match client HTML (Next.js/SSR)
- Fix: Use
suppressHydrationWarning, or check for browser-only code
Next.js Errors
"'next/router' should not be imported in app directory"
- Meaning: Using old router in App Router
- Fix: Use
import { useRouter } from 'next/navigation'instead
"You're importing a component that needs useState..."
- Meaning: Server component using client-only features
- Fix: Add
'use client'at top of file
"Dynamic server usage" or "cookies/headers"
- Meaning: Using dynamic features in static context
- Fix: Add
export const dynamic = 'force-dynamic'to page
Tailwind Errors
Styles not applying
- Meaning: Class names not being detected
- Fix: Check
contentpaths in tailwind.config.js include your files
"Unknown at rule @tailwind"
- Meaning: Editor doesn't recognize Tailwind
- Fix: Install Tailwind CSS IntelliSense extension, or ignore the warning
Build/Compile Errors
"ENOENT: no such file or directory"
- Meaning: A file or folder is missing
- Fix: Check path, run
npm installif it's in node_modules
"EACCES: permission denied"
- Meaning: No permission to access file/folder
- Fix:
sudo chown -R $USER ~/.npmor use sudo
"ENOMEM" or "JavaScript heap out of memory"
- Meaning: Node ran out of memory
- Fix: Add
NODE_OPTIONS=--max-old-space-size=4096before command
"ERESOLVE unable to resolve dependency tree"
- Meaning: Package version conflicts
- Fix:
npm install --legacy-peer-depsor update conflicting packages
Git Errors
"fatal: not a git repository"
- Meaning: Not in a git project folder
- Fix:
cdto your project folder, or rungit init
"Your branch is behind"
- Meaning: Others pushed changes you don't have
- Fix:
git pull
"Merge conflict"
- Meaning: Same lines changed by two people
- Fix: Open the file, look for
<<<<<<<, choose which version to keep
"Permission denied (publickey)"
- Meaning: SSH key not set up
- Fix: Add SSH key to GitHub, or use HTTPS URL instead
Network/API Errors
"CORS error" or "blocked by CORS policy"
- Meaning: Server doesn't allow requests from your site
- Fix: Backend issue — add CORS headers, or use a proxy
"401 Unauthorized"
- Meaning: Bad or missing API key
- Fix: Check your .env file, verify API key is correct
"403 Forbidden"
- Meaning: Valid credentials but not allowed
- Fix: Check API permissions, rate limits, or subscription tier
"404 Not Found"
- Meaning: URL or endpoint doesn't exist
- Fix: Check the API URL, check spelling
"429 Too Many Requests"
- Meaning: Rate limited
- Fix: Wait and retry, add delays between requests
"500 Internal Server Error"
- Meaning: Server crashed — not your fault
- Fix: Check server logs, or wait and retry
"ERR_CONNECTION_REFUSED"
- Meaning: Server not running or wrong port
- Fix: Start the server, check the port number
TypeScript Errors
"Type 'X' is not assignable to type 'Y'"
- Meaning: Wrong data type
- Fix: Cast it, fix the type, or use
asassertion
"Property 'X' does not exist on type 'Y'"
- Meaning: Accessing something TypeScript doesn't know about
- Fix: Define the type, or use
(obj as any).X
"Object is possibly 'undefined'"
- Meaning: Value might not exist
- Fix: Add
?.or!(if you're sure it exists)
"Cannot find name 'X'"
- Meaning: TypeScript doesn't know about this global
- Fix:
npm install @types/Xor declare it
Python Errors
"ModuleNotFoundError: No module named 'X'"
- Meaning: Package not installed
- Fix:
pip install X
"IndentationError"
- Meaning: Inconsistent spaces/tabs
- Fix: Use consistent indentation (4 spaces recommended)
"SyntaxError: invalid syntax"
- Meaning: Typo — missing colon, bracket, or quote
- Fix: Check the line mentioned and the line before it
"TypeError: 'NoneType' object is not subscriptable"
- Meaning: Trying to access something that's None
- Fix: Check if variable has a value before accessing
Quick Fixes Table
| Error Contains | Likely Fix |
| "module not found" | npm install <package> |
| "ENOENT" | Check file path exists |
| "unexpected token" | Syntax error — check brackets/quotes |
| "is not defined" | Import or define the variable |
| "CORS" | Backend needs CORS headers |
| "401" | Check API key in .env |
| "port already in use" | kill -9 $(lsof -t -i:3000) |
| "cannot read property of undefined" | Add ?. or null check |
| "heap out of memory" | Add NODE_OPTIONS=--max-old-space-size=4096 |
| "hydration" | Add 'use client' or suppressHydrationWarning |
| "too many re-renders" | Check useEffect deps, don't setState in render |
When Error is Unclear
- Copy the FIRST line of the error (usually the actual problem)
- Look for a file path and line number
- Google the exact error message in quotes
- Or paste to AI with the relevant code file
- Check if it's a known issue: search GitHub Issues
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

