commit e47ddbca31dbbb4d676363d08dbcf9c1bc454604 Author: Zhongwei Li Date: Sat Nov 29 18:04:48 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..eeab84f --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "commit", + "description": "Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes.", + "version": "1.0.0", + "author": { + "name": "evmts", + "url": "https://github.com/evmts" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..36b061f --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# commit + +Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes. diff --git a/commands/commit.md b/commands/commit.md new file mode 100644 index 0000000..fc8f67b --- /dev/null +++ b/commands/commit.md @@ -0,0 +1,28 @@ +--- +description: Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes. +author: evmts +author-url: https://github.com/evmts +version: 1.0.0 +--- + +# Commit Command + +This slash command is a Git commit helper that: + +1. Runs pre-commit checks by default (linting, building, generating docs) +2. Automatically stages files if none are staged +3. Analyzes code changes to suggest potential commit splits +4. Creates commits using conventional commit format with descriptive emojis + +## Key Features +- Supports options like `--no-verify` to skip pre-commit checks +- Encourages "atomic commits" with focused, logical changes +- Provides a comprehensive list of commit types and corresponding emojis +- Offers guidelines for splitting complex commits + +## Example Commit Messages +- "✨ feat: add user authentication system" +- "🐛 fix: resolve memory leak in rendering process" +- "📝 docs: update API documentation with new endpoints" + +The command aims to improve code quality, commit clarity, and developer workflow by providing structured commit guidance. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..728f66c --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/commit", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "6c551acc0b6b404ce2ce956df6b388fcf7bb003e", + "treeHash": "b1aef2aaeb56adea04ca93efce15ef172f06815460a37d24bfbe998d3799cb28", + "generatedAt": "2025-11-28T10:14:34.077143Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "commit", + "description": "Creates git commits using conventional commit format with appropriate emojis, following project standards and creating descriptive messages that explain the purpose of changes.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "55a2888cb67928e90d02f12a8d5cadeca3a3197889986f950317172234bf5fc2" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "502dc7e80eb4556a89de330c1219cc64fb7a2815a2d6acf8e46fc5f3d5ee5c62" + }, + { + "path": "commands/commit.md", + "sha256": "250a1f14a41d09be773de18d38111cd2a59d263da1d9748239861fe4b8e07b64" + } + ], + "dirSha256": "b1aef2aaeb56adea04ca93efce15ef172f06815460a37d24bfbe998d3799cb28" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file