Agent Skills › videojs/video.js › create-skill

create-skill

GitHub

用于创建可复用的 Agent 技能,通过规范化的流程定义触发条件、核心逻辑及验证方式,以增强自动化工作流的标准化和可维护性。

.agents/skills/create-skill/SKILL.md videojs/video.js

触发场景

需要为重复性工作流创建新的 Agent 技能 对现有技能进行扩展或合并以避免冗余

安装

npx skills add videojs/video.js --skill create-skill -g -y
更多选项

非标准路径

npx skills add https://github.com/videojs/video.js/tree/main/.agents/skills/create-skill -g -y

不安装直接使用

npx skills use videojs/video.js@create-skill

指定 Agent (Claude Code)

npx skills add videojs/video.js --skill create-skill -a claude-code -g -y

安装 repo 全部 skill

npx skills add videojs/video.js --all -g -y

预览 repo 内 skill

npx skills add videojs/video.js --list

SKILL.md

Frontmatter
{
    "name": "create-skill",
    "description": "Create repository skills. Use for repeatable agent workflows."
}

Create a skill

Create a skill only when a repeatable vertical workflow needs instructions beyond what code, tests, existing docs, and general model capability already provide.

Workflow

  1. Collect concrete trigger and non-trigger examples.

  2. Check existing skills for overlap; extend or consolidate before adding another metadata entry.

  3. Choose one coherent job and a globally unique, verb-first kebab-case name.

  4. Create .agents/skills/<name>/SKILL.md with only portable frontmatter:

    ---
    name: <name>
    description: <what it does and when to use it>
    ---
    
  5. Put only essential procedure, project-specific gotchas, inputs/outputs, one compact example, and validation in SKILL.md.

  6. Add a references/ file only for conditional detail and link it directly with an explicit read condition. Add a tested script only for repeated deterministic work.

  7. Do not tell a skill to load a sibling skill. Give related skills precise, overlapping descriptions so hosts can compose them from the task.

  8. Run pnpm link:aliases to refresh compatibility directory links.

  9. Update AGENTS.md only when its compact routing index needs the skill.

  10. Run pnpm check:workspace.

Read references/principles.md for scope/context decisions, references/structure.md for non-trivial resource layout, and references/patterns.md only when the workflow needs an established pattern. Do not load them by default.

Create another skill only when it has an independent trigger and useful standalone workflow. Keep supporting knowledge as a reference. Do not add auxiliary changelogs, duplicated project docs, generic tutorials, or variants that belong in one parameterized workflow.

Example

Input: “Create a repeatable workflow for reviewing package export changes.”

Output: One focused .agents/skills/review-package-exports/ skill with a precise trigger, compact procedure, example result, and validation loop.

版本历史

  • 8a0a3d8 当前 2026-10-20 08:02

同 Skill 集合

.agents/skills/change-spf-behavior/SKILL.md
.agents/skills/commit-pr/SKILL.md
.agents/skills/configure-vite-plus/SKILL.md
.agents/skills/create-html-component/SKILL.md
.agents/skills/create-issue/SKILL.md
.agents/skills/create-react-component/SKILL.md
.agents/skills/create-spf-behavior/SKILL.md
.agents/skills/design-api/SKILL.md
.agents/skills/document-spf-feature/SKILL.md
.agents/skills/document-spf-use-case/SKILL.md
.agents/skills/implement-accessible-ui/SKILL.md
.agents/skills/implement-spf-feature/SKILL.md
.agents/skills/implement-spf-use-case/SKILL.md
.agents/skills/implement-ui-transition/SKILL.md
.agents/skills/investigate-issue/SKILL.md
.agents/skills/maintain-agent-docs/SKILL.md
.agents/skills/maintain-tests/SKILL.md
.agents/skills/maintain-vjsc-skin-gaps/SKILL.md
.agents/skills/review-accessibility/SKILL.md
.agents/skills/review-api/SKILL.md
.agents/skills/review-branch/SKILL.md
.agents/skills/review-docs/SKILL.md
.agents/skills/review-html-component-design/SKILL.md
.agents/skills/review-html-component/SKILL.md
.agents/skills/review-react-component-design/SKILL.md
.agents/skills/review-react-component/SKILL.md
.agents/skills/write-api-reference/SKILL.md
.agents/skills/write-design-doc/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-html-component-design/SKILL.md
.agents/skills/write-locale-translations/SKILL.md
.agents/skills/write-react-component-design/SKILL.md
.agents/skills/write-rfc/SKILL.md
.agents/skills/create-rolldown-plugin/SKILL.md
.agents/skills/create-vite-plugin/SKILL.md
.agents/skills/create-vjsc-component/SKILL.md
.agents/skills/transform-rolldown-code/SKILL.md

元信息

文件数
0
版本
8a0a3d8
Hash
5a21a1ba
收录时间
2026-10-20 08:02

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 02:35
浙ICP备14020137号-1