LT CLI Reference
Skill Boundaries
| User Intent | Correct Skill | |------------|---------------| | "lt fullstack init" | THIS SKILL | | "lt git get feature-branch" | THIS SKILL | | "lt server create my-project" | THIS SKILL | | "lt server module / object / addProp" | generating-nest-servers | | "lt server permissions" | generating-nest-servers | | "Create a NestJS module" | generating-nest-servers | | "Build a Vue component" | developing-lt-frontend |
After lt fullstack init:
- Backend work (projects/api/) →
generating-nest-servers - Frontend work (projects/app/) →
developing-lt-frontend
Commands
lt git get — Checkout/Create Branch
lt git get <branch-name> # alias: lt git g
- Branch exists locally → switches to it
- Branch exists on remote → checks out and tracks
- Neither exists → creates new branch from current
lt git reset — Reset to Remote
lt git reset
Fetches latest from remote, resets current branch to origin/<branch>. Destructive — all local changes lost.
lt fullstack init — Create Fullstack Workspace
# Non-interactive
lt fullstack init --name <Name> --frontend <angular|nuxt> --git <true|false> --noConfirm \
[--git-link <URL>] [--api-link <path>] [--frontend-link <path>]
| Parameter | Required | Description |
|-----------|----------|-------------|
| --name | Yes | Workspace name (PascalCase) |
| --frontend | Yes | angular or nuxt |
| --git | Yes | Initialize git: true / false |
| --noConfirm | No | Skip confirmation prompts |
| --git-link | No | Git repository URL |
| --api-branch | No | Branch of nest-server-starter |
| --frontend-branch | No | Branch of frontend starter |
| --api-copy / --api-link | No | Local API template (copy / symlink) |
| --frontend-copy / --frontend-link | No | Local frontend template (copy / symlink) |
Priority: --*-link > --*-copy > --*-branch > default (GitHub clone)
Created structure:
<workspace>/
├── projects/
│ ├── api/ ← nest-server-starter
│ └── app/ ← nuxt-base-starter (or ng-base-starter)
├── package.json
└── .gitignore
Post-creation:
cd <workspace> && pnpm install
cd projects/api && pnpm start # Port 3000
cd projects/app && pnpm start # Port 3001
lt server create — Scaffold New Server
lt server create <name> --noConfirm [--branch <branch>] [--copy <path>] [--link <path>]
Creates a standalone NestJS project from nest-server-starter. For module/object/property commands, see generating-nest-servers skill.
Best Practices
- Always use
--noConfirmfrom Claude Code to avoid blocking prompts - Run
git statusbeforelt git reset— it's irreversible - Use PascalCase for workspace names
- Use
--api-link/--frontend-linkfor local template development (fastest) - After init:
pnpm install→ start API → start App
Related Skills
generating-nest-servers—lt server module,lt server object,lt server addProp,lt server permissionsdeveloping-lt-frontend— Nuxt/Vue frontend developmentbuilding-stories-with-tdd— TDD workflow orchestration
Scan to join WeChat group