agentleFS
mnzraleemnzralee/claude-multi-agent-architecture/.claude/skills/commit/SKILL.md

commit

Skill8 starsChanged 43 days agoMITView on GitHub

Git Commit Skill for creating well-structured, atomic commits following conventional-commits discipline

  • Reads credentials

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

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 10

    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. Very specific:

    Create well-structured git commits following conventional-commits discipline.

    line 8
  2. Distinctive:

    After completing a feature

    line 15
  3. Distinctive:

    After fixing a bug

    line 16
  4. Distinctive:

    After any significant change

    line 19
  5. Distinctive:

    Do not batch unrelated changes into single commits

    line 24
  6. Distinctive:

    No AI attribution (no "Co-Authored-By: Claude" or similar)

    line 27
  7. Distinctive:

    No emojis in commit messages

    line 28
  8. Distinctive:

    When changes span multiple files, group them logically:

    line 162
  9. Distinctive:

    No AI attribution: - Do not add "Co-Authored-By: Claude" or similar

    line 179
  10. Distinctive:

    No emojis: - Keep commits formal and professional

    line 180
  11. Distinctive:

    No secrets: - Never commit .env files, credentials, or API keys

    line 185

“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

Git Commit Skill

Create well-structured git commits following conventional-commits discipline. The examples below use a TypeScript / Node.js stack for concreteness; the discipline is stack-agnostic and applies equally to any language or framework.


When to Commit

Commit after every major step:

  • After completing a feature
  • After fixing a bug
  • After code improvements
  • After refactoring
  • After any significant change

File-by-file approach:

  • Stage and commit files individually or in small logical groups
  • Each file or group gets its own descriptive commit message
  • Do not batch unrelated changes into single commits

Keep it formal:

  • No AI attribution (no "Co-Authored-By: Claude" or similar)
  • No emojis in commit messages
  • Professional, descriptive messages

Commit Message Format

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

[optional body]

[optional footer]

Types

TypeDescription
featNew feature
fixBug fix
refactorCode refactoring (no feature or fix)
docsDocumentation only
styleFormatting, missing semicolons (no logic change)
testAdding or updating tests
choreMaintenance, dependencies, configs
perfPerformance improvement

Scopes (adapt to your project structure)

Frontend:    ui, auth, dashboard, settings, [CUSTOMIZE: your frontend apps/modules]
Backend:     api, auth, db, jobs, [CUSTOMIZE: your backend services/modules]
Infra:       docker, ci, config, k8s
General:     deps, build, release

Replace the placeholders above with the actual apps and services in your project.


Workflow

Step 1: Check Status

git status
git diff --staged
git diff

Step 2: Stage Files

# Stage specific files (preferred)
git add path/to/file1.ts path/to/file2.ts

# Stage all changes in a directory
git add src/components/

# Interactive staging (review each change)
git add -p

Step 3: Create Commit

git commit -m "$(cat <<'EOF'
type(scope): short description

Longer explanation of the change if needed.
- Bullet points for multiple changes
- Keep lines under 72 characters

EOF
)"

Examples

Feature Commit

git commit -m "$(cat <<'EOF'
feat(dashboard): add saved search and filter feature

- Add saved search list with name and criteria display
- Implement save/edit/delete dialogs
- Create useSavedSearches query hook
- Add saved-search types and API integration

EOF
)"

Bug Fix

git commit -m "$(cat <<'EOF'
fix(auth): resolve registration flow not creating user profile

Root cause: the password-confirmation endpoint was not promoting
the pending-registration record to a full user profile after
the password was set.

- Add promotion logic in the password handler
- Set migratedToProfileId and migratedAt fields
- Create initial account record for new user

EOF
)"

Refactor

git commit -m "$(cat <<'EOF'
refactor(admin): simplify user management table component

- Extract column definitions to separate file
- Replace inline sorting with TanStack Table
- Remove unused filter state

EOF
)"

Chore

git commit -m "$(cat <<'EOF'
chore(deps): update TanStack Query to v5.17

EOF
)"

Multi-File Commits

When changes span multiple files, group them logically:

# Stage related files together
git add src/hooks/use-orders.ts
git add src/types/order.ts
git commit -m "feat(orders): add order API hooks and types"

git add src/app/orders/page.tsx
git add src/app/orders/_components/
git commit -m "feat(orders): add order management UI"

Rules

  1. No AI attribution - Do not add "Co-Authored-By: Claude" or similar
  2. No emojis - Keep commits formal and professional
  3. Imperative mood - "add feature" not "added feature"
  4. Present tense - "fix bug" not "fixed bug"
  5. 72 char limit - Wrap body text at 72 characters
  6. Atomic commits - One logical change per commit
  7. No secrets - Never commit .env files, credentials, or API keys

Pre-Commit Checklist

  • All related files staged
  • No unintended files included (git status)
  • No secrets or credentials
  • Commit message follows format
  • Type and scope are appropriate
  • Description is clear and concise

Apply to: $ARGUMENTS

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.