Logo Write Great Skill

Write Great Skill

Cộng đồng
dmoka
write-great-skill

Write or improve an agent skill (SKILL.md + scripts). Use when someone wants to create, write, build or draft a skill; turn a checklist, runbook, procedure, how-to or a prompt they keep repeating into a skill or slash command; make the agent do a task the same way every time; or fix a skill that does not fire, fires at the wrong time, or runs differently each run. Interviews first (the trigger, what the user knows that no model knows, what must never happen, which steps are mechanical), drafts the folder (a short SKILL.md, scripts/ for the mechanical steps, references/ read on demand), checks it with a script, then curates it with the user. Works for Claude Code, Codex, Cursor, Hermes and any Agent Skills tool.

Tổng quan

Nhà phát hànhdmoka
Kho mãskills
Tên kỹ năngwrite-great-skill
Sao
21
Bản fork
2
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được dmoka công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Write Great Skill trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/dmoka/skills/tree/main/skills/write-great-skill
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dmoka/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/write-great-skill .claude/skills/write-great-skill
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Write Great Skill trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Write Great Skill ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Write Great Skill với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Write a great skill

A skill is a folder that teaches an agent one procedure it cannot know on its own. The agent loads it when the situation comes up, and not before. Your job: get the procedure out of the user's head, split it into judgment and mechanics, and ship a folder that fires on the right request.

Steps

  1. Interview. Ask one question at a time, each with your recommended answer:

    • Trigger: what situation starts this task? Which exact words would the user type? Collect 3-5 real phrasings.
    • Knowledge: what does the user know that no model knows? Commands, paths, order of steps, system names, the usual causes.
    • Never: what must never happen? Each answer becomes a hard rule or a gotcha.
    • Mechanics: which steps are the same every run (commands, checks, files with a fixed shape)? Each one becomes a script.
    • Home: this repo only (.claude/skills/<name>/, shared through git) or every repo (~/.claude/skills/<name>/)? Other tools use their own skills folder with the same format.

    If the user already gave you the material (a checklist, a runbook, a doc), or nobody can answer (a headless run), take the answers from the material, write your assumptions down, and continue. Done when you can list every step and mark it judgment or mechanical.

  2. Write the description first. The agent sees only the descriptions when it decides which skill to load; a vague one is never picked.

    • Write it for the model, in the user's words. The first sentence names the task in at most 57 characters (Hermes shows only that much). Then Use when … with the phrasings from step 1, then what it does and what it never does.
    • Keep it under 1,024 characters (the Agent Skills spec limit). Claude Code cuts the listing at 1,536.
    • Never picked: Helps with deployments. Picked: Deploy to production or staging. Use when the user says deploy, ship, release, push to prod or roll back.

    Done when every phrasing from step 1 appears in the description, or a close match does.

  3. Draft the folder from references/skill-template.md. SKILL.md is the short entry point (aim under 100 lines); scripts/ holds the mechanical steps; references/ holds long material that only one step needs; examples/ holds one worked case. The agent reads a supporting file only when a step sends it there.

    • Judgment stays as instructions. Mechanics go into scripts. A model is not deterministic: every step written as prose can run differently each time. Put command sequences, checks and fixed-shape files in scripts/, and call them from SKILL.md with the exact command line.
    • Name the script that does the skill's main action after the skill (scripts/<name>.sh), and each helper after its step (scripts/<step>.sh, for example a preflight check).
    • A script stops on the first error (set -euo pipefail), checks its arguments and preconditions, and prints each step. A script that pushes, tags, deploys, publishes or sends does a dry run by default and acts only with --yes; SKILL.md says to show the dry run and get approval first.
    • Every step: the action as an imperative sentence, the exact command, path or name, then Done when … with a check the agent can verify.
    • Link each reference from the step that needs it, one level deep.
    • Add ## Gotchas, seeded with every "never" from step 1 and every trap the user named.

    Done when every mechanical step is a script call and every script passes bash -n (or its language's syntax check) and runs its dry run or --help with no side effects. To test a git push for real, point it at a local bare clone (git clone --bare . <tmp>/origin.git). Never test a script against the user's real accounts (cloud, password manager, payment provider, production): read the tool's --help instead.

  4. Cut what the agent already knows. For each line ask: would the agent do this without it? Lines like "write clean code", "use meaningful names" or "follow best practices" change nothing: delete them. If behaviour does not change without a line, it was a no-op, and it costs context on every run. Spend the lines on what pushes the agent off its defaults: this system's facts, this team's order, the traps. Done when every line names a command, path, number or name, or a rule the agent would break without it.

  5. Check it. Run node <this-skill>/scripts/check-skill.mjs <new-skill-folder>. It checks the frontmatter, the name, the description length and first sentence, links to missing files, scripts without the executable bit, TODO markers, SKILL.md length and filler phrases. Done when it exits 0 and every warning is fixed or has a stated reason.

  6. Curate with the user. Show the folder tree, the description and each script. Go through references/review-checklist.md. Ask: "Which words would you type when you need this?" Put missing words at the front of the description. Headless: list the open questions at the end of your report. Done when the user approves, or the open questions are listed.

  7. Test the trigger (needs the claude CLI). From the folder where the skill is installed, run <this-skill>/scripts/fires.sh <skill-name> "<request>" ... --not "<request>" with 3 requests that do not name the skill and should fire, then --not and 1 that should not. On a miss, add the user's missing words to the front of the description and run it again. Done when the script prints PASS (3 of 3 fire, and the negative stays quiet).

Writing for agents

  • Short imperative sentences: "Run", "Stop", "Ask". One instruction per sentence.
  • Concrete: npm run build, not "build the project"; "at most 3 retries", not "a few".
  • One word per thing. If step 2 says "release branch", step 5 does not say "deploy branch".
  • Examples over adjectives: show one good output instead of asking for "clear" or "robust".
  • No intro, no motivation paragraph, no "this skill helps you". Start with the job.

Gotchas

  • The description is the trigger, not a summary. A perfect body under a vague description never runs.
  • Rules for every conversation go in CLAUDE.md or AGENTS.md, not in a skill. A skill holds a procedure.
  • The name is lowercase letters, digits and single hyphens, at most 64 characters, and equals the folder name.
  • The agent does not read a file in references/ unless a step says when to read it.
  • Secrets never go in a skill. Scripts read them from the environment or the tool's credential store.
  • The gotchas section grows: every time the agent gets something wrong inside a skill, add one line to that skill's gotchas.

Last verified: 2026-10-03 with Claude Code 2.1.288 (a TicketBay release skill 12/12, a key-rotation runbook from scratch 9/9, automatic picks 5/5 with 144 skills installed and 5/5 project-only)

Inspired by Matt Pocock's writing-for-agents (MIT).

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Write Great Skill làm được gì?

Write or improve an agent skill (SKILL.md + scripts). Use when someone wants to create, write, build or draft a skill; turn a checklist, runbook, procedure, how-to or a prompt they keep repeating into a skill or slash command; make the agent do a task the same way every time; or fix a skill that does not fire, fires at the wrong time, or runs differently each run. Interviews first (the trigger, what the user knows that no model knows, what must never happen, which steps are mechanical), drafts the folder (a short SKILL.md, scripts/ for the mechanical steps, references/ read on demand), chec...

Vì sao nên dùng Write Great Skill trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Write Great Skill là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Write Great Skill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/dmoka/skills/tree/main/skills/write-great-skill. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Write Great Skill?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Write Great Skill với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Write Great Skill với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Write Great Skill có miễn phí không?

Có. Kỹ năng này được dmoka phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇