/repo-to-content:repo-to-docs-indexfrom repo-to-content
Publish an already-generated PDF (or other file) into a configured docs-index repository — copies it into a YY/MM/DD/<slug>/ folder, writes meta.json, runs the repo's build-index.sh if present, then commits and pushes. Use when the user says "publish this PDF to my docs index", "push this document to the public docs repo", "add this to my docs-index", or after running repo-to-pdf/white-paper and wanting to publish it.
Ships in repo-to-content. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Publishes a generated file into a target docs-index repository following a YY/MM/DD/<slug>/ convention.
file (required): absolute path to the file to publish (usually a PDF).target (optional): name of the index repo in config (see index_repos[].name). Defaults to the entry with "default": true.title (optional): override — defaults to filename stem titlecased or manifest title.summary (optional): override — defaults to manifest summary.tags (optional): list of tags. Defaults to [].extra_files (optional): additional files to include in the entry folder.Each configured index_repos[] entry must point at a directory that is:
YY/MM/DD/<slug>/ with at minimum a meta.json.build-index.sh at root that rebuilds any derived indices/README from the meta.json files. Optional but recommended.A repo of the form <owner>/Public-Docs (or any chronological doc archive) is the canonical example.
~/.config/repo-to-docs/config.json.target specified.<target.path>/<YY>/<MM>/<DD>/<slug>/
where slug is derived from the filename stem (sanitized).file and any extra_files into it.meta.json:
{
"title": "...",
"summary": "...",
"date": "YYYY-MM-DD",
"tags": ["..."],
"source_url": "<remote_url from manifest, or null>",
"files": ["filename.pdf"]
}
<target>/build-index.sh exists, run it (bash ./build-index.sh from the target repo root). If it doesn't exist, warn but continue.git -C <target> add -A
git -C <target> commit -m "Add: <title> (<YYYY-MM-DD>)"
git -C <target> push
build-index.sh ranWhat SKILL.md sets; muted values are Claude Code's defaults
repo-to-content@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin repo-to-content10 skills in this plugin
/generate-pdf-from-outputsUse when the user wants to generate a styled PDF from repository outputs using Typst with IBM Plex Sans and a clean brand palette. Triggers on phrases like "generate a PDF", "make a PDF from outputs", "typst PDF", "pdf this"./markdown-to-epubTurn a markdown document (report, guide, analysis, notes) into a reflowable EPUB for reading on a phone or e-reader, alongside or instead of a PDF. Use when the user says "make it an ebook", "EPUB", "MOBI", "something I can read on my phone", "Kindle version", or finds a dense PDF hard to read on mobile./repo-scanScan a local Git repository and emit a manifest of its text sources (README, docs/, planning/, report/), embeddable images (diagrams/, graphics/, images/, banner.*), and repo metadata (name, slug, git remote, HEAD commit, derived title and summary). Shared helper invoked by the other repo-to-docs skills before they generate anything. Use when the user asks to "scan this repo for docs", "inventory the repo content", or as a first step before building a PDF, blog post, or white paper from a repository.Other plugins' skills for the same job