paperlisted
Install: claude install-skill ajbarea/techne
# Paper Scaffold
## Overview
Papers in a research monorepo follow one shape: a per-paper LaTeX directory that shares the
repo's `references.bib`, harvests its results from a sibling code repo, and is tracked in a
portfolio record. This skill scaffolds that shape so a new paper builds on day one and you
only write prose.
**Core principle:** a paper is a *harvest of the code* — result numbers come from a script
that reads the source repo's corpus, never hand-typed.
## When to use
- Starting a new first-author paper in a `papers/`-style repo.
- "Scaffold a paper called X", "new paper from `<sister>`".
- NOT for editing an existing paper's prose, or for one-off non-repo documents.
## Inputs
- `<name>` — kebab-case paper / directory name (e.g. `kourai`, `velocity-fl-systems`).
- `--from <repo>` (optional) — sibling code repo the results harvest from.
- `--venue <venue>` (optional) — target venue, recorded in the header and portfolio.
## Config
Read the `## paper` section of `<repo>/.claude/skill-context.md` for: `author`,
`affiliation`, `email`, `bib` (default `../references`), `engine` (default `tectonic`, else
`pdflatex`), and `portfolio` (default `LINEAGE.md`). Use sensible defaults if absent.
## Procedure
1. Refuse if `papers/<name>/` already exists — never overwrite a paper.
2. Copy `templates/main.tex.tmpl` → `papers/<name>/main.tex`, filling `__TITLE__` (title-cased
from `<name>`; confirm with the user), `__AUTHOR__`, `__AFFIL__`, `__EMAIL__`, `__VENUE__`,