committing-code
Skill2 starsChanged 8 months agoMITView on GitHub
Creates clean, atomic commits following Conventional Commits specification. Use when committing code changes, writing commit messages, or when user mentions commit, conventional commits, or atomic commits.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft-foundry/foundry-agent-webapptheir own version, first seen Apr 21, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft-foundry/foundry-agent-webapp★ 124same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- building-lit-componentsSkill
- building-static-site-rss-feedsSkill
- building-templ-componentsSkill
- checking-wsh-vrtSkill
- creating-agent-skillsSkill
- creating-test-casesSkill
- deploying-with-isucon-ansibleSkill
- designing-isucon-architectureSkill
- frontend-designSkill
- operating-isucon-servers-via-sshSkill
- planning-wsh-improvementsSkill
- porting-isucon-rust-to-goSkill
- releasing-zig-with-goreleaserSkill
- running-isucon-as-an-agentSkill
- sharing-sockets-with-so-reuseport-in-zigSkill
- tuning-isucon-linux-and-nginxSkill
- using-go-tool-directiveSkill
- using-grafana-mcpSkill
- using-unocss-with-templSkill
- winning-isuconSkill
- winning-web-speed-hackathonSkill
- writing-feature-specSkill
- writing-implementation-tasksSkill
- writing-isucon-arch-subagent-tasksSkill
- writing-project-constitutionSkill
- writing-technical-designSkill
- writing-zig-cli-toolsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
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
- Distinctive: line 8
Create well-structured, atomic commits that follow Conventional Commits specification.
- Distinctive: line 49
When committing, follow these steps:
- Distinctive: line 68
Look for mixed concerns:
- Distinctive: line 94
Use interactive staging to pick specific changes:
- Distinctive: line 195
Write commit messages in imperative mood ("add feature" not "added feature")
- Distinctive: line 196
Keep subject line under 50 characters
- Very specific: line 200
When unsure about scope, omit it: feat: add new feature
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Committing Code
Create well-structured, atomic commits that follow Conventional Commits specification.
Use this skill when making commits, writing commit messages, splitting changes into logical units, or following project commit conventions.
Supporting files: CONVENTIONAL-COMMITS.md for commit message format, ATOMIC-COMMITS.md for splitting changes.
Quick Start
# Stage specific changes (not all at once)
git add -p
# Commit with conventional format
git commit -m "feat(parser): add support for array parsing"Commit Message Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]Common types:
| Type | Purpose | SemVer |
feat | New feature | MINOR |
fix | Bug fix | PATCH |
docs | Documentation only | - |
style | Formatting, whitespace | - |
refactor | Code restructure, no behavior change | - |
perf | Performance improvement | - |
test | Adding/fixing tests | - |
chore | Build, tooling, deps | - |
ci | CI/CD configuration | - |
Workflow Checklist
When committing, follow these steps:
Commit Workflow:
- [ ] Step 1: Review all changes (git diff)
- [ ] Step 2: Identify logical units of work
- [ ] Step 3: Stage changes for first unit (git add -p)
- [ ] Step 4: Write commit message (conventional format)
- [ ] Step 5: Verify commit is atomic (single purpose)
- [ ] Step 6: Repeat for remaining unitsStep 1: Review Changes
git status
git diffLook for mixed concerns:
- Whitespace changes mixed with logic changes
- Multiple unrelated features
- Bug fixes mixed with refactoring
Step 2: Identify Logical Units
Each commit should be:
- Single-purpose: One logical change
- Complete: Codebase works after commit
- Reversible: Can be reverted independently
Bad (mixed concerns):
Add user authentication and fix typo in README and update depsGood (separate commits):
feat(auth): add user authentication
docs: fix typo in README
deps: update lodash to 4.17.21Step 3: Stage Selectively
Use interactive staging to pick specific changes:
# Stage by hunks
git add -p
# Commands in interactive mode:
# y - stage this hunk
# n - skip this hunk
# s - split into smaller hunks
# e - manually edit hunk
# q - quitStep 4: Write Commit Message
Format:
<type>(<scope>): <imperative description>
<body explaining why, not what>
<footer with references/breaking changes>Examples:
Simple fix:
fix(api): handle null response from payment gatewayFeature with body:
feat(search): add fuzzy matching for product names
Users frequently misspell product names. Fuzzy matching
improves search success rate by ~40% based on analytics.
Closes #234Breaking change:
feat(api)!: change authentication to OAuth2
BREAKING CHANGE: API now requires OAuth2 tokens instead of
API keys. See migration guide in docs/auth-migration.md.Step 5: Verify Atomicity
Before finalizing, check:
- Does this commit do ONE thing?
- Can it be described in one short sentence?
- Would reverting it break unrelated features?
- Are tests passing after this commit?
Step 6: Repeat
Continue staging and committing remaining logical units.
Common Patterns
After Large Refactoring Session
# You've made many changes. Split them:
git stash # Save current state
git stash show -p | head # Review what you have
git checkout -p stash # Selectively apply changes
git add -p # Stage first logical unit
git commit -m "refactor: ..."
# Repeat until stash is emptyFix-up Previous Commit
# Made a mistake in last commit (not yet pushed)
git add <files>
git commit --amend --no-edit
# Or with new message
git commit --amend -m "fix: corrected message"Interactive Rebase (cleanup before PR)
# Squash/reorder last N commits
git rebase -i HEAD~N
# In editor:
# pick abc1234 feat: add feature
# fixup def5678 fix typo
# squash ghi9012 more changesTips
- Write commit messages in imperative mood ("add feature" not "added feature")
- Keep subject line under 50 characters
- Wrap body at 72 characters
- Reference issues in footer:
Closes #123,Fixes #456 - Breaking changes require exclamation mark (!) or BREAKING CHANGE: footer
- When unsure about scope, omit it:
feat: add new feature
Resources
- Conventional Commits Spec
- Atomic Commits Guide
- Commit Message Format
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
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.

