From f4707b7f57a640ac0be9c152929768c297b681df Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:04:39 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/code-review.md | 23 +++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/code-review.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..a4c0e3f --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "code-review", + "description": "Perform a comprehensive code review of recent changes", + "version": "1.0.0", + "author": { + "name": " Anand Tyagi", + "url": "https://github.com/ananddtyagi" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..20eb645 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# code-review + +Perform a comprehensive code review of recent changes diff --git a/commands/code-review.md b/commands/code-review.md new file mode 100644 index 0000000..fd1ebac --- /dev/null +++ b/commands/code-review.md @@ -0,0 +1,23 @@ +--- +allowed-tools: Bash(git diff:*), Bash(git log:*) +description: Perform a comprehensive code review of recent changes +--- + +## Context + +- Current git status: !`git status` +- Recent changes: !`git diff HEAD~1` +- Recent commits: !`git log --oneline -5` +- Current branch: !`git branch --show-current` + +## Your task + +Perform a comprehensive code review focusing on: + +1. **Code Quality**: Check for readability, maintainability, and adherence to best practices +2. **Security**: Look for potential vulnerabilities or security issues +3. **Performance**: Identify potential performance bottlenecks +4. **Testing**: Assess test coverage and quality +5. **Documentation**: Check if code is properly documented + +Provide specific, actionable feedback with line-by-line comments where appropriate. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..aa652dc --- /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/code-review", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "c62018b894975bd369df287848b516c1a1b7d494", + "treeHash": "4b10dddeac51b76c6208a8541f4ed8239c987a436699ec38f2b340c8432aef9d", + "generatedAt": "2025-11-28T10:14:32.388067Z", + "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": "code-review", + "description": "Perform a comprehensive code review of recent changes", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "60e4843af3e8ba5c3edf33d266aebdb4814c3a85719823690dfbf8612fc576cb" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "6a3dc6a9bbde6f54a457864a1ca6fecb2abfcc4b9c866fdd072ec347fcd7c988" + }, + { + "path": "commands/code-review.md", + "sha256": "6733b9e528e6d269b602df5ba4c63a8eac21906aaed08a767b92941a0f0bdd10" + } + ], + "dirSha256": "4b10dddeac51b76c6208a8541f4ed8239c987a436699ec38f2b340c8432aef9d" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file