Chapter 09 of 11·Reference

Skelly CLI

Scaffold fresh templates or initialize Skelly within existing codebases with a single command.

Skelly comes with a built-in zero-dependency command line interface to automate setting up skeleton layouts in React, Next.js, and Vite projects.

Scaffold a fresh project

Run the following command to bootstrap a brand new Next.js App Router project pre-configured with route-level Skelly loading files:

terminalsh
npx skelly create my-awesome-app --next
cd my-awesome-app
npm run dev

Integrate into existing codebase

To install Skelly, inject styles, and set up generic fallback skeletons automatically inside your existing project:

terminalsh
npx skelly init
← previousAPInext →Generic presets