Skip to content

Commit 88c6498

Browse files
sjnimsclaude
andauthored
docs(plugin-settings): fix allowed-tools syntax to use comma-separated format (#83)
## Summary Fix `allowed-tools` frontmatter syntax in the plugin-settings skill to use the official comma-separated string format instead of JSON array syntax. ## Problem Fixes #82 The `allowed-tools` field in two files used incorrect JSON array syntax `["Tool1", "Tool2"]` instead of the official comma-separated format `Tool1, Tool2` per Claude Code documentation. ## Solution Changed the syntax in both files to match official documentation: | File | Before | After | |------|--------|-------| | `SKILL.md:105` | `allowed-tools: ["Read", "Bash"]` | `allowed-tools: Read, Bash` | | `examples/create-settings-command.md:3` | `allowed-tools: ["Write", "AskUserQuestion"]` | `allowed-tools: Write, AskUserQuestion` | ### Alternatives Considered None - the fix is unambiguous and directly specified by official Claude Code documentation. ## Changes - `plugins/plugin-dev/skills/plugin-settings/SKILL.md`: Fixed `allowed-tools` syntax on line 105 - `plugins/plugin-dev/skills/plugin-settings/examples/create-settings-command.md`: Fixed `allowed-tools` syntax on line 3 ## Testing - [x] Linting passes (markdownlint) - [x] No code changes requiring tests --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent b97edf6 commit 88c6498

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/plugin-dev/skills/plugin-settings/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Commands can read settings files to customize behavior:
102102
```markdown
103103
---
104104
description: Process data with plugin
105-
allowed-tools: ["Read", "Bash"]
105+
allowed-tools: Read, Bash
106106
---
107107

108108
# Process Command

plugins/plugin-dev/skills/plugin-settings/examples/create-settings-command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Create plugin settings file with user preferences"
3-
allowed-tools: ["Write", "AskUserQuestion"]
3+
allowed-tools: Write, AskUserQuestion
44
---
55

66
# Create Plugin Settings

0 commit comments

Comments
 (0)