跳到正文
Skillpedia
智能体41k · #6555

skill-creator

它能做什么

这个技能引导智能体编写一个新技能,即一个包含 AI 可按需加载的指令的小文件夹。适合希望教会智能体可重复工作流程的人。

适用场景

  • ✓当你想把一项重复任务变为可复用技能的时候。
  • ✓当你想改进现有技能,使其效果更好的时候。
  • ✓当你不确定某项任务应做成技能、实时工具连接还是自动钩子的时候。

技能链接

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/skill-creator/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/skill-creator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我创建一个技能,教我的 AI 每次都以相同的方式撰写我们的每周进度更新?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会了解每个技能所需的文件夹结构和简短描述文件。然后它编写只在任务匹配时才加载的指令,使 AI 的记忆保持轻量。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

技能和工具有什么区别?

技能是智能体遵循的书面指令。工具或实时连接则让智能体能够访问外部服务或执行操作。

技能保存在哪里?

技能会检查若干文件夹,例如项目的技能文件夹,或主目录中的个人文件夹。

我可以与他人分享技能吗?

可以。技能说明了如何把技能打包进插件包,以便他人在审查后安装。

详情

作者的原始描述

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.

repo: codewhale-hq/Codewhale

热度

GitHub 星标
41k
排名
#6555
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能