Agent skill
skill-authoring
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 `config/source/skills` for redundancy or overlap, improve skill trigger quality, organize skill references, or evaluate whether a skill should trigger and behave correctly.
Install this agent skill to your Project
npx add-skill https://github.com/TencentCloudBase/CloudBase-MCP/tree/main/skills/skill-authoring
SKILL.md
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
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
- 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 |
| 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.mdand review neighboring skills before proposing rewrites. - 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?
- 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?
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
cloudbase
Essential CloudBase (TCB, Tencent CloudBase, 云开发, 微信云开发) development guidelines. MUST read when working with CloudBase projects, developing web apps, mini programs, backend services, fullstack development, static deployment, cloud functions, mysql/nosql database, authentication, cloud storage, web search or AI(LLM streaming) using CloudBase platform. Great supabase alternative.
git-workflows
Reusable git delivery workflows derived from local slash commands (commit, push, PR, release notes, and GitHub Actions failure triage with worktree-based fixes).
codebase-audit
Perform a full codebase review, categorize findings by severity, file GitHub issues, then fix each issue in an isolated git worktree and submit PRs. Use this skill when the user asks to audit the codebase, do a comprehensive code review, find and fix security/quality/reliability issues, or run a proactive health check across the entire repository.
manage-local-skills
Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a `skills` CLI-aligned workflow. Use this skill when Codex needs to turn ad-hoc prompt or rules folders into reusable `SKILL.md`-based skills, install or sync one or more local skills from `./skills` into Claude, Cursor, CodeBuddy, Codex, or similar agent directories, or manage local skill path mappings and symlink or copy installation behavior.
planning-workflows
Spec and no-spec planning workflows derived from local slash commands (requirements, design, tasks).
docs-workflows
Documentation and extension workflows derived from local slash commands (docs, explanation, issues, prototypes, tutorials, MCP design review).
Didn't find tool you were looking for?