From c7d0e994b90bcb76aa25959498280040f24dd070 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:48:19 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ hooks.json | 43 ++++++++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 103 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100755 hooks.json create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..7791c15 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "cc-skills-hooks", + "description": "Multi-Tier intelligent skill activation system (Keyword + TF-IDF + Semantic matching)", + "version": "0.0.1", + "author": { + "name": "inchan", + "url": "https://github.com/inchan" + }, + "hooks": [ + "./hooks.json" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..05e88da --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# cc-skills-hooks + +Multi-Tier intelligent skill activation system (Keyword + TF-IDF + Semantic matching) diff --git a/hooks.json b/hooks.json new file mode 100755 index 0000000..9d2601c --- /dev/null +++ b/hooks.json @@ -0,0 +1,43 @@ +{ + "name": "cc-skills-hooks", + "version": "2.1.0", + "description": "CC-Skills hooks for skill activation, cache sync, and linting", + "author": { + "name": "inchan", + "url": "https://github.com/inchan" + }, + "license": "MIT", + "hooks": { + "SessionStart": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/session-start-cache-sync.py" + } + ] + } + ], + "UserPromptSubmit": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/skill-recommend-hook.py" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/stop-hook-lint-and-translate.sh" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..cf87c4c --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:inchan/cc-skills:plugins/hooks", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "0d664d926ea6394a574e1a11fc8a38a1ace33748", + "treeHash": "a1617efd48a668155d646c70ae2525da9a7e3ed8a5dd7d6e49c492d3a6aa8ae0", + "generatedAt": "2025-11-28T10:17:40.227973Z", + "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": "cc-skills-hooks", + "description": "Multi-Tier intelligent skill activation system (Keyword + TF-IDF + Semantic matching)", + "version": "0.0.1" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "e443906c7b200fabc45093c1cedbdbf14e69526b4b12270646bf226750e609f3" + }, + { + "path": "hooks.json", + "sha256": "7ca72225d56ce37ebe2942071f43c0214fd11d41dfc28a74a51a00022119ea71" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "d766b70688a19420d296253e054418610d7a825263b1448aae788f092c28b5da" + } + ], + "dirSha256": "a1617efd48a668155d646c70ae2525da9a7e3ed8a5dd7d6e49c492d3a6aa8ae0" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file