create-commit
Skill685 starsChanged 26 days agoMITView on GitHub
Stage files, generate a commit message in this repo's Conventional Commits style, and commit after user approval.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- PawelBednarekPunks/aidevbird-skillstheir own version, first seen Nov 15, 2026
- rccsousa/skillstheir own version, first seen Nov 8, 2026
- Pubx-ai/skillstheir own version, first seen Nov 8, 2026
- AlvaroVFon/skillstheir own version, first seen Oct 13, 2026
- DevCaress/guia-entrevistas-de-programaciontheir own version, first seen Oct 8, 2026
- penpot/penpottheir own version, first seen Oct 8, 2026
Used with
Projects with it also use create-pr.
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.
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 4 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- penpot/penpot★ 62ksame name
- DevCaress/guia-entrevistas-de-programacion★ 8.2ksame name
- Pubx-ai/skills★ 6same name
- geemus/hax-yax★ 4same name
- AlvaroVFon/skills★ 2same name
- PawelBednarekPunks/aidevbird-skills★ 1same name
- rccsousa/skills★ 1same 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- component-rulesSkill
- port-html-to-reactSkill
- pre-completion-checkSkill
- reviewSkill
- write-component-docsSkill
- write-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 11 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
4
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
- Distinctive: line 15
Commit messages follow Conventional Commits, and the conventions in AGENTS.md § _Commit messages_.
- Distinctive: line 28
If there are no changes at all, stop and tell the user there is nothing to commit.
- Very specific: line 30
If there are unstaged changes, use AskUserQuestion (multiSelect: true) to ask which files to stage:
- Distinctive: line 34
If files are already staged, mention them in the question text so the user knows what is already in the index.
- Distinctive: line 36
If everything is already staged, skip to step 2.
- Distinctive: line 38
After the selection, stage with git add (specific files.
- Distinctive: line 50
If empty, stop and tell the user there is nothing to commit.
- Distinctive: line 59
Read the full file for new files.
- Distinctive: line 60
Check git log --oneline -5 to follow recent style.
- Distinctive: line 66
If the user requests changes, revise and ask again.
- Distinctive: line 89
After the commit, show the result:
- Very specific: line 95
If a pre-commit hook fails, fix the underlying issue and create a new commit — do not amend or skip hooks (--no-verify) without explicit …
- Very specific: line 125
Component PascalCase: when the change is to one component: feat(ProgressIndicator), refactor(Button), fix(FileUpload).
- Very specific: line 126
Skill name (kebab-case): when the change is to one skill: docs(port-html-to-react), docs(write-tests).
- Distinctive: line 141
Use the body when the description alone doesn't convey the why.
“Common” is measured: kept by at least 6 in 10 of the 7 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.
Files
Context
- Current git status: !
git status - Current git diff (staged and unstaged changes): !
git diff HEAD - Current branch: !
git branch --show-current - Recent commits: !
git log --oneline -10
General rules
- Commit messages follow Conventional Commits, and the conventions in
AGENTS.md§ Commit messages. - Description: English, imperative mood (e.g. "add", not "added" / "adds"), no leading capital, no trailing period, ≤ 72 characters.
- Body (when included): English, wrap at ~72 characters, blank line after the description, explain what / why (not how).
- For breaking changes, add
!after the type or type+scope (e.g.feat!:,feat(Button)!:).
Workflow
1. Check changes and stage files
git status --shortIf there are no changes at all, stop and tell the user there is nothing to commit.
If there are unstaged changes, use AskUserQuestion (multiSelect: true) to ask which files to stage:
- First option: "Stage all" — stages every unstaged/untracked file.
- Then list each individual unstaged/untracked file.
If files are already staged, mention them in the question text so the user knows what is already in the index.
If everything is already staged, skip to step 2.
After the selection, stage with git add (specific files; avoid git add -A / git add . so we don't accidentally pick up secrets or large binaries):
git add <file1> <file2> ...2. Verify staged changes
git diff --cached --statIf empty, stop and tell the user there is nothing to commit.
3. Analyze the diff and draft a commit message
git diff --cachedFor large diffs (>500 lines), start with --stat and read key files selectively. If needed for context:
- Read the full file for new files.
- Check
git log --oneline -5to follow recent style.
Draft a Conventional Commits message in this repo's style — see Commit message format below — and present it to the user via AskUserQuestion for approval:
- Option 1: Approve.
- Option 2: Request changes (user provides feedback via "Other").
If the user requests changes, revise and ask again. Do not run git commit until the user approves.
4. Execute the commit
Once approved:
git commit -m "<approved description>"For multi-line messages (body / footer), use a HEREDOC:
git commit -m "$(cat <<'EOF'
<type>(<scope>): <description>
<body>
<footer>
EOF
)"After the commit, show the result:
git log --oneline -1If a pre-commit hook fails, fix the underlying issue and create a new commit — do not amend or skip hooks (--no-verify) without explicit user approval.
Commit message format
<type>(<optional scope>): <description>
<optional body>
<optional footer(s)>Type
feat— new feature (e.g. a new component, a new prop)fix— bug fixdocs— documentation / agent rules / skill changesrefactor— code change that neither fixes a bug nor adds a featureperf— performance improvementtest— adding or correcting testsbuild— build system / dependencies (npm, vite, tsconfig)ci— CI configurationchore— other changes that don't modify src or test filesstyle— formatting only (Biome rarely produces these as standalone commits — most style fixes ride along with feature work)revert— reverting a previous commit
Scope
Pick the most specific scope that applies, or omit it for cross-cutting changes:
- Component PascalCase when the change is to one component:
feat(ProgressIndicator),refactor(Button),fix(FileUpload). - Skill name (kebab-case) when the change is to one skill:
docs(port-html-to-react),docs(write-tests). - No scope for cross-cutting changes:
docs: trim Tech stack versions to majors.
Examples from this repo's history:
feat(ProgressIndicator): add pause/resume control to loop stories
refactor(ProgressIndicator): derive indeterminate state from value presence
docs(port-html-to-react): add src/index.ts re-export, drop animation pause rule
docs(review): drop the file length guideline
docs: trim Tech stack versions to majorsBody
Use the body when the description alone doesn't convey the why. Skip it for trivial changes.
- Wrap at ~72 characters per line.
- Blank line between description and body.
- Bullet points are fine when listing multiple distinct points.
Footer
- Reference related issues or PRs:
Closes #123,Refs #456. - Breaking changes:
BREAKING CHANGE: <description>.
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.

