AgentSkillsCN

skill-creator

创建高效技能的指南。当用户希望创建或更新一项通过专业知识、工作流或工具集成来扩展OpenCode的技能时使用。

SKILL.md
--- frontmatter
name: skill-creator
description: Guide for creating effective skills. Use when users want to create or update a skill that extends OpenCode with specialized knowledge, workflows, or tool integrations.

Skill Creator

This skill is a template + checklist for creating skills in a workspace.

What is a skill?

A skill is a folder under .opencode/skills/<skill-name>/ or .claude/skills/<skill-name>/ anchored by SKILL.md.

Design goals

  • Portable: safe to copy between machines
  • Reconstructable: can recreate any required local state
  • Self-building: can bootstrap its own config/state
  • Credential-safe: no secrets committed; graceful first-time setup

Recommended structure

code
.opencode/
  skills/
    my-skill/
      SKILL.md
      README.md
      templates/
      scripts/

Authoring checklist

  1. Start with a clear purpose statement: when to use it + what it outputs.
  2. Specify inputs/outputs and any required permissions.
  3. Include “Setup” steps if the skill needs local tooling.
  4. Add examples: at least 2 realistic user prompts.
  5. Keep it safe: avoid destructive defaults; ask for confirmation.