frontend-starter-kit
Frontend Starter Kit
What This Sets Up
Setup skills (configures hooks + packages)
- setup-toolchain — Ban npm/npx/tsc/eslint/prettier, enforce bun + tsgo, block destructive commands
- setup-biome — Biome + Ultracite linting/formatting with auto-fix hook, kebab-case filenames
- setup-quality-gate — quality:gate script, CI workflow, Stop hook for tsgo + related tests, bundle guard
- setup-agent-config — AI_AGENT=1, CLAUDECODE=1, output truncation
- setup-react-compiler — React Compiler with rsbuild, memoization check
- setup-zustand — Zustand best practices: double-parens create, useShallow, persist middleware
- setup-accessibility — ARIA enforcement, Playwright AXE setup, WCAG 2.1 AA compliance
- setup-react-rules — Ban raw HTML, TS escape hatches, XSS vectors, Tailwind enforcement, class components
- setup-env-validation — t3-env + zod, ban raw process.env access
- setup-conventional-commits — Enforce type(scope): description commit format
- setup-react-doctor — Health scoring with Stop hook, warnings surfaced
- setup-tanstack-router — Route tree auto-generation + anti-pattern enforcement
- setup-connect-query — ConnectRPC + Connect Query + Protobuf enforcement
- setup-e2e-testing — Playwright + Testcontainers + axe-core accessibility testing
Owned workflow skills (hook-integrated)
- development-lifecycle — One skill for the full loop: understand → plan → TDD → verify → review → compound
- test-driven-development — TDD iron law + async leak detection (auto-loads on test files via paths:)
- brainstorming — Design exploration + challenge mode
- setup-ci-pipeline — GitHub Actions CI: coverage, visual regression, dependabot, bundle budgets
Community workflow skills (installed from mattpocock/skills)
- improve-codebase-architecture — Architectural improvements and deep module analysis
- request-refactor-plan — Create detailed refactor plans with tiny commits, filed as GitHub issues
- design-an-interface — Generate multiple radically different interface designs using parallel sub-agents
- write-a-prd — PRD creation via interactive interview
- prd-to-issues — Break PRD into GitHub issues
- write-a-skill — Create new agent skills
- grill-me — Stress-test your design decisions
- qa — Interactive QA sessions, auto-file GitHub issues
- ubiquitous-language — Domain glossary with canonical terms (DDD)
- git-guardrails-claude-code — Branch protection guardrails
Steps
1. Run each setup skill in order
Execute skills 1–14 sequentially. Each skill is idempotent — if already configured, it will verify and skip.
Set REACT_RULES_BAN_USEEFFECT=1 in the SessionStart hook (.claude/hooks/session-env.sh):
echo "export REACT_RULES_BAN_USEEFFECT=1" >> "$CLAUDE_ENV_FILE"
For setup-connect-query, detect the protobuf version from package.json and install the appropriate variant (v1 or v2).
2. Install owned workflow skills
bunx skills@latest add malinskibeniamin/skills/development-lifecycle --agent claude-code -y
bunx skills@latest add malinskibeniamin/skills/test-driven-development --agent claude-code -y
bunx skills@latest add malinskibeniamin/skills/brainstorming --agent claude-code -y
bunx skills@latest add malinskibeniamin/skills/setup-ci-pipeline --agent claude-code -y
3. Install community workflow skills
bunx skills@latest add mattpocock/skills/improve-codebase-architecture --agent claude-code -y
bunx skills@latest add mattpocock/skills/request-refactor-plan --agent claude-code -y
bunx skills@latest add mattpocock/skills/design-an-interface --agent claude-code -y
bunx skills@latest add mattpocock/skills/write-a-prd --agent claude-code -y
bunx skills@latest add mattpocock/skills/prd-to-issues --agent claude-code -y
bunx skills@latest add mattpocock/skills/write-a-skill --agent claude-code -y
bunx skills@latest add mattpocock/skills/grill-me --agent claude-code -y
bunx skills@latest add mattpocock/skills/qa --agent claude-code -y
bunx skills@latest add mattpocock/skills/ubiquitous-language --agent claude-code -y
bunx skills@latest add mattpocock/skills/git-guardrails-claude-code --agent claude-code -y
3. Final verification
-
.claude/settings.jsonhas all hooks,biome.jsoncexists,src/env.tsexists - Package.json scripts:
lint,lint:fix,type:check,test,quality:gate -
.github/workflows/quality-gate.ymlexists, all hooks executable - Commit:
Bootstrap frontend starter kit
More from malinskibeniamin/skills
setup-biome
Install Biome linter with Ultracite preset, create biome.jsonc config, and configure Claude Code Stop hook for auto-fix before finishing. Use when setting up linting, formatting, Biome, Ultracite, or code quality enforcement.
9setup-quality-gate
Add quality:gate package.json script for fast local/CI quality checks (biome + tsgo + related tests), GitHub Actions workflow, and Stop hook for type checking. Use when setting up quality gates, CI pipelines, or pre-push validation.
9setup-connect-query
Enforce ConnectRPC + Connect Query + Protobuf v2 patterns via PostToolUse hooks. Bans raw useQuery, empty invalidateQueries, $typeName literals. Use when setting up ConnectRPC, protobuf type safety, or data fetching enforcement.
8work-automation-kit
Install planning and project management skills — PRD creation, implementation planning, issue breakdown, bug triage, code review. Use when setting up project planning workflows or creating PRDs.
8setup-toolchain
Enforce bun + tsgo as toolchain via PreToolUse hooks. Blocks npm, npx, tsc, global installs. Use when setting up toolchain enforcement or banning npm.
7setup-llm-optimization
Token-efficient AI agent hooks — env vars, test flag optimization, output truncation, NODE_OPTIONS. Use when optimizing Claude Code for fewer tokens or reducing context waste.
7