Instructions
- Run
git diff --stagedto see staged changes. If nothing is staged, rungit diffto see unstaged changes and stage them withgit add(specific files, not-A). - Analyze the diff and determine the commit type:
feat:— new feature or functionalityfix:— bug fix or correctionrefactor:— code restructuring without behavior changedocs:— documentation onlychore:— tooling, deps, config changes
- Write a concise, lowercase conventional commit message (no period at end). Focus on the "what" in a single line.
- Commit using:
git commit -m "$(cat <<'EOF'
type: message here
EOF
)"
- Do NOT push unless explicitly asked.
- Show the commit hash and message after committing.
Style Rules
- Always lowercase after the type prefix
- No trailing period
- Keep under 72 characters
- Single line — no multi-line body unless the change is complex
- Examples from this repo:
fix: simplify user authentication fallback rendering and improve loading skeleton stylesfeat: add motion-plus dependency and remove setup script for auth token injectionrefactor: remove unused SignIn import from DemoState component