원클릭으로
scaffold-worker
Initializes the Tauri 2 project with React, TailwindCSS, shadcn/ui, and i18n from scratch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Initializes the Tauri 2 project with React, TailwindCSS, shadcn/ui, and i18n from scratch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | scaffold-worker |
| description | Initializes the Tauri 2 project with React, TailwindCSS, shadcn/ui, and i18n from scratch |
NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.
For features that initialize or significantly restructure the project skeleton: creating the Tauri app, setting up build tooling, configuring CSS frameworks, adding foundational libraries.
None
Read the feature description carefully. Understand exactly what needs to be scaffolded.
Check existing state. Read package.json, Cargo.toml, and directory structure to understand what already exists vs. what needs to be created.
Execute setup commands. Run the scaffolding commands (create-tauri-app, pnpm install, etc.). Verify each command succeeds before proceeding.
Configure files. Edit vite.config.ts, tsconfig.json, tailwind.config.cjs, components.json, etc. per the spec requirements. Reference the cc-switch project at /Users/happypeet/Documents/Github/cc-switch/ for exact configuration patterns.
Create foundational files. Set up directory structure, create placeholder files (index.css with Tailwind directives, main.tsx with providers, etc.).
Verify the build. Run:
pnpm tauri dev — verify it starts without errors (kill after confirming)cd src-tauri && cargo check — verify Rust compilespnpm typecheck — verify TypeScript compilesWrite baseline tests. Create at least one trivial test for Rust (cargo test) and one for frontend (vitest) to confirm test infrastructure works.
Commit with a descriptive message.
{
"salientSummary": "Scaffolded Tauri 2 + React 18 + Vite project with TailwindCSS 3, shadcn/ui (button, card, dialog, badge, progress, switch, input, sonner, scroll-area), i18next (en/zh), and theme provider. Ran `pnpm tauri dev` successfully, `cargo check` passed, `pnpm typecheck` passed.",
"whatWasImplemented": "Complete project skeleton: Tauri 2.8 with React 18 + Vite 7, TailwindCSS 3 with shadcn/ui components, i18next with en.json and zh.json locale files, ThemeProvider, react-query setup, path aliases, vite dev server on port 1420.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "pnpm tauri dev (started, verified window opens, killed)", "exitCode": 0, "observation": "Tauri window opened with React app, no console errors" },
{ "command": "cd src-tauri && cargo check", "exitCode": 0, "observation": "Compiles with no errors or warnings" },
{ "command": "pnpm typecheck", "exitCode": 0, "observation": "No TypeScript errors" },
{ "command": "cd src-tauri && cargo test", "exitCode": 0, "observation": "1 test passed" },
{ "command": "pnpm test:unit", "exitCode": 0, "observation": "1 test passed" }
],
"interactiveChecks": []
},
"tests": {
"added": [
{ "file": "src-tauri/src/lib.rs", "cases": [{ "name": "test_app_compiles", "verifies": "basic compilation" }] },
{ "file": "src/__tests__/setup.test.ts", "cases": [{ "name": "vitest works", "verifies": "test infrastructure" }] }
]
},
"discoveredIssues": []
}
pnpm create tauri-app fails or produces unexpected output