write-skill
Draft or update a portable Agent Hub skill with clean frontmatter and a practical workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft or update a portable Agent Hub skill with clean frontmatter and a practical workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | write-skill |
| description | Draft or update a portable Agent Hub skill with clean frontmatter and a practical workflow. |
| when_to_use | Use when creating a new skill asset or turning a rough prompt into a reusable SKILL.md. |
Create a portable Agent Hub skill as markdown, not a product-internal code registration. The outcome should be a SKILL.md that another hub can read, validate, and reuse.
name, description, and when_to_use.allowed-tools, paths, model, or agent.validateSkillFrontmatter on the draft content before presenting it as done.agenthub-home/skills/<skill-name>/SKILL.mdsrc/skills/<skill-name>/SKILL.md| Key | Required | Use it for |
|---|---|---|
name | yes | Stable skill id |
description | yes | Short operator-facing summary |
when_to_use | yes | Trigger guidance for the host agent |
allowed-tools | optional | Tool restrictions or hints |
paths | optional | Relevant repo areas |
model / agent / effort | optional | Special runtime guidance only when justified |
validateSkillFrontmatter and fix any hard errors.Safely edit an existing Agent Hub asset with asset-type-specific checks and follow-up verification.
Create or revise the core assets for an Agent Hub agent, including soul, bundle, and optional profile.
Use when implementation is complete on a normal feature branch and you need to verify, clean up commits, rebase, and either merge locally or create a PR without using a worktree-heavy workflow.
Use after implementing a feature, fixing a bug, or reaching a wave checkpoint when you need to actively test the behavior by running the app, exercising the flow, and confirming the change actually works.
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Use when you have a spec or requirements for a multi-step task, before touching code