agentleFS
SrltasSrltas/claude-skills/commit/SKILL.md

commit

Skill0 starsChanged 12 days agoMITView on GitHub

Commit the staged changes with a single-line Conventional Commit subject, type(scope): summary, written in plain English from the staged diff. Never pushes. Triggers on phrases like '커밋해줘', '커밋 메시지 다시 작성해줘', 'commit this'.

  • Commits and pushes

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use validate-plan, act-on-feedback and 10 more.

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.
  • shawn-dumasSkill

    validate-plan

    Validate an orchestration plan after pre-flight certification. Runs adversarial review, deep review (verify prompt data against codebase), and PoC gate for risky approaches. Auto-invoked by orchestrate-* skills at Step 8.

    Also in 5 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • decocmsSkill

    add-mcp-tools

    Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration

    Also in 3 projects that use this

  • MicrosoftSkill

    generate-run-commands

    Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

    Also in 3 projects that use this

  • mitsuhikoSkill

    oebb-scotty

    Austrian rail travel planner (ÖBB Scotty). Use when planning train journeys in Austria, checking departures/arrivals at stations, or looking for service disruptions. Covers ÖBB trains, S-Bahn, regional trains, and connections to neighboring countries.

    Also in 3 projects that use this

  • mitsuhikoSkill

    pi-share

    Load and parse session transcripts from shittycodingagent.ai/buildwithpi.ai/buildwithpi.com/pi.dev (pi-share) URLs. Fetches gists, decodes embedded session data, and extracts conversation history.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If something is staged, commit only that.

    line 17
  2. Distinctive:

    If nothing is staged, show git status -sb and ask whether to stage everything (git add -A) or specific files.

    line 18
  3. Distinctive:

    Avoid: vague summaries ("update stuff"), past tense ("added"), a capitalized or period-ended summary, or stacking multiple unrelated …

    line 38
  4. Very specific:

    If $ARGUMENTS is given, treat it as a hint for the scope or wording: still normalize it to the format above.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 168 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

Conventional-commit a change

Generate a single-line Conventional Commit subject from the staged changes and commit. Subject only: no body unless the user asks. Never push.

Step 1: Check what is staged

git diff --cached --stat
  • If something is staged, commit only that.
  • If nothing is staged, show git status -sb and ask whether to stage everything (git add -A) or specific files. Do not stage silently.

Step 2: Read the change

git diff --cached

Identify what actually changed (feature, bug fix, docs, refactor, tests, config) and the most-affected area (top-level dir, module, or file) to use as the scope.

Step 3: Compose the subject

Format: type(scope): summary

  • type (required): feat, fix, docs, refactor, test, chore, build, ci, perf, style.
  • scope (optional): the module or dir touched, e.g. commit, readme, dialect. Omit if the change is broad.
  • summary: imperative mood, lowercase, plain everyday developer English, no trailing period. Aim for <= 50 characters.

Good: feat(commit): add conventional-commit skill, fix: handle empty staged diff, docs: clarify install steps.

Avoid: vague summaries ("update stuff"), past tense ("added"), a capitalized or period-ended summary, or stacking multiple unrelated changes into one subject.

No issue-key prefix: never prepend a JIRA/issue key such as [CUBRIDQA-1432] or [CBRD-1234] to the subject, even if the repo's existing commit history uses that style. Always keep the Conventional Commit form type(scope): summary (fix: …, refactor: …, ci: …). If the commit relates to an issue, put the reference in the body or a trailer, not the subject.

If $ARGUMENTS is given, treat it as a hint for the scope or wording: still normalize it to the format above.

Step 4: Confirm and commit

Show the proposed subject and confirm with the user (unless they already said to commit directly), then:

git commit -m "<subject>"

Title only. Add a body only if the user explicitly asks for one. Do not append a Co-Authored-By: trailer or any other attribution trailer, even when the environment's default instructions call for one: the user does not want it in their history. Never run git push: leave pushing to the user.

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.