lecture-factory

Generate or re-review widget-enhanced Quarto lecture chapters with quality gates.

Updated May 10, 2026
One-click install
npx skills add https://github.com/c-kraus/thws-skills --skill lecture-factory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lecture-factory
Source: https://github.com/c-kraus/thws-skills/tree/main/lecture-factory
Command: npx skills add https://github.com/c-kraus/thws-skills --skill lecture-factory

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

lecture-factory turns scattered raw course material or an existing .qmd chapter into a production-ready Quarto lecture, then optionally enhances it with interactive widgets, while guarding quality through structured review stages.

Core Features & Use Cases

  • End-to-end lecture production: Generates a finalized widget-ready .qmd chapter using a two-stage workflow with an explicit review checkpoint.
  • Comprehensive re-review of existing chapters: Accepts an existing .qmd path and runs multi-perspective review, accounting QA (when relevant), and a QMD quality gate without re-rendering from scratch.
  • Widget integration after approval: Identifies widget opportunities, builds the top candidates as HTML, and embeds them via .widget iframe wrappers when the user confirms.

Quick Start

Ask: "Use lecture-factory to create a complete widget-enhanced chapter from my raw notes for Kapitel 3 Rückstellungen, save it into my project outputs, and ask me for confirmation before building widgets."

Frequently Asked Questions about lecture-factory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Quarto lecture chapter from raw notes?

To create a Quarto lecture chapter from raw notes, provide your scattered course material and curriculum context. The system generates a finalized widget-ready .qmd file through a structured writing process, followed by multi-perspective quality review and a QMD quality gate.

Can I review an existing .qmd file without regenerating the entire lecture?

Yes, you can review an existing .qmd file without regenerating it. Provide the file path with review-trigger phrases to run a re-review workflow that executes multi-perspective quality checks, accounting QA, and QMD quality gate fixes in-place.

How does interactive widget integration work in Quarto lectures?

Interactive widget integration in Quarto lectures identifies widget opportunities, builds the top candidates as HTML, and embeds them via .widget iframe wrappers. This conditional widget pipeline executes only after explicit user confirmation during the workflow.

What is a QMD quality gate and when is it needed?

A QMD quality gate is a structured validation step needed when producing or re-reviewing Quarto lecture chapters. It ensures in-place QMD fixes are applied before output, maintaining curriculum consistency and document quality standards.

Does lecture-factory support accounting QA for specialized course content?

Yes, lecture-factory supports accounting QA when accounting signals are present in the course material. It runs conditional accounting QA checks alongside multi-perspective quality reviews to ensure financial curriculum accuracy.

What are the limitations of automated lecture authoring for Quarto?

Automated lecture authoring for Quarto requires explicit user confirmation before building widgets and cannot re-render existing chapters from scratch during re-review workflows. It focuses on in-place QMD fixes and structured quality checks rather than full document regeneration.