Logo de Write Great Skill

Write Great Skill

Comunidade
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.

Visão geral

Publicado pordmoka
Repositórioskills
Nome da habilidadewrite-great-skill
Estrelas
21
Forks
2
Arquivos incluídos
4
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 4 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por dmoka no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Write Great Skill no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/dmoka/skills/tree/main/skills/write-great-skill
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Write Great Skill em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Write Great Skill automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Write Great Skill não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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).

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Write Great Skill faz?

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...

Por que usar Write Great Skill no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Write Great Skill é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Write Great Skill no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/dmoka/skills/tree/main/skills/write-great-skill. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Write Great Skill?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Write Great Skill?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Write Great Skill com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Write Great Skill é gratuita?

Sim. A habilidade é publicada no GitHub por dmoka sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇