build-fix

build-fix is a skill for Claude Code from MichaelYcJo/SpecSeal. It costs 62 tokens per session (414 once invoked), scanned A, original, MIT.

A method for fixing build, compile, and type-check errors at their underlying cause. A build is the process that turns source code into a runnable or distributable result.

In plain words
What is it for?
Use it for type errors, missing modules, syntax problems, and configuration failures, then rerun the full build to verify the fix.
Why use it?
It prevents suppressing compiler messages with workarounds that leave the actual defect in place.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the specseal plugin — 22 skills, 5 agents, 4 hooks shipped together

Good fit Use it for type errors, missing modules, syntax problems, and configuration failures, then rerun the full build to verify the fix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michaelycjo/specseal/build-fix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MichaelYcJo/SpecSeal --skill build-fix
Clone the repo
git clone --depth 1 https://github.com/MichaelYcJo/SpecSeal

Made for: Claude Code.

Or install specseal, the plugin that ships this one along with the rest of its 22 skills, 5 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/michaelycjo/specseal/build-fix/github.svg)](https://agentmods.dev/skills/michaelycjo/specseal/build-fix)
Your own site
<a href="https://agentmods.dev/skills/michaelycjo/specseal/build-fix"><img src="https://agentmods.dev/badge/skills/michaelycjo/specseal/build-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/michaelycjo/specseal/build-fix"><img src="https://agentmods.dev/badge/skills/michaelycjo/specseal/build-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 414 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.00414
Opus 5.5 $0.00025 $0.00166
Sonnet 5.5 $0.00012 $0.00083
Haiku 4.5 $0.00006 $0.00041

Measured 7d ago against content hash ca29f089e14c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/build-fix/SKILL.md · 50 lines

What it actually says

build-fix, fix the cause, never the message

Nothing runs yet, so there is nothing to reproduce: the compiler already said where it stopped. The failure mode here is suppression: a cast, an any, an ignore comment makes the message go away and leaves the defect. The first error is usually the only real one; the rest are its shadow.

Process

  1. Read the full error. Don't fix based on the first line alone.
  2. Categorize
    • Type error: check type definitions, imports
    • Missing module: check dependencies, paths
    • Syntax error: check recent changes
    • Config error: check build config files
  3. Fix the root cause, not the symptoms.
  4. Verify: run the full build again after the fix.

Rules

  • Fix ONE error category at a time (cascade errors are common)
  • After fixing, re-run the build to check for new errors
  • If the same error persists after two attempts, re-examine the approach
  • If three attempts fail, invoke the 3+ Fix Rule: stop and ask the user

Common Traps

  • Fixing type errors by adding any or as unknown
  • Suppressing errors with @ts-ignore or # type: ignore
  • Fixing import errors by creating empty stub files
  • These are symptoms, not fixes. Find the real cause.

Output Format

Error: [category], [summary]
Root cause: [why it's happening]
Fix: [what was changed]
Build: [PASS or FAIL after the fix]
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed ca29f089e14c
  2. 2mo ago First seen · 50 lines · 62 tokens per session scan A acd872750afa

Subscribe to this mod's changes

build-fix is a skill published in the GitHub repository MichaelYcJo/SpecSeal (1 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 414 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

audit

Project health audit and health check — architecture, performance, tests, dependencies, code quality. Use when assessing overall project health, before releases, or after refactors.

oliver-kriska/claude-elixir-phoenix · 35 tokens

roslyn-query

Query .NET/C# codebases using Roslyn AST analysis via dotnet run file. Use for tracing data flow, auditing API usage, finding pattern violations, or ad-hoc codebase queries.

NikiforovAll/claude-code-rules · 44 tokens

anti-patterns

Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).

avelikiy/great_cto · 59 tokens

skeptical-triage

Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.

avelikiy/great_cto · 49 tokens

shipyard-debugging

Investigates root cause systematically before any fix is proposed. Use when encountering any bug, test failure, unexpected behavior, or error message. Also use for tracebacks, exceptions, "not working" complaints, build failures, performance problems, or integration issues, and whenever the next step would be to…

lgbarn/shipyard · 72 tokens

codebase-hygiene

Two-mode skill: (1) find semantic duplicates — functions doing the same thing under different names, invisible to copy-paste detectors; (2) deepen shallow modules — thin wrappers and pass-through layers that spread complexity. Advisory and read-only; changes route through BUILD with full gates.

romiluz13/cc10x · 67 tokens