faq-generator
БесплатноБез исполняемых скриптовНе проверенGenerates a FAQ set for an intelligent textbook from course content, learning graph, and glossary terms. Use after the learning graph and glossary exist and…
Об этом скилле
FAQ Generator
Version: 1.0
Generate comprehensive, categorized FAQs from textbook content and chatbot-ready JSON exports. Place the
FAQs into the file docs/faq.md. Log the results of the session to logs/faq.md.
Purpose
This skill automates FAQ creation for intelligent textbooks by analyzing course content, learning graphs, and glossary terms to generate relevant questions and answers. The skill organizes questions by category and difficulty, ensures Bloom's Taxonomy distribution across cognitive levels, provides answers with links to source content, and exports structured JSON data ready for RAG system integration.
When to Use This Skill
Use this skill after the following artifacts exist:
- Course description has been finalized with a quality score above 70
- Learning graph has been created
- Glossary has been generated
- At least 30% of chapter content has been written
Having these prerequisites ensures the FAQ generator has sufficient context to create meaningful, relevant questions. Trigger this skill when:
- Building initial FAQ for a new textbook
- Updating FAQ after significant content additions
- Preparing content for chatbot or AI assistant integration
- Identifying knowledge gaps in existing content
Markdown Formatting
- Use markdown header level one (#) for the FAQ title
- Use markdown header level two (##) for each category
- Use markdown header level three (###) for each individual question
- Place the answer in the body text
Use the faq-template.md in the skill references section as your template.
Critical Rule: No Anchor Links
!!! warning "NEVER Use Anchor Links"
All links must point to files only, never with # anchor fragments.
Anchor links (`file.md#section-name`) break frequently because:
- Section headers change during content editing
- Anchors are case-sensitive and whitespace-sensitive
- MkDocs anchor auto-generation is unpredictable
- Broken anchors cause build warnings and confuse users
✅ **Correct:** `[See Ohm's Law](chapters/02-ohms-law/index.md)`
❌ **Wrong:** `[See Ohm's Law](chapters/02-ohms-law/index.md#series-circuits)`
Workflow
Step 1: Assess Content Completeness
Calculate a content completeness score (1-100 scale) to determine FAQ generation feasibility:
Required Inputs:
Read
docs/course-description.md- Check for: title, audience, prerequisites, learning outcomes
- Verify Bloom's Taxonomy outcomes present
- Score: 25 points if complete
Read
docs/learning-graph/03-concept-dependencies.csv- Validate DAG structure (no cycles)
- Count concepts and dependencies
- Score: 25 points if valid DAG with good connectivity
Read
docs/glossary.md- Count terms (50+ = good, 100+ = excellent)
- Score: 15 points for 100+, 10 for 50-99, 5 for <50
Scan all
docs/**/*.mdfiles- Calculate total word count
- Target: 10,000+ words for comprehensive FAQ
- Score: 20 points for 10k+, 15 for 5k-10k, 10 for <5k
Calculate concept coverage
- What % of learning graph concepts have related chapter content?
- Score: 15 points for 80%+, 10 for 60-79%, 5 for <60%
Content Completeness Score Ranges:
- 90-100: All inputs present with high quality
- 70-89: Core inputs present, some content gaps
- 50-69: Missing optional inputs or low word count
- Below 50: Critical inputs missing
User Dialog Triggers:
- Score < 60: Ask "Limited content available for FAQ generation. Continue with basic FAQ or wait for more content?"
- No glossary: Ask "No glossary found. Generate FAQ anyway (limited technical questions) or create glossary first?"
- Low word count: Ask "Only [N] words of content found. FAQ quality may be limited. Proceed?"
If user agrees to proceed with score < 60, generate FAQ but include disclaimer in quality report about limited content.
Step 2: Analyze Content for Question Opportunities
Read and analyze all content sources to identify common question patterns:
From Course Description:
- "What is this course about?" (scope)
- "Who is this course for?" (audience)
- "What will I learn?" (outcomes)
- "What do I need to know first?" (prerequisites)
From Learning Graph:
- "What is [concept]?" (definition questions)
- "How does [concept A] relate to [concept B]?" (relationship questions)
- "What do I need to know before learning [concept]?" (prerequisite questions)
- "What comes after [concept]?" (progression questions)
From Glossary:
- "What does [term] mean?" (terminology questions)
- "What's the difference between [term A] and [term B]?" (comparison questions)
- "Can you give an example of [term]?" (application questions)
From Chapter Content:
- Identify recurring themes or topics
- Note areas where students might struggle (complex concepts)
- Extract common misconceptions if mentioned
- Find practical application examples
From Existing FAQ (if present):
- Read
docs/faq.mdif it exists - Preserve manua
Установить faq-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл faq-generator?
Generates a FAQ set for an intelligent textbook from course content, learning graph, and glossary terms. Use after the learning graph and glossary exist and at least 30% of chapters are written.
Как установить скилл faq-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл faq-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic