law-econ-docx
БесплатноЗапускает вложенные скриптыНе проверенUse this skill to BUILD a Word manuscript from LAW AND ECONOMICS markdown — author-date citations plus a reference list, double spaced throughout, Latin…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
Law & Economics DOCX Export
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Build a submission-ready Word manuscript from markdown for the Chicago-style law-and-economics journals (JLE, JLS, JLEO, ALER) and for job market papers written for that audience.
These journals publish no official Word template. Their instructions amount to "double spaced throughout, Chicago Manual of Style, author-date with a reference list," and every template circulating online is third-party and mutually inconsistent. This skill is that missing template plus the pipeline that drives it.
Iron Law: never hand-roll the pandoc call
NO L&E .docx WITHOUT build_le_docx.py. A bare pandoc -o out.docx gives
Calibri, single spacing, no reference list, numbered headings that collide with
the back matter, and pandoc's grid-bordered tables — a document that looks
finished and violates four separate JLE requirements. Reaching for raw pandoc to
"just get something quickly" is the efficiency drive producing an unusable
deliverable; it is slower than the script, not faster.
Agents without the Skill tool (most workflow subagents) can't invoke this
skill — run the script directly.
Usage
uv run python3 ${CLAUDE_SKILL_DIR}/scripts/build_le_docx.py PAPER.md [-o OUT.docx] [--pdf]
uv run python3 ${CLAUDE_SKILL_DIR}/scripts/build_le_docx.py PROJECT_DIR # drafts/*.md in numeric order
| Flag | Effect |
|---|---|
--acknowledgement "..." |
Injects the unnumbered * acknowledgment note. JLE requires one, placed before note 1. |
--bibliography FILE |
Default, resolved in the document project: references/sources.bib, references.bib, or sources.bib beside the source. |
--csl FILE |
Default: the vendored assets/chicago-author-date.csl (CMOS 18e author-date). |
--spacing onehalf|single |
Internal circulation only. Double is the JLE submission requirement and the default. |
--pdf |
Renders via doc_render.convert after building. |
The build: assembles sources (first file's YAML frontmatter becomes the document
metadata, later files' footnote labels are namespaced), resolves
<!-- include: /abs/path.md --> sentinels, guarantees a ::: {#refs} reference
list, runs pandoc with --citeproc + pandoc-crossref + the L&E reference doc,
then retags back-matter headings, forces widow control, and restyles tables to
booktabs.
Metadata (YAML frontmatter of the first file)
---
title: "Deterrence without Detection"
author:
- "Isabelle Marchand, University of Chicago Law School, [email protected]"
- "A. N. Coauthor, Northwestern University, [email protected]"
date: "January 2026"
abstract: |
... 150 words maximum, strictly enforced by the journal ...
---
JLE requires the title page to carry names, e-mail addresses, and
affiliations — put all three in each author entry. The build warns if the
abstract exceeds 150 words.
What the template encodes
Full editorial spec — subhead ladder, citation forms, table/figure rules,
appendix numbering — is in references/jle-house-style.md. Read it before
answering any "how should X be formatted" question; do not answer from memory.
| Style | Use | Formatting |
|---|---|---|
Title / Author / Date |
Title page | Centered; 14pt bold title |
Abstract Title / Abstract |
Abstract block | Bold centered head; indented body |
Heading 1 |
1. Section |
Bold, auto-numbered |
Heading 2 |
1.1. Subsection |
Italic, auto-numbered |
Heading 3 |
1.1.1. Sub-subsection |
Roman, auto-numbered |
Heading 4 |
Run-in head | Italic, keepNext |
Unnumbered Heading |
Abstract / References / Appendix | Bold, no section number |
Body Text / First Paragraph |
Body | First-line indent; no indent after a heading |
Footnote Text |
Footnotes | 12pt, double spaced |
Bibliography |
Reference list | Hanging indent, double spaced |
Table Note |
Note under a table | Double spaced |
Everything is Latin Modern Roman at 12pt, double spaced, on US Letter with 1-inch
margins and a centered page-number footer. Math is OMML with Latin Modern Math
as the math font, so $...$ and $$...$$ render as real Word equations.
Section numbers come from Word list numbering. Write # Introduction, never
# 1. Introduction.
Provenance of the typography — and what survived
The typography comes from WordTeX (tomwildenhain.com/wordtex). Its
WordTeX Template.dotx turned out to be a pandoc-shaped style set already —
Compact, Author, Abstract, BlockText, FootnoteText,
Установить law-econ-docx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл law-econ-docx?
Use this skill to BUILD a Word manuscript from LAW AND ECONOMICS markdown — author-date citations plus a reference list, double spaced throughout, Latin Modern typography — for the Journal of Law and Economics, Journal of Legal Studies, JLEO, ALER, or an econ-flavored job market paper. Triggers: 'build the L&E paper', 'law and economics Word template', 'JLE submission docx', 'Journal of Legal Studies format', 'JLEO manuscript', 'author-date Word document', 'econ job market paper in Word', 'Chicago author-date docx', 'make the submission docx for JLE'. NEGATIVE ROUTING: NOT 'law-review-docx' (Bluebook footnotes, TOC and small caps — different citation model), NOT 'docx-typst' (source is Typst, not markdown), NOT the generic 'docx' skill (edits docx content), NOT 'docx-render' (renders an existing docx to PDF/PNG only).
Как установить скилл law-econ-docx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл law-econ-docx запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic