Skip to content

Commit bb5b845

Browse files
sjnimsclaude
andcommitted
docs: close documentation gaps vs official Claude Code docs
Close 19 gaps identified by comprehensive audit of official Claude Code documentation against plugin-dev skill content: Skills (6 files): - hook-development: Remove fake "Setup" event, add prompt/agent hook response schema, add SessionStart matchers, new hook-input-schemas reference with per-event and per-tool input fields, add updatedMCPToolOutput and additionalContext to advanced reference - agent-development: Add MCP background limitation, agent scope hierarchy, detailed permission specifier syntax (Bash/path/MCP/Task patterns), team permission inheritance/context isolation/token costs - mcp-integration: Add CLI commands, scope system, specific output limits (10K/25K), ${VAR:-default} syntax, CLI OAuth flags - skill-development: Add skill precedence hierarchy, $N shorthand, argument-hint frontmatter field - plugin-settings: Add settings scope precedence note Project docs (6 files): - Fix CHANGELOG.md version comparison links (add v0.4.0, v0.3.4) - Add 0.4.x to SECURITY.md supported versions - Fix missing hook events and permission modes in component-patterns - Fix markdownlint -> markdownlint-cli2 in README, CONTRIBUTING, and release-procedure docs Also: update Serena memories, bump .nvmrc to 25.6.1, fix prettier formatting on github-actions reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 23bad9d commit bb5b845

21 files changed

Lines changed: 426 additions & 48 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
25.5.0
1+
25.6.1

.serena/memories/project_overview.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A **plugin marketplace** containing the **plugin-dev** plugin - a comprehensive
66

77
## Version
88

9-
Current: v0.3.4
9+
Current: v0.4.0
1010

1111
## Two-Level Architecture
1212

@@ -45,8 +45,10 @@ plugin-dev/ # Marketplace root
4545
│ ├── agent-development/
4646
│ ├── command-development/
4747
│ ├── hook-development/
48+
│ ├── lsp-integration/
4849
│ ├── marketplace-structure/
4950
│ ├── mcp-integration/
51+
│ ├── plugin-dev-guide/
5052
│ ├── plugin-settings/
5153
│ ├── plugin-structure/
5254
│ └── skill-development/
@@ -82,11 +84,16 @@ Each skill follows this pattern:
8284
- `examples/` - Complete working examples for copy-paste
8385
- `scripts/` - Utility scripts (executable without loading into context)
8486

85-
## Recent Enhancements (v0.3.4)
87+
## Recent Enhancements (v0.4.0)
8688

87-
Added 5 new reference files from claude-docs audit:
88-
- `skill-development/references/advanced-frontmatter.md` - model, hooks, visibility budget
89-
- `plugin-structure/references/headless-ci-mode.md` - headless/CI compatibility
90-
- `plugin-structure/references/github-actions.md` - GitHub Actions integration
91-
- `plugin-settings/references/memory-rules-system.md` - CLAUDE.md, rules, hierarchy
92-
- `plugin-structure/references/advanced-topics.md` - consolidated advanced topics
89+
Closed documentation gaps vs official Claude Code docs:
90+
91+
- Removed fake "Setup" hook event (bug fix)
92+
- Added prompt/agent hook response schema (`ok`/`reason` format)
93+
- New `hook-development/references/hook-input-schemas.md` — per-event and per-tool input schemas
94+
- New `agent-development/references/permission-modes-rules.md` — detailed permission specifier syntax
95+
- New `plugin-structure/references/output-styles.md` — output styles guidance
96+
- Expanded agent teams section (permission inheritance, context isolation, token costs)
97+
- Added MCP CLI commands, scope system, specific output limits (10K/25K)
98+
- Added skill/agent/settings precedence hierarchies
99+
- Added `$N` argument shorthand, `argument-hint` frontmatter for skills

.serena/memories/style_conventions.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ color: blue/cyan/green/yellow/magenta/red
4444
tools: Read, Write, Edit # Optional, allowlist (comma-separated)
4545
disallowedTools: Bash, Write # Optional, denylist (use one or the other)
4646
skills: skill-name # Optional, comma-separated
47-
permissionMode: acceptEdits/dontAsk/bypassPermissions/plan # Optional
47+
permissionMode: default/acceptEdits/delegate/dontAsk/bypassPermissions/plan # Optional
48+
maxTurns: 50 # Optional, limit agentic turns
49+
memory: user/project/local # Optional, persistent memory
50+
mcpServers: server-name # Optional, scoped MCP access
51+
hooks: # Optional, scoped to agent lifecycle
52+
PreToolUse: [...]
4853
```
4954
5055
### Skills (YAML)
@@ -54,6 +59,12 @@ name: skill-name
5459
description: "This skill should be used when..."
5560
allowed-tools: Read, Grep # Optional, for read-only workflows
5661
model: inherit/sonnet/opus/haiku # Optional
62+
context: fork # Optional, run in subagent
63+
agent: Explore/Plan/general-purpose # Optional, with context: fork
64+
skills: other-skill # Optional, load into forked agent
65+
user-invocable: true/false # Optional, visibility in / menu
66+
disable-model-invocation: true/false # Optional, prevent auto-loading
67+
argument-hint: "<arg>" # Optional, autocomplete hint
5768
hooks: # Optional, scoped to skill lifecycle
5869
PreToolUse: [...]
5970
```

.serena/memories/task_completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Test that:
5353
```bash
5454
# Verify versions match in all files
5555
rg '"version"' plugins/plugin-dev/.claude-plugin/plugin.json .claude-plugin/marketplace.json
56-
rg 'Current Version.*v[0-9]' CLAUDE.md
56+
rg 'Version.*v[0-9]' CLAUDE.md
5757
```
5858

5959
Version must be synchronized in:

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
287287
- Based on original plugin by Daisy Hollman at Anthropic
288288
- Expanded with enhanced skills, additional utilities, and CI/CD infrastructure
289289

290-
[Unreleased]: https://github.com/sjnims/plugin-dev/compare/v0.3.3...HEAD
290+
[Unreleased]: https://github.com/sjnims/plugin-dev/compare/v0.4.0...HEAD
291+
[0.4.0]: https://github.com/sjnims/plugin-dev/compare/v0.3.4...v0.4.0
292+
[0.3.4]: https://github.com/sjnims/plugin-dev/compare/v0.3.3...v0.3.4
291293
[0.3.3]: https://github.com/sjnims/plugin-dev/compare/v0.3.2...v0.3.3
292294
[0.3.2]: https://github.com/sjnims/plugin-dev/compare/v0.3.1...v0.3.2
293295
[0.3.1]: https://github.com/sjnims/plugin-dev/compare/v0.3.0...v0.3.1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ markdownlint-cli2 '**/*.md'
143143

144144
# Format with prettier
145145
prettier --check '**/*.md'
146-
prettier --write '**/*.md'
146+
prettier --write '**/*.md' # fix formatting issues
147147
```
148148

149149
### YAML Linting

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ To contribute improvements:
392392
1. Fork this repository
393393
2. Make changes to `plugins/plugin-dev/`
394394
3. Test locally with `claude --plugin-dir plugins/plugin-dev`
395-
4. Run linters: `markdownlint '**/*.md'` and `shellcheck plugins/plugin-dev/skills/*/scripts/*.sh`
395+
4. Run linters: `markdownlint-cli2 '**/*.md'` and `shellcheck plugins/plugin-dev/skills/*/scripts/*.sh`
396396
5. Create a PR with your changes
397397
398398
## Getting Help

SECURITY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ We release patches for security vulnerabilities for the following versions:
66

77
| Version | Supported |
88
| ------- | ------------------ |
9+
| 0.4.x | :white_check_mark: |
910
| 0.3.x | :white_check_mark: |
1011
| 0.2.x | :white_check_mark: |
1112
| 0.1.x | :white_check_mark: |
@@ -158,4 +159,4 @@ _No security issues have been reported yet._
158159

159160
---
160161

161-
**Note:** _This security policy was last updated: January 24, 2026_
162+
**Note:** _This security policy was last updated: February 10, 2026_

docs/component-patterns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Agents require YAML frontmatter with:
1313
- `tools`: Comma-separated list of allowed tools (optional, allowlist)
1414
- `disallowedTools`: Comma-separated list of blocked tools (optional, denylist — use one or the other)
1515
- `skills`: Comma-separated list of skills the agent can load (optional)
16-
- `permissionMode`: acceptEdits/dontAsk/bypassPermissions/plan (optional)
16+
- `permissionMode`: default/acceptEdits/delegate/dontAsk/bypassPermissions/plan (optional)
1717
- `maxTurns`: Number limiting agentic turns (optional)
1818
- `memory`: user/project/local for persistent memory (optional)
1919
- `mcpServers`: Scoped MCP server access (optional)
@@ -69,7 +69,7 @@ disallowedTools: Bash, Write # Denylist
6969

7070
Hooks defined in `hooks/hooks.json`:
7171

72-
- Events: PreToolUse, PermissionRequest, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification, TeammateIdle, TaskCompleted
72+
- Events: PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, Stop, SubagentStart, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification, TeammateIdle, TaskCompleted
7373
- Types: `prompt` (LLM-driven), `command` (bash scripts), or `agent` (multi-step with tools)
7474
- Use matchers for tool filtering (e.g., "Write|Edit", "\*")
7575

docs/release-procedure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ rg 'Version.*v[0-9]' CLAUDE.md
6161

6262
```bash
6363
# Lint markdown files
64-
markdownlint '**/*.md' --ignore node_modules
64+
markdownlint-cli2 '**/*.md'
6565

6666
# Verify version consistency
6767
rg '"version"' plugins/plugin-dev/.claude-plugin/plugin.json .claude-plugin/marketplace.json

0 commit comments

Comments
 (0)