@skelon/cli
v0.1.2
Published
CLI tool for Skelon to generate skeleton templates.
Maintainers
Readme
📖 Introduction
@skelon/cli is a powerful developer tool for high-performance applications. While Skelon can analyze layouts at runtime, the CLI allows you to scan your codebase, identify structural UI habits, and pre-generate static skeleton presets.
This is ideal for large-scale enterprise applications where you want to eliminate the runtime overhead of DOM/Native node measurement.
🚀 Installation
# Global installation
npm install -g @skelon/cli
# Or run via npx
npx @skelon/cli --help⚡ Quick Usage
Scan your components
Scan a directory to identify repeating layout patterns that could be converted into static skeletons.
skelon scan --dir ./src/components --output patterns.jsonGenerate static presets
Create a reusable TypeScript preset file based on your UI structures.
skelon generate --preset patterns.json --out ./src/skeletons.ts✨ Features
- Static Analysis: Identifies layout geometry without running the browser.
- Enterprise Ready: Perfect for large monorepos with hundreds of unique components.
- Performance Boost: Reduces runtime CPU usage by moving measurement logic to the build step.
- CI/CD Integrated: Automatically update your skeleton presets as part of your build pipeline.
📦 Skelon Ecosystem
| Package | Role | | :--- | :--- | | @skelon/core | The Inference Intelligence Engine | | @skelon/react | Web / Next.js Rendering Adapter | | @skelon/react-native | Mobile / Expo Rendering Adapter |
🔗 Links
- Documentation: skelon.js.org/cli
- Repository: github.com/ingointo/skelon
- Contributing: Join the project
📄 License
MIT © ingointo
