agentleFS
yuryalencaryuryalencar/ai-skills/skills/draft/SKILL.md

draft

Skill0 starsChanged 12 days agoMITView on GitHub

Produce a first-pass draft of one paper section, or a skeleton of the whole paper, from whatever material the researcher already has (notes, pasted text, local files or a whole local project, links, other papers), marking every gap with a red TODO that says what is missing and why the section needs it. Asks what kind of paper it is (systematic mapping, tool, industry, empirical study and so on) because the type decides the structure, and gets that structure from the researcher, never from memory. Sections are abstract, introduction, results-discussion, conclusions, title, cover-letter and response-to-reviewers. Use when asked to draft, sketch, outline, bootstrap or give a first version of a paper or a section from existing material.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use onboard, status and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    onboard

    Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask what kind of paper this is, because the type decides the structure: a systematic mapping, a tool paper, an industry paper and an …

    line 50
  2. Distinctive:

    Read everything the researcher points at, following references/sources.md: what counts as evidence, how other papers are used (as evidence …

    line 59
  3. Very specific:

    Before you finish, as references/session-state.md in paper-writing-style sets out, creating it if absent: the section's row in STATE.md as …

    line 88
  4. Very specific:

    Never overwrite existing text: Stop and point at /write or /review.

    line 102

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/draft

Material in, first version out. The researcher has scattered material and wants something concrete to react to. This skill drafts every part the material supports, and for every part it does not, leaves a red TODO saying what to supply and why the section needs it, so the gaps are visible and nothing is invented.

It is not /write. /write interviews first and then drafts. /draft drafts first, from what exists, and its TODOs become the agenda for /write.

Usage

/draft introduction notes.md https://arxiv.org/abs/...        # one section, from material
/draft conclusions src/results.tex                            # derive from what is written
/draft paper ~/projects/my-tool                               # skeleton of the whole paper
/draft                                                        # asks what to draft and from what

Before anything else

  1. Check for paper-out/STATE.md and read it, with decisions.md and interviews/*.md, before asking anything. The venue profile and an earlier paper-type answer are probably already there.
  2. Load the style rules. Invoke paper-writing-style and read references/human-voice.md and references/latex-conventions.md. The project's own CLAUDE.md outranks them.
  3. Find the section models. They live in the /write skill's references/<section>.md. Glob for **/skills/write/references/<section>.md and, if it is not found, stop and say that /draft needs /write installed alongside it. Do not reconstruct a model from memory.
  4. Lock the language. Language of the user's first message, whole run. LaTeX output is always English.

Workflow

1. Settle the target

A section name, or paper for a skeleton. Match loosely and infer from a file path or paper-out/STATE.md, as /write does; ask when unclear. Methods and any section the course gives no model for is not drafted: say so and add the item to todo/ when the researcher wants it tracked.

If the section already has real text, stop. Point at /write <section> to update it or /review <section> to critique it. Never overwrite. An empty stub file from /organize is not text.

2. Understand the paper

Ask what kind of paper this is, because the type decides the structure: a systematic mapping, a tool paper, an industry paper and an empirical study are not built alike. Follow references/paper-structure.md: one batch of questions on type, topic, audience and venue, then ground the structure in a source the researcher supplies, preferably the exemplars folder of previously accepted papers from the same venue and track. If there is no such folder, suggest creating one (gitignored). Never take a type's structure from memory. Record the answers in paper-out/interviews/paper-type.md.

3. Gather the material

Read everything the researcher points at, following references/sources.md: what counts as evidence, how other papers are used (as evidence and citations only, never their sentences), and how to handle links you cannot reach. Note, for each fact you will use, which source it came from.

4. Map material to the model

Take the section's model from the /write reference. For each part of the model, mark whether the material supports it, partly supports it, or does not. Thin material is fine: draft anyway.

5. Draft

Emit one LaTeX fragment in the house style, covering every part the material supports, with the model's structure comments so the researcher can see the shape. For every part it does not support, write a red TODO following references/todo-conventions.md: what to supply, why this section needs it, and where it will probably come from.

For paper, produce a skeleton: one block per section file, in the structure grounded in step 2, with prose only for the sections the course models and a TODO for each section's open content.

6. Show it, then offer to write it

Show the fragment in chat, then the TODO list only: each TODO in the order to resolve them, one line each. No coverage table. Then the proposed .bib entries, built only from metadata you actually read, and ask before adding them. Offer to write the draft to src/<section>.tex only after the researcher has seen it. Then name the next step: /write <section> to resolve the TODOs by interview.

7. Update paper-out/

Before you finish, as references/session-state.md in paper-writing-style sets out, creating it if absent: the section's row in STATE.md as partial with its TODO count, interviews/paper-type.md and interviews/<section>.md, a decisions.md entry for the sources used and where the structure came from, and open-questions.md for TODOs that need a researcher decision. Name the files you wrote. The TODOs themselves live in the .tex, so never copy their text into paper-out/.

Hard rules

  • Never invent a result, number, method detail or citation key. A missing one is a red TODO.
  • Never take a paper type's structure from memory. It comes from the venue's guidelines, example papers the researcher supplies, or the researcher's own outline. Where none exists it is a TODO.
  • Never reuse another paper's sentences. Its facts are evidence to cite; its wording is not yours.
  • Never suggest committing exemplars/. It holds other people's papers: keep it gitignored and out of Overleaf.
  • Never overwrite existing text. Stop and point at /write or /review.
  • Never add to the .bib or write a file before the researcher has seen it. paper-out/ is the exception: update it every run, and say so.
  • Never hide a gap to make the draft look finished. A TODO is the product, not a failure.
  • Never finish a run without updating paper-out/.
  • Never emit an em dash (---).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.