by bartstc
This project provides a basic dev setup intended for Single Page Application (SPA) development. It contains key tools, settings for seamless DX, and an demo app presenting good practices and used tooling in action.
# Add to your Claude Code skills
git clone https://github.com/bartstc/vite-ts-react-templateGuides for using testing skills like vite-ts-react-template.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "i18next-http-backend: i18next-http-backend has Path Traversal & URL Injection via Unsanitised lng/ns",
"severity": "medium"
}
],
"status": "PASSED",
"scannedAt": "2026-05-30T16:28:10.773Z",
"npmAuditRan": true,
"pipAuditRan": true
}vite-ts-react-template is an open-source testing skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by bartstc. This project provides a basic dev setup intended for Single Page Application (SPA) development. It contains key tools, settings for seamless DX, and an demo app presenting good practices and used tooling in action. It has 119 GitHub stars.
Yes. vite-ts-react-template passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/bartstc/vite-ts-react-template" and add it to your Claude Code skills directory (see the Installation section above).
vite-ts-react-template is primarily written in TypeScript. It is open-source under bartstc on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other Testing skills you can browse and compare side by side. Open the Testing category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh vite-ts-react-template against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
An opinionated, production-ready starter for Single Page Application development with React. Pre-configured tooling, libraries, and a demo app so you can skip the boilerplate and focus on building.
.github/instructions/, .github/skills/, .github/prompts/)CLAUDE.md), skills, subagents, and custom commands (.claude/)src/ React SPA (features, pages, lib)
server/ Local Fastify API server (dev/demo)
e2e/ Playwright end-to-end tests
components/, application/, providers/, models/) with strict dependency ruleseslint.config.mjs.server/)docs/architecture.mdThis project uses spec-driven development for non-trivial features. Instead of prompting an AI agent to "build X," you collaboratively write a short spec (80–150 lines) that constrains intent, design, and sequencing before any code is written.
specs/lessons.md and feed back into future sessions.docs/spec-development-docs.mdClone the repo and set up your own remote:
git clone --depth 1 https://github.com/bartstc/spa-vite-template.git [project_name]
cd [project_name]
rm -rf .git && git init
git remote add origin git@github.com:username/project.git
It's recommended to run the dev server inside a container for consistent Node/PNPM versions. If you're using VS Code, the included devcontainer config handles this out of the box.
| Command | Description |
|---|---|
pnpm dev |
Dev server with HMR on port 5173 |
pnpm dev:server |
Local API server only on port 3001 |
pnpm dev:all |
Frontend + API server together |
pnpm typecheck |
Type-check all sources without emitting |
pnpm lint |
Check for lint errors |
pnpm build |
Production build |
pnpm test |
Run all tests (unit + storybook) |
pnpm test:unit |
Unit tests only |
pnpm test:storybook |
Storybook component tests only |
pnpm test:coverage |
Tests with coverage report |
pnpm test:e2e |
E2E tests (headless) |
pnpm test:e2e:ui |
E2E in interactive web UI mode |
pnpm test:e2e:headed |
E2E with visible browser |
pnpm test:e2e:debug |
E2E in debug mode |
pnpm test:e2e:report |
Open the HTML report from the last E2E run |
pnpm storybook |
Storybook on port 6006 |
*.test.ts, *.test.tsx)src/pnpm test:unit*.stories.tsx)src/pnpm test:storybook*.spec.ts)e2e/pnpm test:e2eThis template is opinionated — it picks libraries so you don't have to. If something doesn't fit your project, here's how to strip it out:
| Library | What to remove |
|---|---|
| Chakra UI | src/lib/components/, Chakra provider in src/app/, @chakra-ui/* deps |
| React Router | src/pages/, route config in src/app/, react-router dep |
| React Query | Query provider in src/app/, src/lib/api/ query hooks, @tanstack/react-query deps |
| i18next | src/lib/i18n/, i18n provider in src/app/, i18next + react-i18next deps |
| Zustand | Store files in src/features/*/stores/, zustand dep |
| XState | State machine files (example usage), xstate + @xstate/react deps |
| React Hook Form | src/lib/components/Form/, form components in src/features/*/components/, react-hook-form dep |
| MSW | src/test-lib/handlers/, msw dep, browser/server setup files |
After removing, run pnpm install to clean the lockfile and pnpm lint to catch broken imports.
Note for AI-assisted workflows: Several of these libraries are referenced by name in the building blocks catalog used during spec-driven development. The catalog includes typed patterns for React Query (
query-options-factory,mutation-hook), Zustand (store), and React Hook Form (form). If you remove one of these libraries, also remove or replace its corresponding rule file in.agents/skills/building-blocks/rules/so the agent doesn't generate code for a library that no longer exists in the project.
Open for contributions — bugfixes, new features, and extra modules are welcome.