{"id":"16186491-4a2c-457b-974e-cca4e4833463","shortId":"3CkQLb","kind":"skill","title":"commit","tagline":"Create git commits following repository style. Use when user asks to \"create a commit\", \"commit changes\", \"/commit\", or requests committing code to git. Don't use for pushing code, creating pull requests, or reviewing changes.","description":"# Git Commit\n\n## Pre-loaded context\n\n- Status: !`git status`\n- Diff: !`git diff HEAD`\n- Log: !`git log --oneline -10`\n\n## Message Style\n\nMatch repo's existing commit patterns from log.\n- Extreme concision, sacrifice grammar for brevity\n- Focus on \"why\" not \"what\"\n- Imperative mood\n\n## Workflow\n\n1. Review status and diff\n2. Analyze recent commit style from log\n3. Stage files explicitly (avoid `git add .` or `-A`)\n4. Commit with HEREDOC format matching repo style\n5. Run `git status` after to verify\n\n## Examples\n\n**Bug fix** -- single file:\n```bash\ngit add src/auth.ts\ngit commit -m \"fix: null check in login handler\"\n```\n\n**Feature** -- multiple related files:\n```bash\ngit add src/components/SearchBar.tsx src/hooks/useSearch.ts\ngit commit -m \"add search bar component\"\n```\n\n**Refactor** -- extraction:\n```bash\ngit add src/utils/validation.ts\ngit commit -m \"extract email validation to util\"\n```\n\n## Rules\n\n- NEVER amend unless requested\n- NEVER skip hooks\n- NEVER commit secrets\n- Only commit when requested\n- Match existing commit patterns\n\n## Error Handling\n\n- Pre-commit hook fails -- fix issue, re-stage, create NEW commit (never `--amend`)\n- Nothing to commit -- report clean working tree and stop\n- Staged files contain secrets -- abort, warn user, unstage the file\n\n## See Also\n\n- [atomic-commits](../atomic-commits/SKILL.md) -- split changes into grouped commits by concern","tags":["commit","agent","skills","helderberto","agent-skills","ai-tools","antigravity","claude-code","cursor","developer-tools","gemini-cli","markdown"],"capabilities":["skill","source-helderberto","skill-commit","topic-agent-skills","topic-ai-tools","topic-antigravity","topic-claude-code","topic-cursor","topic-developer-tools","topic-gemini-cli","topic-markdown","topic-plugin","topic-sdlc","topic-skills","topic-tracer-bullet"],"categories":["agent-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/helderberto/agent-skills/commit","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add helderberto/agent-skills","source_repo":"https://github.com/helderberto/agent-skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,386 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:12.359Z","embedding":null,"createdAt":"2026-05-18T13:14:52.260Z","updatedAt":"2026-05-18T19:09:12.359Z","lastSeenAt":"2026-05-18T19:09:12.359Z","tsv":"'-10':54 '/atomic-commits/skill.md':223 '/commit':18 '1':79 '2':84 '3':91 '4':100 '5':108 'abort':212 'add':97,122,139,145,153 'also':219 'amend':165,198 'analyz':85 'ask':11 'atom':221 'atomic-commit':220 'avoid':95 'bar':147 'bash':120,137,151 'breviti':70 'bug':116 'chang':17,36,225 'check':129 'clean':203 'code':22,30 'commit':1,4,15,16,21,38,61,87,101,125,143,156,172,175,180,186,196,201,222,228 'compon':148 'concern':230 'concis':66 'contain':210 'context':42 'creat':2,13,31,194 'diff':46,48,83 'email':159 'error':182 'exampl':115 'exist':60,179 'explicit':94 'extract':150,158 'extrem':65 'fail':188 'featur':133 'file':93,119,136,209,217 'fix':117,127,189 'focus':71 'follow':5 'format':104 'git':3,24,37,44,47,51,96,110,121,124,138,142,152,155 'grammar':68 'group':227 'handl':183 'handler':132 'head':49 'heredoc':103 'hook':170,187 'imper':76 'issu':190 'load':41 'log':50,52,64,90 'login':131 'm':126,144,157 'match':57,105,178 'messag':55 'mood':77 'multipl':134 'never':164,168,171,197 'new':195 'noth':199 'null':128 'onelin':53 'pattern':62,181 'pre':40,185 'pre-commit':184 'pre-load':39 'pull':32 'push':29 're':192 're-stag':191 'recent':86 'refactor':149 'relat':135 'repo':58,106 'report':202 'repositori':6 'request':20,33,167,177 'review':35,80 'rule':163 'run':109 'sacrific':67 'search':146 'secret':173,211 'see':218 'singl':118 'skill' 'skill-commit' 'skip':169 'source-helderberto' 'split':224 'src/auth.ts':123 'src/components/searchbar.tsx':140 'src/hooks/usesearch.ts':141 'src/utils/validation.ts':154 'stage':92,193,208 'status':43,45,81,111 'stop':207 'style':7,56,88,107 'topic-agent-skills' 'topic-ai-tools' 'topic-antigravity' 'topic-claude-code' 'topic-cursor' 'topic-developer-tools' 'topic-gemini-cli' 'topic-markdown' 'topic-plugin' 'topic-sdlc' 'topic-skills' 'topic-tracer-bullet' 'tree':205 'unless':166 'unstag':215 'use':8,27 'user':10,214 'util':162 'valid':160 'verifi':114 'warn':213 'work':204 'workflow':78","prices":[{"id":"7126bd28-1c5f-4fdd-a87d-7aca6c0068ec","listingId":"16186491-4a2c-457b-974e-cca4e4833463","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"helderberto","category":"agent-skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:14:52.260Z"}],"sources":[{"listingId":"16186491-4a2c-457b-974e-cca4e4833463","source":"github","sourceId":"helderberto/agent-skills/commit","sourceUrl":"https://github.com/helderberto/agent-skills/tree/main/skills/commit","isPrimary":false,"firstSeenAt":"2026-05-18T13:14:52.260Z","lastSeenAt":"2026-05-18T19:09:12.359Z"}],"details":{"listingId":"16186491-4a2c-457b-974e-cca4e4833463","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"helderberto","slug":"commit","github":{"repo":"helderberto/agent-skills","stars":8,"topics":["agent-skills","ai","ai-tools","antigravity","claude-code","cursor","developer-tools","gemini-cli","markdown","plugin","sdlc","skills","tracer-bullet"],"license":"mit","html_url":"https://github.com/helderberto/agent-skills","pushed_at":"2026-05-14T11:37:47Z","description":"My personal SDLC toolbelt for AI coding agents — PRD to ship.","skill_md_sha":"d77a101aaa9db24f1ac5dede3ad55ce0c67a1b13","skill_md_path":"skills/commit/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/helderberto/agent-skills/tree/main/skills/commit"},"layout":"multi","source":"github","category":"agent-skills","frontmatter":{"name":"commit","description":"Create git commits following repository style. Use when user asks to \"create a commit\", \"commit changes\", \"/commit\", or requests committing code to git. Don't use for pushing code, creating pull requests, or reviewing changes."},"skills_sh_url":"https://skills.sh/helderberto/agent-skills/commit"},"updatedAt":"2026-05-18T19:09:12.359Z"}}