faq-generator
This skill generates a comprehensive set of Frequently Asked Questions (FAQs) from the course description, course content, learning graphs, concept lists, MicroSims, and glossary terms to help students understand common questions and prepare content for chatbot integration. Use this skill after course description, learning graph, glossary, and at least 30% of chapter content exist.
What this skill does
# FAQ Generator
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 manually curated questions
- Merge with new generated questions
- Remove duplicates, keeping manual version when conflict
### Step 3: Generate Question Categories
Create 6 standard categories aligned with learning progression:
**1. Getting Started Questions (10-15 questions)**
Target Bloom's levels: 60% Remember, 40% Understand
- Course overview and objectives
- Prerequisites and preparation
- How to use the textbook
- Navigation and structure
- Time commitment and difficulty
**2. Core Concept Questions (20-30 questions)**
Target Bloom's levels: 20% Remember, 40% Understand, 30% Apply, 10% Analyze
- Key concepts from learning graph (prioritize high-centrality nodes)
- Fundamental principles
- Concept relationships and dependencies
- How concepts build on each other
**3. Technical Detail Questions (15-25 questions)**
Target Bloom's levels: 30% Remember, 40% Understand, 20% Apply, 10% Analyze
- Terminology from glossary
- Definitions and explanations
- Technical comparisons
- Specification details
**4. Common Challenges (10-15 questions)**
Target Bloom's levels: 10% Remember, 30% Understand, 40% Apply, 20% Analyze
- Difficult concepts requiring extra explanation
- Common misconceptions
- Troubleshooting scenarios
- Error resolution
**5. Best Practice Questions (10-15 questions)**
Target Bloom's levels: 10% Understand, 40% Apply, 30% Analyze, 15% Evaluate, 5% Create
- How to apply concepts effectively
- Recommended approaches
- When to use specific techniques
- Real-world applications
**6. Advanced Topics (5-10 questions)**
Target Bloom's levels: 10% Apply, 30% Analyze, 30% Evaluate, 30% Create
- Complex integrations
- Edge cases
- Performance optimization
- Future directions
### Step 4: Generate Questions and Answers
For each category, generate questions following these guidelines:
**Question Format:**
- Use level-2 headers (##)
- Write as actual questions (end with ?)
- Make questions specific and searchable
- Use terminology from glossary
- Keep questions concise (5-15 words)
**Answer Format:**
- Use a level 3 markdown header (###) for each question
- Write complete, standalone answers
- Include examples for 40% of answers
- Link to relevant sections (target: 60%+ linked)
- Target length: 100-300 words
- Use clear, direct language
- Address the question fully
**Bloom's Taxonomy Guidelines:**
**Remember:** Recall facts, terms, basic concepts
- "What is [concept]?"
- "What does [term] mean?"
- "What are the components of [system]?"
**Understand:** Explain ideas or concepts
- "How does [concept] work?"
- "Why is [concept] important?"
- "What is the difference between [A] and [B]?"
**Apply:** Use information in new situations
- "How do I [perform task]?"
- "When should I use [technique]?"
- "What's an example of [concept] in practice?"
**Analyze:** Draw connections among ideas
- "What is the relationship between [A] and [B]?"
- "How does [concept] relate to [other concept]?"
- "What are the underlying causes of [issue]?"
**Evaluate:** JRelated in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.