Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:02:07 +08:00
commit 4839df8053
4 changed files with 89 additions and 0 deletions

View File

@@ -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"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# credo
Credo static code analysis for Elixir projects

29
hooks/hooks.json Normal file
View File

@@ -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
}
]
}
]
}
}

45
plugin.lock.json Normal file
View File

@@ -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": []
}
}