Logo vun To Draft

To Draft

Communautéit
enemigos
to-draft

Writes the PR title and body for work that is already built, for a person deciding whether to merge, then opens or updates the PR. Use when asked to open a PR or to write or rewrite its body.

Iwwersiicht

Editeurenemigos
Repositoryskills
Skill-Nummto-draft
Stären
21
Forks
0
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum enemigos op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill To Draft an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/enemigos/skills/tree/main/skills/to-draft
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/enemigos/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/to-draft .claude/skills/to-draft
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert To Draft an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet To Draft automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass To Draft net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Turn the built work into a PR body a person can skim in a minute. Synthesize. Don't interview the user.

Review agents read the diff, so the body leaves the code to them. It tells a person how risky the merge is, what works now and which decisions were made on the way.

Steps

  1. Gather. Read the conversation, the diff against the base branch, the issue and the plan file if the work has one. Report what was built. Where the build left the plan, that's a decision to report. Read the CLAUDE.md sections named in Repo requirements.
  2. Prove. Collect evidence for each result by the rules in Evidence. Start with what the work already produced, like test runs in the conversation and checks on the branch. Done when every result has evidence or is marked NOT VERIFIED.
  3. Draft into the template below. Only the intro and Merge danger are in every body. Any other section stays only when it passes its test in Cut.
  4. Cut. Go through the draft line by line with the tests in Cut and delete what fails. Done when no line fails.
  5. Check the draft against Voice and rewrite every line that breaks a rule. When a humanize skill is loaded, run it on the whole body, because a person reads all of it. It may reword or delete, but it adds nothing, uses no idioms and leaves headings, labels, markers and required repo lines alone. When it isn't loaded, the Cut and Voice rules are the whole check.
  6. Self-review. Fix what fails and check again until all of these hold.
    • Skim test. Reading only the title, the bold door verdict and Review first tells a person what happened, whether it's safe and what to do next.
    • No section is there because the template has it.
    • Every result is something a person can see or do, not a change to the code.
    • Every decision is one a person might have made differently.
    • No file paths or code names outside Review first and the diagrams.
    • The prose before the diagrams is under about 400 words, and under about 150 when the PR changes one behavior, like a copy fix or one new button. These are ceilings. A body that says it in 60 words stops at 60. When it runs over, delete lines anywhere but Merge danger. Don't squeeze sentences to fit.
    • Every sentence has one idea and reads smoothly out loud.
    • No "as mentioned", "see below" or "above". Each section stands alone.
    • Every line the repo requires is present (see Repo requirements).
  7. Publish. When the branch has a PR, replace its title and body. When it doesn't, open one by the rules in CLAUDE.md, which name the checks to run first and the base branch. When a check can't run where you are, open the PR and name that check in your reply. When this PR finishes the last slice of a plan, delete the plan file and its row in docs/README.md in the same PR. Read the published body back. When something added a line you didn't write, like a tool credit, tell the user. Reply with the PR link.

Template

<Up to 3 short sentences, no heading. Say what the feature does now, the way you would tell a teammate who hasn't heard of it. For a fix, say what was wrong first.>

## Merge danger
**<One-way or Two-way> door.** <What makes it so, and how to roll it back.>

**Blast radius:** <What else could break, and who would notice.>

Review first: <the one place a person should look before merging>.

## Results
- <one thing that works now, as the user sees it>. <evidence>.

## Decisions
- <the risk or question>. <what was decided and why>.

## No-gos
- <what this doesn't do>. <where it lives instead, when it has a home>.

## Schema change

<details>
<summary><what the migration changes></summary>

<Mermaid erDiagram, only when the PR adds a migration>

</details>

## Flow

<details>
<summary><the path from entry point to outcome></summary>

<Mermaid diagram of the user's path, only when the PR adds or changes one>

</details>

Linear [<ID>](<url>)

Mark a point that still needs a person inline as NEEDS CLARIFICATION (<who>) on the bullet it blocks.

A small change needs only the intro and Merge danger. Write those two and stop.

The user is whoever the change is for. For internal work that's a teammate or an operator.

Both diagrams sit in collapsed <details> blocks, and Flow goes last on purpose. The intro already explains the change, so the diagrams are for checking it, not for orienting. Keep a blank line after <summary> and before </details>, or GitHub won't render the Mermaid.

Cut

A template invites filling, and a filled section reads as bloat. Never write a bullet to fill a section. Being true, or being in the conversation, doesn't earn a line its place. A section has to pass its own test first, and then each line in it gets this test. Delete it, then ask whether the reader would decide differently or come back with a question. When the answer is no, it stays deleted.

Two kinds of line fail most.

  • Redundant. The title or another section already says it, or it describes code the diff already shows. The intro and Results may overlap, because the intro is the claim and Results is its proof.
  • Obvious. The reader would assume it unprompted, like a no-go nobody expected this PR to cover or a decision nobody would have made differently.

Each optional section has its own test.

  • Results has one bullet for each thing a person can now see or do, not one for each commit.
  • Decisions stays when someone on the team could have chosen otherwise and the choice still matters after merge. Expect none to three, though that isn't a limit.
  • No-gos stays for an option that was really on the table and turned down, like polling. A scope edge listed for completeness isn't one. A turned-down option goes here and not under Decisions, so it's said once. Most PRs have none.
  • Flow stays when the PR adds or changes a user's path.

In every list, put first the bullet that would cost the most if it were missed. Leave out preamble, recap and a closing line. Cut whole lines. Never shorten a sentence by packing more into it, because a dense sentence is harder to read than a long one.

Merge danger

A two-way door can be undone by reverting the PR. A one-way door can't, like a migration that drops data, a message already sent to clients, money that moved or a contract another system starts to depend on.

Open with the verdict in bold, like "Two-way door.", so it reads at a glance. Judge the door for the system and for the user, and name both when they differ, like "Two-way door for the system, one-way for the client. The schema reverts cleanly, but getting the account back means signing again."

Blast radius is what else could break and who would notice, like another flow that runs through the same code or the same screen on the other platform.

Write both in the words the team says out loud. Review first is the one line that names code.

This is the one section the Cut step leaves whole. A way the merge can hurt someone stays in, even when the body is long.

A step a person must take around the merge, like a sign-off or a command to run by hand, goes here too.

Evidence

A result without evidence is a claim. Use the strongest kind the change allows.

  • When the result is on screen, show a screenshot or a short recording, with a before when the screen already existed. A parity-tracked screen needs web and mobile.
  • When the result is behavior, say what was run and what happened, like "Signing twice in a row removes the account once." A test in the diff that passes on the branch counts. Say what it covers and leave out its name.
  • When the result is a number, give before and after with the unit.
  • When nothing visible changes, say so in one result. Its evidence is the existing tests passing unchanged.
  • When nobody ran it, write NOT VERIFIED and why. Don't write that it works.

When an on-screen result was checked but you have no image to attach, leave SCREENSHOT NEEDED (<what it shows>) in its place and tell the user. That marker means the picture is missing. NOT VERIFIED means the check is.

Decisions

Report the decisions a person might have made differently, like a product rule, a tradeoff, an option turned down or a place the build left the plan. Leave out choices about how the code is arranged. Name the risk or question first, so a reader sees why each decision exists.

A plan is deleted once its work ships, so the body can't point at it. Its rabbit holes become Decisions and its no-gos stay No-gos. Carry over only the ones that pass the tests in Cut.

Repo requirements

Read the source section in CLAUDE.md each time instead of working from memory, because the rules change. CI checks some of them. Copy a required line as CLAUDE.md gives it, even where that breaks a Voice rule.

  • Migration. Follow "Schema changes need an ER diagram". Put the erDiagram under ## Schema change. A data-only migration gets the ER diagram: not-needed line that section gives instead of a diagram.
  • Web change without mobile. Follow "Web/Mobile Parity" and add its Mobile-parity: not-needed line with a reason.

Voice

  • Write the intro with no heading. Leave out "This PR" and "This change".
  • Sound like a teammate talking, not release notes.
  • Write the title as what changes for the user. Keep it free of words that stop being true after merge, like "plan", "WIP" or "draft". Keep a prefix like feat: when the branch's commits use one.
  • Join clauses with a word like "and", "so", "but" or "because", or start a new sentence. Keep colons for code, labels like Review first: and the line before a list.
  • Write results and decisions as short bullets, one per point. Leave out tables.
  • Use the word the user sees, not the internal one. Write "monthly deposit" even if the code calls it a draft.
  • Write for a teammate whose first language isn't English. Keep one idea in each sentence, and put the subject first.
  • Give a definition or a side note its own sentence. Don't tuck it into the middle of another one.
  • Use common words and say things literally. Leave out idioms.
  • Define a business word a teammate might not know, the first time it appears.
  • Give an example only when the idea fails without it.
  • Use only hyphens and straight quotes. Leave out checkboxes.
  • Leave out any "Generated by" line and any other tool credit.

Heefeg gestallte Froen

Wat mécht de KI-Skill To Draft?

Writes the PR title and body for work that is already built, for a person deciding whether to merge, then opens or updates the PR. Use when asked to open a PR or to write or rewrite its body.

Firwat To Draft op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. To Draft besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech To Draft an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/enemigos/skills/tree/main/skills/to-draft an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen To Draft benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat To Draft benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir To Draft domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill To Draft gratis?

De Skill gëtt vum enemigos op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇