Skip to content

Commands



TIP

Skaya is a versatile CLI toolkit designed to supercharge your full-stack web3 project setup, with comprehensive support for frontend, backend, and blockchain development.

Web3 Scaffolding Tool CLI Reference

CommandOption FlagsDescriptionExample Usage
init(Checkbox prompt)Interactive project type selection when no type providedskaya init (select project type)
[type]Initialize with specified project typeskaya init frontend
-f, --folder <name>Specify project folder nameskaya init -f my-project
create(Checkbox prompt)Interactive component creation when no type providedskaya create (select component type)
[type]Create specified component typeskaya create component
-p, --project <type>Specify project type (frontend/backend/blockchain)skaya create -p frontend
-f, --filename <name>Set component filename (auto-capitalized)skaya create -p frontend -f Button
-a, --aiEnable AI-generated componentskaya create modal -a
-d, --description <text>Provide context for AI generationskaya create modal -a -d "Popup dialog"
-s, --skip-importSkip dependency importsskaya create -s
-t, --skip-target-folderUse default folder locationskaya create -t
update(Checkbox prompt)Interactive component selection when no type providedskaya update (select component)
[type]Update specified component typeskaya update component
-p, --project <type>Specify project type to updateskaya update -p backend middleware
-a, --aiUse AI for component updatesskaya update -p backend middleware -a
-d, --description <text>New specifications for AI updatesskaya update -p backend middleware -a -d "add permission for markketing team"
-s, --skip-importSkip dependency importsskaya update -p backend middleware -a -s
start(Checkbox prompt)Interactive service selection when no flags providedskaya start (select project)
-a, --allStart all project servicesskaya start --all
-f, --frontendStart frontend serviceskaya start -f
-b, --backendStart backend serviceskaya start -b
-c, --blockchainStart blockchain serviceskaya start -c
install(Checkbox prompt)Interactive component selection when no flags providedskaya install (select project)
-a, --allInstall dependencies for all project typesskaya install -a
-f, --frontendInstall frontend dependenciesskaya install -f
-b, --backendInstall backend dependenciesskaya install -b
-c, --blockchainInstall blockchain dependenciesskaya install -c
-l, --legacy-peer-depsUse legacy peer dependency resolutionskaya install -l
[additional_args]Pass extra arguments to package managerskaya install --force

Key Features Explained

  1. Smart Defaults - init auto-suggests folder names (frontendSkayaProject)

    • create capitalizes filenames (buttonButton)
  2. Context-Aware Prompts - create shows only relevant component types based on project selection

    • update scans existing components to prevent duplicates
  3. AI Integration - Flags -a and -d work across create/update for: ✓ Code generation ✓ Component modifications ✓ Documentation updates

  4. Installation Flexibility - Supports mixed project types:

    bash
    skaya install -f -c --legacy-peer-deps
    • Forwards args like --force to npm/yarn
  5. Error Prevention - Validates project/component types before execution

    • Requires filenames in non-interactive mode
    • Confirms folder changes when default exists