Check if CONVENTIONS.md already exists:
test -f .planning/CONVENTIONS.md && echo "EXISTS" || echo "MISSING"If EXISTS, update it with new patterns. If MISSING, create it.
Scan the codebase for established patterns:
- File naming (kebab-case, PascalCase, etc.)
- Directory structure
- Import/export patterns
- State management patterns (zustand, redux, etc.)
- Component patterns (functional, class, etc.)
- Type conventions (interfaces vs types, naming)
- Test patterns
Write .planning/CONVENTIONS.md with the discovered patterns.
Commit:
git add .planning/CONVENTIONS.md git commit -m "docs: auto-scaffold CONVENTIONS.md from codebase patterns"
Skill
gad:auto-conventions
gad-auto-conventions
Auto-scaffold CONVENTIONS.md from codebase patterns after first implementation phase
Source on GitHub
vendor/get-anything-done/sdk/skills/gad-auto-conventions/SKILL.md