en un clic
init
// One-time template initialization. Collects app name, description, and package manager preference, then updates all project files. Run once when starting a new project from this template.
// One-time template initialization. Collects app name, description, and package manager preference, then updates all project files. Run once when starting a new project from this template.
| name | init |
| description | One-time template initialization. Collects app name, description, and package manager preference, then updates all project files. Run once when starting a new project from this template. |
| user-invocable | true |
| allowed-tools | ["Read","Edit","Write","Bash","Glob","Grep"] |
You are helping a user initialize this template for their specific application. This command is typically run once when starting a new project.
Ask the user for:
npm, bun, or pnpm) — default is npmAfter receiving their input:
gh api user --jq .login or git config user.namepackage.json: Set name (kebab-case) and descriptionsrc/index.html: Set <title> tagAGENTS.md: Update the Overview section with app name and descriptionREADME.md: Replace "Tauri React Template" with app name, update descriptionsrc-tauri/tauri.conf.json:
productName: App nameidentifier: com.${githubUsername}.${kebab-case-app-name}windows[0].title: App namebundle.shortDescription and bundle.longDescriptionbundle.publisher and bundle.copyright with GitHub usernameplugins.updater.endpoints: Update to use their GitHub username and repo namesrc-tauri/Cargo.toml:
name: Kebab-case app namedescription: Their descriptionauthors: GitHub username.github/workflows/release.yml:
namedocs/SECURITY.md:
YOUR_SECURITY_EMAIL with appropriate contact (or GitHub username if no email)docs/CONTRIBUTING.md:
YOUR_USERNAME/YOUR_REPO with their GitHub username and repo nameIf the user chose bun or pnpm (anything other than npm), run /change-package-manager <chosen-pm> to update all references across the project.
If they chose npm (the default), skip this step.
Run these commands (using whichever package manager was selected):
<pm> install
<pm> run check:all
Fix any errors before proceeding.
Summarize what was updated, then guide the user:
<pm> run tauri:dev to verify everything worksdocs/developer/releases.md for signing key generation and GitHub secretsdocs/developer/architecture-guide.md for patterns/check before finishing work sessionsdocs/USING_THIS_TEMPLATE.mdSwitch the project's package manager between npm, bun, and pnpm. Updates all config, scripts, documentation, CI workflows, and AI instructions. Use when initializing from template or switching package managers.
Check work for adherence with architecture, run quality checks, and suggest a commit message. Use after completing work on a feature or bug fix.
Run static analysis tools (knip, jscpd, check:all), get intelligent recommendations for cleanup, and optionally create a task document.