← ClaudeAtlas

project-scaffoldinglisted

This skill should be used when the user wants to set up Claude for a project, create a CLAUDE.md file, scaffold the .claude directory, initialize an AI workflow, configure a project for Claude, set up dev intelligence, initialize a new project, or do a new project setup. Triggered by phrases like "set up claude for this project", "create CLAUDE.md", "scaffold .claude directory", "init AI workflow", "configure project for claude", "set up dev intelligence", "initialize project", "new project setup".
nickthelegend/xorv · ★ 0 · AI & Automation · score 70
Install: claude install-skill nickthelegend/xorv
# Project Scaffolding ## Purpose Generate a complete `CLAUDE.md` and `.claude/` directory structure for any project. This gives AI agents the context they need to work effectively from the first session — build commands, conventions, quality gates, and session tracking. ## Stack Detection Before scaffolding, detect the project's tech stack by scanning for manifest files: | File Found | Stack Detected | Build Tool | |------------|---------------|------------| | `tsconfig.json` | TypeScript | `tsc`, `npm`/`yarn`/`pnpm` | | `package.json` (no tsconfig) | JavaScript | `npm`/`yarn`/`pnpm` | | `pyproject.toml` | Python | `pip`/`poetry`/`uv` | | `setup.py` or `requirements.txt` | Python (legacy) | `pip` | | `Cargo.toml` | Rust | `cargo` | | `go.mod` | Go | `go` | | `Makefile` | Check contents | Varies | | `Dockerfile` | Container | `docker` | ### Detection Steps 1. List files in project root: check for manifest files above 2. If `package.json` exists, read `scripts` to find build/test/lint commands 3. If `pyproject.toml` exists, read `[tool]` sections for configured tools 4. If multiple stacks detected, note all of them (monorepo pattern) ## CLAUDE.md Generation Use the template from `references/claude-md-template.md` and fill in detected information. **Target: under 200 lines.** Claude Code truncates CLAUDE.md after ~200 lines in the system prompt, so keep it lean. 1. **Project Overview** — read `README.md` or `package.json` description 2. **Build & Run Commands** — detect