跳到正文
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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/garrytan/gbrain/blob/master/plugin/skills/skill-creator/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 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

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能