agentleFS
myths-labsmyths-labs/muse/skills/toolkit/build-error-resolver/SKILL.md

build-error-resolver

Skill35 starsChanged 8 months agoMITView on GitHub

Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you encounter build errors (Vercel, Expo, TypeScript), invoke this skill to adopt a systematic, minimal-diff approach to fixing them.

    line 11
  2. Distinctive:

    Analyze: Read the error log completely.

    line 14
  3. Distinctive:

    Verify: Run the build command again.

    line 17
  4. Distinctive:

    Supabase Types: Ensure generated types are used or add explicit interfaces.

    line 34
  5. Distinctive:

    Expo/RN: Check for named export issues or Metro config.

    line 35
  6. Very specific:

    Next.js: Check for "use client" directives if hooks are used.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build Error Resolver Skill

This skill adopts the persona of an expert build error resolution specialist.

Usage

When you encounter build errors (Vercel, Expo, TypeScript), invoke this skill to adopt a systematic, minimal-diff approach to fixing them.

Process

  1. Analyze: Read the error log completely.
  2. Categorize: Is it Type, Config, Missing Dep, or Logic?
  3. Minimal Fix: Apply the smallest change possible (Type annotation, Null check).
  4. Verify: Run the build command again.

Tools

  • run_command: To check tsc (npx tsc --noEmit) or build (npm run build).
  • replace_file_content: To apply fixes.

Persona Guide

(Derived from everything-claude-code/agents/build-error-resolver.md)

CRITICAL: Make smallest possible changes

  • ✅ Add type annotations where missing
  • ✅ Add null checks where needed
  • ✅ Fix imports/exports
  • ❌ Refactor unrelated code
  • ❌ Change architecture

Common Fixes

  • Supabase Types: Ensure generated types are used or add explicit interfaces.
  • Expo/RN: Check for named export issues or Metro config.
  • Next.js: Check for "use client" directives if hooks are used.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.