Agent Skills › codewhale-hq/Codewhale › skill-creator

skill-creator

GitHub

用于创建或改进 Codewhale 技能。指导用户定义技能边界、选择合适载体(如 Skill vs MCP),并按规范编写 SKILL.md 文件及目录结构,确保符合运行时发现机制与安全要求。

crates/skills/assets/skills/skill-creator/SKILL.md codewhale-hq/Codewhale

Trigger Scenarios

用户请求创建新技能 用户需要更新现有技能 用户咨询技能与插件/MCP/工具的区别

Install

npx skills add codewhale-hq/Codewhale --skill skill-creator -g -y
More Options

Non-standard path

npx skills add https://github.com/codewhale-hq/Codewhale/tree/main/crates/skills/assets/skills/skill-creator -g -y

Use without installing

npx skills use codewhale-hq/Codewhale@skill-creator

指定 Agent (Claude Code)

npx skills add codewhale-hq/Codewhale --skill skill-creator -a claude-code -g -y

安装 repo 全部 skill

npx skills add codewhale-hq/Codewhale --all -g -y

预览 repo 内 skill

npx skills add codewhale-hq/Codewhale --list

SKILL.md

Frontmatter
{
    "name": "skill-creator",
    "metadata": {
        "short-description": "Create Codewhale skills"
    },
    "aliases-for": "create-skill",
    "description": "Create or improve codewhale skills. Use when the user wants a new skill, wants to update an existing skill, or needs guidance on when a skill should be a skill versus MCP, hooks, tools, or a plugin scaffold."
}

Skill Creator

Use this skill to create small, useful codewhale skills that match the runtime this repository actually ships.

What A Skill Is

A skill is a local folder with a SKILL.md file. Codewhale reads the skill name and description during discovery, then loads the body only when the user or task matches the skill.

Discovery paths, in precedence order:

  • <workspace>/.agents/skills
  • <workspace>/skills
  • <workspace>/.opencode/skills
  • <workspace>/.claude/skills
  • <workspace>/.cursor/skills
  • <workspace>/.codewhale/skills
  • ~/.agents/skills
  • ~/.claude/skills
  • ~/.codewhale/skills

Use skills for model instructions, workflows, and lightweight conventions. Use MCP for live external APIs or durable tools. Use hooks for automatic local events. To distribute a skill through a plugin bundle, give the bundle a plugin.json whose net.codewhale extension points skills.path at a directory holding <name>/SKILL.md folders; each skill then loads namespaced as <plugin>:<skill> after review, trust, and enablement. A bare SKILL.md directory is discoverable on the skills paths above but is not a plugin bundle and cannot be installed through /plugin install.

Minimum Shape

my-skill/
`-- SKILL.md
---
name: my-skill
description: Use when Codewhale should follow this specific workflow.
---

# My Skill

Instructions for the agent.

Frontmatter parsing is intentionally simple. Keep name and description as plain single-line values. Use lower-case hyphen-case names.

Writing Rules

  • Make the description action-oriented and trigger-specific. It is the main signal Codewhale sees before loading the body.
  • Keep the body operational. Include what to do, what to avoid, and how to verify the result.
  • Do not include general programming advice, marketing copy, or long background material.
  • Move bulky details to references/ and mention exactly when to open them.
  • Add scripts/ only for deterministic helpers that are worth maintaining.
  • Add assets/ only for templates, fixtures, examples, or files reused by the workflow.
  • Do not assume scripts are safe to run. Community skill scripts require user intent and trust review.

Creation Workflow

  1. Define the skill boundary in one sentence.
  2. Decide whether a skill is the right surface:
    • Instructional workflow: skill
    • External service/API: MCP server plus an optional skill
    • Repeated shell helper: local tool or script plus an optional skill
    • Packaging multiple pieces: plugin scaffold plus skill/MCP activation notes
  3. Create <skill-name>/SKILL.md.
  4. Write frontmatter with name and description.
  5. Write a concise body with:
    • trigger and scope
    • required inputs or assumptions
    • step-by-step workflow
    • validation checks
    • safety notes
  6. Add companion files only when they reduce real complexity.
  7. Validate by loading the skill through /skills or by running the relevant skill discovery tests if editing this repository.

Updating Existing Skills

  • Preserve the user's local intent. Avoid replacing a working skill wholesale unless the user asked for a rewrite.
  • Tighten descriptions when the skill is under-triggering or over-triggering.
  • Remove stale tool names, unavailable dependencies, and copied instructions from other agents that do not apply to codewhale.
  • Keep examples short and directly tied to this runtime's commands and tools.

Validation Checklist

  • SKILL.md starts with ---.
  • name matches the directory name unless there is a deliberate reason.
  • description says when to use the skill, not just what it is.
  • The body references only tools, commands, and paths that exist or are clearly optional.
  • Any scripts or external-service steps explain credential and trust handling.

Version History

  • 8225f75 Current 2026-11-02 21:25

Same Skill Collection

crates/skills/assets/skills/batch/SKILL.md
crates/skills/assets/skills/best-of-n/SKILL.md
crates/skills/assets/skills/contributor-onboarding/SKILL.md
crates/skills/assets/skills/dataviz/SKILL.md
crates/skills/assets/skills/debug/SKILL.md
crates/skills/assets/skills/delegate/SKILL.md
crates/skills/assets/skills/dependency-update/SKILL.md
crates/skills/assets/skills/docx/SKILL.md
crates/skills/assets/skills/feishu/SKILL.md
crates/skills/assets/skills/fleet-manager/SKILL.md
crates/skills/assets/skills/forget/SKILL.md
crates/skills/assets/skills/frontend-design/SKILL.md
crates/skills/assets/skills/gmail/SKILL.md
crates/skills/assets/skills/google-calendar/SKILL.md
crates/skills/assets/skills/handoff/SKILL.md
crates/skills/assets/skills/help/SKILL.md
crates/skills/assets/skills/implement/SKILL.md
crates/skills/assets/skills/interview/SKILL.md
crates/skills/assets/skills/mcp-builder/SKILL.md
crates/skills/assets/skills/mcp-discovery/SKILL.md
crates/skills/assets/skills/pdf/SKILL.md
crates/skills/assets/skills/photos/SKILL.md
crates/skills/assets/skills/plan/SKILL.md
crates/skills/assets/skills/plugin-creator/SKILL.md
crates/skills/assets/skills/pptx/SKILL.md
crates/skills/assets/skills/research/SKILL.md
crates/skills/assets/skills/review/SKILL.md
crates/skills/assets/skills/security-review/SKILL.md
crates/skills/assets/skills/simplify/SKILL.md
crates/skills/assets/skills/skill-installer/SKILL.md
crates/skills/assets/skills/test/SKILL.md
crates/skills/assets/skills/v4-best-practices/SKILL.md
crates/skills/assets/skills/verify/SKILL.md
crates/skills/assets/skills/webapp-testing/SKILL.md
crates/skills/assets/skills/xlsx/SKILL.md
crates/tui/assets/skills/batch/SKILL.md
crates/tui/assets/skills/best-of-n/SKILL.md
crates/tui/assets/skills/contributor-onboarding/SKILL.md
crates/tui/assets/skills/dataviz/SKILL.md
crates/tui/assets/skills/debug/SKILL.md
crates/tui/assets/skills/delegate/SKILL.md
crates/tui/assets/skills/dependency-update/SKILL.md
crates/tui/assets/skills/docx/SKILL.md
crates/tui/assets/skills/feishu/SKILL.md
crates/tui/assets/skills/fleet-manager/SKILL.md
crates/tui/assets/skills/forget/SKILL.md
crates/tui/assets/skills/frontend-design/SKILL.md
crates/tui/assets/skills/gmail/SKILL.md
crates/tui/assets/skills/google-calendar/SKILL.md

Metadata

Files
0
Version
8225f75
Hash
7ee3d9df
Indexed
2026-11-02 21:25

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 17:28
浙ICP备14020137号-1