skill-creator
Skill này làm gì
Skill này hướng dẫn AI của bạn khi viết một file skill mới cho trợ lý AI. Dành cho người muốn ghi lại một cách làm việc lặp lại để AI làm theo đáng tin cậy.
Khi nào nên dùng
- ✓Khi một mẫu lặp lại và AI cần hướng dẫn rõ ràng cho nó.
- ✓Khi quy ước của dự án khác với các thực hành chung và cần được ghi lại.
- ✓Khi một quy trình phức tạp cần hướng dẫn từng bước mà AI có thể làm theo.
Liên kết skill
https://github.com/Gentleman-Programming/gentle-ai/blob/main/internal/assets/skills/skill-creator/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một skill mới cho AI biết cách chúng tôi viết ghi chú phát hành cho sản phẩm này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill yêu cầu AI giữ hướng dẫn ngắn và viết cho một AI khác. Nó đặt các mẫu code vào thư mục asset, giải thích nền tảng vào file reference, và dùng front matter hợp lệ.
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.
Activation Contract
Create a skill when:
- A pattern is used repeatedly and AI needs guidance
- Project-specific conventions differ from generic best practices
- Complex workflows need step-by-step instructions
- Decision trees help AI choose the right approach
Do not create a skill when the pattern is trivial, one-off, or better served by normal documentation.
Hard Rules
- When working in this repo, first follow
docs/skill-style-guide.mdas the normative source before creating or updating skills. - For installed global skills, use
references/skill-style-guide.mdas the bundled local copy of that guide whendocs/skill-style-guide.mdis unavailable. - If neither guide is available, use the compact inline rules below.
- A skill is a runtime instruction contract for an LLM, not human documentation.
- Do not add a
Keywordssection; preserve essential trigger words indescription. - References must point to local files.
- Keep the skill body concise: target 180–450 tokens, recommended max 700, hard max 1000.
Decision Gates
| Need | Action |
|---|---|
| Code templates, schemas, fixtures, generated examples | Put them in assets/ |
| Conceptual detail, edge cases, existing docs | Put local links in references/ |
Long explanation in SKILL.md |
Move it to a supporting file |
| Multiple meaningful paths | Add a compact decision table |
Execution Steps
- Check whether
docs/skill-style-guide.mdexists; if it does, apply it before the bundled local copy or inline fallback rules. - If the repo guide is unavailable, read
references/skill-style-guide.mdand apply it before the inline fallback rules. - Confirm the skill does not already exist and the pattern is reusable.
- Create or update
skills/{skill-name}/SKILL.mdusing this required structure:
skills/{skill-name}/
├── SKILL.md # Required - main skill file
├── assets/ # Optional - templates, schemas, examples
│ ├── template.py
│ └── schema.json
└── references/ # Optional - links to local docs
└── docs.md # Points to docs/developer-guide/*.mdx
- Use this frontmatter shape:
---
name: {skill-name}
description: "Trigger: {essential trigger words users or agents will say}. {What this skill does}."
license: Apache-2.0
metadata:
author: "{your-github-username}"
version: "1.0"
---
- Write sections in this order: Activation Contract, Hard Rules, Decision Gates, Execution Steps, Output Contract, References.
- Register the skill in
AGENTS.mdwhen it is a project skill.
Inline Fallback Rules
descriptionMUST be one physical line, quoted, YAML-safe, and include essential trigger words first.descriptionSHOULD be <=160 chars and MUST be <=250 chars.- Frontmatter MUST include
name,description,license,metadata.author, andmetadata.version. - Use imperative instructions, not tutorials or background prose.
- Put supporting material in
assets/orreferences/, not the main skill body.
Good:
description: "Trigger: Jira task, ticket, issue, task creation. Create Jira tasks in the team format."
Bad:
description: >
Create Jira tasks in the team format.
Trigger: Jira task, ticket, issue, or task creation.
Keywords: jira, task
Output Contract
Return:
- Files created or modified.
- Whether the repo style guide or inline fallback rules were used.
- Any AGENTS.md registration change.
- Any supporting files added under
assets/orreferences/.
References
docs/skill-style-guide.md— normative LLM-first skill style guide for this repo.references/skill-style-guide.md— bundled local copy for installed global skills when the repo doc is unavailable.
Câu hỏi thường gặp
Một file skill tốt có đặc điểm gì?
Nó ngắn, dùng các bước quyết định rõ ràng và trỏ đến các file hỗ trợ cục bộ cho chi tiết.
Khi nào không nên tạo skill?
Khi mẫu quá đơn giản, chỉ dùng một lần, hoặc tốt hơn nên được bao phủ bởi tài liệu thông thường.
Có giới hạn độ dài không?
Có. Skill yêu cầu nội dung chính ngắn gọn, nhắm đến vài trăm token.
Chi tiết
Mô tả gốc của tác giả
Trigger: new skills, agent instructions, documenting AI usage patterns. Create LLM-first skills with valid frontmatter.
Độ phổ biến
- Sao GitHub
- 8.2k
- Vị trí xếp hạng
- #12555
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
branch-pr
8.2kGiúp agent của bạn chuẩn bị nhánh và pull request theo quy tắc đóng góp riêng của dự án đích, chứ không theo mẫu chung chung.
chained-pr
8.2kGiúp agent của bạn chia một thay đổi lớn hơn 400 dòng thành chuỗi pull request nhỏ hơn, dễ xem xét, mỗi cái đứng được một mình.
cognitive-doc-design
8.2kDạy agent của bạn viết hướng dẫn, README và đánh giá dễ quét và dễ nhớ, bằng cách nêu câu trả lời trước và nhóm các chi tiết lại.
comment-writer
8.2kGiúp agent của bạn viết bình luận ngắn gọn, ấm áp và trực tiếp cho pull request, đánh giá, trả lời issue và tin nhắn nhóm.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.