commit

star 0

Generate a conventional commit message and create the commit

bqluan By bqluan schedule Updated 5/6/2026

name: commit description: Generate a conventional commit message and create the commit

Commit Workflow

Generate a commit message following conventional commits and create the commit.

Commit Message:

  • Use format: type(scope): description (e.g., feat(core): add user authentication)
    • Scope is optional but recommended when changes are focused on a specific area
  • Keep the message concise (one line preferred)
    • If changes span multiple distinct areas, use a one-line title followed by a list of the key changes only
  • Use English by default; Chinese is acceptable for specific domain terms
  • Do NOT add "Co-Authored-By" line

Steps:

  1. Run git fetch to update remote tracking info
  2. Check current branch tracking info and status (including diff and recent commit history)
    • If branch is behind remote: STOP and warn user to handle manually (pull/rebase first)
    • For untracked directories, check both files and symlinks
  3. Stage relevant files
  4. Generate commit message using the format specified above
  5. Commit
  6. Ask user if they want to push, and push if so
Install via CLI
npx skills add https://github.com/bqluan/dotfiles --skill commit
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator