Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work.
Python agent-skillsai-agentsbook-to-skillcontext-engineeringdocument-processingedtechknowledge-baseknowledge-managementllmpdf-to-markdownragself-studystudy-tools
docs: redesign site with a real landing page (not a README dump)
Virgilio Borges6b91ad644e73
diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.ymlindex 370047c..f1a9c8b 100644--- a/.github/workflows/deploy-docs.yml+++ b/.github/workflows/deploy-docs.yml@@ -36,10 +36,11 @@ jobs:- name: Install MkDocs Materialrun: pip install mkdocs-material- name: Assemble docs sources- # Single-source: the homepage and skill reference are the repo-root- # README.md / SKILL.md, copied in (never committed under docs/).+ # Single-source: the Guide and Skill Reference pages are the repo-root+ # README.md / SKILL.md, copied in (never committed under docs/). The+ # landing page docs/index.md is committed and curated separately.run: |- cp README.md docs/index.md+ cp README.md docs/guide.mdcp SKILL.md docs/skill-reference.mdcp BACKERS.md docs/BACKERS.md- name: Builddiff --git a/.gitignore b/.gitignoreindex 8492cb1..1782945 100644--- a/.gitignore+++ b/.gitignore@@ -14,7 +14,8 @@ build/docs/superpowers/specs/# MkDocs: build output + pages assembled from README/SKILL at deploy time+# (docs/index.md is a committed landing page, NOT assembled)site/-docs/index.md+docs/guide.mddocs/skill-reference.mddocs/BACKERS.mddiff --git a/docs/index.md b/docs/index.mdnew file mode 100644index 0000000..6a6b67d--- /dev/null+++ b/docs/index.md@@ -0,0 +1,89 @@+---+hide:+ - navigation+ - toc+---++# book-to-skill++<p style="font-size: 1.25rem; max-width: 42rem;">+Turn any book or document into a structured, on-demand agent skill — named frameworks, decision rules, and anti-patterns. <strong>Structure, not a summary.</strong>+</p>++[Get started](guide.md){ .md-button .md-button--primary }+[Skill reference](skill-reference.md){ .md-button }+[GitHub](https://github.com/virgiliojr94/book-to-skill){ .md-button }++---++## Why book-to-skill++<div class="grid cards" markdown>++- :material-file-document-multiple:{ .lg .middle } __Multi-format__++ ---++ PDF, EPUB, DOCX, HTML, Markdown, RTF, MOBI/AZW (via Calibre). Extraction runs+ locally with graceful stdlib fallbacks — no upload, no lock-in.++- :material-brain:{ .lg .middle } __Structure, not summaries__++ ---++ Named frameworks, mental models, decision rules, and anti-patterns — the+ author's toolkit, captured with their exact terms, not a book report.++- :material-flash:{ .lg .middle } __On-demand chapters__++ ---++ Per-chapter files load only when the topic is relevant, so a 200-page book+ costs tokens proportional to the question, not the page count.++- :material-robot-happy:{ .lg .middle } __Multi-agent__++ ---++ One `SKILL.md` runs on Claude Code, GitHub Copilot CLI, and Amp through the+ open Agent Skills standard.++</div>++## Install++```bash+pip install book-to-skill # the extractor package+# or run the skill in your agent:+/book-to-skill /path/to/book.pdf [skill-name]+```++## Learn more++<div class="grid cards" markdown>++- :material-sitemap:{ .lg .middle } __[Architecture](ARCHITECTURE.md)__++ ---++ How the deterministic extractor and the spec-driven generator fit together.++- :material-speedometer:{ .lg .middle } __[Performance](PERFORMANCE.md)__++ ---++ The measured Discovery Loop Tax and real per-conversion token cost.++- :material-book-open-page-variant:{ .lg .middle } __[Skill Reference](skill-reference.md)__++ ---++ The full `SKILL.md` spec: every step, depth budget, and quality rule.++- :material-heart:{ .lg .middle } __[Sponsor](https://github.com/sponsors/virgiliojr94)__++ ---++ book-to-skill is free and MIT. Sponsoring funds reviews, releases, and fixes.++</div>diff --git a/mkdocs.yml b/mkdocs.ymlindex ee4f3c5..da1db1f 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -5,43 +5,64 @@ repo_url: https://github.com/virgiliojr94/book-to-skillrepo_name: virgiliojr94/book-to-skilledit_uri: ""-# Home (index.md) and Skill Reference (skill-reference.md) are assembled at build-# time from the repo-root README.md and SKILL.md by the deploy workflow, so the-# docs stay single-source — there is no duplicated copy committed to git.-# See .github/workflows/deploy-docs.yml.+# index.md is a committed landing page. Guide (README.md) and Skill Reference+# (SKILL.md) are assembled from the repo root at build time, so prose docs stay+# single-source. See .github/workflows/deploy-docs.yml.theme:name: material+ icon:+ logo: material/book-open-variant+ repo: fontawesome/brands/githubpalette:- media: "(prefers-color-scheme: light)"scheme: defaultprimary: deep purple+ accent: deep purpletoggle:icon: material/weather-nightname: Switch to dark mode- media: "(prefers-color-scheme: dark)"scheme: slateprimary: deep purple+ accent: deep purpletoggle:icon: material/weather-sunnyname: Switch to light modefeatures:- - navigation.top+ - navigation.tabs- navigation.sections+ - navigation.instant+ - navigation.top+ - navigation.footer+ - toc.follow- content.code.copy+ - content.code.annotate- search.suggest- search.highlightnav:- Home: index.md+ - Guide: guide.md- Architecture: ARCHITECTURE.md- Performance: PERFORMANCE.md- Skill Reference: skill-reference.mdmarkdown_extensions:- admonition+ - attr_list+ - md_in_html- tables- - pymdownx.highlight- - pymdownx.superfences+ - pymdownx.emoji:+ emoji_index: !!python/name:material.extensions.emoji.twemoji+ emoji_generator: !!python/name:material.extensions.emoji.to_svg+ - pymdownx.highlight:+ anchor_linenums: true+ - pymdownx.inlinehilite+ - pymdownx.superfences:+ custom_fences:+ - name: mermaid+ class: mermaid+ format: !!python/name:pymdownx.superfences.fence_code_format- toc:permalink: true