Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:48:19 +08:00
commit c7d0e994b9
4 changed files with 103 additions and 0 deletions

View File

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

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# cc-skills-hooks
Multi-Tier intelligent skill activation system (Keyword + TF-IDF + Semantic matching)

43
hooks.json Executable file
View File

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

45
plugin.lock.json Normal file
View File

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