本文へスキップ
Skillpedia
プロンプトとLLM5.8k · #14553

create-skill

できること

このスキルは、新しいエージェントのスキルを書く手助けをします。スキルは、AIに繰り返せる仕事を教えるSKILL.mdファイルのあるフォルダです。知識をAIツールが見つけて使えるスキルにまとめたい人のためのものです。

使う場面

  • ✓ゼロから新しいエージェントのスキルを作りたいとき。
  • ✓正しいフロントマターと節を持つSKILL.mdファイルが必要なとき。
  • ✓AIが実際にそのスキルを使うように、説明文を書き直す必要があるとき。

スキルのリンク

https://github.com/dotnet/skills/blob/main/.agents/skills/create-skill/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“リリースノートの書き方を手伝う新しいエージェントのスキルを、明確な説明付きで作ってください。”

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

仕組み

エージェントはスキル名のルールを確かめ、AIにいつ使うべきかを伝える説明を書き、目的、入力、手順の節を持つSKILL.mdを作ります。

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

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

Create Skill

This skill helps you scaffold new agent skills that conform to the Agent Skills specification and the dotnet/skills repository conventions.

When to Use

  • Creating a new skill from scratch
  • Generating a SKILL.md file with proper frontmatter
  • Setting up the skill directory structure with optional folders
  • Ensuring compliance with agentskills.io specification

When Not to Use

  • Modifying existing skills (edit directly instead)
  • Diagnosing or fixing a skill that fails its evaluation (use improve-skill-quality)
  • Writing the skill's eval.yaml (use create-skill-test)
  • Creating custom agents (use the agents/ directory pattern)

Inputs

Input Required Description
Skill name Yes Lowercase, alphanumeric, hyphens only (e.g., code-review, ci-triage)
Description Yes What the skill does and when agents should use it (1-1024 chars)
Purpose Yes One paragraph describing the outcome
Workflow steps Recommended Numbered steps the agent should follow

Workflow

Step 1: Validate the skill name

Ensure the name:

  • Contains only lowercase letters, numbers, and hyphens
  • Does not start or end with a hyphen
  • Does not contain consecutive hyphens
  • Is between 1-64 characters

Step 2: Write the description — it is the router

The description is the only text the runtime sees when deciding whether to load the skill. A perfect body behind a weak description never runs.

---
name: <skill-name>
description: <what it does>. USE FOR: <symptoms, error codes, artifact names, quoted user requests>. DO NOT USE FOR: <nearby-but-wrong intents, with the skill that owns them>.
---
  • Lead with an action verb and use the user's own words: symptoms, error codes (CS1501, MSTEST0014), artifact names (.testsettings, binlog), and requests phrased as a developer would type them.
  • Partition against sibling skills on the real discriminator, not the topic. "Does the abstraction already exist?" separates two skills; "testing" does not. Add the matching exclusion to both siblings.
  • Claim the ambiguous words that would otherwise route to a sibling. If prompts say "review my tests" and a sibling owns "review", say so explicitly.
  • Check every DO NOT USE FOR clause against the scenarios the skill exists to serve — an exclusion like "already on v3" can lock out the post-upgrade fixes that are the skill's purpose.
  • Budget: 1,024 characters per description, and the whole plugin's rendered skill menu is also budgeted. A helper/reference catalog can set disable-model-invocation: true to free menu space. It remains a readable resource, not a skill the model can invoke by name. Consumers read the catalog or its bundled files directly using the supplied catalog path (the staged path in native evaluation). Resolve bundled-file paths relative to the catalog, not the project workspace.
  • No XML tags. Claude (claude.ai and Claude Code marketplace sync) rejects descriptions containing tag-like text such as Vector<T> or <Import>. Spell it out in words ("generic Vector type", "Import element"); skill-validator check fails on it.

Step 3: Write for delta over the baseline model

Every skill is scored head-to-head against the same model with no skill loaded. Content the model already produces unaided is worth zero; content that makes it slower or more hedged is worth less than zero. See improve-skill-quality/references/writing-for-baseline-delta.md for the full evidence.

Do Instead of
Encode the decision the model would otherwise get wrong Restating API signatures it already reproduces
"When A, do B, never C, verify D" tables Lists of plausible alternatives
A concrete output contract (exact command, verdict line, findings table) "Consider…", "you may want to…"
Scale output structure to input size A 12-section dashboard for an 8-test suite
Stop-conditions that prevent over-applying Acting before measuring, rewriting working code
Instructing the agent to discover repo paths Marking discoverable paths as required inputs
Reporting restore/build/test failures truthfully Claiming success after a failed command
Verifying load-bearing API claims by compiling or probing Trusting a source read
Gating rare or expensive paths behind references/ One l
よくある質問

良い説明とは何ですか?

AIがそのスキルを使うかを判断するときに読む文章なので、いつ使うべきかを示す必要があります。

名前のルールは?

小文字の英字、数字、ハイフンを使い、先頭や末尾にハイフンを付けません。

テストの仕様も書きますか?

いいえ。テストの仕様は別のスキルで書きます。

詳細

作者による元の説明

Scaffolds new agent skills for the dotnet/skills repository. Use when creating a new skill, generating SKILL.md files, writing a skill description that the runtime will actually route to, or setting up skill directory structures. Handles frontmatter generation, section templates, and validation guidance. Do not use for fixing a skill that already fails its evaluation (use improve-skill-quality) or for writing eval.yaml (use create-skill-test).

repo: dotnet/skills

人気

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

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

0

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

コメント

  • …

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

似ているスキル