AgentSkillsCN

skill-creator

以正确的结构与规范创建或更新 AOC 技能。

SKILL.md
--- frontmatter
name: skill-creator
description: Create or update AOC skills with correct structure and rules.

When to use

Use this when you need to add a new skill or update an existing skill.

Steps

  1. Pick a name: lowercase letters/numbers with single hyphens.
  2. Create the directory: .aoc/skills/<name>/.
  3. Create SKILL.md with required frontmatter:
markdown
---
name: my-skill
description: One-line description of the workflow
---
  1. Add the workflow instructions below the frontmatter.
  2. Run aoc-skill validate to confirm naming and frontmatter rules.
  3. Sync to the active agent: aoc-skill sync --agent <agent>.

Rules (OpenCode-compatible)

  • name must match the directory name.
  • Allowed frontmatter keys: name, description, license, compatibility, metadata.
  • Description must be 1-1024 characters.

Regex: ^[a-z0-9]+(-[a-z0-9]+)*$