/repo-to-content:repo-scanfrom repo-to-content
Scan 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.
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.
Shared helper. Walks a repository on disk and writes a manifest that downstream repo-to-* skills consume.
path (optional): path to the repo. Defaults to the current working directory.force (optional): regenerate even if manifest already exists.Writes JSON to /tmp/repo-to-docs/<slug>/manifest.json:
{
"path": "/abs/path/to/repo",
"slug": "my-repo",
"name": "My Repo",
"title": "My Repo",
"summary": "First paragraph of README, trimmed to ~280 chars.",
"remote_url": "https://github.com/user/my-repo",
"head_commit": "abc1234",
"text_sources": [
{"path": "README.md", "order": 0, "role": "intro"},
{"path": "docs/architecture.md", "order": 1, "role": "docs"},
{"path": "planning/roadmap.md", "order": 2, "role": "planning"},
{"path": "report/findings.md", "order": 3, "role": "report"}
],
"images": [
{"path": "diagrams/flow.png", "kind": "diagram"},
{"path": "banner.png", "kind": "banner"}
]
}
path not given, use cwd. Confirm it's a git repo (warn otherwise — continue anyway).basename(path) lowercased, spaces-to-dashes.README.md first (role: intro)docs/**/*.md, docs/**/*.txt sorted alphabetically (role: docs)planning/**/*.md (role: planning)report/**/*.md and reports/**/*.md (role: report)CHANGELOG.md, LICENSE, CONTRIBUTING.md, .github/**, node_modules/**, .venv/**diagrams/**, graphics/**, images/**, plus any top-level banner.* (png/jpg/jpeg/webp). Classify banner vs diagram by path.title from README first H1 (# Title). Fall back to repo basename titlecased.summary from first non-heading paragraph of README, trimmed to ~280 chars.git -C <path> config --get remote.origin.url and git -C <path> rev-parse --short HEAD./tmp/repo-to-docs/<slug>/ exists; write manifest.json.force is false, just print the existing summary and return.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 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-to-blog-postSynthesize a concise, first-person, technical blog post (markdown, with frontmatter) from a GitHub repository's README, docs, and planning files. Writes intro / body / conclusion in a no-marketing-fluff voice. Use when the user says "turn this repo into a blog post", "draft a blog post about this project", "write up this repo as an article", or wants a publishable narrative of the repository./repo-to-docs-configureInteractive setup for the repo-to-docs plugin — writes ~/.config/repo-to-docs/config.json with author details, default license, Typst footer toggles, index-repo publishing targets, and Google Drive settings. Use when the user says "configure repo-to-docs", "set up repo-to-docs", "add a new docs-index target", "change the default license", or is running any repo-to-docs skill for the first time and hits missing config./repo-to-docs-indexPublish 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./repo-to-gdriveUpload a generated document (PDF, markdown, etc.) to Google Drive via the configured Google Workspace MCP server (gws-personal by default, gws-dsrholdings or other overridable). Use when the user says "upload this PDF to Drive", "send this doc to Google Drive", "put this in my Drive folder", or after generating a document and wanting to distribute it via Google Drive.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-content