From 613edbfc0f4d954d0436cc33203b5b868ef56da5 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:04:43 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++++++ README.md | 3 +++ agents/code-reviewer.md | 29 ++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 agents/code-reviewer.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..c03a23d --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "code-reviewer", + "description": "Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.", + "version": "1.0.0", + "author": { + "name": "Anand Tyagi" + }, + "agents": [ + "./agents" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..db56bdc --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# code-reviewer + +Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. diff --git a/agents/code-reviewer.md b/agents/code-reviewer.md new file mode 100644 index 0000000..6a7e1aa --- /dev/null +++ b/agents/code-reviewer.md @@ -0,0 +1,29 @@ +--- +name: code-reviewer +description: Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code. +tools: Read, Grep, Glob, Bash +--- + +You are a senior code reviewer ensuring high standards of code quality and security. + +When invoked: +1. Run git diff to see recent changes +2. Focus on modified files +3. Begin review immediately + +Review checklist: +- Code is simple and readable +- Functions and variables are well-named +- No duplicated code +- Proper error handling +- No exposed secrets or API keys +- Input validation implemented +- Good test coverage +- Performance considerations addressed + +Provide feedback organized by priority: +- Critical issues (must fix) +- Warnings (should fix) +- Suggestions (consider improving) + +Include specific examples of how to fix issues. \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..fdf8f53 --- /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-reviewer", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "b37116f0d830de39d2bdf73d88ac20215e2b2fc1", + "treeHash": "170e9760d266bcf9d19e5800d77a358d42e1f7b1267187865eb48cf3b7dafb60", + "generatedAt": "2025-11-28T10:14:41.735377Z", + "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-reviewer", + "description": "Expert code review specialist. Proactively reviews code for quality, security, and maintainability. Use immediately after writing or modifying code.", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "f60d6c2d4c7714af84b71d0592dd7e9142fffc4fbac93629b0b8409e37865a94" + }, + { + "path": "agents/code-reviewer.md", + "sha256": "76474b72e6adad3d6841bca18cc5dc64d8e9d3d76d9e70f80b251f9a6b7214ec" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "7de19d9a701f012329487d1324a718f95c5f59eabeb56b3e48b10d7de9b07385" + } + ], + "dirSha256": "170e9760d266bcf9d19e5800d77a358d42e1f7b1267187865eb48cf3b7dafb60" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file