You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace 5 individual skills with 1 unified codemap skill for smart routing
- Add 5 slash commands (scan, load, query, update, impact) for direct invocation
- Add SessionStart hook to auto-detect .codemap/ and prompt user
- Bump version to 0.2.0
- Update README with new structure, commands, and workflow
Copy file name to clipboardExpand all lines: README.md
+42-25Lines changed: 42 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,21 +71,21 @@ Run the following commands inside a Claude Code session (these are slash command
71
71
72
72
After installation, **restart Claude Code** for the plugin to take effect.
73
73
74
-
> **原理 / How it works:** Claude Code 读取根目录的 `.claude-plugin/marketplace.json`,其中 `"source": "./ccplugin"` 指向插件目录。然后从 `ccplugin/.claude-plugin/plugin.json` 加载插件清单,自动发现 `ccplugin/skills/`下的所有 skill。
74
+
> **原理 / How it works:** Claude Code 读取根目录的 `.claude-plugin/marketplace.json`,其中 `"source": "./ccplugin"` 指向插件目录。然后从 `ccplugin/.claude-plugin/plugin.json` 加载插件清单,自动发现 `ccplugin/commands/` 下的斜杠命令、`ccplugin/skills/`下的 skill、以及 `ccplugin/hooks/` 下的事件钩子。
75
75
>
76
-
> Claude Code reads `.claude-plugin/marketplace.json` at the repo root, where `"source": "./ccplugin"` points to the plugin directory. It then loads `ccplugin/.claude-plugin/plugin.json` and auto-discovers all skills under`ccplugin/skills/`.
76
+
> Claude Code reads `.claude-plugin/marketplace.json` at the repo root, where `"source": "./ccplugin"` points to the plugin directory. It then loads `ccplugin/.claude-plugin/plugin.json` and auto-discovers commands in `ccplugin/commands/`, skills in`ccplugin/skills/`, and hooks in `ccplugin/hooks/`.
77
77
78
78
#### 5. 验证插件已安装 / Verify plugin installed
79
79
80
80
重启 Claude Code 后,输入 / After restarting Claude Code, type:
81
81
82
82
```
83
-
/scan
83
+
/codemap:codemap-scan
84
84
```
85
85
86
-
如果插件正确安装,该 skill 会被识别并触发代码扫描流程。
86
+
如果插件正确安装,该命令会触发代码扫描流程。
87
87
88
-
If the plugin is installed correctly, this skill will be recognized and trigger the code scan workflow.
88
+
If the plugin is installed correctly, this command will trigger the code scan workflow.
The `codemap` skill auto-activates based on conversation context and intelligently routes to the right operation. A `SessionStart` hook also detects `.codemap/` at session start.
0 commit comments