Type Error Fix — Development skill for Claude Code
Pylance / pyright / mypy 정적 타입 진단("인수 형식을 알 수 없습니다", "부분적으로 알 수 없습니다", reportUnknown, reportGeneralTypeIssues 등)을 # type: ignore 로 침묵시키지 않고 타입 계약 누락이라는 근본 원인 수준에서 수정하는 워크플로우.
How to install Type Error Fix
Installs to ~/.claude/skills/gkseogus-ai_setting-type_error_fix/SKILL.md
mkdir -p ~/.claude/skills/gkseogus-ai_setting-type_error_fix && curl -fsSL https://raw.githubusercontent.com/gkseogus/ai_setting/HEAD/commands/type_error_fix.md -o ~/.claude/skills/gkseogus-ai_setting-type_error_fix/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Type Error Fix does
Pylance / pyright / mypy 정적 타입 진단("인수 형식을 알 수 없습니다", "부분적으로 알 수 없습니다", reportUnknown*, reportGeneralTypeIssues 등)을 `# type: ignore` 로 침묵시키지 않고 **타입 계약 누락이라는 근본 원인** 수준에서 수정하는 워크플로우.
글로벌 룰 (표면 vs 근본 판단 준용)
@{{AI_SETTING_DIR}}/template/error_handling.md
실행 순서
1. Triage — 진단이 무엇의 신호인지 분류
- (a) 실제 런타임 버그의 신호: None 가능성 미처리, 잘못된 인자 타입, 존재하지 않는 속성 접근 등 → 타입 진단이 아니라 버그다.
/root_cause워크플로우로 전환. - (b) 타입 계약 누락: 코드는 런타임에 정상 동작하지만 타입체커가 추론하지 못함 → 이 워크플로우 계속.
- 분류 결과와 근거를 한 문장으로 보
Alternatives in Development
- Pyright Lsp — Python /plugin install pyright-lsp@claude-plugins-official 14k ★
- Ars Citation Check — ARS academic-paper citation-check mode — citation error report 4.5k ★
- n8n Validation Expert — Fix n8n validation errors with error catalog 3.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fixbuild
Run build, capture error, fix it, re-run — fast loop for type errors and build failures without heavyweight de
Pbi Error
Diagnose DAX errors across 7 categories (syntax, type mismatch, circular dependency, missing column, ambiguous
Issue Fix
이슈 해결 및 완료 처리 (Fix -> Verify -> Close) 워크플로우
Add Observability
Add production observability to a service — structured logging, metrics endpoint, health checks, and Sentry er
Claude Code Auto Continue
Auto-continue for Claude Code: when a session stops on an API error (connection lost, sleep, ECONNRESET, rate
Explain Error
You are executing the /explain-error command. Your job is to diagnose a Coq type error: parse it, gather conte
Related Agents
Type Hints.Agent
Add or fix Python type hints to satisfy mypy strict mode. Use when: adding type annotations, fixing mypy error
Auto Error Resolver
Fix compilation errors, build failures, type errors, or test failures. Systematically identifies root causes a
Build Error Resolver
Build and compilation error resolver. Use proactively when build/compile/type-check fails to quickly diagnose