Skillpedia
البحث29k · #9543

book-to-skill

ما الذي تفعله

تحوّل هذه المهارة المادة المكتوبة إلى قاعدة معرفة يستطيع الذكاء الاصطناعي استخدامها عند الحاجة، بدل قراءة المصدر كاملًا في كل مرة. وهي لمن يريد أن يعمل ذكاؤه انطلاقًا من كتاب أو دليل أو مجموعة مواصفات.

متى تستخدمها

  • ✓عندما تريد أن يستخدم الذكاء الاصطناعي كتابًا أو دليلًا طويلًا كمرجع عملي.
  • ✓عندما يكون لديك مجلد وثائق داخلية أو مواصفات تريد تحويلها إلى مهارة.
  • ✓عندما تريد قاموس مصطلحات وورقة مرجعية سريعة من وثيقة مصدر طويلة.

رابط المهارة

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/book-to-skill/skills/book-to-skill/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/book-to-skill/skills/book-to-skill/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“حوّل ملف PDF لإرشادات هويتنا التجارية هذا إلى مهارة فيها ملخصات للفصول وقاموس مصطلحات.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يستخرج الوكيل بنية المصدر، لا مجرد ملخص، ويبني ملفًا أساسيًا قصيرًا مع ملفات للفصول وقاموس مصطلحات وأنماط وورقة مرجعية. ثم يتحقق من النتيجة، ويتأكد من حقوق المصدر أولًا.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Book-to-Skill Converter

Turn written knowledge into an agent skill by extracting structure, not summaries.

A book is crystallized expertise: frameworks, principles, techniques that took years to develop. Read once, forgotten. The workarounds all fail — PDF search returns page numbers instead of answers, an agent handed the raw file hallucinates or drowns, reading notes rot. This skill compiles a source into a knowledge base the agent loads on demand: a small resident core, one chapter file at a time, and never the whole book again.

What it produces:

File Contents Budget
SKILL.md Core frameworks + chapter index + topic index < 4,000 tokens (resident)
chapters/chNN-*.md One summary per chapter 800–3,000 tokens, on demand
glossary.md Every significant term, alphabetized, with chapter < 1,500 tokens
patterns.md Techniques and design patterns with trade-offs < 2,000 tokens
cheatsheet.md Decision rules, thresholds, trade-off matrices < 1,200 tokens

Beyond books: anything referenced often enough to be worth memorizing — internal documentation, brand systems, standards, specs, research clusters, a folder of RFCs.


Philosophy

Extract structure, not summaries. A skill is not a book report. It is a toolkit of named frameworks, actionable principles, step-by-step techniques, anti-patterns, and the author's voice.

Preserve the author's precision. Framework names are interfaces. "The 5 Whys" is not interchangeable with "ask why a few times" — the exact formulation is what makes lookup work.

Layer depth appropriately. A thin book gets a thin skill. A book with fifteen frameworks gets chapter files and a real topic index.

Never reproduce the source at length. These are structured notes. Synthesize, compress, name — do not copy passages. See references/rights_and_provenance.md.


Modes

Mode Trigger Runs
1. Full conversion (default) One or more paths, no special instruction Steps 0–10
2. Analyze only "analyze", "just extract", "let me review first" Steps 0–3, then stop with an extraction report
3. Generate from analysis User supplies prior analysis notes Steps 4–10
4. Update / fold-in New sources + an existing compiled skill Steps 0–2, then the Update Workflow
5. Package as plugin "make it a plugin", "add it to the repo" Step 11

Mode 5 is this repository's addition. Upstream stops at a bare folder in a personal skills home; Step 11 wraps that folder in a plugin package other skills and agents can route to.


Hard rules

  1. Never convert a source the user cannot show you. No web-scraping a book, no reconstructing a title from memory. This tool converts files that are already on disk.
  2. Pre-flight the cost before generating (Step 2.5). Generation is the expensive part; the user approves it with numbers in front of them.
  3. Never dump a large source into context. Over ~50k tokens, probe with grep/sed and bounded reads (Step 2.6). Re-reading a 200-page book once per chapter costs more than everything else in this workflow combined.
  4. Validate before anyone loads it (Step 9.5). A generated skill is untrusted text that an agent will later read as instructions.
  5. Never widen the generated skill's authority. Generated frontmatter carries name and description only — no allowed-tools, no model-invocation flags.
  6. Rights before redistribution. Compiled notes from a copyrighted work are personal study notes. Packaging one as a shareable plugin requires a stated basis (Step 11).
  7. State what the skill does not cover. Every compiled skill's Scope section names its boundary, so the agent says "the source doesn't cover this" instead of improvising.

Pipeline

extract_document.py  →  analyze  →  chapter files  →  supporting files  →  SKILL.md
      (Step 2)          (Step 3)      (Step 7)          (Step 8)          (Step 9)
                                                                              ↓
                                       skill_plugin_emitter.py  ←  book_skill_validator.py
                                              (Step 11)                  (Step 9.5)

All four tools live in scripts/ and run on the standard library alone.


Run it

SKILL_ROOT=engineering/book-to-skill/skills/book-to-skill
الأسئلة الشائعة

ما أنواع الملفات التي يقرؤها؟

PDF وEPUB وDOCX وHTML وMarkdown.

هل تكتب ملخصات فقط؟

لا. تركز المهارة على الأطر والمبادئ والتقنيات، وتتضمن فحص الحقوق قبل التشغيل.

ما الملف الأساسي؟

هو ملف رئيسي قصير، أقل من نحو 4,000 رمز، يحمّله الوكيل دائمًا، بينما لا تُحمَّل ملفات الفصول إلا عند الحاجة.

التفاصيل

الوصف الأصلي من المؤلف

Use when turning a book, docs folder or spec collection (PDF, EPUB, DOCX, HTML, Markdown) into an agent skill, before summarizing it by hand. Extracts with extract_document.py, compiles chapters, glossary and cheatsheet, validates with book_skill_validator.py and enforces a rights gate.

repo: alirezarezvani/claude-skills

الشعبية

نجوم GitHub
29k
الترتيب
#9543
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة