Skip to main content

typescript-circular-dependency

Stars7
Forks1
UpdatedFebruary 24, 2026 at 13:20

Detect and resolve TypeScript/JavaScript circular import dependencies. Use when: (1) Cannot access X before initialization at runtime, (2) Import returns undefined unexpectedly, (3) ReferenceError Cannot access X before initialization, (4) Type errors that disappear when you change import order, (5) Jest/Vitest tests fail with undefined imports that work in browser.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly