Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

dmccrearyот dmccreary★ 115 звёзд на GitHub17 установок в других каталогах

Об этом скилле

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:

  1. Course description has been finalized with a quality score above 70
  2. Learning graph has been created
  3. Glossary has been generated
  4. 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

  1. Use markdown header level one (#) for the FAQ title
  2. Use markdown header level two (##) for each category
  3. Use markdown header level three (###) for each individual question
  4. 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:

  1. Read docs/course-description.md

    • Check for: title, audience, prerequisites, learning outcomes
    • Verify Bloom's Taxonomy outcomes present
    • Score: 25 points if complete
  2. 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
  3. Read docs/glossary.md

    • Count terms (50+ = good, 100+ = excellent)
    • Score: 15 points for 100+, 10 for 50-99, 5 for <50
  4. Scan all docs/**/*.md files

    • Calculate total word count
    • Target: 10,000+ words for comprehensive FAQ
    • Score: 20 points for 10k+, 15 for 5k-10k, 10 for <5k
  5. 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.md if it exists
  • Preserve manua
Полный SKILL.md на GitHub

Установить faq-generator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/faq-template.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить faq-generator с