agentsclimarketplace

Gen commit msg

Skill aztack/shrtLnk/.claude/skills/gen-commit-msg

Group git changes by logic and commit them using English Conventional Commit format. Quick command: commit-grouped [lang=en], [scope=shared|api|fe], [exclude=file-pattern]From its SKILL.md

Install
npx -y skills add aztack/shrtLnk --skill gen-commit-msg

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.3 KB, 941 tokens by cl100k_base, as published. Nobody here has run it

Commit Grouped by Logic

Group current git changes by logic and commit them using English Conventional Commit format.

Commit Rules

Scope Rules

  • shared: Changes related to shared modules
  • api: Changes related to backend API
  • fe: Changes related to frontend
  • Global scope: Changes that do not belong to the above scopes (no scope in commit message)

Commit Order

Commit according to dependencies, in the following order:

  1. Global configurations and dependencies (e.g., package.json, tsconfig.json, etc.)
  2. Changes in the shared module
  3. Changes in the api backend
  4. Changes in the fe frontend
  5. Project progress and documentation updates (e.g., README.md, docs/, etc.)
  6. Last commit: lock file (use fixed message: "chore: update lock file")

Ignored Files

  • Changes in .bootstrap.ts files will be ignored.

Execution Workflow

  1. Analyze changes: Read git status and git diff to analyze all changed files.
  2. Logical grouping: Group files based on file paths and change content.
  3. Generate commit messages: Generate English commit messages for each group following the Conventional Commit format.
  4. Display plan: List the files included in each commit group and the corresponding commit message.
  5. Wait for review: Do not commit automatically; wait for user review and confirmation.
  6. Accept adjustments: Users may request to exclude certain files or adjust the grouping.

Commit Message Format

Use Conventional Commit format with English descriptions:

<type>(<scope>): <description>

[optional body]

Type

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation update
  • style: Formatting adjustment (no functional changes)
  • refactor: Refactoring
  • perf: Performance optimization
  • test: Test-related
  • chore: Build, config, dependencies, etc.

Examples

  • feat(api): add user authentication endpoint
  • fix(fe): fix login page styling issue
  • refactor(shared): refactor utility functions module
  • docs: update project documentation
  • chore: update lock file

Execution Steps

When the user calls this skill:

  1. Run git status --porcelain to get all changed files.
  2. Run git diff to get the change content.
  3. Filter out .bootstrap.ts files.
  4. Determine scope based on file paths:
    • Contains /shared/ or packages/shared/ → shared
    • Contains /api/ or apps/*-api/ → api
    • Contains /fe/, apps/*-fe/, or /frontend/ → fe
    • Lock files (package-lock.json, yarn.lock, pnpm-lock.yaml, etc.) → separate group
    • Others → global scope
  5. Determine type (feat, fix, refactor, docs, chore, etc.) based on change content.
  6. Sort groups by dependency order.
  7. Generate English commit message for each group.
  8. Display the commit plan clearly:
    Commit 1: feat(shared): add new utility functions
    Files:
    - packages/shared/utils/helper.ts
    - packages/shared/types/index.ts
    
    Commit 2: feat(api): implement user management API
    Files:
    - apps/metamove-api/src/controllers/user.ts
    - apps/metamove-api/src/routes/user.ts
    
    ...
    
    Commit N: chore: update lock file
    Files:
    - package-lock.json
    
  9. Clearly inform the user: Please review the above commit plan; I will proceed with the commits after your confirmation.
  10. If the user requests to exclude certain files, readjust the grouping and plan.

Notes

  • Do not commit automatically: You must wait for explicit user confirmation before executing git add and git commit.
  • Flexible adjustments: Users may request to modify groupings or exclude certain files.
  • Maintain atomicity: Each commit should be a logical unit.
  • English descriptions: Use English for the description part of the commit message.
  • Lock file last: Always place the lock file in the final commit.

Argument Explanation

The optional $ARGUMENTS can be used to specify file patterns to exclude, for example:

/commit-grouped "*.test.ts"

This will exclude all test files.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Gives 1 of the 12 instructions most pr commit review skills give in 941 tokens

Counted across 888 of the 1,342 authors here whose files we hold, read 2026-08-07

  • Use conventional commits formathere, and in 127 of 888, across 115 files
  • Keep subject line under 72 charactersin 62 of 888, across 48 files
  • Delete branches after mergein 51 of 888, across 38 files
  • Use imperative mood in subject linein 51 of 888, across 42 files
  • Use imperative mood in commit messagesin 44 of 888
  • Verify directory is ignored before creating worktreein 43 of 888, across 12 files
  • Generate a conventional commit messagein 43 of 888
  • Add unignored worktree directories to gitignorein 42 of 888, across 10 files
  • Make atomic commitsin 39 of 888, across 27 files
  • Run tests before committingin 36 of 888, across 25 files
  • Verify clean test baselinein 35 of 888, across 9 files
  • Split unrelated changes into separate commitsin 35 of 888, across 30 files

Said here and by no other author read

  • commit lock files last using fixed message
  • display the commit plan with files and messages
  • adjust grouping if user requests exclusions

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 326,512. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.