docs(skill-creator): Enhance frontmatter documentation with $ARGUMENTS and examples

Improvements to the YAML frontmatter documentation merged from PR #6:

- Add explanation of $ARGUMENTS placeholder and how it works with skill invocation
- Add inline example showing /deep-research invocation with arguments
- Expand allowed-tools field with more wildcard examples (npm, docker compose)
- Add hooks field example showing pre-invoke configuration
- Update init_skill.py template with wildcard examples and $ARGUMENTS hint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
daymade
2026-01-29 20:17:04 +08:00
parent 2ce0266454
commit af7602f40a
2 changed files with 7 additions and 4 deletions

View File

@@ -23,8 +23,8 @@ description: [TODO: Complete and informative explanation of what the skill does
# agent: Explore # Subagent type when context: fork (Explore, Plan, general-purpose, or custom)
# disable-model-invocation: true # Only allow manual /skill-name invocation, prevent auto-triggering
# user-invocable: false # Hide from / menu (for background knowledge only)
# allowed-tools: Read, Grep # Tools allowed without permission prompts
# argument-hint: [filename] # Autocomplete hint for arguments
# allowed-tools: Read, Grep, Bash(git *), Bash(npm *) # Tools allowed without permission prompts (wildcards supported)
# argument-hint: [filename] # Autocomplete hint for arguments. Use $ARGUMENTS in content to access user input
---
# {skill_title}