원클릭으로
gt-typescript-error-fixer
Fix TypeScript compile errors and eliminate `any` types. Use on failing builds, type-safety audits, or `any` cleanup.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fix TypeScript compile errors and eliminate `any` types. Use on failing builds, type-safety audits, or `any` cleanup.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | gt:typescript-error-fixer |
| description | Fix TypeScript compile errors and eliminate `any` types. Use on failing builds, type-safety audits, or `any` cleanup. |
Fix all TypeScript compilation errors systematically using a 4-phase workflow. Zero tolerance for any types.
package-lock.json, yarn.lock, bun.lockb, pnpm-lock.yaml).tsgo --noEmit 2>&1 | tee tsc-<YYYY-MM-DD-HHmmss>.log
Filter to specific directories: tsgo --noEmit | rg "src/"For each file with errors, deploy a subagent (via the Agent tool):
ts-fix-<filename-without-extension>any -- see rules below).tsgo --noEmit (or filter: tsgo --noEmit | rg "src/").anyany is never an acceptable fix. When you encounter it:
@types packages)Partial<T>, Pick<T, K>, Omit<T, K>, Record<K, V>unknown with type guards instead of anyReturnType<T>, Parameters<T> for function-derived typesany is temporarily unavoidable, add a // TODO: comment explaining why and the resolution path. This is the only exception.Per-file checking (faster than full recompilation):
tools mcp-tsc <file> -- persistent LSP server, ~100ms for incremental checkstools mcp-tsc --hover --line N --text symbol file.ts -- type introspection to find the correct type replacing anyClaude Code LSP operations (built-in):
goToDefinition -- trace type origins to their sourcehover -- get inline type info for any symbolfindReferences -- understand usage patterns across the codebaseUse these when researching actual types to replace any instead of guessing.
tsgo fails to run, check tsconfig.json for config issues first.any types remain (or each has a documented TODO with resolution path).Control macOS UI via the Accessibility API and record short screen captures reviewed frame-by-frame. Use when automating native apps — clicking buttons, filling forms, reading element state, finding elements, getting window bounds — or when the user wants a short screen recording of an animation/transition/flicker reviewed via a contact sheet, optionally pushed to a vitrinka board. Triggers on "click button in app", "fill form in native app", "automate macOS app", "list UI elements", "find button", "read text field value", "get window position", "interact with native app", "record the screen", "capture this transition", "Xs recording", "Nfps", "watch this animation", "why does it jump/flicker", "record this app for a few seconds", "push the recording to a board".
Drive a real, extension-loaded Chrome/Brave browser for the GenesisTools YouTube extension via chrome-devtools-mcp as a standalone MCP client — no Claude Code config edits, no restart. Use whenever the user wants to test, debug, screenshot, or click through the YouTube extension's UI (side panel tabs, popup, content script), asks to "load the extension and click X", wants a screenshot of the extension mid-interaction, or needs to find exact pixel coordinates to click something inside a web page (not a native macOS app — for that, use the screen-capture skill instead). Also use this whenever chrome-devtools-mcp's own tools are attempted and fail with "no browser" or launch a blank vanilla browser with no extension loaded — that means the server wasn't wired to a real browser, and this skill is the fix.
Cross-agent messaging protocol via `tools agents`. Use when the main agent is about to spawn subagents that should be able to message each other (or back to the main agent) during their work. Teaches the login (auto-registers) / message / discover / listen pattern, the stream-vs-once receive modes, and the no-loss delivery contract.
Empirically evaluate and trim ANY agent-instruction file — user/project CLAUDE.md, CLAUDE.local.md, AND AGENTS.md (the cross-tool standard read by Codex, Cursor, Gemini CLI) — to find rules a clean model already knows, rules the repo/hooks already enforce, and internal duplication, then propose evidence-backed cuts. Autodetects which files exist and which the harness actually loads, runs headless claude with ALL instruction files EXCLUDED (verified by canary) against MULTIPLE models, and classifies every rule KEEP/SHRINK/CUT with a multi-provider rubric. Use when the user says "improve agents.md", "evaluate agents.md", "trim CLAUDE.md", "improve claude md", "is my CLAUDE.md bloated", or "/improve-agents-md [path]".
Create and maintain a compaction-proof progress file (.claude/plans/<plan>.handoff.md) next to an implementation plan, so any executor - fresh session, post-compact resume, or parallel subagent - knows exactly where the work stands and which plan lines to read next. Invoke when starting to execute a plan, when resuming one, when handing work to another agent, or when the user says "create a handoff" / "prepare the handoff".
Write comprehensive implementation plans (subsumes writing-plans - bite-sized TDD tasks, exact paths, complete code) hardened with an executor-proof contract - all judgment spent at plan time, REASON/VERIFY/ON-FAIL per task, no-improvisation covenant - so even the weakest model executes to strong-model-quality output. Invoke INSTEAD of writing-plans whenever the plan may be executed by another session, subagent, or weaker model.