git-conventions · git:20260330.dd1a8a9 · 2026-03-30 · sha256 f9decd5c5a5cc0f5

git-conventions git:20260330.dd1a8a9A

Immutable. This exact content never changes and is served at /api/v1/blob/f9decd5c5a5cc0f5.

---
description: Git workflow and commit conventions for AI-assisted development
globs: ["*"]
---

# Git Conventions for Vibe Coders

Commit convention (Conventional Commits):
- `feat:` add user authentication
- `fix:` resolve RLS policy for shared projects  
- `chore:` update dependencies
- `docs:` add API documentation
- `refactor:` extract auth helper to separate module

Branch naming:
- `feature/auth-flow`
- `fix/rls-policy-bug`
- `chore/update-dependencies`

ALWAYS run before commit (if available):
1. `npm run lint`
2. `npm run type-check`
3. `npm test`

AI session workflow:
- Create a new branch before starting any AI session
- Review ALL AI-generated code before committing
- Break large AI generations into multiple focused commits