typecheck

Iteratively detect and fix type errors using TypeScript, MyPy, Pyright, or Rust compilers.

Updated May 11, 2025
One-click install
npx skills add https://github.com/rogsme/dotfiles --skill typecheck-rogsme
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typecheck
Source: https://github.com/rogsme/dotfiles/tree/main/.claude/skills/typecheck
Command: npx skills add https://github.com/rogsme/dotfiles --skill typecheck-rogsme

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill unit helps maintain type-safety by automatically detecting and resolving type errors across the codebase, enhancing the quality and reliability of the project.

Core Features & Use Cases

  • Automatic Type Error Detection: Identifies type mismatches in the codebase using the appropriate type checker.
  • Iterative Fix Loop: Provides an automated process to fix type errors and verify corrections until all issues are resolved.
  • Configuration Management: Offers configuration rules for different ecosystems to avoid unnecessary suppressions and weakenings.
  • Commit Integration: Integrates with commit processes to ensure all changes adhere to type-safety rules.

Quick Start

Execute the typecheck command to begin the type checking process and iterative fix loop.

Frequently Asked Questions about typecheck

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix type errors across my codebase?

Automated iterative type checking resolves type errors by running type checkers in a loop, detecting mismatches, applying fixes, and verifying corrections until the codebase is type-safe.

What type checkers are supported for automated type safety checks?

Supported type checkers include TypeScript, MyPy, Pyright, and the Rust compiler. The appropriate checker is used to detect and resolve type errors based on your project's ecosystem.

Can I integrate type checking into my commit process?

Yes, type checking integrates with commit processes to ensure all code changes adhere to type-safety rules before they are committed, preventing type errors from entering the codebase.

How does the iterative fix loop for type errors work?

The iterative fix loop detects type errors using a type checker, automatically applies corrections, and re-runs the check to verify the fix, repeating until all type mismatches are resolved.

Do I need to install type checkers separately to use automated type checking?

Yes, you must have the corresponding type checkers for your ecosystem installed, such as TypeScript or MyPy, as they are required to execute type checking commands and manage configurations.

What are the limitations of automated type error resolution?

Automated type checking includes configuration rules to avoid unnecessary suppressions and weakenings, but complex type mismatches may require manual intervention if the iterative loop cannot resolve them automatically.