.claude/skills/commit/SKILL.md
Create standardized git commits following Terrae's conventions
npx skillsauth add alamenai/terrae commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create standardized git commits following Terrae's conventions.
Check Current State
git status to see changed filesgit diff to see the actual changesReview Changes with User
Stage Files
git add -A or git add .)Commit Message Format Follow conventional commits:
type(scope): description
Types:
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Formatting, no code changerefactor: Code restructuringtest: Adding or updating testschore: Maintenance tasksExamples:
feat(marker): add rotation supportfix(popup): prevent memory leak on unmountdocs(readme): update installation instructionsNew Component Convention
When committing a new component, split into 3 separate commits in this order:
feat(map): add {component} component — the source file (src/registry/map/{slug}.tsx)feat(docs): add {component} example components — all example files (src/app/docs/_components/examples/{slug}-*.tsx)feat(docs): add {component} documentation page — the docs page (src/app/docs/{slug}/page.tsx)Shared file modifications (sidebar, components page, changelog, registry.json, barrel export) should be committed separately since they often contain changes for multiple components.
Important Rules
Co-Authored-By lines--amend unless explicitly requestedCreate the Commit
git commit -m "type(scope): description"
Verify
git status to confirm commit succeededtesting
Run tests for Terrae components
development
Review code changes implemented in the current session before committing
development
Prepare a Terrae component for release by running all checks and builds
tools
Commit, push, and open a pull request on GitHub