AGENT SKILL
skill-coach
Guides an AI agent through creating, editing, and managing agent skills using the coach CLI. Handles the full lifecycle from scaffolding to distribution.
使用场景Skill与智能体开发
- License 许可
- Apache-2.0
- 所属仓库
- dylanbr0wn/coach
- 最近更新
- 2026-04-01
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- skill-coach
- license
- Apache-2.0
- description
- Guides an AI agent through creating, editing, and managing agent skills using the coach CLI. Handles the full lifecycle from scaffolding to distribution.
- allowed-tools
- [ "Read", "Write", "Bash" ]
03 SKILL.md 正文
Skill Coach
When to Use
Use this skill when the user asks to:
- Create a new agent skill
- Edit or update an existing skill
- Generate skill content with AI assistance
- Distribute skills to their configured agents
- Check the status of their skills
Instructions
Creating a New Skill
- Ask the user what the skill should do and which agents it targets
- Run
coach init skillto scaffold the skill directory - If the user wants AI-assisted authoring, run
coach generate <skill-name>instead — this scaffolds and authors in one step - After creation, run
coach lint <path>to validate
Editing a Skill
- Run
coach edit <skill-name>to open in the user's editor - Coach will automatically validate on save
- For AI-assisted editing, use
coach generate <skill-name> --prompt "description of changes"
Distributing Skills
- Ensure distribution targets are configured:
coach config get distribute-to - If not configured, help the user set them:
coach config set distribute-to claude,cursor - Run
coach syncto symlink all managed skills to agent directories
Skill Format Reference
A valid SKILL.md has YAML frontmatter and a markdown body:
- name (required): lowercase alphanumeric with hyphens, max 64 characters
- description (required): what the skill does, max 1024 characters
- license (optional): MIT, Apache-2.0, or ISC
- allowed-tools (optional): list of tools the skill needs access to
The body should include:
- When to Use: trigger conditions — when should an agent activate this skill?
- Instructions: step-by-step guidance for the agent
- Constraints: what the agent should NOT do
Security
- Never include secrets, API keys, or credentials in skills
- Never include destructive commands without explicit user confirmation
- Always scope
allowed-toolsto the minimum needed - Run
coach scan <path>to check for security issues before distributing
Constraints
- Do not modify skills outside of coach-managed directories
- Always run
coach lintbefore distributing a skill - If
coach lintreports issues, fix them before proceeding - Do not distribute skills that fail security scanning with High or Critical findings