project-scaffold
Scaffold new projects with best-practice structure, tooling, and configuration.
by cmanfre7 · published 2026-03-22
$ claw add gh:cmanfre7/cmanfre7-project-scaffold# project-scaffold
Scaffold new projects with best-practice structure, tooling, and configuration.
Usage
When Colt (or you) needs to start a new project, use this skill to generate the full boilerplate.
Decision Tree
Ask or infer the project type:
Web App (React / Next.js)
my-app/
├── src/
│ ├── app/ # Next.js app router
│ ├── components/ # Reusable UI components
│ ├── lib/ # Utilities, helpers, API clients
│ ├── styles/ # Global styles, Tailwind config
│ └── types/ # TypeScript type definitions
├── public/ # Static assets
├── tests/ # Test files
├── .gitignore
├── .eslintrc.json
├── tailwind.config.ts
├── tsconfig.json
├── package.json
└── README.md**Init commands:**
npx create-next-app@latest my-app --typescript --tailwind --eslint --app --src-dir
cd my-app && npm installAPI / Backend (FastAPI)
my-api/
├── app/
│ ├── __init__.py
│ ├── main.py # FastAPI app entry
│ ├── routers/ # Route modules
│ ├── models/ # Pydantic models / DB models
│ ├── services/ # Business logic
│ └── config.py # Settings / env vars
├── tests/
├── .gitignore
├── pyproject.toml
├── requirements.txt
└── README.md**Init commands:**
mkdir my-api && cd my-api
uv init && uv pip install fastapi uvicornMobile App (SwiftUI)
MyApp/
├── MyApp/
│ ├── App.swift
│ ├── ContentView.swift
│ ├── Models/
│ ├── Views/
│ ├── ViewModels/
│ └── Services/
├── MyAppTests/
├── MyAppUITests/
└── README.md**Init:** Use Xcode or `swift package init --type executable`
CLI Tool (Node / Python)
my-cli/
├── src/
│ └── index.ts # Entry point
├── bin/
│ └── my-cli # Executable wrapper
├── tests/
├── .gitignore
├── tsconfig.json
├── package.json
└── README.mdBrowser Extension
my-extension/
├── src/
│ ├── background.ts
│ ├── content.ts
│ ├── popup/
│ │ ├── popup.html
│ │ ├── popup.ts
│ │ └── popup.css
│ └── options/
├── icons/
├── manifest.json
├── .gitignore
├── tsconfig.json
├── package.json
└── README.mdPost-Scaffold Checklist
After generating structure:
1. `git init && git add -A && git commit -m "Initial scaffold"`
2. Create `.gitignore` appropriate to the project type
3. Set up linting config (ESLint / Ruff)
4. Add a basic README with project name and setup instructions
5. Add a basic test file to verify the test runner works
Asset Templates
.gitignore (universal base)
node_modules/
__pycache__/
.env
.env.local
dist/
build/
.next/
*.pyc
.DS_Store
*.log
coverage/More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...