commit
Skill44 starsChanged 7 months agoMITView on GitHub
Safe commit and push workflow. Creates a commit following conventions and pushes. Husky handles verifications (TypeScript, Biome, tests).
- Commits and pushes
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 repository30 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-creatorSkill
- anti-overengineeringSkill
- audit-docsSkill
- auto-reviewSkill
- architectureSkill
- clean-codeSkill
- create-docSkill
- dddSkill
- discoverySkill
- docs-indexSkill
- e2eSkill
- event-stormingSkill
- implement-featureSkill
- product-managerSkill
- refactor-featureSkill
- refactoring-mikado-stranglerSkill
- review-backSkill
- review-docSkill
- review-followupSkill
- review-frontSkill
- review-fullstackSkill
- securitySkill
- shipSkill
- skill-creatorSkill
- solidSkill
- dashboard-stylingSkill
- tddSkill
- update-docsSkill
- worktreeSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read .claude/roles/senior-dev.md — adopt this profile and follow all its rules.
- Distinctive: line 16
When the user asks to commit/push code
- Very specific: line 53
If staged files include src/ code:
- Very specific: line 54
Check docs/feature-tracker.md — any feature in implementing status should be updated to implemented
- Very specific: line 55
Check corresponding spec — should have ## Status: implemented if feature is complete
- Distinctive: line 56
If missing, WARN the user (the hook will also catch this)
- Distinctive: line 64
If nothing is staged, suggest:
- Very specific: line 127
NEVER: use --force without explicit request
- Very specific: line 129
NEVER: use --no-verify unless explicitly requested by the user
- Distinctive: line 130
ALWAYS: verify you are on a feature branch
“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 - Safe Git Workflow
Persona
Read .claude/roles/senior-dev.md — adopt this profile and follow all its rules.
Activation
This skill activates:
- On explicit request (
/commit) - When the user asks to commit/push code
Husky Hooks (automatic)
The project uses Husky which automatically runs:
| Hook | Action |
pre-commit | TypeScript check + Biome lint (modified files) |
commit-msg | commitlint (message format) |
pre-push | Vitest tests (modified files since test) |
Claude Code Hooks (automatic)
The project also has PreToolUse hooks that run BEFORE git commands:
| Hook | Action |
protect-main-branch.sh | Blocks commit on master |
pre-commit-gate.sh | Runs tests before commit |
verify-spec-updated.sh | Checks spec has ## Status: implemented |
protect-main-push.sh | Blocks push to master and force push |
Workflow
Step 0: Quality Gates (BLOCKING)
BEFORE any commit, run:
yarn verifyIf it fails: display errors and STOP. Do not commit until quality gates pass.
Step 0b: Spec & Tracker Verification
If staged files include src/ code:
- Check
docs/feature-tracker.md— any feature inimplementingstatus should be updated toimplemented - Check corresponding spec — should have
## Status: implementedif feature is complete - If missing, WARN the user (the hook will also catch this)
Step 1: Analyze Changes
git status --shortIf nothing is staged, suggest:
git add <files>Step 2: Create the Commit
Message Format (Conventional Commits)
<type>(<scope>): <description>Allowed types:
| Type | Usage |
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting (no code change) |
refactor | Refactoring (no new feature or fix) |
perf | Performance improvement |
test | Adding or fixing tests |
build | Build system changes |
ci | CI/CD changes |
chore | Maintenance, dependencies |
revert | Revert a previous commit |
Rules:
- Header max 72 characters
- Description in lowercase, no trailing period
- Scope optional in parentheses
Examples
feat(webhook): add GitHub signature validation
fix(review): resolve score calculation overflow
refactor(gateway): extract GitLab API client
test(usecase): add unit tests for track assignmentStep 3: Commit
git commit -m "<type>(<scope>): <description>"Husky will automatically run:
- TypeScript check
- Biome lint
- commitlint
Step 4: Push (optional)
git push origin <current-branch>Husky will automatically run tests before pushing.
Security Rules
- NEVER use
--forcewithout explicit request - NEVER push to
mainormasterdirectly - NEVER use
--no-verifyunless explicitly requested by the user - ALWAYS verify you are on a feature branch
- NEVER mention Claude, Anthropic, or Co-Authored-By in commits
If Husky Fails
| Error | Solution |
| TypeScript | Fix type errors |
| Biome | yarn lint:fix to auto-correct |
| commitlint | Reword the commit message |
| Tests (push) | Fix failing tests |
Output Template
COMMIT
Branch: <branch>
Staged files:
- <file 1>
- <file 2>
Message: <type>(<scope>): <description>
Verifications:
- Husky: TypeScript / Biome / commitlint
Confirm commit? (yes/no)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.

