gupta-builds/jarvis/source-command-build-fix
Claude Code and agent skill by gupta-builds/jarvis
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Fix TypeScript errors and build failures to zero errors
Install
npx vskill@latest install gupta-builds/jarvis/source-command-build-fixSKILL.md
The same SKILL.md was published earlier as gupta-builds/jarvis/source-command-build-fix.
source-command-build-fix
Use this skill when the user asks to run the migrated source command build-fix.
Command Template
/build-fix
Capture all errors first, then fix in priority order.
Step 1 — Capture Everything
Run all three before touching any file — understand the full error surface.
Step 2 — Fix in Priority Order
| Error pattern | First action | |
|---|---|---|
Type in src/sanity/types/ | pnpm typegen — types are stale, regenerate | |
Module not found | Check @/* alias → src/*. Verify file exists. | |
Property does not exist on Sanity type | Run pnpm typegen, then check GROQ projection | |
"use client" missing | Add directive at top of file, or extract to a hook | |
| Three.js SSR error | next/dynamic(() => import(...), { ssr: false }) | |
auth() in Client Component | Move to Server Component or use useUser() hook | |
await missing on params/searchParams | Next.js 16 — these are Promises, always await | |
| Generic type error | Fix the type — never as any or @ts-ignore |
Step 3 — Verify
ECC Delegation
For complex or cascading TypeScript errors, delegate to the specialist:
This agent makes minimal diffs and does not refactor — it's surgical.
Common Root Causes
- Schema changed but
pnpm typegennot run →src/sanity/types/index.tsstale - Three.js imported directly in a Server Component → wrap with
next/dynamic await sanityFetch()missing → it always returns a PromiselocalContent.tsnot updated after new query → add the mapping- Clerk
auth()called in a'use client'file → move to server context
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking20_Progress/AI/Codex/Portfolio/skills/source-command-build-fix/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gupta-builds/jarvis/source-command-build-fix)