skillwiki 0.8.1-beta.12 → 0.8.1-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/.claude-plugin/plugin.json +1 -1
- package/skills/.codex-plugin/plugin.json +1 -1
- package/skills/README.md +4 -0
- package/skills/hooks/session-context +17 -0
- package/skills/hooks/session-start +1 -1
- package/skills/hooks/session-start-codex +1 -1
- package/skills/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillwiki",
|
|
3
|
-
"version": "0.8.1-beta.
|
|
3
|
+
"version": "0.8.1-beta.14",
|
|
4
4
|
"skills": "./",
|
|
5
5
|
"description": "Project-aware Karpathy-style knowledge base for Claude Code: 18 prompt-only skills (wiki-*, proj-*, using-skillwiki) backed by the deterministic `skillwiki` CLI.",
|
|
6
6
|
"author": {
|
package/skills/README.md
CHANGED
|
@@ -16,3 +16,7 @@ copies this package's `.codex-plugin/` manifest, `skills/` mirror, and
|
|
|
16
16
|
Codex-specific hook files. That root exposes `hooks/hooks-codex.json` and
|
|
17
17
|
`hooks/session-start-codex` without exposing the Claude default
|
|
18
18
|
`hooks/hooks.json`.
|
|
19
|
+
|
|
20
|
+
Run `npm run materialize:plugins` from the repository root after changing
|
|
21
|
+
canonical skill, agent, or hook assets. Run
|
|
22
|
+
`npm run materialize:plugins:check` for read-only drift detection.
|
|
@@ -68,6 +68,23 @@ read_skill_content() {
|
|
|
68
68
|
cat "$skill_path" 2>/dev/null || echo "Error reading using-skillwiki skill"
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
resolve_skill_path() {
|
|
72
|
+
local plugin_root="$1"
|
|
73
|
+
local skill_name="$2"
|
|
74
|
+
local candidate
|
|
75
|
+
|
|
76
|
+
for candidate in \
|
|
77
|
+
"${plugin_root}/${skill_name}/SKILL.md" \
|
|
78
|
+
"${plugin_root}/skills/${skill_name}/SKILL.md"; do
|
|
79
|
+
if [[ -f "$candidate" ]]; then
|
|
80
|
+
printf '%s' "$candidate"
|
|
81
|
+
return 0
|
|
82
|
+
fi
|
|
83
|
+
done
|
|
84
|
+
|
|
85
|
+
printf '%s' "${plugin_root}/${skill_name}/SKILL.md"
|
|
86
|
+
}
|
|
87
|
+
|
|
71
88
|
build_skillwiki_session_context() {
|
|
72
89
|
local skill_content="$1"
|
|
73
90
|
local project_prd_context
|
|
@@ -8,7 +8,7 @@ PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(cd "${SCRIPT_DIR}/.." && pwd)}"
|
|
|
8
8
|
|
|
9
9
|
source "${SCRIPT_DIR}/session-context"
|
|
10
10
|
|
|
11
|
-
skill_content=$(read_skill_content "$
|
|
11
|
+
skill_content=$(read_skill_content "$(resolve_skill_path "$PLUGIN_ROOT" "using-skillwiki")")
|
|
12
12
|
session_context=$(build_skillwiki_session_context "$skill_content")
|
|
13
13
|
print_session_start_json "$session_context"
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ PLUGIN_ROOT="${PLUGIN_ROOT:-$(cd "${SCRIPT_DIR}/.." && pwd)}"
|
|
|
8
8
|
|
|
9
9
|
source "${SCRIPT_DIR}/session-context"
|
|
10
10
|
|
|
11
|
-
skill_content=$(read_skill_content "$
|
|
11
|
+
skill_content=$(read_skill_content "$(resolve_skill_path "$PLUGIN_ROOT" "using-skillwiki")")
|
|
12
12
|
session_context=$(build_skillwiki_session_context "$skill_content")
|
|
13
13
|
print_session_start_json "$session_context"
|
|
14
14
|
|