agentleFS
karashiirokarashiiro/agent-skills/commit-style/SKILL.md

commit-style

Skill2 starsChanged 9 months agoUnlicenseView on GitHub

Use this before making any commit as the user has special formatting requirements that need to be followed for consistency across projects. If you ask to commit code you just wrote, or if the user asks you to commit something, you should check this skill first to understand how the user wants you to do it.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use release.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    release

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a git commit using conventional commits format.

    line 8
  2. Distinctive:

    No AI attribution by default: Do not add "Generated with Claude Code" or Co-Authored-By lines unless required by the project standards …

    line 15
  3. Distinctive:

    No emojis: Keep messages plain text

    line 16
  4. Distinctive:

    Show current status: Run git status to see all changes

    line 28
  5. Distinctive:

    Show diff summary: Run git diff --stat for overview, git diff for details if needed

    line 29
  6. Distinctive:

    Interactive staging: Ask which files/changes to include in this commit

    line 30
  7. Distinctive:

    Follow this workflow step by step.

    line 37
  8. Distinctive:

    Use imperative mood ("Add feature" not "Added feature")

    line 40
  9. Distinctive:

    If body is needed, separate from title with blank line

    line 42

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Commit Changes

Create a git commit using conventional commits format.

Commit Style

  • Format: type(scope): description or type: description
  • Types: feat, fix, docs, chore (minimal set)
  • Scope: Optional, use when it adds clarity (e.g., feat(auth):, fix(ipc):)
  • No AI attribution by default: Do not add "Generated with Claude Code" or Co-Authored-By lines unless required by the project standards (always check, first)
  • No emojis: Keep messages plain text

Verbosity Rules

  • Small changes (~1-4 files, simple modification): Title only, ~50-72 chars
  • Medium changes (5-7 files, related modifications): Title + 1-3 sentence body
  • Large changes (8+ files or significant feature): Title + bullet point list

Workflow

Note: For steps where it says to ask for directions, use your question tools, if available.

  1. Show current status: Run git status to see all changes
  2. Show diff summary: Run git diff --stat for overview, git diff for details if needed
  3. Interactive staging: Ask which files/changes to include in this commit
  4. Draft message: Based on staged changes, draft a conventional commit message
  5. Review: Show the proposed message and ask for approval or edits
  6. Commit: Execute the commit (without --no-verify unless requested)

Instructions

Follow this workflow step by step. Be concise in your communication. When showing diffs, summarize large changes rather than dumping everything.

For the commit message:

  • Use imperative mood ("Add feature" not "Added feature")
  • First line should be under 72 characters
  • If body is needed, separate from title with blank line
  • Body lines should wrap at 72 characters

Example small commit:

docs: add design documentation index

Example medium commit:

feat(auth): implement OAuth token refresh

Add automatic token refresh when access token expires within 5 minutes.
Tokens are persisted to OS keychain via frontend IPC.

Example large commit:

docs: overhaul documentation

- Add cross-platform backend path resolution to frontend-architecture.md
- Clarify multi-turn conversation status in backend-adapter.md
- Create ROADMAP.md with phase breakdown
- Add asset authoring timeline to animation-system.md
- Create design docs index page

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.