Chuyển đến nội dung
Skillpedia
Prompt và LLM31k · #9312

skill-creator

Skill này làm gì

Skill này tạo một file skill mới cho agent AI, theo cấu trúc chuẩn với hợp đồng rõ ràng, các bước và các mẫu cần tránh. Nó cũng kiểm tra skill mới không chồng chéo với những skill bạn đã có.

Khi nào nên dùng

  • ✓Khi bạn muốn tạo một skill tái sử dụng mới cho agent AI.
  • ✓Khi bạn muốn kiểm tra xem một ý tưởng mới có chồng chéo với skill hiện có không.
  • ✓Khi bạn muốn một file skill theo định dạng chuẩn và vượt qua các kiểm tra của nó.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/garrytan/gbrain/blob/master/plugin/skills/skill-creator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một skill mới giúp bạn viết các bản cập nhật trạng thái hằng tuần, và trước tiên kiểm tra xem đã có skill nào làm việc này chưa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xác định khoảng trống và so sánh với các skill hiện có. Sau đó nó viết file skill với frontmatter và các phần bắt buộc, rồi cập nhật danh sách định tuyến để skill mới có thể được tìm thấy.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nếu một skill hiện có đã bao quát việc này thì sao?

Skill khuyên mở rộng skill hiện có thay vì tạo một bản trùng lặp.

Một file skill gồm những gì?

Nó có tiêu đề, hợp đồng nêu rõ điều nó đảm bảo, các bước, định dạng đầu ra và các mẫu cần tránh.

Nó có kiểm tra skill mới không?

Có. Nó chạy một bộ kiểm tra tuân thủ trên file mới.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
31k
Vị trí xếp hạng
#9312
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự