技能 编写
- 作者仓库星标 1,017
- 作者仓库 CloudBase-MCP
Skill Authoring
Create and refine reusable agent skills with better trigger quality, cleaner structure, stronger behavioral guidance, and more reliable evaluation.
When to use this skill
Use this skill when you need to:
- Create a new
SKILL.md - Improve an existing skill's
nameordescription - Review whether a skill is too broad, too narrow, or poorly structured
- Audit a local skill collection such as
config/source/skillsfor redundancy, trigger overlap, or weak boundaries - Split a large skill into
SKILL.mdplusreferences/,assets/, orscripts/ - Design evaluation prompts and review whether a skill triggers and behaves correctly
Repo-managed CloudBase skill review
When the task targets config/source/skills, apply these guardrails in addition to the normal skill-authoring workflow:
This section is the repo-managed CloudBase skill review baseline for this repository.
- Keep frontmatter complete and normalized, including
version - Keep examples inside the skill's declared platform and scope
- Keep shared operational rules in one canonical source instead of copying large blocks across neighboring skills
- If the skill claims a rule is mandatory, show that rule in at least one example
- When giving a recommended default, also explain the tradeoff behind it
- Do not infer public CNB / OpenClaw / ClawHub paths from the source tree; verify the actual published structure before writing fallback links or marketplace-facing URLs
- If a skill mentions raw URLs, blob URLs, or marketplace-consumed paths, check live reachability before finalizing the text
- Put standalone-install fallback guidance where the user needs it: keep the top-level note short, and place sibling-skill fallback links next to the actual cross-skill reference
Do NOT use for:
- General documentation writing that is not about skills
- README polish or marketing copy
- Prompt tweaks that do not affect skill structure or behavior
- Rule files unrelated to
SKILL.md
How to use this skill (for a coding agent)
Identify the task class first
- Determine whether the request is about creating a new skill, reviewing an existing skill, or improving trigger quality, structure, or evaluation
Optimize the trigger surface early
- Draft
nameand especiallydescriptionbefore expanding the body - Put realistic trigger language into
description, not only into the body
- Draft
Design behavior, not just documentation
- Make the main
SKILL.mdtell the agent what to do after the skill triggers - Use references for deeper guidance, not as a substitute for behavioral rules
- Make the main
Load supporting materials only when needed
- Use the routing table to decide which reference file to read
- Avoid loading every reference file by default
Use collection-level review when the request is about many skills
- When reviewing
config/source/skills, check overlap, duplication, trigger boundaries, and progressive disclosure across neighboring skills - Prefer evidence-based findings with concrete file references and rewrite guidance
- Treat source layout, published skills-repo layout, and marketplace-consumed layout as different surfaces until you verify they are the same
- When reviewing
Evaluate before considering the skill complete
- Create should-trigger and should-not-trigger prompts
- Run them, review the results, and iterate on the skill
Routing
| Task | Read |
|---|---|
Write or improve name and description |
references/frontmatter-patterns.md |
| Design skill anatomy and progressive disclosure | references/structure-patterns.md |
| Draft a new skill or review an existing one | references/templates.md |
Audit config/source/skills for quality, redundancy, and overlap |
references/repo-skill-review.md |
| Review repo-managed CloudBase source skills | references/cloudbase-skill-review.md |
| Build evaluation prompts and review outcomes | references/evaluation.md |
| Compare good examples, weak examples, and rewrites | references/examples.md |
Quick workflow
- Identify the skill's job, boundary, and closest neighboring skills.
- Draft
nameanddescriptionwith realistic trigger language. - If the task targets
config/source/skills, readreferences/repo-skill-review.md, then loadreferences/cloudbase-skill-review.mdfor CloudBase-specific standards before proposing rewrites. - If the skill text will mention published URLs or fallback paths, verify the public structure and at least one real URL before writing.
- Write the main
SKILL.mdso it changes agent behavior after trigger. - Move deep detail into
references/,assets/, orscripts/as needed. - Run evaluation prompts and revise until trigger quality and behavior are stable.
Minimum self-check
- Is the
nameshort, intentional, and stable? - Does the
descriptionexplain both capability and trigger conditions? - Does the main
SKILL.mdchange agent behavior after trigger? - Are non-applicable scenarios explicit?
- Does routing point to the right reference file for each task?
- If the skill references public URLs or standalone-install fallback paths, were those URLs verified against the actual published surface instead of guessed from local directories?
- Are evaluation prompts present for both should-trigger and should-not-trigger cases?
- Can you explain why this skill stays distinct from its nearest neighbors?
- If reviewing a skill collection, can you point to redundancy, overlap, and missing boundaries with concrete evidence?
- 流狐分类
- 安全
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @TencentCloudBase · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use this skill when you need to: Create a new SKILL.md Improve an existing skill's name or description
When the task targets config/source/skills, apply these guardrails in addition to the normal skill-authoring workflow: This section is the repo-managed CloudBase skill review baseline for this repository. Keep frontmatter complete and normalized, including…
Identify the task class first Determine whether the request is about creating a new skill, reviewing an existing skill, or improving trigger quality, structure, or evaluation Optimize the trigger surface early
Task · Read Write or improve name and description · references/frontmatter-patterns.md Design skill anatomy and progressive disclosure · references/structure-patterns.md
Identify the skill's job, boundary, and closest neighboring skills. Draft name and description with realistic trigger language. If the task targets config/source/skills, read references/repo-skill-review.md, then load references/cloudbase-skill-review.md for…
Is the name short, intentional, and stable? Does the description explain both capability and trigger conditions? Does the main SKILL.md change agent behavior after trigger?
# Skill Authoring
Create and refine reusable agent skills with better trigger quality, cleaner structure, stronger behavioral guidance, and more reliable evaluation.
## When to use this skill
Use this skill when you need to:
- Create a new `SKILL.md`
- Improve an existing skill's `name` or `description`
- Review whether a skill is too broad, too narrow, or poorly structured
- Audit a local skill collection such as `config/source/skills` for redundancy, trigger overlap, or weak boundaries
- Split a large skill into `SKILL.md` plus `references/`, `assets/`, or `scripts/`
- Design evaluation prompts and review whether a skill triggers and behaves correctly
## Repo-managed CloudBase skill review
When the task targets `config/source/skills`, apply these guardrails in addition to the normal skill-authoring workflow:
This section is the repo-managed CloudBase skill review baseline for this repository.
- Keep frontmatter complete and normalized, including `version`
- Keep examples inside the skill's declared platform and scope
- Keep shared operational rules in one canonical source instead of copying large blocks across neighboring skills
- If the skill claims a rule is mandatory, show that rule in at least one example
- When giving a recommended default, also explain the tradeoff behind it
- Do not infer public CNB / OpenClaw / ClawHub paths from the source tree; verify the actual published structure before writing fallback links or marketplace-facing URLs
- If a skill mentions raw URLs, blob URLs, or marketplace-consumed paths, check live reachability before finalizing the text
- Put standalone-install fallback guidance where the user needs it: keep the top-level note short, and place sibling-skill fallback links next to the actual cross-skill reference
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to use this skill → Repo-managed CloudBase skill review → How to use this skill (for a coding agent) → Routing → Quick workflow → Minimum self-check
要点 -> Do NOT use for · Identify the task class first · Optimize the trigger surface early · Design behavior, not just documentation · Load supporting materials only when needed · Use collection-level review when the request is about many skills · Evaluate before considering the skill complete
文件/命令 -> name · description · config/source/skills · references/ · assets/ · scripts/ · version · references/frontmatter-patterns.md
内容 SHA-256 -> a3a07a90a9f0
方法与流程
适用与边界
原文中的明确线索
name、description、config/source/skills、references/、assets/、scripts/、version、references/frontmatter-patterns.md