Set up standard project structure with directories, git, .gitignore, README.md, CLAUDE.md, and Python environment. Use when: (1) Starting a new project and need to create the initial directory hierarchy, (2) Initializing a project with standard boilerplate files, (3) Setting up a new Python project environment with venv and dependencies.
Use this skill when starting a new project to set up the standard structure and files.
Create the following directory structure:
project/
├── .claude/ # Claude Code settings and memory
├── .git/ # Git version control
├── .gitignore
├── README.md
├── CLAUDE.md
├── requirements.txt # (optional) pinned dependencies
├── pyproject.toml # (optional) alternative to requirements.txt
├── setup.sh # (optional) environment setup script
├── data/ # datasets and data files
├── doc/ # documentation (markdown, PDFs, LaTeX)
├── media/ # images, videos, and GIFs
├── model/ # saved model weights
├── output/ # outputs and errors from running
├── script/ # standalone scripts (shell, examples)
├── src/ # core source code
│ └── utils/ # generic reusable helper modules
└── tests/ # unit and integration tests
Create directories (only those needed for the project type):
mkdir -p data doc media model output script src/utils tests
Initialize git:
git init
Create .gitignore with common exclusions:
__pycache__/, *.pyc, .venv/, *.egg-info/.env, .env.local.vscode/, .idea/.DS_Store, Thumbs.dboutput/, model/, .claude/Create README.md with:
Create CLAUDE.md with:
Set up Python environment (if Python project):
python -m venv .venv
source .venv/bin/activate
pip install <dependencies>
pip freeze > requirements.txt
# CLAUDE.md
## Project Overview
[Brief description of what this project does]
## Do Not Modify
- [List driver/framework files here]
## Files You Can Modify
- [List implementation files here]
## Commands
### Setup
\`\`\`bash
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
\`\`\`
### Running
\`\`\`bash
[Add run commands]
\`\`\`
## Architecture
[Describe file roles and structure]