Skill authoring

From TencentCloudBase/CloudBase-AI-Toolkit · View interactive version

Skill authoring is an AI agent skill from the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit. Design, improve, and evaluate reusable agent skills with high-quality SKILL.md files, precise trigger descriptions, progressive disclosure, and testable behavior. This skill should be used when users ask to create a new skill, rewrite or review an existing skill, audit a skill collection such as `co

How to use this skill

Skill file

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:

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.

Do NOT use for:

How to use this skill (for a coding agent)

  1. Identify the task class first
  1. Optimize the trigger surface early
  1. Design behavior, not just documentation
  1. Load supporting materials only when needed
  1. Use collection-level review when the request is about many skills
  1. Evaluate before considering the skill complete

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

  1. Identify the skill's job, boundary, and closest neighboring skills.
  2. Draft name and description with realistic trigger language.
  3. If the task targets config/source/skills, read references/repo-skill-review.md, then load references/cloudbase-skill-review.md for CloudBase-specific standards before proposing rewrites.
  4. Keep sibling routing local-only; do not add remote skill-fetch URLs.
  5. Write the main SKILL.md so it changes agent behavior after trigger.
  6. Move deep detail into references/, assets/, or scripts/ as needed.
  7. If the skill ships in plugin/cloudbase, also write plugin/cloudbase/skill-metadata.json (see references/templates.md landing checklist) and run npm run build:skill-manifest.
  8. Run evaluation prompts and revise until trigger quality and behavior are stable.

Minimum self-check

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.