Skip to content
Development
Command

/scaffold

Scaffold a new project with a complete, production-ready structure.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/scaffold

Context preview

What this command does when you run it.

Scaffold a new project with a complete, production-ready structure.

Command definition

scaffold.md

Scaffold a new project with a complete, production-ready structure.

Steps

1. Determine the project type from the argument:

  • `api` - REST/GraphQL API backend.
  • `web` - Frontend web application.
  • `cli` - Command-line tool.
  • `lib` - Reusable library/package.
  • `fullstack` - Full-stack application.

2. Select the tech stack based on preferences or defaults:

  • TypeScript: Express/Fastify, React/Next.js, Vitest.
  • Python: FastAPI/Django, pytest.
  • Go: Chi/Gin, standard testing.
  • Rust: Actix/Axum, cargo test.

3. Generate the project structure:

  • `src/` with entry point and initial modules.
  • `tests/` with test configuration and example tests.
  • Configuration files (tsconfig, eslint, prettier, etc.).
  • `Dockerfile` and `.dockerignore`.
  • CI/CD workflow (GitHub Actions).
  • `README.md` with setup instructions.
  • `.env.example` with documented variables.
  • `.gitignore` with comprehensive patterns.

4. Initialize package manager and install dependencies. 5. Initialize git repository with initial commit. 6. Verify the project builds and tests pass.

Format

Project scaffolded: <name>
Type: <project-type>
Stack: <tech-stack>

Structure:
  src/          - Application source
  tests/        - Test suite
  .github/      - CI/CD workflows
  docker/       - Container configuration

Commands:
  dev:   <command>
  test:  <command>
  build: <command>

Rules

  • Every scaffold must include a working test and build pipeline from the start.
  • Include health check endpoint for API projects.
  • Add pre-commit hooks for linting and formatting.
  • Use the latest stable versions of all dependencies.
  • Generate a CLAUDE.md with project-specific memory from the start.
Read more
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin