Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Configure plugin to reference internal folder

Maximilian Roosd0d4407265b1
diff --git a/.claude-plugin/CLAUDE.md b/.claude-plugin/CLAUDE.md
new file mode 100644
index 000000000..0413516d9
--- /dev/null
+++ b/.claude-plugin/CLAUDE.md
@@ -0,0 +1,17 @@
+# Claude Code Plugin Guidelines
+
+## Skills Directory Location
+
+**Current approach**: Testing whether `source: "./.claude-plugin"` allows skills to remain in `.claude-plugin/skills/`
+
+Configuration:
+- `source: "./.claude-plugin"`
+- `skills: ["./skills/worktrunk"]`
+- Combined path: `./.claude-plugin/skills/worktrunk`
+- Actual location: `.claude-plugin/skills/worktrunk/` ✅
+
+This approach keeps skills organized with hooks in `.claude-plugin/` and avoids root directory clutter.
+
+**Alternative**: If this doesn't work, Claude Code documentation suggests skills must be at plugin root: "All other directories (commands/, agents/, skills/, hooks/) must be at the plugin root, not inside `.claude-plugin/`"
+
+See ../ISSUE.md for full investigation details.
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 0074dfc55..8d5a6961e 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -2,7 +2,7 @@
"name": "worktrunk",
"owner": {
"name": "Worktrunk",
- "email": "[email protected]"
+ "email": "[email protected]"
},
"metadata": {
"description": "Configuration guidance skills for Worktrunk git worktree workflow tool",
@@ -12,10 +12,10 @@
{
"name": "worktrunk-config",
"description": "Complete Worktrunk integration for Claude Code. Provides: (1) configuration skill for setting up LLM integration, project hooks, and worktree automation, (2) automatic hooks that track AI activity per branch (🤖💬 indicators in wt list). Use when configuring Worktrunk, setting up hooks, or wanting visibility into which branches have active Claude sessions.",
- "source": "./",
+ "source": "./.claude-plugin",
"strict": false,
"skills": [
- "./.claude-plugin/skills/worktrunk"
+ "./skills/worktrunk"
]
}
]