# {{PROJECT_NAME}} - Vue.js

> Genere: {{GENERATION_DATE}} | Claude Craft v{{VERSION}}

## Quoi (Stack & Structure)

**Stack**: Vue.js {{VUE_VERSION}} + TypeScript {{TS_VERSION}}
**Build Tool**: Vite
**Architecture**: {{ARCHITECTURE_PATTERN}}

### Structure du projet
```
src/
├── assets/           # Assets statiques
├── components/       # Composants partages
├── composables/      # Composition functions (hooks)
├── modules/          # Feature modules
│   └── [module]/
│       ├── components/
│       ├── composables/
│       └── types/
├── router/           # Vue Router
├── stores/           # Pinia stores
├── services/         # Services API
├── types/            # Types TypeScript
└── utils/            # Utilitaires
```

## Pourquoi (Objectif & Organisation)

### Architecture: {{ARCHITECTURE_PATTERN}}
- **Components**: UI reutilisable
- **Composables**: Logique partagee (use prefix)
- **Modules**: Features par domaine metier
- **Stores**: State management (Pinia)

Voir `rules/02-architecture.md` pour les patterns.

### Regles critiques

| Regle | Description |
|-------|-------------|
| Analyse avant code | Consulter `rules/01-workflow-analysis.md` |
| Composition API | `<script setup>` obligatoire |
| TypeScript strict | Mode strict active |
| Coverage 80%+ | Tests obligatoires |

## Comment (Commandes & Workflows)

### Commandes de developpement
```bash
pnpm dev               # Serveur dev
pnpm build             # Build production
pnpm preview           # Preview build
```

### Pipeline de qualite
```bash
pnpm lint              # ESLint
pnpm lint:fix          # Fix lint
pnpm type-check        # Verification types
pnpm format            # Prettier
pnpm test              # Tests watch mode
pnpm test:coverage     # Coverage
pnpm test:e2e          # Tests E2E (Playwright)
```

### Conventions de nommage
- **Components**: PascalCase, multi-word
- **Composables**: `use` prefix (useAuth, useCart)
- **Stores**: `use{Name}Store` pattern
- **Props/Emits**: Interfaces TypeScript

### Workflow de developpement
1. **Analyser** - `rules/01-workflow-analysis.md`
2. **TDD** - Test first (Vitest)
3. **Qualite** - `pnpm lint && pnpm type-check && pnpm test`
4. **Commit** - Conventional Commits

## References

| Contexte | Fichier |
|----------|---------|
| Workflow | `rules/01-workflow-analysis.md` |
| Architecture | `rules/02-architecture.md` |
| Standards | `rules/03-coding-standards.md` |
| SOLID | `rules/04-solid-principles.md` |
| Tests | `rules/07-testing.md` |
| State | `rules/13-state-management.md` |
| Securite | `rules/11-security.md` |

<!-- PROJECT-SPECIFIC-START -->
## Specificites du projet

<!-- Cette section est preservee lors des mises a jour -->

<!-- PROJECT-SPECIFIC-END -->
