commit 4839df8053c567eeb02a5d3ff0cd01495d666fb5 Author: Zhongwei Li Date: Sat Nov 29 18:02:07 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..f140ebc --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "credo", + "description": "Credo static code analysis for Elixir projects", + "version": "1.0.1", + "author": { + "name": "Bradley Golden", + "url": "https://github.com/bradleygolden" + }, + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ccc2dc4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# credo + +Credo static code analysis for Elixir projects diff --git a/hooks/hooks.json b/hooks/hooks.json new file mode 100644 index 0000000..263754a --- /dev/null +++ b/hooks/hooks.json @@ -0,0 +1,29 @@ +{ + "description": "Credo static code analysis with context-aware feedback", + "hooks": { + "PostToolUse": [ + { + "matcher": "Edit|Write|MultiEdit", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/post-edit-check.sh", + "timeout": 30 + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/pre-commit-check.sh", + "timeout": 30 + } + ] + } + ] + } +} diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..5ca2c86 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:bradleygolden/claude-marketplace-elixir:plugins/credo", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "3ffb95f316d1b173ed115f6eac8fd0471db93b03", + "treeHash": "fa39ee6f1ff8a7345a49fe4b92ec10547548459bdab3a9ff9e784d2d929ec53e", + "generatedAt": "2025-11-28T10:14:22.156723Z", + "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": "credo", + "description": "Credo static code analysis for Elixir projects", + "version": "1.0.1" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "cde0eaaf57fe0b44bd1feeb741b33d742cba8b7dda9c914883ef0216403a5075" + }, + { + "path": "hooks/hooks.json", + "sha256": "c88fcf22f8aca47442adcb1fbc5805c26bc3d43a6417a4f8db109f3bfbbbcdc6" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "d9c48265415cd5b9abd8c6518922c6b867a68cc441cdeaa485c0c079cf0d0a98" + } + ], + "dirSha256": "fa39ee6f1ff8a7345a49fe4b92ec10547548459bdab3a9ff9e784d2d929ec53e" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file