Skip to content

Commit 5fc6e5d

Browse files
committed
ai(claude[plugin]): move agents/commands/skills to project root for auto-discovery
why: Claude Code auto-discovers plugin components at the project root, not inside .claude-plugin/. Agent wasn't showing up because it was nested under .claude-plugin/agents/. what: - Move agents/, commands/, skills/ to project root - Keep scripts/ in .claude-plugin/ (not auto-discovered) - Remove custom path overrides from plugin.json - Update cross-references between components
1 parent c338b27 commit 5fc6e5d

9 files changed

Lines changed: 5 additions & 8 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,5 @@
77
},
88
"repository": "https://github.com/tmux-python/libtmux",
99
"license": "MIT",
10-
"keywords": ["tmux", "parity", "analysis", "code-generation"],
11-
"commands": "./.claude-plugin/commands",
12-
"agents": "./.claude-plugin/agents",
13-
"skills": "./.claude-plugin/skills"
10+
"keywords": ["tmux", "parity", "analysis", "code-generation"]
1411
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ Output a structured report:
129129

130130
## Reference Data
131131

132-
The baseline command mapping is at `.claude-plugin/skills/tmux-parity/references/command-mapping.md`. Use this as a starting point, but always run the extraction scripts for the most current data.
132+
The baseline command mapping is at `skills/tmux-parity/references/command-mapping.md`. Use this as a starting point, but always run the extraction scripts for the most current data.

.claude-plugin/commands/implement-command.md renamed to commands/implement-command.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Guide wrapping a tmux command in libtmux, following project coding standards fro
1818

1919
Load the `tmux-parity` skill first for reference data and implementation patterns.
2020

21-
If `$ARGUMENTS` is empty, ask the user which tmux command to wrap. Consult `.claude-plugin/skills/tmux-parity/references/command-mapping.md` for the "Not Wrapped" list to suggest candidates.
21+
If `$ARGUMENTS` is empty, ask the user which tmux command to wrap. Consult `skills/tmux-parity/references/command-mapping.md` for the "Not Wrapped" list to suggest candidates.
2222

2323
## Phase 1: Analyze the tmux Command
2424

@@ -62,7 +62,7 @@ Search libtmux for a wrapped command with similar characteristics:
6262
- Similar flag pattern (boolean flags, value flags, creates objects, etc.)
6363
- Read that method as a template
6464

65-
Consult `.claude-plugin/skills/tmux-parity/references/libtmux-patterns.md` for the five implementation patterns.
65+
Consult `skills/tmux-parity/references/libtmux-patterns.md` for the five implementation patterns.
6666

6767
## Phase 4: Design the Method Signature
6868

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ Load the `tmux-parity` skill first to access reference data and domain knowledge
8181
| Command | libtmux Method | Missing Flags |
8282
```
8383

84-
Consult `.claude-plugin/skills/tmux-parity/references/command-mapping.md` for the baseline mapping data. Run the extraction scripts for the most current data.
84+
Consult `skills/tmux-parity/references/command-mapping.md` for the baseline mapping data. Run the extraction scripts for the most current data.
File renamed without changes.
File renamed without changes.

.claude-plugin/skills/tmux-parity/references/command-mapping.md renamed to skills/tmux-parity/references/command-mapping.md

File renamed without changes.

.claude-plugin/skills/tmux-parity/references/libtmux-patterns.md renamed to skills/tmux-parity/references/libtmux-patterns.md

File renamed without changes.

.claude-plugin/skills/tmux-parity/references/tmux-command-table.md renamed to skills/tmux-parity/references/tmux-command-table.md

File renamed without changes.

0 commit comments

Comments
 (0)