adr-writer
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an…
Package a TeX/LaTeX project into a clean tarball or zip for arXiv upload: file selection, build-artifact exclusion, 00README.XXX generation, ancillary file organization, archive validation. Triggers on: "package for arXiv", "create arXiv tarball", "bundle submission", "zip for
$ npx -y skills add Mathews-Tom/armory --skill arxiv-package --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/arxiv-packageContext preview
The summary Claude sees to decide when to auto-load this skill.
Package a TeX/LaTeX project into a clean tarball or zip for arXiv upload: file selection, build-artifact exclusion, 00README.XXX generation, ancillary file organization, archive validation. Triggers on: "package for arXiv", "create arXiv tarball", "bundle submission", "zip for
name: arxiv-package description: 'Package a TeX/LaTeX project into a clean tarball or zip for arXiv upload: file selection, build-artifact exclusion, 00README.XXX generation, ancillary file organization, archive validation. Triggers on: "package for arXiv", "create arXiv tarball", "bundle submission", "zip for arXiv", "prepare arXiv upload", "arXiv submission archive". Companion to arxiv-preflight and arxiv-figures.' metadata: version: 1.0.0 complements: [arxiv-preflight, arxiv-figures, manuscript-review] category: review tags: [arxiv, packaging, tarball, latex, submission] difficulty: intermediate phase: ship
Assemble a TeX/LaTeX project into a clean, correctly structured `.tar.gz` or `.zip` archive ready for arXiv upload. Handles file selection, artifact exclusion, directory structure, 00README generation, and validation of the final package.
Companion skills:
Scan the project directory. Classify every file:
**INCLUDE — Required**
**EXCLUDE — Build Artifacts**
**EXCLUDE — Should Not Submit**
**FLAG — Needs Decision**
Create or update the `00README.XXX` file when needed:
# Auto-generated by arxiv-package # Main TeX file (only if ambiguous — multiple \documentclass files) main.tex toplevelfile # Files to exclude from processing cover-letter.pdf ignore notes.txt ignore # Optional directives # nostamp # nohypertex
Only generate if:
Before creating the archive:
1. All `\input`/`\include` targets resolve to files in the package 2. All `\includegraphics` targets resolve to files in the package 3. All `\bibliography` targets have corresponding `.bbl` files 4. No absolute paths in any TeX source 5. No filenames with spaces or special characters 6. `anc/` directory contains no `.tex` files 7. No hidden files (will be deleted by arXiv upon announcement) 8. Total uncompressed size is reasonable (flag >50MB — may need exception request)
# From project root, create tar.gz excluding unwanted files tar czf submission.tar.gz \ --exclude='*.aux' --exclude='*.log' --exclude='*.toc' \ --exclude='*.lot' --exclude='*.lof' --exclude='*.out' \ --exclude='*.nav' --exclude='*.snm' --exclude='*.vrb' \ --exclude='*.dvi' --exclude='*.synctex*' \ --exclude='*.fls' --exclude='*.fdb_latexmk' \ --exclude='*.blg' --exclude='*.ilg' --exclude='*.glg' \ --exclude='*.bak' --exclude='*~' --exclude='*.swp' \ --exclude='.git' --exclude='.svn' \ --exclude='.DS_Store' --exclude='Thumbs.db' \ --exclude='.vscode' --exclude='.idea' \ [list of files/directories to include] # Or create zip zip -r submission.zip [files] \ -x '*.aux' -x '*.log' -x '*.toc' ...
Prefer explicit file inclusion over directory-wide inclusion with exclusions. This prevents accidental inclusion of sensitive or unnecessary files.
After creation:
1. List archive contents — verify no unexpected files 2. Extract to temporary directory 3. Attempt compilation in the extracted directory (if TeX toolchain available) 4. Report archive size (compressed and uncompressed) 5. Compare file list against the include/exclude inventory
# arXiv Package Report **Archive:** submission.tar.gz **Compressed size:** [size] **Uncompressed size:** [size] **File count:** [count] ## Contents | File | Size | Type | |------|------|------| | main.tex | 45 KB | Source | | references.bbl | 12 KB | Bibliography | | fig1.pdf | 380 KB | Figure | | anc/data.csv | 1.2 MB | Ancillary | ## Excluded | File | Reason | |------|--------| | main.aux | Build artifact | | main.log | Build artifact | | referee-response.pdf | Not for submission | ## 00README.XXX [Contents if generated] ## Verification - [ ] Archive extracts cleanly - [ ] All source references resolve - [ ] Compilation succeeds (if tested) - [ ] No sensitive files included
unless the project uses subdirectories for organization
#
Curated, production-grade skills, agents, hooks, rules, commands, utilities, and presets for AI coding agents. No magic, no demos — battle-tested workflows built for developers who use AI seriously.
Repo: Mathews-Tom/armory
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an…
Build AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK, claude -p, SDK MCP servers, hooks,…
Audits and enhances FastAPI and REST API documentation: missing descriptions, response codes, examples, docstrings, Pydantic models, OpenAPI spec. Triggers on:…
Generate architecture diagrams as fully editable SVG with native AWS, Azure, and GCP icons for cloud diagrams, or hand-drawn generic icons for everything else.…
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports. Triggers on:…
Optimize and prepare figures for arXiv submission: format conversion (EPS/PDF/PNG/JPG), size reduction, metadata stripping, processor compatibility (DVI vs…