From 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/repo-to-content:repo-scanThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Shared helper. Walks a repository on disk and writes a manifest that downstream `repo-to-*` skills consume.
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.Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub danielrosehill/claude-code-plugins --plugin repo-to-content