type-inference

Analyze Biome's type inference workflow for TypeReference resolution and module graph traversal.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/qdhenry/Foundry-OSS --skill type-inference-qdhenry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: type-inference
Source: https://github.com/qdhenry/Foundry-OSS/tree/main/.agents/skills/type-inference
Command: npx skills add https://github.com/qdhenry/Foundry-OSS --skill type-inference-qdhenry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Biome's type inference system and module graph can be complex; this skill provides guidance to implement type-aware lint rules, resolve types, and navigate the module graph effectively, improving IDE support and accuracy.

Core Features & Use Cases

  • Guides on type references, resolution phases, and architecture for IDE performance.
  • Helps implement type inference for new features and maintain Biome codebase quality.

Quick Start

Explain how to resolve a TypeScript expression in Biome's type inference workflow and outline the steps to implement a type-aware lint rule.

Frequently Asked Questions about type-inference

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

FAQPage Schema
How do I resolve a TypeScript expression using Biome's type inference workflow?

To resolve a TypeScript expression in Biome's type inference workflow, you use available resolvers to navigate local, thin, and full inference phases, applying recommended patterns for type flattening and accurate reference resolution.

How does Biome's module graph traversal handle TypeReference resolution?

Biome's module graph traversal handles TypeReference resolution by progressing through local, thin, and full inference phases, ensuring accurate type resolution across modules to maintain high IDE performance.

What is the best way to implement type-aware lint rules in Biome?

The best way to implement type-aware lint rules in Biome is to leverage its type inference architecture, utilizing available resolvers and module graph navigation to accurately resolve types and flatten references.

How do I navigate local, thin, and full inference phases for IDE performance?

You navigate local, thin, and full inference phases by applying Biome's recommended patterns for type flattening and reference resolution, which optimizes the type inference workflow for better IDE performance.

Why does type resolution across modules affect IDE performance in Biome?

Type resolution across modules affects IDE performance because traversing the module graph and resolving TypeReferences requires carefully managing local, thin, and full inference phases to prevent processing bottlenecks.

Can I extend Biome's type-info codebase for new features that depend on accurate type resolution?

Yes, you can extend Biome's type-info codebase for new features by using available resolvers and navigating the module graph to ensure accurate type resolution and maintain codebase quality.