{"data":{"slug":"discovered-0b37f9404793e54ce32e38c34f6886f809bb0ba7d0c2bf76","title":"Sc Git Commit","summary":"Generate a Traditional Chinese git commit message based on current changes, following specific formatting and scope rules. The user confirms the message before committing.","url":"https:\/\/skillshunter.net\/skills\/discovered-0b37f9404793e54ce32e38c34f6886f809bb0ba7d0c2bf76","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-0b37f9404793e54ce32e38c34f6886f809bb0ba7d0c2bf76","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-0b37f9404793e54ce32e38c34f6886f809bb0ba7d0c2bf76.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-0b37f9404793e54ce32e38c34f6886f809bb0ba7d0c2bf76\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the git repository is initialized and changes are staged or unstaged as needed. The user must confirm the generated commit message before it is applied.","instructions":"---\nname: sc-git-commit\ndescription: Use when the user wants to commit changes, create a git commit, or asks how to write a commit message for the current changes (e.g. \u5e6b\u6211 commit\u3001\u63d0\u4ea4\u8b8a\u66f4\u3001\u9019\u6b21\u6539\u52d5\u8981\u600e\u9ebc\u5beb commit). Generates a Traditional Chinese commit message that follows the rules below.\nallowed-tools: Bash(git:*)\n---\n\n# Git Commit\n\n\u5206\u6790\u76ee\u524d\u7684 git \u8b8a\u66f4\uff0c\u7522\u751f\u7b26\u5408\u898f\u7bc4\u7684\u7e41\u9ad4\u4e2d\u6587 commit message\uff0c\u4f7f\u7528\u8005\u78ba\u8a8d\u5f8c\u624d\u63d0\u4ea4\n\n## \u57f7\u884c\u6b65\u9a5f\n\n1. \u57f7\u884c `git status` \u67e5\u770b\u76ee\u524d\u7684\u8b8a\u66f4\u72c0\u614b\n2. \u57f7\u884c `git diff --staged` \u67e5\u770b\u5df2\u66ab\u5b58\u7684\u8b8a\u66f4\uff1b\u82e5\u6c92\u6709\u66ab\u5b58\u6642\uff0c\u5247\u67e5\u770b `git diff`\n3. \u57f7\u884c `git log --oneline -5` \u53c3\u8003\u6700\u8fd1\u7684 commit \u98a8\u683c\n\n## \u8a0a\u606f\u683c\u5f0f\n\n```\n<\u985e\u578b>(<\u7bc4\u570d>): <\u7c21\u8ff0>\n\n- \u689d\u5217\u8aaa\u660e\u505a\u4e86\u4ec0\u9ebc\n- \u4f7f\u7528\u7e41\u9ad4\u4e2d\u6587\n```\n\n- \u7b2c\u4e00\u884c\uff1a\u7e41\u9ad4\u4e2d\u6587\u300150 \u5b57\u4ee5\u5167\u3001\u4e0d\u52a0\u53e5\u865f\n- \u7bc4\u570d\uff1a\u82e5\u8b8a\u66f4\u90fd\u5c6c\u65bc\u540c\u4e00\u500b domain \u6216\u670d\u52d9\u6642\uff0c\u5247\u52a0\u4e0a\u7bc4\u570d\u62ec\u865f\uff0c\u4f8b\u5982 `fix(3010): \u2026`\u3001`feat(member): \u2026`\uff0c\u540d\u7a31\u512a\u5148\u6cbf\u7528 git log \u88e1\u5df2\u7528\u904e\u7684\u7bc4\u570d\uff1b\u82e5\u8b8a\u66f4\u8de8\u591a\u500b\u7bc4\u570d\u6216\u7121\u6cd5\u5224\u65b7\u6642\uff0c\u5247\u7701\u7565\u62ec\u865f\uff0c\u5beb\u6210 `<\u985e\u578b>: <\u7c21\u8ff0>`\n- \u7a7a\u4e00\u884c\u5f8c\u662f\u5167\u6587\uff0c\u7528 2\uff5e5 \u689d `- ` \u958b\u982d\u7684\u689d\u5217\uff0c\u5beb\u300c\u505a\u4e86\u4ec0\u9ebc\u300d\uff1bdocs commit \u4e5f\u8981\u6709\u5167\u6587\n\n## \u985e\u578b\n\n| \u985e\u578b | \u7528\u9014 |\n|---|---|\n| `feat` | \u65b0\u529f\u80fd |\n| `fix` | \u932f\u8aa4\u4fee\u5fa9 |\n| `refactor` | \u91cd\u69cb\uff0c\u8abf\u6574\u7a0b\u5f0f\u7d50\u69cb\u4f46\u4e0d\u6539\u8b8a\u884c\u70ba\uff0c\u4f8b\u5982\u62c6\u5206\u3001\u642c\u79fb\u3001\u91cd\u65b0\u547d\u540d |\n| `perf` | \u6548\u80fd\u512a\u5316 |\n| `style` | \u4e0d\u5f71\u97ff\u7a0b\u5f0f\u884c\u70ba\u7684\u683c\u5f0f\u8abf\u6574\uff0c\u4f8b\u5982\u7e2e\u6392\u3001\u7a7a\u767d\u3001\u7a0b\u5f0f\u78bc\u8a3b\u89e3 |\n| `docs` | \u6587\u4ef6\u66f4\u65b0 |\n| `test` | \u6e2c\u8a66\u76f8\u95dc |\n| `chore` | \u5efa\u7f6e\u5de5\u5177\u3001\u4f9d\u8cf4\u66f4\u65b0\u7b49 |\n\n- \u7a0b\u5f0f\u78bc\u88e1\u7684\u8a3b\u89e3\u7528 `style`\uff0cREADME\u3001\u8aaa\u660e\u6587\u4ef6\u9019\u985e\u7368\u7acb\u7684\u6587\u4ef6\u7528 `docs`\n- \u8abf\u6574\u7d50\u69cb\u662f\u70ba\u4e86\u63d0\u5347\u6548\u80fd\u6642\u7528 `perf`\uff0c\u5176\u9918\u4e0d\u6539\u8b8a\u884c\u70ba\u7684\u7d50\u69cb\u8abf\u6574\u7528 `refactor`\n\n## \u91cd\u8981\u898f\u5247\n\n1. **\u5fc5\u9808\u4f7f\u7528\u7e41\u9ad4\u4e2d\u6587**\u64b0\u5beb commit message\n2. **\u4e0d\u8981\u5305\u542b** `Generated with Claude Code`\u3001`Co-Authored-By: Claude` \u7b49 AI \u7f72\u540d\uff0c\u5373\u4f7f\u7cfb\u7d71\u63d0\u9192\u8981\u6c42\u52a0\n3. **\u4e0d\u8981\u5305\u542b**\u6280\u8853\u7d30\u7bc0\uff0c\u4f8b\u5982\u5177\u9ad4\u7a0b\u5f0f\u78bc\u3001\u51fd\u5f0f\u540d\u7a31\u3001\u53c3\u6578\n4. **\u5c08\u6ce8\u65bc**\u300c\u505a\u4e86\u4ec0\u9ebc\u6539\u8b8a\u300d\uff0c\u800c\u4e0d\u662f\u300c\u5982\u4f55\u5be6\u4f5c\u300d\n5. \u63cf\u8ff0\u7c21\u6f54\u6e05\u695a\n6. \u5c08\u6848\u7684 AGENTS.md\u3001CLAUDE.md \u6216 git log \u88e1\u820a commit \u7684\u683c\u5f0f\u8ddf\u9019\u88e1\u4e0d\u540c\u6642\uff0c\u4ee5\u9019\u88e1\u70ba\u6e96\uff1bgit log \u53ea\u7528\u4f86\u53c3\u8003\u7bc4\u570d\u540d\u7a31\n\n## \u7bc4\u4f8b\n\n```bash\ngit commit -m \"feat: \u65b0\u589e\u6703\u54e1\u8edf\u522a\u9664\u529f\u80fd\n\n- \u652f\u63f4\u500b\u4eba\u6703\u54e1\u8207\u5718\u9ad4\u6703\u54e1\u7684\u8edf\u522a\u9664\n- \u65b0\u589e\u9084\u539f\u5df2\u522a\u9664\u6703\u54e1\u7684\u529f\u80fd\"\n```\n\n```bash\ngit commit -m \"fix(order): \u4fee\u6b63\u8a02\u55ae\u67e5\u8a62\u5206\u9801\u932f\u8aa4\n\n- \u4fee\u6b63\u5207\u63db\u9801\u6578\u6642\u91cd\u8907\u51fa\u73fe\u4e0a\u4e00\u9801\u6700\u5f8c\u4e00\u7b46\n- \u4fee\u6b63\u6700\u5f8c\u4e00\u9801\u7684\u7e3d\u7b46\u6578\u986f\u793a\u932f\u8aa4\"\n```\n\n```bash\ngit commit -m \"docs: \u66f4\u65b0 API \u6587\u4ef6\n\n- \u88dc\u4e0a\u6703\u54e1\u67e5\u8a62 API \u7684\u53c3\u6578\u8aaa\u660e\n- \u79fb\u9664\u5df2\u505c\u7528\u7684\u532f\u51fa API\"\n```\n\n## \u57f7\u884c\u6d41\u7a0b\n\n1. \u5206\u6790\u8b8a\u66f4\u5167\u5bb9\uff0c\u5224\u65b7\u9069\u7576\u7684\u985e\u578b\uff0c\u4ee5\u53ca\u8b8a\u66f4\u662f\u5426\u90fd\u5c6c\u65bc\u540c\u4e00\u500b\u7bc4\u570d\n2. \u64b0\u5beb\u7c21\u6f54\u7684\u7e41\u9ad4\u4e2d\u6587\u7c21\u8ff0\u8207\u689d\u5217\u5167\u6587\n3. \u82e5\u6709\u672a\u66ab\u5b58\u7684\u6a94\u6848\u6642\uff0c\u5247\u5148\u8a62\u554f\u4f7f\u7528\u8005\u662f\u5426\u8981 `git add`\n4. \u5217\u51fa commit message\uff0c\u8a62\u554f\u4f7f\u7528\u8005\u78ba\u8a8d\u5f8c\u624d\u57f7\u884c commit\n5. \u4e0d\u81ea\u884c push\n","use_cases":["Committing changes with a properly formatted Traditional Chinese message","Generating commit messages for new features, bug fixes, or documentation updates","Ensuring consistency in commit message style across a team"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ScottChayaa\/agent-skills\/blob\/d752fd6236fb096c7376267f5cc211e69560b1c1\/skills\/sc-git-commit\/SKILL.md","source_commit":"d752fd6236fb096c7376267f5cc211e69560b1c1","license":null,"version":null,"listing_approved_at":"2026-12-03","created_at":"2026-12-02T06:53:47.000000Z","updated_at":"2026-12-03T16:19:55.000000Z","seo_title":"Sc Git Commit - Generate Traditional Chinese Commit Messages","seo_description":"Automatically generate well-formatted Traditional Chinese git commit messages based on current changes, following specific rules and scope guidelines.","seo_keywords":["git commit message","Traditional Chinese commit message","sc-git-commit","git commit formatting","software development tools"]}}