← all repositories
AlexSergey/rockpack

A React starter kit that babysits your AI assistant

Rockpack scaffolds SSR-ready React apps with a pre-tuned CLAUDE.md designed to stop Claude Code from burning tokens and shipping broken code.

1.3k stars TypeScript Coding AssistantsApp Builders
rockpack
Velocity · 7d
+0.5
★ / day
Trend
steady
star history

What it does

Rockpack is a zero-config scaffolding tool for React apps. One CLI command spins up a project with Webpack, TypeScript, ESLint, Jest, and optional SSR — the usual setup slog that the README claims “takes weeks” from scratch. It also ships a pre-written CLAUDE.md with strict rules so AI assistants don’t wander off into abstraction hell.

The interesting bit

The AI angle isn’t just marketing garnish. The CLAUDE.md is explicitly tuned for token efficiency — it tells Claude Code to read only relevant files, run targeted tests instead of the full suite, and preserve existing patterns. The theory: a rigid baseline architecture makes AI-generated code more predictable because there are fewer ambiguous decisions to make. It’s a bet that constraining the AI beats prompting it harder.

Key highlights

  • Scaffolds SPA, SSR, React component, or UMD library projects via @rockpack/starter
  • Modular packages: compiler, tester, codestyle — usable independently in legacy codebases
  • Extends Webpack/ESLint/Jest configs directly without ejecting
  • Requires Node.js 23 or higher
  • Inspired by Vite, Next.js, and create-react-app, but explicitly avoids opinions on state management

Caveats

  • The “weeks of setup” framing is a bit dramatic; many developers solve this with a personal template repo
  • Webpack-based, not Vite — the README names Vite as an alternative, not an implementation detail
  • 1,296 stars suggests modest adoption against the incumbents it lists

Verdict

Worth a look if you’re onboarding a team to Claude Code and want guardrails, or if you repeatedly scaffold React apps and hate configuring Jest. Skip it if you’re already happy with Next.js or a custom Vite setup — Rockpack doesn’t solve a problem you don’t have.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.