From 6fa483ed112aed715844d85387cc8959fc15367e Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 17:53:25 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/commit.md | 28 ++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/commit.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..bd5195f --- /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..a8b6ec9 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ananddtyagi/claude-code-marketplace:plugins/commit", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "ee7e7ce9e22469bda51ea664ca9116f4f9711196", + "treeHash": "3b231e0c935699b8853f432eda6c3199b438b05847ef0dc7e091d5f7fe08ea9d", + "generatedAt": "2025-11-28T10:13:20.709176Z", + "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": "31f0b17fdaef57c2892d018c7374c390b956af9c3b4d222fc94165df3aa984aa" + }, + { + "path": "commands/commit.md", + "sha256": "250a1f14a41d09be773de18d38111cd2a59d263da1d9748239861fe4b8e07b64" + } + ], + "dirSha256": "3b231e0c935699b8853f432eda6c3199b438b05847ef0dc7e091d5f7fe08ea9d" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file