Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Paper.Write Draft

БесплатноБез исполняемых скриптовНе проверен

Write a LaTeX paper draft in a dir from the content of another dir

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Goal

  • Write a LaTeX paper in <DST_DIR>, using the content of <SRC_DIR>
  • Follow the rules in .claude/skills/paper.rules.md

Inputs

  • <SRC_DIR>: dir with the content of the paper (e.g., design docs, notes, code, results)
  • <DST_DIR>: dir where the paper is written, inside the Git repo
  • If either dir is not passed, or <SRC_DIR> does not exist, stop and ask the user

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to paper.write_draft.<INPUT_REF>.md, then stop without executing the skill

Workflow

Read the Rules and the Format

  • Read .claude/skills/paper.rules.md
  • Read the files listed in its section ## Reference Papers, including all the files that papers/Noesis/paper.tex includes

Read the Content

  • Read all the relevant files in <SRC_DIR>, including subdirs
  • Collect the following, noting the source file of each item
    • Problem and motivation
    • Contributions
    • Definitions, notation, and method
    • Experiments and results
    • Related work and references
    • Limitations and open questions

Propose the Outline

  • Show the user
    • Title
    • List of the files to create, with the main points of each one
    • Information that the paper needs and that <SRC_DIR> does not have
  • Ask for confirmation before writing the paper

Write the Paper

  • If <DST_DIR> already has .tex files, ask the user before changing them
  • Create <DST_DIR>, if needed
  • Follow these sections of .claude/skills/paper.rules.md
    • # General Rules
    • # Writing Style
    • # LaTeX Papers
    • # Figures and Tables
    • # Bibliography
  • Build the paper, per the section ## Build, with <DST_DIR> as <PAPER_DIR>
  • Run git add on the new .tex files and on the Makefile, without committing

Report

  • Print the paths of paper.tex and of the PDF
  • List the open TODO(gp) comments

Conventions

  • Follow .claude/skills/paper.rules.md
  • Put at the top of each new .tex file the line
    % Generated by `.claude/skills/paper.write_draft/SKILL.md`
    

Constraints

  • Write the paper only in LaTeX
    • Do not create paper.md or copy the Markdown files of papers/template/
  • Do not change any file in <SRC_DIR>, papers/template/, or papers/Noesis/
  • Take the content only from <SRC_DIR> and from checked references, per the section ## Do Not Invent Content of .claude/skills/paper.rules.md

Verification

  • --only_plan (check only this item): the plan is in paper.write_draft.<INPUT_REF>.md in the current dir, has the Generated by line, and nothing was executed
  • The user confirmed the outline before the paper was written
  • <DST_DIR> has paper.tex, the chapter files, reference.tex, and a Makefile symlink, and no paper.md
  • paper.tex follows papers/template/paper.tex and has no chapter text
  • Each chapter file has exactly one \section
  • Each new .tex file has the line Generated by .claude/skills/paper.write_draft/SKILL.md in a comment
  • make -C <DST_DIR> builds the PDF with no errors, undefined references, or undefined citations
  • Every claim and number comes from <SRC_DIR> or from a checked reference
  • Every figure and table has a label, a caption, and a reference in the text
  • Every bibliography entry is cited
  • The text has no Noesis content that is not in <SRC_DIR>
Полный SKILL.md на GitHub

Установить Paper.Write Draft в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Paper.Write Draft?

Write a LaTeX paper draft in a dir from the content of another dir

Как установить скилл Paper.Write Draft?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Paper.Write Draft запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Paper.Write Draft с