Scaffolds a brand-new project with a clean, best-practice folder structure, pinned latest-stable dependencies, and a Docker Compose–ready layout. Designed to bootstrap production-ready codebases from day one.
Create a production-oriented project foundation before any feature development begins.
This skill ensures the project starts with:
The goal is to avoid early technical debt and make the project immediately runnable, testable, and deployable.
Run this skill when:
By the end of this skill, the agent should deliver:
From user input (or defaults if not specified), infer:
If unclear, assume modern defaults and state them explicitly.
Use a layered, intention-revealing layout.
Avoid placing application logic in the project root.
project-root/ ├── src/ # Application source code │ └── main.* # Single entrypoint (framework-specific) ├── tests/ # Unit/integration tests ├── config/ # Non-secret configuration ├── scripts/ # Dev, build, or deployment scripts ├── docs/ # Optional: design docs, ADRs, runbooks ├── docker/ # Optional: Dockerfile(s), overrides ├── .env.example # Environment variable template (no secrets) ├── .gitignore ├── .dockerignore ├── README.md ├── docker-compose.yml └── [lockfile] # package-lock.json / poetry.lock / go.sum
src/For stack-specific layouts (Node/TypeScript, Python, Go) and Docker Compose with a database, see reference.md.
Dependency rules are strict:
alpha, beta, rc, next, or preview tagslatest npm tag--preDocument:
Assume the project will be containerized.
Dockerfiledocker-compose.yml.dockerignore.env.examplepostgres:16-alpine)docker-compose.yml