{"id":"6bd4b4e1-ea09-4475-80ea-2c83564228dc","shortId":"JBXv6M","kind":"skill","title":"Git Commit","tagline":"Awesome Copilot skill by Github","description":"# Git Commit with Conventional Commits\n\n## Overview\n\nCreate standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.\n\n## Conventional Commit Format\n\n```\n<type>[optional scope]: <description>\n\n[optional body]\n\n[optional footer(s)]\n```\n\n## Commit Types\n\n| Type       | Purpose                        |\n| ---------- | ------------------------------ |\n| `feat`     | New feature                    |\n| `fix`      | Bug fix                        |\n| `docs`     | Documentation only             |\n| `style`    | Formatting/style (no logic)    |\n| `refactor` | Code refactor (no feature/fix) |\n| `perf`     | Performance improvement        |\n| `test`     | Add/update tests               |\n| `build`    | Build system/dependencies      |\n| `ci`       | CI/config changes              |\n| `chore`    | Maintenance/misc               |\n| `revert`   | Revert commit                  |\n\n## Breaking Changes\n\n```\n# Exclamation mark after type/scope\nfeat!: remove deprecated endpoint\n\n# BREAKING CHANGE footer\nfeat: allow config to extend other configs\n\nBREAKING CHANGE: `extends` key behavior changed\n```\n\n## Workflow\n\n### 1. Analyze Diff\n\n```bash\n# If files are staged, use staged diff\ngit diff --staged\n\n# If nothing staged, use working tree diff\ngit diff\n\n# Also check status\ngit status --porcelain\n```\n\n### 2. Stage Files (if needed)\n\nIf nothing is staged or you want to group changes differently:\n\n```bash\n# Stage specific files\ngit add path/to/file1 path/to/file2\n\n# Stage by pattern\ngit add *.test.*\ngit add src/components/*\n\n# Interactive staging\ngit add -p\n```\n\n**Never commit secrets** (.env, credentials.json, private keys).\n\n### 3. Generate Commit Message\n\nAnalyze the diff to determine:\n\n- **Type**: What kind of change is this?\n- **Scope**: What area/module is affected?\n- **Description**: One-line summary of what changed (present tense, imperative mood, <72 chars)\n\n### 4. Execute Commit\n\n```bash\n# Single line\ngit commit -m \"<type>[scope]: <description>\"\n\n# Multi-line with body/footer\ngit commit -m \"$(cat <<'EOF'\n<type>[scope]: <description>\n\n<optional body>\n\n<optional footer>\nEOF\n)\"\n```\n\n## Best Practices\n\n- One logical change per commit\n- Present tense: \"add\" not \"added\"\n- Imperative mood: \"fix bug\" not \"fixes bug\"\n- Reference issues: `Closes #123`, `Refs #456`\n- Keep description under 72 characters\n\n## Git Safety Protocol\n\n- NEVER update git config\n- NEVER run destructive commands (--force, hard reset) without explicit request\n- NEVER skip hooks (--no-verify) unless user asks\n- NEVER force push to main/master\n- If commit fails due to hooks, fix and create NEW commit (don't amend)","tags":["git","commit","awesome","copilot","github"],"capabilities":["skill","source-github","category-awesome-copilot"],"categories":["awesome-copilot"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/github/awesome-copilot/git-commit","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under github/awesome-copilot","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T21:40:10.685Z","embedding":null,"createdAt":"2026-04-18T20:24:05.970Z","updatedAt":"2026-04-22T21:40:10.685Z","lastSeenAt":"2026-04-22T21:40:10.685Z","tsv":"'1':111 '123':264 '2':140 '3':185 '4':220 '456':266 '72':218,270 'actual':26 'ad':253 'add':161,168,171,176,251 'add/update':71 'affect':205 'allow':98 'also':134 'amend':316 'analyz':24,112,189 'appropri':30 'area/module':203 'ask':297 'awesom':3 'bash':114,156,223 'behavior':108 'best':242 'bodi':41 'body/footer':234 'break':84,94,104 'bug':53,257,260 'build':73,74 'cat':238 'category-awesome-copilot' 'chang':78,85,95,105,109,154,198,213,246 'char':219 'charact':271 'check':135 'chore':79 'ci':76 'ci/config':77 'close':263 'code':63 'command':282 'commit':2,9,12,18,22,36,45,83,179,187,222,227,236,248,304,313 'config':99,103,278 'convent':11,21,35 'copilot':4 'creat':14,311 'credentials.json':182 'deprec':92 'descript':206,268 'destruct':281 'determin':29,193 'diff':27,113,121,123,131,133,191 'differ':155 'doc':55 'document':56 'due':306 'endpoint':93 'env':181 'eof':239,241 'exclam':86 'execut':221 'explicit':287 'extend':101,106 'fail':305 'feat':49,90,97 'featur':51 'feature/fix':66 'file':116,142,159 'fix':52,54,256,259,309 'footer':43,96 'forc':283,299 'format':37 'formatting/style':59 'generat':186 'git':1,8,17,122,132,137,160,167,170,175,226,235,272,277 'github':7 'group':153 'hard':284 'hook':291,308 'imper':216,254 'improv':69 'interact':173 'issu':262 'keep':267 'key':107,184 'kind':196 'line':209,225,232 'logic':61,245 'm':228,237 'main/master':302 'maintenance/misc':80 'mark':87 'messag':34,188 'mood':217,255 'multi':231 'multi-lin':230 'need':144 'never':178,275,279,289,298 'new':50,312 'no-verifi':292 'noth':126,146 'one':208,244 'one-lin':207 'option':38,40,42 'overview':13 'p':177 'path/to/file1':162 'path/to/file2':163 'pattern':166 'per':247 'perf':67 'perform':68 'porcelain':139 'practic':243 'present':214,249 'privat':183 'protocol':274 'purpos':48 'push':300 'ref':265 'refactor':62,64 'refer':261 'remov':91 'request':288 'reset':285 'revert':81,82 'run':280 'safeti':273 'scope':32,39,201,229,240 'secret':180 'semant':16 'singl':224 'skill':5 'skip':290 'source-github' 'specif':23,158 'src/components':172 'stage':118,120,124,127,141,148,157,164,174 'standard':15 'status':136,138 'style':58 'summari':210 'system/dependencies':75 'tens':215,250 'test':70,72,169 'tree':130 'type':31,46,47,194 'type/scope':89 'unless':295 'updat':276 'use':19,119,128 'user':296 'verifi':294 'want':151 'without':286 'work':129 'workflow':110","prices":[{"id":"1829bba9-9cd5-4c17-a9f4-ecbe25fdcc04","listingId":"6bd4b4e1-ea09-4475-80ea-2c83564228dc","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"github","category":"awesome-copilot","install_from":"skills.sh"},"createdAt":"2026-04-18T20:24:05.970Z"}],"sources":[{"listingId":"6bd4b4e1-ea09-4475-80ea-2c83564228dc","source":"github","sourceId":"github/awesome-copilot/git-commit","sourceUrl":"https://github.com/github/awesome-copilot/tree/main/skills/git-commit","isPrimary":false,"firstSeenAt":"2026-04-18T21:49:33.717Z","lastSeenAt":"2026-04-22T18:52:55.751Z"},{"listingId":"6bd4b4e1-ea09-4475-80ea-2c83564228dc","source":"skills_sh","sourceId":"github/awesome-copilot/git-commit","sourceUrl":"https://skills.sh/github/awesome-copilot/git-commit","isPrimary":true,"firstSeenAt":"2026-04-18T20:24:05.970Z","lastSeenAt":"2026-04-22T21:40:10.685Z"}],"details":{"listingId":"6bd4b4e1-ea09-4475-80ea-2c83564228dc","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"github","slug":"git-commit","source":"skills_sh","category":"awesome-copilot","skills_sh_url":"https://skills.sh/github/awesome-copilot/git-commit"},"updatedAt":"2026-04-22T21:40:10.685Z"}}