---
title: "CLAUDE.md Starter Template"
description: "Copy-paste template for setting up Claude Code context in any project"
type: "prompt"
category: "atomic"
tags: ["claude-code", "template", "setup"]
url: "https://theglitch.ai/academy/prompts/claude-code-setup"
---

# CLAUDE.md Starter Template

Copy-paste template for setting up Claude Code context in any project

## The Prompt

```
# CLAUDE.md

## Project Overview
- **Name**: [Project Name]
- **Type**: [Web App / API / CLI / Library]
- **Language**: [Primary Language]
- **Framework**: [Framework]

## Quick Commands
```


# CLAUDE.md Starter Template

Copy this into your project root and customize:

```markdown
# CLAUDE.md

## Project Overview
- **Name**: [Project Name]
- **Type**: [Web App / API / CLI / Library]
- **Language**: [Primary Language]
- **Framework**: [Framework]

## Quick Commands
```bash
npm run dev      # Start development
npm run build    # Build for production
npm run test     # Run tests
npm run lint     # Lint code
```

## Architecture

### Directory Structure
```
/src
  /components    # UI components
  /lib           # Utilities
  /api           # API routes
  /types         # TypeScript types
/tests           # Test files
```

### Key Files
| File | Purpose |
|------|---------|
| `src/index.ts` | Entry point |
| `src/config.ts` | Configuration |

## Conventions
- [Naming convention]
- [Import style]
- [Error handling approach]

## Notes for AI
- Run lint before completing tasks
- Follow existing patterns
- Ask before breaking changes
```

---

**Usage:** Create `CLAUDE.md` in your project root. Claude Code reads this automatically.

**Impact:** 40% → 80%+ first-attempt accuracy.

