Skip to content
Back to search

create-frontstack

Scaffold a modern React + TypeScript + Vite frontend repo with Docker, TanStack Router/Query, Zustand, shadcn/ui, agent skills and MCP.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/harrymtv--create-frontstack/badge.svg)](/listings/harrymtv--create-frontstack)

HTML

<a href="/listings/harrymtv--create-frontstack"><img src="/api/listings/harrymtv--create-frontstack/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 72 lines
  1. # create-frontstack
  2. > One command → a modern, production-ready React + TypeScript + Vite frontend repo with Docker, TanStack Router/Query, Zustand, shadcn/ui, and a curated set of agent skills + MCP servers.
  3. ```sh
  4. pnpm create frontstack my-app
  5. # or: npm create frontstack@latest my-app
  6. # or: npx create-frontstack my-app
  7. ```
  8. ## What you get
  9. A single-package (non-monorepo) frontend project, ready for solo development:
  10. - **React 19 + TypeScript 6 + Vite 8** (Tailwind v4, CSS-first)
  11. - **TanStack Router** (file-based, type-safe) + **TanStack Query** (server state)
  12. - **Zustand** (client/UI state) — server-state lives in Query, never duplicated in stores
  13. - **shadcn/ui** (v4) with a starter `Button`
  14. - **Vitest + happy-dom** (unit/component) and **Playwright** (E2E) as separate layers
  15. - **ESLint** (flat, type-aware) + **Prettier**
  16. - **Docker** — multi-stage production image (nginx) + dev image + compose
  17. - **Agent skills** (`skills/`, wired to `.claude` by default) and a fixed **MCP** bundle (shadcn, context7, playwright, chrome-devtools)
  18. The CLI has **zero runtime dependencies** (Node built-ins only), so `npx` is instant.
  19. ## Usage
  20. ```sh
  21. pnpm create frontstack my-app
  22. cd my-app
  23. pnpm install
  24. npx playwright install # E2E + playwright/chrome-devtools MCP
  25. pnpm dev
  26. ```
  27. Flags for non-interactive / CI use:
  28. ```sh
  29. npx create-frontstack my-app --skills=claude,agents # pick skill clients
  30. npx create-frontstack my-app --no-skills # skip skills entirely
  31. ```
  32. Then run the quality gate:
  33. ```sh
  34. pnpm check # typecheck + lint + test
  35. pnpm build # route codegen + typecheck + bundle
  36. ```
  37. ## Development of this package
  38. ```sh
  39. pnpm install
  40. pnpm check # lint + test the CLI
  41. pnpm test # unit tests + generation gate
  42. ```
  43. The generated project is itself the unit under test: the suite runs the CLI into a temp dir and (when Node/Docker are available) exercises `pnpm check` / `pnpm build` on the output.
  44. ## Publishing
  45. ```sh
  46. npm pack --dry-run # confirm bin/ + template/ (incl. underscore dotfiles) are included
  47. npm version <patch|minor|major>
  48. npm publish --access public --provenance
  49. ```
  50. `files: ["bin", "template"]` — only those are published. Dotfiles that npm mangles on publish are stored in the template as `_gitignore` / `_npmrc` / `_nvmrc` and renamed to real dotfiles at generation time.
  51. ## License
  52. MIT © Igor Martynov

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.