本文へスキップ
Skillpedia
プロンプトとLLM31k · #9312

skill-creator

できること

このスキルは、AIエージェントのための新しいスキルファイルを作ります。明確な契約、手順、アンチパターンを含む標準の構造に従います。また、新しいスキルが既存のスキルと重複しないかも確認します。

使う場面

  • ✓AIエージェントのために、新しい再利用可能なスキルを作りたいとき。
  • ✓新しいアイデアが既存のスキルと重なるか確認したいとき。
  • ✓標準の形式に従い、確認を通過するスキルファイルがほしいとき。

スキルのリンク

https://github.com/garrytan/gbrain/blob/master/plugin/skills/skill-creator/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“週次の進捗報告を書く手伝いをするスキルを作ってください。その前に、同じことをしている既存のスキルがないか確認してください。”

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

仕組み

エージェントは不足している部分を特定し、現在のスキルと比較します。その後、フロントマターと必要なセクションを含むスキルファイルを書き、新しいスキルが見つかるようにルーティングの一覧を更新します。

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

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

Skill Creator

Contract

This skill guarantees:

  • New skill follows conformance standard (frontmatter + required sections)
  • MECE check: no overlap with existing skills' triggers
  • Manifest.json updated
  • RESOLVER.md updated with routing entry
  • Skill passes conformance tests (bun test test/skills-conformance.test.ts)

Phases

  1. Identify the gap. What capability is missing? What user intent has no skill?
  2. MECE check. Review skills/manifest.json and skills/RESOLVER.md. Does any existing skill already cover this? If so, extend it instead of creating a new one.
  3. Create SKILL.md. Use this template:
---
name: {skill-name}
version: 1.0.0
description: |
  {One paragraph describing what the skill does and when to use it.}
triggers:
  - "{trigger phrase 1}"
  - "{trigger phrase 2}"
tools:
  - {tool1}
  - {tool2}
mutating: {true|false}
---

# {Skill Title}

## Contract
{What this skill guarantees — 3-5 bullet points}

## Phases
{Numbered workflow steps}

## Output Format
{What good output looks like}

## When it fails
Follow the [agent operator protocol](../conventions/agent-operator-protocol.md) for any gbrain error `code`, exit code, `[AGENT]` block or notice block. Specific to this skill:
{2-5 concrete failures this skill hits — error codes, refusals, notices — and what to do and tell the user}

## Anti-Patterns
{What NOT to do — 3-5 items}

## Tools Used
{GBrain operations used, with descriptions}
  1. Add to manifest. Update skills/manifest.json with name, path, description.
  2. Add to resolver. Update skills/RESOLVER.md with routing entry in the appropriate category.
  3. Verify. Run bun test test/skills-conformance.test.ts to confirm the new skill passes.

Output Format

New skills/{name}/SKILL.md file + updated manifest + updated resolver.

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:

  • bun test test/skills-conformance.test.ts fails: the new SKILL.md lacks a required section (Contract, Anti-Patterns, Output Format, When it fails) or frontmatter; add it and re-run.
  • gbrain check-resolvable reports the skill unreachable: add the RESOLVER row in a fitting category, then re-run.

Anti-Patterns

  • Creating a skill that overlaps with an existing one (violates MECE)
  • Skipping the MECE check against existing skills
  • Creating a skill without triggers in frontmatter
  • Not updating manifest.json and RESOLVER.md
  • Creating a skill without an Anti-Patterns section
よくある質問

既存のスキルが既にこれを扱っている場合はどうなりますか?

重複したものを作るのではなく、既存のスキルを拡張することを勧めます。

スキルファイルには何が含まれますか?

ヘッダー、保証する内容の契約、手順、出力の形式、アンチパターンが含まれます。

新しいスキルはテストされますか?

はい。新しいファイルに対して一連の適合性テストを実行します。

詳細

作者による元の説明

Create new skills following the GBrain conformance standard. Generates SKILL.md with frontmatter, Contract, Phases, Output Format, and Anti-Patterns. Checks MECE against existing skills. Updates manifest and resolver.

repo: garrytan/gbrain

人気

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

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

0

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

コメント

  • …

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

似ているスキル