module-systems

Solid

Expert skill for designing module systems including resolution algorithms, import/export mechanisms, visibility control, namespace management, and cyclic dependency handling.

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Module Systems Skill Design and implement module systems for programming languages with support for resolution, loading, visibility, and dependency management. ## Capabilities - Design module/import/export syntax - Implement module resolution algorithms - Handle cyclic module dependencies - Implement visibility/access control - Design namespace management systems - Support module aliases and re-exports - Implement lazy/on-demand module loading - Design package/crate system integration ## Usage Invoke this skill when you need to: - Design a module system for a new language - Implement module resolution algorithms - Handle complex dependency graphs - Build visibility and access control systems - Integrate with package managers ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | moduleStyle | string | Yes | Style (es6, commonjs, rust, ml) | | resolutionStrategy | string | Yes | Resolution (node, rust, python, custom) | | features | array | No | Features to implement | | cyclicHandling | string | No | How to handle cycles (error, lazy, tarjan) | | visibility | object | No | Visibility model configuration | ### Feature Options ```json { "features": [ "import-export", "re-exports", "namespace-aliasing", "selective-imports", "default-exports", "lazy-loading", "cyclic-detection", "visibility-control", "inline-modules", "package-integration" ] } ``` ## Output Structure ``` modu...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills