Skip to content

docs(using-lt-cli): document experimental --next flag (nest-base)#6

Merged
pascal-klesse merged 1 commit into
mainfrom
feat/document-cli-next-experimental
Apr 30, 2026
Merged

docs(using-lt-cli): document experimental --next flag (nest-base)#6
pascal-klesse merged 1 commit into
mainfrom
feat/document-cli-next-experimental

Conversation

@pascal-klesse

Copy link
Copy Markdown
Member

Summary

Documents the new experimental --next flag added to the lt CLI in lenneTech/cli#80.

The flag swaps the API template from nest-server-starter (MongoDB) to nest-base (Bun + Prisma 7 + Postgres + Better-Auth) and is intended for greenfield prototyping only.

Changes

plugins/lt-dev/skills/using-lt-cli/:

  • SKILL.md:
    • new gotcha entry warning that --next projects are incompatible with lt server module/object/addProp/test/permissions,
    • --next added to lt fullstack init synopsis + parameter table,
    • --next added to lt server create synopsis,
    • "Created structure" + "Post-creation" updated to reflect the bun-based install path.
  • examples.md: new "Experimental: --next (nest-base)" section with a standalone-API example, a fullstack example, and explicit limitations. Following sections renumbered.
  • reference.md: detailed reference block for --next covering effects, limitations, and post-creation install commands.

Why this matters for future skill activations

Without these notes, the using-lt-cli skill would happily route a user from lt fullstack init --next to generating-nest-servers for follow-up lt server module work — which fails because nest-base has a different layout (Prisma instead of Mongoose, no src/server/modules/). The new gotcha + the limitations in examples/reference make that boundary explicit.

Test plan

  • Frontmatter validator hook passes (edits split to keep --- out of old/new strings).
  • All --next references match the cli implementation: forces apiMode = Rest, frameworkMode = npm, skips workspace install in fullstack mode.
  • Companion cli PR (feat: experimental --next flag for nest-base template cli#80) merged.

Related

🤖 Generated with Claude Code

Updates the using-lt-cli skill to reference the new experimental
--next flag added to lt CLI in lenneTech/cli#<TBD>.

- SKILL.md: gotcha + parameter table entry + lt server create synopsis
- examples.md: new "Experimental: --next (nest-base)" section under
  Fullstack Project Initialization
- reference.md: detailed reference block for --next

The flag swaps the API template from nest-server-starter (MongoDB) to
nest-base (Bun + Prisma 7 + Postgres + Better-Auth). Documented as
incompatible with the downstream lt server module/object/addProp/test/
permissions generators so future skill activations don't suggest those
on a --next project.

See: https://github.com/lenneTech/cli/pull/new/feat/next-experimental-nest-base

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pascal-klesse pascal-klesse merged commit 6a2685b into main Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant