commit
Skill38 starsChanged 9 months agoMITView on GitHub
Commit code with conventional commit messages tied to task context. Never skips hooks.
- Reads credentials
193 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- Magnus-Gille/claude-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- tam159/next-roletheir own version, first seen Oct 4, 2026
Used with
Projects with it also use create-branch, review-r 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.
SentrySkillcreate-branch
Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a branch", "switch to a new branch", or when starting new work on the default branch.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
MicrosoftSkillact-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
MicrosoftSkillgenerate-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
AWSSkillissue
Implement a GitHub issue end-to-end — branch, code, test, docs, and commit.
Also in 9 projects that use this
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 3 projects that use this
- +2 more from luischanci
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- microsoft/vscode★ 196ksame name
- ToolJet/ToolJet★ 41ksame name
- openai/symphony★ 28ksame name
- EverMind-AI/EverOS★ 13ksame name
- GetStream/Vision-Agents★ 8.1ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- Windy3f3f3f3f/claude-code-from-scratch★ 2.7ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- bubblelabai/BubbleLab★ 1.1ksame name
183 more not listed
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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- colorSkill
- explainSkill
- lessonSkill
- loopgramSkill
- my-dnaSkill
- prd-checkSkill
- prdSkill
- reviewSkill
- setup-reviewSkill
- styleguideSkill
- tourSkill
- vibe-checkSkill
- vibe-helpSkill
- vibe-listSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Create a well-structured git commit with a conventional commit message derived from the current task context.
- Distinctive: line 17
Run these in parallel:
- Distinctive: line 31
Look for task context to derive the commit message from.
- Distinctive: line 39
Use conventional commits format matching this repo's style:
- Very specific: line 58
If working on a Ralph story: use the story ID — e.g., feat(story-3): add user auth
- Very specific: line 59
If working on a specific module: use the module name — e.g., fix(loop): handle empty config
- Very specific: line 60
If broad/cross-cutting: omit scope — e.g., chore: bump version to 3.28.0
- Distinctive: line 63
Start with lowercase after the colon
- Distinctive: line 65
Keep the first line under 72 characters
- Distinctive: line 66
If more detail is needed, add a blank line and a body paragraph
- Distinctive: line 94
Run
git status: after to confirm it succeeded - Distinctive: line 98
If pre-commit hooks fail:
- Very specific: line 105
If hooks auto-fix files (e.g., prettier, eslint --fix):
- Distinctive: line 114
If the user says "just commit it" or similar, still follow the process — just skip the AskUserQuestion confirmation
- Distinctive: line 115
If there are no changes to commit, say so and stop
- Very specific: line 117
When in doubt about the type, feat for new things, fix for broken things, chore for everything else
“Common” is measured: kept by at least 6 in 10 of the 174 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
Commit Changes
Create a well-structured git commit with a conventional commit message derived from the current task context.
Rules
- NEVER use
--no-verify. Pre-commit hooks exist for a reason. If hooks fail, fix the issues and retry. - NEVER use
git add -Aorgit add .unless every changed file is relevant. Stage files by name. - NEVER amend a previous commit unless the user explicitly asks for it.
Step 1: Understand What Changed
Run these in parallel:
git status— see all changed, staged, and untracked filesgit diff— see unstaged changesgit diff --cached— see already-staged changesgit log --oneline -5— see recent commit style for this repo
Review the changes and identify:
- Which files are related to the current task
- Which files are unrelated noise (editor configs, lock files from unrelated installs, etc.)
- Whether any files contain secrets,
.envcontent, or credentials — never commit those
Step 2: Find the Task Context
Look for task context to derive the commit message from. Check in order:
- Ralph PRD story — if there's an active story, check
.ralph/progress.txtfor the current story ID and title. The commit message should reference this. - Recent conversation — what did the user ask you to do? Use that as the commit description.
- The diff itself — if no other context, derive the purpose from the actual code changes.
Step 3: Craft the Commit Message
Use conventional commits format matching this repo's style:
type(scope): concise description of WHYTypes (pick the right one)
| Type | When to use |
feat | New feature or capability |
fix | Bug fix |
chore | Maintenance, deps, config, version bumps |
test | Adding or fixing tests |
docs | Documentation only |
refactor | Code restructuring, no behavior change |
style | Formatting, whitespace, naming |
ci | CI/CD pipeline changes |
Scope
- If working on a Ralph story: use the story ID — e.g.,
feat(story-3): add user auth - If working on a specific module: use the module name — e.g.,
fix(loop): handle empty config - If broad/cross-cutting: omit scope — e.g.,
chore: bump version to 3.28.0
Message rules
- Start with lowercase after the colon
- Focus on why, not what — the diff shows what
- Keep the first line under 72 characters
- If more detail is needed, add a blank line and a body paragraph
Examples from this repo
feat: add Working Principles to CLAUDE.md and plansDirectory to settings
feat(story-3): add user authentication with JWT
fix: bash 3.2 unbound variable when run_loop called with no args
chore: bump version to 3.27.1
test(api): add integration tests for /users endpoint
refactor: extract verification into separate modulesStep 4: Stage and Commit
- Stage only the relevant files by name — do NOT use
git add -Aorgit add . - Show the user the proposed commit message and list of staged files before committing
- Ask if the message looks right using AskUserQuestion with options:
- "Looks good, commit it"
- "Let me edit the message" (then ask for their preferred message)
- Run the commit — use a HEREDOC for the message:
git commit -m "$(cat <<'EOF'
type(scope): message here
EOF
)"- Run
git statusafter to confirm it succeeded
Step 5: Handle Hook Failures
If pre-commit hooks fail:
- Read the hook output carefully
- Fix the issues the hooks identified (lint errors, secrets detected, etc.)
- Re-stage the fixed files
- Commit again — same message, same process, NO
--no-verify
If hooks auto-fix files (e.g., prettier, eslint --fix):
- Review the auto-fixes
- Stage the auto-fixed files
- Retry the commit
If you cannot resolve hook failures after 5 attempts, stop and explain the issue to the user. Do NOT bypass hooks.
Notes
- If the user says "just commit it" or similar, still follow the process — just skip the AskUserQuestion confirmation
- If there are no changes to commit, say so and stop
- Group related changes into one commit; suggest splitting if changes are unrelated
- When in doubt about the type,
featfor new things,fixfor broken things,chorefor everything else
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.

