Skip to content

feat(create): ask setup questions after the create-xxx CLI runs - #3435

Open
liangmiQwQ wants to merge 3 commits into
voidzero-dev:mainfrom
liangmiQwQ:feat/create-prompt-after-remote-template
Open

liangmiQwQ wants to merge 3 commits into
voidzero-dev:mainfrom
liangmiQwQ:feat/create-prompt-after-remote-template

Conversation

@liangmiQwQ

@liangmiQwQ liangmiQwQ commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #3424, so the diff includes its changes until it is merged.

The current vp create <create-xxx template> asks about agent instructions, editor configs, git, and commit hooks before the create-xxx CLI runs. These prompts come before the template's own prompts, and they cannot know what the template is going to generate.

This PR moves these prompts after the create-xxx CLI finishes and makes them check the generated project. The package manager choice stays where it is, because it decides which package manager launches the create-xxx CLI.

  • Agents: asks which agent instruction files to create. If the template already generated one, asks whether to append to it or skip.
  • Editors: asks which editor configs to write. If the template already generated editor configs, they are merged without further questions.
  • Git: asks only when the template did not initialize a repository. It is still skipped when adding a package to an existing monorepo.
  • Hooks: asks whether to set up commit hooks, also when the repository came from the template.

Built-in and bundled @org templates keep asking up front. Non-interactive runs resolve the same choices as before.

🤖 Generated with Claude Code

@liangmiQwQ
liangmiQwQ force-pushed the feat/create-prompt-after-remote-template branch from 3425721 to 8260793 Compare November 11, 2026 21:55
@liangmiQwQ
liangmiQwQ marked this pull request as ready for review November 12, 2026 13:27
@liangmiQwQ
liangmiQwQ requested a review from fengmk2 November 12, 2026 13:28
@liangmiQwQ
liangmiQwQ force-pushed the feat/create-prompt-after-remote-template branch from 44ad070 to 9f763e8 Compare November 12, 2026 13:29
@fengmk2 fengmk2 self-assigned this Nov 12, 2026

This branch has not been deployed

No deployments
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.

2 participants