<< All versions
Skill v1.0.0
currentLLM-judged scan90/100forinda/kickjs-examples-archive/cli-commands-cheatsheet
──Details
PublishedOctober 23, 2026 at 08:27 PM
Content Hashsha256:219383a65e12bdaf...
Git SHA4ffc6e53ec95
──Files
Files (1 file, 3.6 KB)
SKILL.md3.6 KBactive
SKILL.md · 50 lines · 3.6 KB
version: "1.0.0" name: kickjs-cli-commands-cheatsheet description: Use as a quick reference for the most common kick CLI workflows — scaffolding, dev/build/start, generation, inspection.
<!-- Generated by kick g agents for cron-jobs-api. Edits are overwritten on the next refresh; keep customisation in a SKILL.local.md alongside. -->
Top commands:
kick new <name>— start a new project (prompts for template / repo / pm).kick dev— local dev server with Vite HMR.kick build— production bundle via Vite.kick start— run the built artifact (NODE_ENV=productionauto-set).kick g module <name>— add a feature module; structure followspatterninkick.config.ts.kick g scaffold <Name> <field:type>...— full CRUD module from field definitions.kick g guard <name>/kick g middleware <name>/kick g contributor <name>— the three "before the handler" shapes. A guard is a middleware by convention, NOT a separate primitive.kick add <pkg>— install optional packages (auto-resolves peer deps + package manager).kick g --list— list every available generator (built-ins + plugin-shipped).kick info— environment / version dump for bug reports.kick inspect— introspect a running app: routes, middleware, adapters, DI graph.
Useful flag combos:
bash
kick new my-api --yes # CI-safe: minimal + inmemory, no promptskick new my-api -t ddd --pm pnpm --no-git --install # Fully scriptable DDD scaffoldkick new . --yes --force # Scaffold into current dir, clear existing fileskick g scaffold Post title:string body:text:optional # Shell-safe optional field syntaxkick g agents -f --only skills # Refresh just the skills after upgradekick add queue:bullmq # Package + peer deps (bullmq + ioredis) in one shotkick inspect --port 4000 --json # Machine-readable route/adapter dumpkick g config --force --repo postgres # Drop a kick.config.ts into a legacy project
Lesser-known, high-value:
kick inspect --watch— live route/middleware/adapter table that re-renders on hot reload; faster than re-curling/_debug.kick g agents -f— regeneratesCLAUDE.md(root) and.agents/AGENTS.md/GEMINI.md/COPILOT.md+ every.agents/skills/<slug>/SKILL.mdfrom the current CLI templates.kick dev:debug— same flags askick devbut opens a Node inspector port for IDE attach.kick list --all(aliaskick ls --all) — full optional-package catalog at this CLI version.kick typegen --watch— standalone typegen watcher whenkick devisn't running.kick check— preflight gate (typecheck + lint + format) before commit.kick codemod— automated AST-level migration between framework versions.
Red flags:
- Using globally-installed
@forinda/kickjs-cliwhile contributing to the monorepo —pnpm link --globalfrompackages/cliso generators match the framework. - Writing
"name:type?"for optional scaffold fields —?is a shell glob in bash/zsh; usename:type:optional. - Running
kick new <name> --yesin a non-empty directory expecting it to wipe —--yesaborts without--force; pair them when destruction is intended. - Skipping
kick g configon a legacy project then wondering why generators ignoremodules.dir/modules.repo. - Editing
kick.config.tswith deprecated top-levelmodulesDir/defaultRepo/schemaDir/pluralizeinstead of the nestedmodulesblock.