Setup scripts for React+Vite, Astro, and Next.js projects with design system integration
/plugin marketplace add gaurangrshah/gsc-plugins/plugin install webgen@gsc-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/setup-astro.shscripts/setup-next.shscripts/setup-vite.shType: Reference Skill Purpose: Provide setup scripts for React+Vite, Astro, and Next.js projects
This skill provides executable setup scripts for the three supported tech stacks. Each script:
Located in scripts/:
| Script | Stack | Usage |
|---|---|---|
setup-vite.sh | React + Vite + Tailwind | ./setup-vite.sh my-project |
setup-next.sh | Next.js + Tailwind | ./setup-next.sh my-project |
setup-astro.sh | Astro + React + Tailwind | ./setup-astro.sh my-project |
# From the plugin scripts directory
~/.claude/plugins/local-plugins/webgen/skills/project-scaffold/scripts/setup-vite.sh my-landing-page
# Or reference the full path
${CLAUDE_PLUGIN_ROOT}/skills/project-scaffold/scripts/setup-vite.sh my-landing-page
| Need | Recommendation | Script |
|---|---|---|
| Simple landing page | React + Vite | setup-vite.sh |
| Portfolio, marketing | React + Vite | setup-vite.sh |
| Blog, documentation | Astro | setup-astro.sh |
| Content-heavy site | Astro | setup-astro.sh |
| App with API routes | Next.js | setup-next.sh |
| Dynamic content/auth | Next.js | setup-next.sh |
| E-commerce | Next.js | setup-next.sh |
pnpm create vite@latest with react-ts templategit init + initial commitpnpm create next-app@latest with TypeScript, Tailwind, App Routerpnpm create astro@latest with minimal templategit init + initial commitproject-name/
├── public/
├── src/
│ ├── components/
│ ├── App.tsx
│ ├── main.tsx
│ └── index.css
├── index.html
├── package.json
├── tailwind.config.js
├── postcss.config.js
├── tsconfig.json
├── vite.config.ts
├── CHANGELOG.md
└── .gitignore
project-name/
├── public/
├── src/
│ ├── app/
│ │ ├── layout.tsx
│ │ ├── page.tsx
│ │ └── globals.css
│ └── components/
├── package.json
├── tailwind.config.ts
├── tsconfig.json
├── next.config.js
├── CHANGELOG.md
└── .gitignore
project-name/
├── public/
├── src/
│ ├── components/
│ ├── layouts/
│ │ └── Layout.astro
│ ├── pages/
│ │ └── index.astro
│ └── styles/
│ └── globals.css
├── package.json
├── tailwind.config.mjs
├── astro.config.mjs
├── tsconfig.json
├── CHANGELOG.md
└── .gitignore
After running setup:
cd project-name
pnpm dev
| Stack | Port |
|---|---|
| Vite | http://localhost:5173 |
| Next.js | http://localhost:3000 |
| Astro | http://localhost:4321 |
All scripts inject the same design system:
--primary: Deep indigo (243 75% 59%)--secondary: Soft gray (240 5% 96%)--accent: Warm amber (35 92% 60%).btn, .btn-primary, .btn-secondary, .btn-outline.card, .feature-card, .pricing-card, .testimonial-card.nav, .hero, .section, .cta, .footer.grid-features, .grid-cardsEdit the scripts to:
Scripts are version-controlled, so changes are tracked.
Create employment contracts, offer letters, and HR policy documents following legal best practices. Use when drafting employment agreements, creating HR policies, or standardizing employment documentation.