mf-type-check

Official

Diagnose Module Federation type issues

Authormodule-federation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps resolve TypeScript type errors and configuration issues related to Module Federation, ensuring seamless integration and type safety across micro-frontend applications.

Core Features & Use Cases

  • Diagnose Type Generation Failures: Identifies and helps fix errors when producers fail to generate type definition files (.d.ts).
  • Resolve Type Pulling Issues: Assists when consumers cannot download or locate remote type definitions.
  • Configure tsconfig.json: Guides users on correctly setting up tsconfig.json to consume remote types.
  • Check Environment Setup: Verifies the presence of tsconfig.json and the typescript dependency.
  • Use Case: A developer is seeing TypeScript errors like "Cannot find module '@remote-app/component' or its corresponding type declarations" after setting up Module Federation. This Skill can pinpoint whether the issue is with type generation on the producer side, the consumer's inability to pull types, or a misconfiguration in tsconfig.json.

Quick Start

Run the mf-type-check skill with your project root to diagnose type issues.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mf-type-check
Download link: https://github.com/module-federation/core/archive/main.zip#mf-type-check

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.