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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.8.1-beta.12",
3
+ "version": "0.8.1-beta.14",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "skillwiki": "dist/cli.js"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.8.1-beta.12",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillwiki",
3
- "version": "0.8.1-beta.12",
3
+ "version": "0.8.1-beta.14",
4
4
  "description": "Project-aware Karpathy-style knowledge base for Codex with 18 prompt-only skills backed by the deterministic skillwiki CLI.",
5
5
  "author": {
6
6
  "name": "karlorz",
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 "${PLUGIN_ROOT}/using-skillwiki/SKILL.md")
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 "${PLUGIN_ROOT}/skills/using-skillwiki/SKILL.md")
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skillwiki/skills",
3
- "version": "0.8.1-beta.12",
3
+ "version": "0.8.1-beta.14",
4
4
  "private": true,
5
5
  "files": [
6
6
  "wiki-*",