fix-circular-deps
CommunityResolve circular dependencies
Software Engineering#code quality#typescript#refactoring#dependency management#circular dependency#fluidframework
Authortylerbutler
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses and resolves circular dependency issues and layer-check violations within the FluidFramework repository, ensuring code integrity and maintainability.
Core Features & Use Cases
- Violation Detection: Identifies cross-package layer boundary violations and intra-package import cycles.
- Pattern Classification: Categorizes circular dependency patterns (e.g., barrel imports, mutual runtime dependencies, type-only cycles, cross-layer violations).
- Automated Fixes: Applies targeted fixes by adjusting import paths and converting imports to
import typewhere appropriate. - Verification: Includes steps to verify fixes using
pnpm layer-check, package builds,depcruise, linting, and tests. - Use Case: When
pnpm layer-checkreports an error, use this Skill to automatically identify the problematic packages and apply the correct import path adjustments to resolve the violation.
Quick Start
Use the fix-circular-deps skill to resolve import cycles in the 'common' package.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: fix-circular-deps Download link: https://github.com/tylerbutler/repo-overlays/archive/main.zip#fix-circular-deps Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.