Skip to content

Commit 41fd5b9

Browse files
sjnimsclaude
andauthored
chore: prepare release v0.3.2 (#195)
## Summary Version bump to v0.3.2 - documentation improvements release. ## Changes - Expanded LSP integration skill with official docs alignment - Optimized agent-development skill to target word count - Aligned tools/allowed-tools format with official Claude Code docs - Updated CI/CD workflow documentation (fixed workflow list) - Applied prettier formatting to skill files ## Checklist - [x] Version updated in plugin.json, marketplace.json, CLAUDE.md - [x] CHANGELOG.md updated with release notes - [x] Markdownlint passes - [x] Prettier passes - [x] Version consistency verified 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7caad42 commit 41fd5b9

File tree

17 files changed

+633
-187
lines changed

17 files changed

+633
-187
lines changed

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
},
77
"metadata": {
88
"description": "Unofficial plugin-dev plugin marketplace for plugin-dev Claude Code plugin - the plugin itself was initially created by Daisy Hollman at Anthropic.",
9-
"version": "0.3.1"
9+
"version": "0.3.2"
1010
},
1111
"plugins": [
1212
{
1313
"name": "plugin-dev",
1414
"description": "Comprehensive toolkit for developing Claude Code plugins. Includes 9 expert skills covering hooks, MCP integration, LSP servers, commands, agents, marketplaces, and best practices. AI-assisted plugin creation and validation.",
15-
"version": "0.3.1",
15+
"version": "0.3.2",
1616
"author": {
1717
"name": "Daisy Hollman",
1818
"url": "https://github.com/anthropics/claude-code/",

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# MCP integration docs use mcp__plugin_*__* patterns that prettier
2+
# incorrectly converts __ to ** (treating as emphasis)
3+
plugins/plugin-dev/skills/mcp-integration/SKILL.md
4+
plugins/plugin-dev/skills/mcp-integration/references/tool-usage.md

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.2] - 2026-01-24
11+
12+
### Fixed
13+
14+
- **Restore MCP tool naming patterns** - Fixed `mcp__plugin_*__*` patterns in mcp-integration docs that prettier corrupted to `mcp**plugin_*__*`; added .prettierignore to prevent recurrence
15+
16+
### Documentation
17+
18+
- **Expand LSP integration skill** - Aligned with official Claude Code docs for comprehensive LSP server guidance
19+
- **Optimize agent-development skill** - Trimmed SKILL.md to target word count for faster loading
20+
- **Align tools/allowed-tools format** - Updated documentation to match official Claude Code docs terminology
21+
- **Update CI/CD workflow documentation** - Fixed workflow list in docs/ci-cd.md (added yaml-lint.yml, removed non-existent weekly-maintenance.yml)
22+
1023
## [0.3.1] - 2026-01-24
1124

1225
### Fixed
@@ -219,7 +232,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
219232
- Based on original plugin by Daisy Hollman at Anthropic
220233
- Expanded with enhanced skills, additional utilities, and CI/CD infrastructure
221234

222-
[Unreleased]: https://github.com/sjnims/plugin-dev/compare/v0.3.1...HEAD
235+
[Unreleased]: https://github.com/sjnims/plugin-dev/compare/v0.3.2...HEAD
236+
[0.3.2]: https://github.com/sjnims/plugin-dev/compare/v0.3.1...v0.3.2
223237
[0.3.1]: https://github.com/sjnims/plugin-dev/compare/v0.3.0...v0.3.1
224238
[0.3.0]: https://github.com/sjnims/plugin-dev/compare/v0.2.1...v0.3.0
225239
[0.2.1]: https://github.com/sjnims/plugin-dev/compare/v0.2.0...v0.2.1

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Guidance for Claude Code working in this repository.
66

77
Plugin marketplace containing the **plugin-dev** plugin - a toolkit for developing Claude Code plugins. Provides 9 skills, 3 agents, 3 slash commands.
88

9-
**Version**: v0.3.1 | [CHANGELOG.md](CHANGELOG.md)
9+
**Version**: v0.3.2 | [CHANGELOG.md](CHANGELOG.md)
1010

1111
## MCP Tool Requirements (CRITICAL)
1212

docs/ci-cd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Documentation for GitHub Actions workflows, labels, and templates.
1111
| `component-validation.yml` | Plugin components changed | Validate plugin components |
1212
| `version-check.yml` | Version files changed | Ensure version consistency |
1313
| `validate-workflows.yml` | `.github/workflows/**` changed | Lint GitHub Actions |
14+
| `yaml-lint.yml` | `.github/workflows/**` changed | Lint YAML files |
1415
| `claude-pr-review.yml` | All PRs (non-draft) | AI-powered code review |
1516

1617
## Other Workflows
@@ -19,7 +20,6 @@ Documentation for GitHub Actions workflows, labels, and templates.
1920
- `stale.yml` - Manages stale issues/PRs (Mon/Wed/Fri)
2021
- `semantic-labeler.yml` - Auto-labels issues/PRs
2122
- `ci-failure-analysis.yml` - Analyzes CI failures
22-
- `weekly-maintenance.yml` - Scheduled maintenance tasks
2323
- `sync-labels.yml` - Synchronizes repository labels
2424
- `greet.yml` - Greets new contributors
2525

plugins/plugin-dev/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plugin-dev",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Comprehensive toolkit for developing Claude Code plugins. Includes 9 expert skills covering hooks, MCP integration, LSP servers, commands, agents, marketplaces, and best practices. AI-assisted plugin creation and validation.",
55
"author": {
66
"name": "Daisy Hollman",

plugins/plugin-dev/skills/agent-development/SKILL.md

Lines changed: 33 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,13 @@ For complete format with all options, see [Agent File Structure](#agent-file-str
8080
- Action should not happen automatically
8181
- Workflow requires user confirmation at each step
8282

83-
For command development guidance, see the `command-development` skill.
84-
8583
### Choose Skills When
8684

8785
- Providing knowledge or procedural guidance
8886
- Extending Claude's domain expertise
8987
- No autonomous execution needed
9088
- Information should be available contextually on-demand
9189

92-
For skill development guidance, see the `skill-development` skill.
93-
9490
## Agent File Structure
9591

9692
### Complete Format
@@ -293,68 +289,41 @@ permissionMode: acceptEdits
293289

294290
**Security note:** Use restrictive modes (`plan`, `acceptEdits`) for untrusted agents. `bypassPermissions` should only be used for fully trusted agents.
295291

296-
## System Prompt Design
297-
298-
The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.
299-
300-
### Structure
301-
302-
**Standard template:**
303-
304-
```markdown
305-
You are [role] specializing in [domain].
306-
307-
**Your Core Responsibilities:**
308-
309-
1. [Primary responsibility]
310-
2. [Secondary responsibility]
311-
3. [Additional responsibilities...]
312-
313-
**Analysis Process:**
314-
315-
1. [Step one]
316-
2. [Step two]
317-
3. [Step three]
318-
[...]
292+
### Fields NOT Available for Agents
319293

320-
**Quality Standards:**
294+
Some frontmatter fields are specific to skills and do not apply to agents:
321295

322-
- [Standard 1]
323-
- [Standard 2]
296+
| Skill-Only Field | Purpose | Why Not for Agents |
297+
| -------------------------- | -------------------------------------- | ------------------------------------------------------- |
298+
| `context: fork` | Run skill in separate subagent context | Agents already run as subprocesses by design |
299+
| `agent` | Specify agent type for forked context | Only applies when `context: fork` is set |
300+
| `user-invocable` | Control slash menu visibility | Agents aren't invoked via slash commands |
301+
| `disable-model-invocation` | Block programmatic Skill tool usage | Agents use Task tool, not Skill tool |
302+
| `allowed-tools` | Restrict tool access (skill syntax) | Agents use `tools` field instead (different field name) |
324303

325-
**Output Format:**
326-
Provide results in this format:
304+
**Key distinction:** Skills provide knowledge and guidance that loads into context. Agents are autonomous subprocesses that execute independently. This architectural difference explains why context-forking options don't apply to agents—they're already isolated processes.
327305

328-
- [What to include]
329-
- [How to structure]
306+
## System Prompt Design
330307

331-
**Edge Cases:**
332-
Handle these situations:
308+
The markdown body becomes the agent's system prompt. Write in second person, addressing the agent directly.
333309

334-
- [Edge case 1]: [How to handle]
335-
- [Edge case 2]: [How to handle]
336-
```
310+
**Key elements:**
337311

338-
### Best Practices
312+
- Role definition ("You are [role] specializing in [domain]")
313+
- Core responsibilities (numbered list)
314+
- Process steps (concrete, actionable)
315+
- Quality standards (measurable criteria)
316+
- Output format (specific structure)
317+
- Edge cases (how to handle exceptions)
339318

340-
✅ **DO:**
319+
**Best practices:**
341320

342321
- Write in second person ("You are...", "You will...")
343-
- Be specific about responsibilities
344-
- Provide step-by-step process
345-
- Define output format
346-
- Include quality standards
347-
- Address edge cases
322+
- Be specific, not vague
348323
- Keep under 10,000 characters
324+
- Include concrete steps, not generic instructions
349325

350-
❌ **DON'T:**
351-
352-
- Write in first person ("I am...", "I will...")
353-
- Be vague or generic
354-
- Omit process steps
355-
- Leave output format undefined
356-
- Skip quality guidance
357-
- Ignore error cases
326+
For detailed templates and patterns (Analysis, Generation, Validation, Orchestration agents), see `references/system-prompt-design.md`.
358327

359328
## Creating Agents
360329

@@ -441,6 +410,16 @@ plugin-name/
441410
442411
All `.md` files in `agents/` are auto-discovered.
443412
413+
### Portable Paths
414+
415+
When referencing files within your plugin (scripts, references, etc.) from agent system prompts, use `${CLAUDE_PLUGIN_ROOT}` for portable paths:
416+
417+
```markdown
418+
Run the validation script at `${CLAUDE_PLUGIN_ROOT}/scripts/validate.sh`
419+
```
420+
421+
This variable resolves to the plugin's installation directory at runtime, ensuring paths work regardless of where the plugin is installed.
422+
444423
### Namespacing
445424

446425
Agents are namespaced automatically:
@@ -489,26 +468,6 @@ Ensure system prompt is complete:
489468

490469
## Quick Reference
491470

492-
### Minimal Agent
493-
494-
```markdown
495-
---
496-
name: simple-agent
497-
description: Use this agent when... Examples: <example>...</example>
498-
model: inherit
499-
color: blue
500-
---
501-
502-
You are an agent that [does X].
503-
504-
Process:
505-
506-
1. [Step 1]
507-
2. [Step 2]
508-
509-
Output: [What to provide]
510-
```
511-
512471
### Frontmatter Fields Summary
513472

514473
| Field | Required | Format | Example |
@@ -567,19 +526,3 @@ Development tools in `scripts/`:
567526
- **`create-agent-skeleton.sh`** - Generate new agent file from template
568527
- **`validate-agent.sh`** - Validate agent file structure
569528
- **`test-agent-trigger.sh`** - Test if agent triggers correctly
570-
571-
## Implementation Workflow
572-
573-
To create an agent for a plugin:
574-
575-
1. Define agent purpose and triggering conditions
576-
2. Choose creation method (AI-assisted or manual)
577-
3. Create agent file using skeleton: `./skills/agent-development/scripts/create-agent-skeleton.sh agent-name agents/`
578-
4. Write frontmatter with all required fields
579-
5. Write system prompt following best practices
580-
6. Include 2-4 triggering examples in description
581-
7. Validate with `./skills/agent-development/scripts/validate-agent.sh agents/your-agent.md`
582-
8. Test triggering with real scenarios
583-
9. Document agent in plugin README
584-
585-
Focus on clear triggering conditions and comprehensive system prompts for autonomous operation.

plugins/plugin-dev/skills/agent-development/examples/agent-creation-prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ name: [identifier from JSON]
4747
description: [whenToUse from JSON]
4848
model: inherit
4949
color: [choose: blue/cyan/green/yellow/magenta/red]
50-
tools: ["Read", "Write", "Grep"] # Optional: restrict tools
50+
tools: Read, Write, Grep # Optional: restrict tools
5151
---
5252

5353
[systemPrompt from JSON]
@@ -101,7 +101,7 @@ Explicit review request triggers the agent.
101101

102102
model: inherit
103103
color: blue
104-
tools: ["Read", "Grep", "Glob"]
104+
tools: Read, Grep, Glob
105105
---
106106

107107
You are an expert code quality reviewer specializing in identifying issues in software implementations.

plugins/plugin-dev/skills/agent-development/examples/complete-agent-examples.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ assistant: "I'll use the code-reviewer agent to validate the changes."
4343

4444
model: inherit
4545
color: blue
46-
tools: ["Read", "Grep", "Glob"]
46+
tools: Read, Grep, Glob
4747
---
4848

4949
You are an expert code quality reviewer specializing in identifying issues, security vulnerabilities, and opportunities for improvement in software implementations.
@@ -152,7 +152,7 @@ Direct test generation request triggers the agent.
152152

153153
model: inherit
154154
color: green
155-
tools: ["Read", "Write", "Grep", "Bash"]
155+
tools: Read, Write, Grep, Bash
156156
---
157157

158158
You are an expert test engineer specializing in creating comprehensive, maintainable unit tests that ensure code correctness and reliability.
@@ -214,7 +214,6 @@ describe('[module name]', () => {
214214
// More tests...
215215
})
216216
```
217-
````
218217

219218
**Edge Cases:**
220219

@@ -223,7 +222,6 @@ describe('[module name]', () => {
223222
- Unclear behavior: Add tests for observable behavior, note uncertainties
224223
- Complex mocking: Prefer integration tests or minimal mocking
225224
- Untestable code: Suggest refactoring for testability
226-
227225
````
228226

229227
## Example 3: Documentation Generator
@@ -256,18 +254,20 @@ Explicit documentation request triggers the agent.
256254

257255
model: inherit
258256
color: cyan
259-
tools: ["Read", "Write", "Grep", "Glob"]
257+
tools: Read, Write, Grep, Glob
260258
---
261259

262260
You are an expert technical writer specializing in creating clear, comprehensive documentation for software projects.
263261

264262
**Your Core Responsibilities:**
263+
265264
1. Generate accurate, clear documentation from code
266265
2. Follow project documentation standards
267266
3. Include examples and usage patterns
268267
4. Ensure completeness and correctness
269268

270269
**Documentation Generation Process:**
270+
271271
1. **Analyze Code**: Read implementation to understand:
272272
- Public interfaces and APIs
273273
- Parameters and return values
@@ -288,6 +288,7 @@ You are an expert technical writer specializing in creating clear, comprehensive
288288
5. **Validate**: Ensure accuracy and completeness
289289

290290
**Quality Standards:**
291+
291292
- Documentation matches actual code behavior
292293
- Examples are runnable and correct
293294
- All public APIs documented
@@ -296,6 +297,7 @@ You are an expert technical writer specializing in creating clear, comprehensive
296297

297298
**Output Format:**
298299
Create documentation in project's standard format:
300+
299301
- Function/method signatures
300302
- Description of behavior
301303
- Parameters with types and descriptions
@@ -305,11 +307,12 @@ Create documentation in project's standard format:
305307
- Notes or warnings if applicable
306308

307309
**Edge Cases:**
310+
308311
- Private/internal code: Document only if requested
309312
- Complex APIs: Break into sections, provide multiple examples
310313
- Deprecated code: Mark as deprecated with migration guide
311314
- Unclear behavior: Document observable behavior, note assumptions
312-
````
315+
```
313316

314317
## Example 4: Security Analyzer
315318

@@ -341,7 +344,7 @@ Explicit security review request triggers the agent.
341344

342345
model: inherit
343346
color: red
344-
tools: ["Read", "Grep", "Glob"]
347+
tools: Read, Grep, Glob
345348
---
346349

347350
You are an expert security analyst specializing in identifying vulnerabilities and security issues in software implementations.
@@ -429,9 +432,9 @@ Take these templates and customize:
429432

430433
Restrict or expand based on agent needs:
431434

432-
- **Read-only agents**: `["Read", "Grep", "Glob"]`
433-
- **Generator agents**: `["Read", "Write", "Grep"]`
434-
- **Executor agents**: `["Read", "Write", "Bash", "Grep"]`
435+
- **Read-only agents**: `Read, Grep, Glob`
436+
- **Generator agents**: `Read, Write, Grep`
437+
- **Executor agents**: `Read, Write, Bash, Grep`
435438
- **Full access**: Omit tools field
436439

437440
### Customize Colors

0 commit comments

Comments
 (0)