Project Scaffold
Skill for creating a project repository with the correct folder structure, configuration, and base files for the chosen tech stack.
Input
- •Defined tech stack (platform, language, frameworks)
- •Project name
Output
- •Initialized repository with folder structure, README.md, and .gitignore
Process
Phase 1: Identify Stack
- •Read the tech stack definition
- •Identify: Platform, Language, UI Framework, DB
Phase 2: Create Repo
bash
# 1. Initialize repository git init [project-name] # 2. Create base structure mkdir -p src/main src/test docs # 3. Create base files touch README.md .gitignore
Phase 3: Structure by Platform
Android (Kotlin):
code
app/ ├── src/ │ ├── main/ │ │ ├── java/com/[package]/ │ │ │ ├── data/ # Repositories, DAOs │ │ │ ├── domain/ # Use cases, models │ │ │ ├── ui/ # Screens, ViewModels │ │ │ └── di/ # Dependency injection │ │ └── res/ │ └── test/ ├── build.gradle.kts └── gradle/
Web (Vite/React):
code
src/ ├── components/ # Reusable components ├── pages/ # Pages/Routes ├── hooks/ # Custom hooks ├── services/ # API calls ├── utils/ # Utilities └── styles/ # CSS/Styled
General (any project):
code
project-root/ ├── docs/ # Project documentation ├── src/ # Source code ├── tests/ # Tests ├── README.md └── .gitignore
Phase 4: README.md
The README must contain at minimum:
- •Project name
- •Brief description
- •Tech stack
- •How to run the project
- •Folder structure
Completeness Checklist
- •□ Repo initialized with git?
- •□ Folder structure matches the stack?
- •□ .gitignore appropriate for the stack?
- •□ Project compiles/runs without errors?
- •□ README has the minimum sections?
Rules
- •ALWAYS create a
.gitignoreappropriate for the stack - •ALWAYS verify the project compiles/runs before finishing
- •NEVER add business logic — structure and configuration only