CommandOpen
Commands (scaffold)
Scaffold a new project with a complete, production-ready structure.
Scaffold a new project with a complete, production-ready structure.
Steps
- 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.
- 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.
- Generate the project structure:
src/with entry point and initial modules.tests/with test configuration and example tests.- Configuration files (tsconfig, eslint, prettier, etc.).
Dockerfileand.dockerignore.- CI/CD workflow (GitHub Actions).
README.mdwith setup instructions..env.examplewith documented variables..gitignorewith comprehensive patterns.
- Initialize package manager and install dependencies.
- Initialize git repository with initial commit.
- 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.
Author: rohitg00, Claude Code toolkit (rohitg00). License: Apache-2.0.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
There are more like this in the members library
The Codex library holds 7,009 entries. Members can search all of them by meaning and read every one in full.