本文へスキップ
Skillpedia
プロンプトとLLM14k · #11369

skill-creator

できること

このスキルは、エージェントのための指示のフォルダーであるスキルを作り、改善するのを手伝います。繰り返し行う作業を、再利用できるスキルにしたい人向けです。

使う場面

  • ✓繰り返し行う作業を、再利用できるスキルにしたいとき。
  • ✓既存のスキルが、まったく読み込まれないか、読み込まれすぎるとき。
  • ✓共有する前に、スキルのフォルダーを確認したいとき。

スキルのリンク

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/skill-creator/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/skill-creator/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の週次の進捗報告を、メモから書くのを助けるスキルを作りたいです。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、利用の場面、トリガーのフレーズ、手順を定義します。そのうえで、指示のファイルと必要な補助のファイルを書きます。メインのファイルは短く保ち、必要なときだけ追加のファイルを読み込みます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Skill Creator

A skill is a folder that teaches an agent how to handle a specific task or workflow:

your-skill-name/
├── SKILL.md       # Required — YAML frontmatter + Markdown instructions
├── scripts/       # Optional — executable code (Python, Bash, ...)
├── references/    # Optional — docs loaded only when needed
└── assets/        # Optional — templates, fonts, icons used in output

Skills rely on progressive disclosure: the frontmatter is always in context (so it decides when the skill loads), the SKILL.md body loads when relevant, and linked files load only on demand. Keep each level as small as it can be.

Workflow: Creating a New Skill

Step 1: Define 2-3 concrete use cases

Before writing anything, pin down with the user:

  • What does the user want to accomplish? (outcome, not feature)
  • What triggers it? Collect literal phrases users would say.
  • What steps does the workflow require, in order?
  • Which tools are needed (built-in, scripts, MCP servers)?
  • What domain knowledge or best practices must be embedded?

Write each use case as: Trigger → Steps → Result. If the user is vague, propose use cases and confirm rather than guessing silently.

Identify the category — it shapes the structure:

  1. Document & asset creation — embed style guides, templates, quality checklists.
  2. Workflow automation — step-by-step process with validation gates.
  3. MCP enhancement — orchestrate MCP tool calls in sequence with domain expertise.

Step 2: Plan the folder structure

  • Folder name: kebab-case only (my-skill — no spaces, capitals, or underscores) and it should match the frontmatter name.
  • SKILL.md must be named exactly that, case-sensitive.
  • Never put a README.md inside the skill folder.
  • Keep SKILL.md under ~5,000 words; move detail to references/ and link to it.
  • For critical validations, prefer a bundled script over prose — code is deterministic, language interpretation isn't.

Step 3: Write the frontmatter

The frontmatter is the single most important part — it alone decides whether the skill ever loads.

---
name: your-skill-name
description: [What it does] + [When to use it, with literal trigger phrases] + [negative triggers if needed]
---

Rules (hard requirements):

  • description MUST state both WHAT the skill does and WHEN to use it, under 1024 characters.
  • Include specific phrases users would actually say, and file types if relevant.
  • No XML angle brackets anywhere in frontmatter (it is injected into the system prompt).
  • name must not use reserved prefixes ("claude", "anthropic").

Weak: description: Helps with projects. Strong: description: Manages Linear sprint workflows including planning, task creation, and status tracking. Use when the user mentions "sprint", "Linear tasks", or asks to "create tickets".

Optional disable-model-invocation: true makes the skill user-only: the agent never sees it (no skill catalog entry, no skill_search hit, and the skill tool refuses it), while /skill-name still works for the user. Use it for a long or interrupting workflow whose timing the user should control — a multi-phase orchestration, a deploy, anything with side effects. Leave it off by default; a skill the agent cannot see is a skill it cannot offer. Keep the "only when the user asks" rule in the description and body as well, so the skill still behaves if the flag is ever removed.

For all optional fields (license, compatibility, metadata, allowed-tools) and more good/bad examples, read references/frontmatter.md.

Step 4: Write the instructions

Recommended body structure:

# Skill Name

## Instructions
### Step 1: [First major step]
Exact commands / tool calls, with expected output described.

## Examples
User says X → actions → result.

## Troubleshooting
Error → cause → fix.

Best practices:

  • Be specific and actionable: give exact commands with flags and expected output, not vibes ("validate the data").
  • Put critical instructions at the top; use ## Important headers for must-not-skip rules.
  • Include error handling for the failures users will actually hit.
  • Reference bundled resources explicitly ("Before writing queries, read the API-patterns file in references/").
  • Number steps that must happen in order; state data dependencies between steps.

For proven structural patterns (sequential orchestration, multi-MCP coordination, iterative refinement, context-aware tool selection, domai

よくある質問

スキルのフォルダーには何がありますか?

指示を書いたSKILL.mdファイルがあり、任意でスクリプト、参照ファイル、素材を含みます。

一般的なプロンプトの作成にも使いますか?

いいえ。このスキルは、一般的なプロンプトの作成には使わないよう述べています。

スキルはいつ読み込まれるのですか?

短い説明とトリガーの言い回しによって、いつ読み込まれるかが決まります。

詳細

作者による元の説明

Interactive guide for creating, reviewing, and improving agent skills (SKILL.md folders). Use when the user wants to build a new skill ('create a skill', 'make a skill for X', 'write a SKILL.md', 'turn this workflow into a skill'), review or improve an existing skill, fix a skill that never triggers or triggers too often, or validate a skill folder before sharing it. Do NOT use for general prompt writing, MCP server development, or editing arbitrary markdown files.

repo: XiaomiMiMo/MiMo-Code

人気

GitHubのスター
14k
ランキング
#11369
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル