example
示例 Skill - 展示 SKILL.md 的标准格式
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
示例 Skill - 展示 SKILL.md 的标准格式
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Deep bug analysis to break the fix-forget-repeat cycle. Analyzes root cause category, why fixes failed, prevention mechanisms, and captures knowledge into specs. Use after fixing a bug to prevent the same class of bugs.
Understand and customize the local Trellis architecture inside a user project. Use when modifying .trellis plus platform hooks, settings, agents, skills, commands, prompts, workflows, the channel runtime (trellis channel), bundled runtime agents under .trellis/agents/, selectable workflow templates, registry-backed spec refresh, cross-session memory (trellis mem) generated by trellis init, or AI-facing bundled skills (trellis-channel, trellis-session-insight, trellis-spec-bootstrap) and bundled-skill auto-dispatch flow.
Captures executable contracts and coding conventions into .trellis/spec/ documents. Use when learning something valuable from debugging, implementing, or discussion that should be preserved for future sessions.
数学计算器,支持加减乘除、幂运算等基本数学运算
专业的编程助手技能,帮助编写、调试和优化代码
Based on SOC occupation classification
| name | example |
| description | 示例 Skill - 展示 SKILL.md 的标准格式 |
| allowed-tools | ["Read","Grep","Glob"] |
这是一个示例 Skill,用于展示 SKILL.md 文件的标准格式。
文件顶部的 YAML frontmatter 定义 Skill 元数据:
---
name: skill-name # Skill 唯一标识
description: "描述信息" # Skill 功能描述
allowed-tools: # 可选:允许使用的工具列表
- Read
- Grep
---
Frontmatter 之后是 Skill 的完整内容,通常包括:
当 AI 客户端调用 resources/read 时,返回的内容格式为:
# {skill_name}
{description}
**Allowed Tools:** {tools}
---
{content}
当 AI 客户端调用 prompts/get 时,生成的提示词格式为:
你是 {name} 领域的专家。
## 领域描述
{description}
## 用户任务
{task}
## 参考知识
{content}