npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-next-claude-app

v1.5.0

Published

CLI tool to scaffold Next.js projects with Feature-Sliced Design architecture

Readme

create-next-claude-app

CLI tool to scaffold new Next.js projects with Feature-Sliced Design architecture.

Quick Start

npx create-next-claude-app my-app
cd my-app
pnpm dev

Features

  • Next.js 16 with App Router
  • Feature-Sliced Design architecture
  • TypeScript for type safety
  • Tailwind CSS v4 for styling
  • React Query for data fetching
  • Zustand for state management
  • NextAuth.js for authentication
  • React Compiler enabled
  • ESLint & Prettier configured
  • Husky for git hooks
  • Automated setup - everything configured out of the box

Usage

Interactive Mode

npx create-next-claude-app

You'll be prompted for:

  • Project name
  • Project description (optional)
  • Author name (optional, defaults to git config)
  • Git repository URL (optional)
  • Install dependencies (yes/no)

With Project Name

npx create-next-claude-app my-app

CLI Options

npx create-next-claude-app my-app --no-install  # Skip dependency installation
npx create-next-claude-app my-app --no-git      # Skip git initialization

Requirements

  • Node.js >= 20.9.0
  • pnpm (recommended) - Install with npm install -g pnpm
  • git (optional) - For git initialization

What Gets Created

my-app/
├── src/
│   ├── app/               # Application layer (FSD)
│   ├── entities/          # Entities layer (FSD)
│   ├── features/          # Features layer (FSD)
│   ├── shared/            # Shared layer (FSD)
│   └── widgets/           # Widgets layer (FSD)
├── public/                # Static assets
├── .env                   # Environment variables (with generated secrets)
├── .husky/                # Git hooks
├── tailwind.config.ts     # Tailwind CSS configuration
├── tsconfig.json          # TypeScript configuration
└── package.json           # Project dependencies

After Creation

Your project is ready to go:

cd my-app
pnpm dev          # Start development server
pnpm build        # Build for production
pnpm start        # Start production server
pnpm lint         # Run ESLint
pnpm format       # Format code with Prettier

Architecture

This template follows Feature-Sliced Design methodology:

  • app/ - Application initialization, providers, and routing
  • entities/ - Business entities and data models
  • features/ - User-facing features and business logic
  • widgets/ - Composite UI blocks
  • shared/ - Reusable utilities, components, and UI primitives

Learn more: Feature-Sliced Design

Troubleshooting

pnpm not found

Install pnpm globally:

npm install -g pnpm

Or use npm/yarn instead (update scripts in package.json).

Template download fails

Check your internet connection. The template is downloaded from GitHub.

Dependencies installation fails

Try running manually:

cd my-app
pnpm install
pnpm prepare

Git hooks not working

Make sure Husky is set up:

pnpm prepare

Development

Release Process

This project uses semantic-release for automated version management and publishing. Releases are triggered automatically when changes are merged to the release branch.

Version Bump Rules

Commits following Conventional Commits determine version bumps:

  • Major (1.0.0 → 2.0.0): BREAKING CHANGE: in commit body or feat!:/fix!:
  • Minor (1.0.0 → 1.1.0): feat: commits
  • Patch (1.0.0 → 1.0.1): fix:, perf:, revert: commits
  • No Release: docs:, style:, refactor:, test:, build:, ci:, chore:

Standard Workflow

  1. Develop on main branch with conventional commits:

    git commit -m "feat: add new template option"
    git commit -m "fix: resolve dependency issue"
  2. Create PR from main to release and merge

  3. Automated release process:

    • Analyzes commits since last release
    • Determines version bump (major/minor/patch)
    • Updates package.json version
    • Generates/updates CHANGELOG.md
    • Builds and publishes to npm
    • Creates Git tag (e.g., v1.1.0)
    • Creates GitHub Release with notes
    • Commits changes back to release branch

Hotfix Workflow

For urgent production fixes:

  1. Create hotfix branch from release:

    git checkout release
    git checkout -b hotfix/fix-critical-bug
  2. Make fix with conventional commit:

    git commit -m "fix: resolve critical installation error"
  3. Create PR to release and merge

  4. Automated patch release (1.2.3 → 1.2.4)

Manual Testing Before Release

Test locally before merging to release:

# In cli directory
pnpm build
pnpm link --global

# Test globally
create-next-claude-app test-app
cd test-app
pnpm dev

# Cleanup
pnpm unlink --global create-next-claude-app

Commit Message Examples

# Feature (minor bump)
git commit -m "feat: add TypeScript strict mode option"

# Bug fix (patch bump)
git commit -m "fix: correct package.json template generation"

# Breaking change (major bump)
git commit -m "feat!: change CLI argument structure

BREAKING CHANGE: --no-install flag renamed to --skip-install"

# No release
git commit -m "docs: update README examples"
git commit -m "chore: update dependencies"

Support

For issues and feature requests, visit: https://github.com/Cluster-Taek/create-next-claude-app/issues

License

MIT