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: add Russian README translation (#147)
pazhiked84a9f9eb79
diff --git a/README.md b/README.mdindex 544126d..b93945f 100644--- a/README.md+++ b/README.md@@ -4,6 +4,11 @@<h1 align="center">book-to-skill</h1>+<p align="center">+ <a href="README.md"><strong>English</strong></a> ·+ <a href="README.ru.md">Русский</a>+</p>+<p align="center"><strong>Turn any technical book, document folder, or collection of sources into a unified agent skill — ready to study, reference, and use while you work in GitHub Copilot CLI, Amp, or Claude Code.</strong></p>diff --git a/README.ru.md b/README.ru.mdnew file mode 100644index 0000000..4542488--- /dev/null+++ b/README.ru.md@@ -0,0 +1,215 @@+<p align="center">+ <img src="docs/assets/banner.webp" alt="Booklin, the book-to-skill wizard" width="100%">+</p>++<h1 align="center">book-to-skill</h1>++<p align="center">+ <a href="README.md">English</a> ·+ <a href="README.ru.md"><strong>Русский</strong></a>+</p>+++> **Актуальность перевода.** Источник истины — [английский README](README.md). Этот перевод может отставать от `master`.+> Синхронизирован с EN на коммите [`903d102`](https://github.com/virgiliojr94/book-to-skill/commit/903d102fe8f67ea0fe3db7bea85eec7d8b505967) (2026-08-14).+> Чтобы увидеть drift: `git log 903d102..master -- README.md`++<p align="center">+ <strong>Превратите любую техническую книгу, папку документов или набор источников в единый agent skill — чтобы изучать, ссылаться и использовать в GitHub Copilot CLI, Amp или Claude Code.</strong>+</p>++<p align="center">+ <a href="https://github.com/virgiliojr94/book-to-skill/releases"><img src="https://img.shields.io/github/v/release/virgiliojr94/book-to-skill?style=for-the-badge&color=blueviolet" alt="Latest release"></a>+ <img src="https://img.shields.io/badge/Agent_Skills-Open_Standard-blueviolet?style=for-the-badge" alt="Agent Skills standard">+ <img src="https://img.shields.io/badge/PDF%20%E2%80%A2%20EPUB%20%E2%80%A2%20DOCX%20%E2%80%A2%20MD%20%E2%80%A2%20HTML%20%E2%80%A2%20RTF%20%E2%80%A2%20MOBI-supported-green?style=for-the-badge" alt="Formats supported">+ <img src="https://img.shields.io/badge/License-MIT-blue?style=for-the-badge" alt="MIT License">+ <a href="https://github.com/sponsors/virgiliojr94"><img src="https://img.shields.io/github/sponsors/virgiliojr94?style=for-the-badge&color=ea4aaa&logo=githubsponsors&logoColor=white" alt="Sponsor"></a>+</p>++<p align="center">+ <a href="https://trendshift.io/repositories/27038?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-27038" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/27038" alt="virgiliojr94%2Fbook-to-skill | Trendshift" width="250" height="55"/></a>+</p>++<p align="center">+ <a href="#-зачем">Зачем</a> ·+ <a href="#-что-получается">Что получается</a> ·+ <a href="#-не-только-книги">Не только книги</a> ·+ <a href="docs/how-it-works.md">How it works</a> ·+ <a href="docs/usage.md">Usage</a> ·+ <a href="docs/install.md">Install</a> ·+ <a href="docs/faq.md">FAQ</a> ·+ <a href="docs/performance.md">Performance</a> ·+ <a href="docs/architecture.md">Architecture</a> ·+ <a href="CHANGELOG.md">Changelog</a>+</p>++<p align="center">+ <strong>В 24×–51× меньше токенов</strong>, чем «залить книгу в контекст», чтобы ответить на один вопрос — на реальных книгах (<a href="docs/performance.md#the-discovery-loop-tax">как меряли</a>).+</p>++**Как это работает, в 3 шага:**++1. **Укажите** файл, папку или glob — `/book-to-skill ./my-book.pdf`+2. **Дистилляция** в skill — frameworks, decision rules, anti-patterns, per-chapter files. Структура, не «краткий пересказ».+3. **Агент грузит on demand** — `/my-book replication` читает нужную главу и отвечает по реальному содержимому, без галлюцинаций.++---++## 🤔 Зачем++<img align="right" width="200" src="docs/assets/booklin.png" alt="Booklin mascot">++Купили отличную книгу. Прочитали. Через три месяца глава 7 будто не существовала.++Обычные обходы не помогают:+- 📄 «Поищу в PDF» → список страниц, не ответы+- 🧠 «Спрошу агента про книгу» → галлюцинации или «нет содержимого»+- 📝 «Заметки по ходу» → 200-строчный файл, который больше не открываете++**book-to-skill превращает книгу в structured skill, который агент подгружает по запросу.**++После установки: `/your-book-slug replication` — агент читает нужную главу и отвечает из текста. Без галлюцинаций и копания в PDF.++Работает с хостами open [Agent Skills](https://github.com/agentskills/agentskills) — GitHub Copilot CLI, Amp, Claude Code (общий формат `SKILL.md`).++---++## 📦 Что получается++`/book-to-skill your-book.pdf` (или folder/glob) создаёт skill в директории skills агента (`~/.copilot/skills/<slug>/`, `~/.agents/skills/<slug>/`, `~/.claude/skills/<slug>/`):++| File | Purpose | Size |+|------|---------|------|+| `SKILL.md` | Core mental models + chapter index | ~4,000 tokens |+| `chapters/ch01-*.md` … | Одна глава on-demand | ~1,000 tokens each |+| `glossary.md` | Ключевые термины + refs | ~1,500 tokens |+| `patterns.md` | Techniques, algorithms, patterns | ~2,000 tokens |+| `cheatsheet.md` | Decision tables / quick rules | ~1,000 tokens |++**Chapter files on-demand** — не жрут skill budget, пока не спросите тему.++---++## 🏢 Не только книги++Имя «book», вход — любой structured prose:++- **Internal docs** — ADR, runbooks, onboarding+- **Brand & design systems** — voice, tone, principles+- **Research clusters** — papers + notes (см. update/fold-in)+- **Specs & standards** — RFCs, API contracts, compliance++Если документ часто переоткрываете — кандидат.++---++## 🧾 The Discovery Loop Tax++PDF-агент не просто читает — *навигирует*: ToC, backtrack, re-process каждый ход. book-to-skill платит structuring cost **один раз** при конверсии — **24×–51×** меньше токенов.++📊 **Методика → [docs/performance.md](docs/performance.md#the-discovery-loop-tax)**++---++## ⚙️ How it works++Две половины: deterministic Python **extractor** и spec-driven **generator** (агент следует `SKILL.md`). On-demand chapters держат loaded skill маленьким.++🔧 **Полный walkthrough → [docs/how-it-works.md](docs/how-it-works.md)**++---++## 🚀 Usage++`/book-to-skill <path|folder|glob> [skill-name]` — plus analyze-only, generate-from-analysis, and update/fold-in modes. После конверсии converter может опубликовать skill на GitHub (по умолчанию private), чтобы любой host ставил его через `npx skills add`.++▶️ **Все режимы и примеры → [docs/usage.md](docs/usage.md)**++💬 **На практике → [use cases](https://github.com/virgiliojr94/book-to-skill-use-cases)** — DevEx-книга превратилась в survey 300+ инженеров; scanned PDF, который «завис», стал [#130](https://github.com/virgiliojr94/book-to-skill/pull/130). Добавьте свой кейс: account в вашем Gist, index — one-line PR.+++---++## 📥 Install++```bash+# One command, any host:+npx skills add virgiliojr94/book-to-skill++# Or manually:+git clone https://github.com/virgiliojr94/book-to-skill.git ~/.claude/skills/book-to-skill+# (Copilot: ~/.copilot/skills/ · Amp: ~/.agents/skills/)+```++📥 **Все хосты → [docs/install.md](docs/install.md)**++---++## ❓ FAQ++❓ **Ответы → [docs/faq.md](docs/faq.md)**++---++<details>+<summary>🔧 <strong>Requirements</strong></summary>++Extractor пробует tools по порядку. Check: `python3 scripts/extract.py --check`++**PDF — по типу книги:**++| Book type | Tool | Install | Speed |+|-----------|------|---------|-------|+| Text-heavy | `pdftotext` (poppler) | `sudo apt install poppler-utils` | ⚡ |+| Text-heavy fallback | `pypdf` | `pip3 install pypdf` | ⚡ |+| Text-heavy fallback | `pdfminer.six` | `pip3 install pdfminer.six` | ⚡ |+| **Technical** | **`docling`** | `pip3 install docling` | ~1.5s/page |++> **Scanned PDFs** — сначала OCR (`ocrmypdf`), иначе пустой skill.++**EPUB / DOCX / HTML / RTF / MOBI** — см. English README tables; зависимости через pip / Calibre.++</details>++<details>+<summary>📁 <strong>Repository structure</strong></summary>++См. English README — дерево `SKILL.md`, `scripts/extractor/`, `tools/`, `docs/` без изменений.++</details>++---++## ⚖️ Copyright & fair use++book-to-skill **не** содержит книг. Converter для файлов, которые вы уже имеете право читать.++- Processing **local**+- Своя копия / company docs+- Output = structured notes, не reproduction+- **Не** redistributе skills чужих copyrighted books++---++## 💖 Sponsors++**[Become a sponsor →](https://github.com/sponsors/virgiliojr94)** · [BACKERS.md](BACKERS.md)++## License++MIT — на converter в этом репо, **не** на книги/документы, которые вы обрабатываете.++## Star History++<a href="https://www.star-history.com/?repos=virgiliojr94%2Fbook-to-skill&type=date&legend=top-left">+ <picture>+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=virgiliojr94/book-to-skill&type=date&theme=dark&legend=top-left" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=virgiliojr94/book-to-skill&type=date&legend=top-left" />+ <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=virgiliojr94/book-to-skill&type=date&legend=top-left" />+ </picture>+</a>++---++<!-- translation-meta: source=README.md@903d102fe8f67ea0fe3db7bea85eec7d8b505967 date=2026-08-14 maintainer=@MonteNegroX -->+<sub>Russian translation synced to English README at commit <code>903d102</code> · English remains canonical · Maintainer: <a href="https://github.com/MonteNegroX">@MonteNegroX</a></sub>