Skip to main content
skill CX Codex

project-scaffolder — Claude Code skill: what it does, how to install

project-scaffolder scaffolds complete starter repositories for web and API frameworks with configs, tooling, working baseline routes, and setup guides.

MIT 287 installs ★ 64 updated 2026-01-12

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add patricio0312rev/skills --skill project-scaffolder -a claude-code
Open on GitHub

What project-scaffolder does

This skill creates project skeletons across standard application frameworks. It covers Next.js App Router, Vite with React or Vue, NestJS, FastAPI, Express with TypeScript, and SvelteKit. The workflow prints the target folder tree first, then writes project files, path aliases using @/, environment templates in .env.example, and a functional starter route.

Templates reference the internal guide in references/templates.md. It generates dependency manifests like package.json, requirements.txt, or Cargo.toml, adds linting configs, and sets up scripts for development or testing. Optional steps cover container setup via Docker or automated workflows with GitHub Actions.

Because the agent prompts for missing technology stacks, providing the target framework in the initial prompt saves a turn.

What it helps with

  • generate a clean repository structure for Next.js or FastAPI
  • configure TypeScript, linters, and import path mappings
  • create starter scripts, .gitignore, and .env.example templates
  • add test runners, state management, or Docker configurations to new repos

Example prompts for the agent

  • Scaffold a new FastAPI project with baseline routes and dev scripts
  • Initialize a Next.js App Router starter with ESLint and TypeScript configs
  • Create a starter repo for NestJS and add a Dockerfile

How to install project-scaffolder

1Skills CLI (Vercel)

npx skills add patricio0312rev/skills --skill project-scaffolder -a claude-code

2Manually: put the files in place

~/.claude/skills/project-scaffolder/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/project-scaffolder/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about project-scaffolder

How to install project-scaffolder in Claude Code?

Run npx skills add patricio0312rev/skills --skill project-scaffolder -a claude-code in your terminal.

What deliverables does this skill include in a new repo?

It creates the directory tree, a working starter route, dependency manifests, linter and compiler configs, utility scripts, and a README.md file.

Which tech stacks are detailed in the templates?

The template reference includes Next.js App Router, Vite with React or Vue, NestJS, FastAPI, Express with TypeScript, and SvelteKit.

Source text

SKILL.md · MIT
---
name: project-scaffolder
description: Generates complete starter repositories for various tech stacks (Next.js, Vite, Nest, FastAPI, etc.) with best-practice conventions, folder structure, baseline code, configs, scripts, and setup documentation. Use when users request to "scaffold a project", "create a starter repo", "initialize a new project", or specify a tech stack to begin with.
---

# Project Scaffolder

Generate production-ready starter repositories with best-practice conventions for any tech stack.

## Core Workflow

1. **Determine stack**: Ask user to specify or infer from context (Next.js, Vite, Nest, FastAPI, etc.)
2. **Select template**: Use references/templates.md to choose the appropriate project structure
3. **Generate structure**: Create complete folder tree with all necessary files
4. **Add baseline code**: Include working "hello world" route/page as proof of concept
5. **Configure tooling**: Add package.json/requirements.txt, tsconfig, linting, formatting configs
6. **Create scripts**: Include dev, build, test, and deployment scripts
7. **Document setup**: Generate comprehensive README with setup steps and next actions

## Key Deliverables

Every scaffolded project must include:

- **Folder tree**: Well-organized src/, lib/, config/, tests/ structure
- **Baseline code**: Working hello world endpoint or page
- **Package files**: package.json, requirements.txt, Cargo.toml, etc.
- **Configs**: TypeScript, ESLint, Prettier, environment files (.env.example)
- **Scripts**: npm scripts or Makefile for common tasks
- **README**: Setup instructions, tech stack overview, next steps
- **Git setup**: .gitignore configured for the stack

## Stack-Specific Patterns

See `references/templates.md` for detailed patterns per stack:

- Next.js App Router
- Vite + React
- NestJS
- FastAPI
- Express + TypeScript
- Vue + Vite
- SvelteKit

## Best Practices

- Use absolute imports (@/ alias) where supported
- Include environment variable templates
- Add basic error handling and logging setup
- Configure path mappings in tsconfig
- Include Docker files for containerization (optional)
- Add GitHub Actions or CI workflow templates (optional)

## Progressive Enhancement

Start with minimal viable structure, then add:

- Database setup (Prisma, TypeORM, SQLAlchemy)
- Auth scaffolding (NextAuth, Passport, JWT)
- API client setup (Axios, Fetch wrapper)
- State management (Zustand, Redux, Pinia)
- Testing setup (Jest, Vitest, Pytest)

## Output Structure

Present the complete project tree first, then create all files in proper locations. Always provide a summary of what was created and next steps to run the project.

© patricio0312rev · MIT · patricio0312rev/skills

Similar skills

All skills for Frontend and UI →

From the same set148

The whole set →
react-server-components Guides component architecture in Next.js App Router with React Server Components, server-side data fetching, Suspense streaming, and boundary setup. CX Codex +1 288installs github-actions-pipeline-creator github-actions-pipeline-creator builds GitHub Actions workflows for linting, tests, builds, and deployment. Useful when a project needs caching, matrix runs, artifacts, or failure reports. CX Codex +1 288installs webhook-receiver-hardener webhook-receiver-hardener hardens webhook endpoints against spoofing, replay attacks, and duplicate event deliveries. Generates verification code, dedupe strategies, and incident guides. CX Codex +1 287installs secrets-scanner secrets-scanner catches leaked keys, tokens and passwords in a repo, with checks before commit and in CI. Handy when a .env file or a live key already slipped into history. CX Codex +1 287installs background-jobs-designer The background-jobs-designer skill designs queued background work with retries, idempotency, and monitoring. Use it when building BullMQ, Celery, or worker-based processing. CX Codex +1 286installs adr-writer The adr-writer skill turns technical choices into Architecture Decision Records with context, options, tradeoffs, consequences, and owners. Use it when a decision needs a lasting record. CX Codex +1 286installs quality-gates-enforcer quality-gates-enforcer enforces strict CI thresholds for test coverage, ESLint zero-warning rules, type safety, vulnerability audits, and bundle budgets. CX Codex +1 284installs system-design-generator system-design-generator turns product or feature requirements into architecture plans with components, data flows, API contracts, and scaling notes. Useful before implementation starts. CX Codex +1 284installs

Project sponsors

Companies that keep this analytics open