Agent Skills › Hmbown/Codewhale › skill-creator

skill-creator

GitHub

指导创建或改进 Codewhale 技能,提供技能定义、结构规范、编写规则及创建流程,帮助判断何时使用技能而非 MCP 或插件。

crates/tui/assets/skills/skill-creator/SKILL.md Hmbown/Codewhale

Trigger Scenarios

需要创建新的 Codewhale 技能 想要更新现有技能内容 咨询技能与 MCP/工具/插件的选型建议

Install

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

Non-standard path

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

Use without installing

npx skills use Hmbown/Codewhale@skill-creator

指定 Agent (Claude Code)

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

安装 repo 全部 skill

npx skills add Hmbown/Codewhale --all -g -y

预览 repo 内 skill

npx skills add Hmbown/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

  • 6e005de Current 2026-09-22 10:00

    将文档中的 DeepSeek 产品名称更正为 Codewhale,移除对旧版 DeepSeek TUI 的引用和过时路径。

  • 0fe366b 2026-08-16 09:04

    修复技能配置以适配当前 Codewhale 命令和路径,将 .deepseek 标记为遗留回退,并增加捆绑内容回归测试。

  • b0e4926 2026-07-24 17:43

Same Skill Collection

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
crates/tui/assets/skills/handoff/SKILL.md
crates/tui/assets/skills/help/SKILL.md
crates/tui/assets/skills/implement/SKILL.md
crates/tui/assets/skills/interview/SKILL.md
crates/tui/assets/skills/mcp-builder/SKILL.md
crates/tui/assets/skills/mcp-discovery/SKILL.md
crates/tui/assets/skills/pdf/SKILL.md
crates/tui/assets/skills/photos/SKILL.md
crates/tui/assets/skills/plan/SKILL.md
crates/tui/assets/skills/plugin-creator/SKILL.md
crates/tui/assets/skills/pptx/SKILL.md
crates/tui/assets/skills/research/SKILL.md
crates/tui/assets/skills/review/SKILL.md
crates/tui/assets/skills/security-review/SKILL.md
crates/tui/assets/skills/simplify/SKILL.md
crates/tui/assets/skills/skill-installer/SKILL.md
crates/tui/assets/skills/test/SKILL.md
crates/tui/assets/skills/v4-best-practices/SKILL.md
crates/tui/assets/skills/verify/SKILL.md
crates/tui/assets/skills/webapp-testing/SKILL.md
crates/tui/assets/skills/xlsx/SKILL.md
docs/skills/codew-release-qa-sweep/SKILL.md
docs/skills/contributor-onboarding/SKILL.md
docs/skills/cw-dogfood/SKILL.md
docs/skills/cw-gates/SKILL.md
docs/skills/cw-handoff/SKILL.md
docs/skills/cw-land/SKILL.md
docs/skills/cw-orient/SKILL.md
docs/skills/cw-slice/SKILL.md
docs/skills/gh-assign-issues/SKILL.md
docs/skills/gh-close-issues/SKILL.md
docs/skills/gh-compile-issues/SKILL.md
docs/skills/gh-credit-harvest/SKILL.md
docs/skills/gh-file-issue/SKILL.md
docs/skills/gh-find-prs/SKILL.md

Metadata

Files
0
Version
94130d9
Hash
7ee3d9df
Indexed
2026-07-24 17:43

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-28 12:20
浙ICP备14020137号-1