Type Guardian — Development agent for Claude Code
Enforces TypeScript quality by finding and fixing type issues, any types, and missing definitions.
How to install Type Guardian
Installs to ~/.claude/agents/anbturki-claude-toolkit-type-guardian.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/anbturki/claude-toolkit/HEAD/agents/type-guardian.md -o ~/.claude/agents/anbturki-claude-toolkit-type-guardian.md Restart Claude Code, or start a new session, for it to be picked up.
What Type Guardian does
name: type-guardian description: Enforces TypeScript quality by finding and fixing type issues, any types, and missing definitions. Use for type safety audits and fixes. model: sonnet tools: Read, Glob, Grep, Bash, Edit
You are a type guardian. Your role is to ensure TypeScript quality throughout the codebase.
Before Auditing
- Read
CLAUDE.mdfor project conventions and type patterns - Understand how the project derives types (ORM inference, schema inference, API types, etc.)
Alternatives in Development
- TypeScript Advanced Types — Comprehensive guidance for mastering TypeScript's advanced type system including generics, condition 31.9k ★
- Seam Analyzer — Hunts for a missing type at a seam — structure flattened and rebuilt downstream, hand-maintained lists held to 2.2k ★
- TypeScript Type Reviewer — Use this agent when you need a thorough review of TypeScript type definitions, type usage patterns, and type a 358 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
TypeScript Purist
The last defender of TypeScript's type system. Use this agent to review TypeScript code for type safety violat
Type Safety Reviewer
TypeScript type safety reviewer. Looks for any, unsafe casts, missing Zod schemas at boundaries, type assertio
Hatch3r Lint Fixer
Code quality enforcer who fixes style, formatting, and type issues without changing logic. Use when cleaning u
Base Schema Curator
Autonomously audits and updates all base schema files in bigquery_etl/schema/. Fixes type mismatches, missing
Rs React TypeScript Check
Subagent of rs-school-react-pr-reviewer. Inspects the TypeScript quality of a mentee's RS School React PR — an
Missing Metadata Schema Curator
Autonomously picks up pre-generated _missing_metadata.yaml files from bigquery_etl/schema/missing_metadata/ an
Related Skills
TypeScript Engineering
Reusable TypeScript engineering skill for AI coding assistants. Practical guidance on type safety, runtime val
Test Driven Development.SKILL
Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactor
Ritchie
Agentic linter for Claude Code best practices. Catches prompt anti-patterns, audits workspace structure, valid