lecture-to-hw

Generate submission-ready Markdown homework from course directories and lecture materials.

129|6|Updated May 8, 2026
One-click install
npx skills add https://github.com/vect-G/lecture-to-hw --skill lecture-to-hw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lecture-to-hw
Source: https://github.com/vect-G/lecture-to-hw/tree/main
Command: npx skills add https://github.com/vect-G/lecture-to-hw --skill lecture-to-hw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the end-to-end workflow of finishing course homework by scanning a messy course folder, extracting questions from many file formats, matching them to taught lecture methods and code, and producing concise, student-style Markdown answers that are ready to submit.

Core Features & Use Cases

  • Multi-format homework ingestion: Reads common inputs including PDF, DOCX/DOC, Markdown/TXT, HTML, notebooks, images (with OCR/vision), and archives, and flags uncertain reads instead of inventing content.
  • Lecture/code grounding: Searches lecture slides and classroom demo code using question keywords, prioritizes course terminology/formulas, and reuses runnable code/results when available.
  • Style imitation from history: Learns formatting conventions (headings, formula/table/image styles, length/detail) from existing 作业/hw*_solution/*.md without copying the content.
  • Single or parallel agent workflow: Acts as a controller to decompose tasks and optionally run up to 4 bounded subagents, then unifies edits to a single final Markdown.
  • TA-style review and confidence reporting: Checks for missed grading points, formula/numeric/logic errors, method mismatch with lectures, and “AI smell,” then outputs a confidence level (high/medium/low) plus manual review suggestions.

Quick Start

Use lecture-to-hw to complete your current homework and output a submission-ready Markdown solution.

Frequently Asked Questions about lecture-to-hw

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

FAQPage Schema
How do I generate homework solutions from mixed course files automatically?

Generating homework solutions from mixed course files automatically involves scanning course directories, extracting tasks from varied formats like PDFs and notebooks, and matching them to lecture methods to produce submission-ready Markdown answers.

Can I reuse lecture code and classroom demo results when completing my homework?

Yes, you can reuse lecture code and classroom demo results by grounding extracted questions with lecture slides and provided code, prioritizing course terminology and reproducing runnable experiment results directly in the final Markdown.

Does multi-format homework ingestion work with PDF, DOCX, HTML, and notebook images?

Multi-format homework ingestion works with PDF, DOCX, HTML, notebooks, and images using OCR or vision, flagging uncertain reads instead of inventing content to ensure accurate task extraction across varied file formats.

What is the best way to match homework questions with taught lecture methods?

The best way to match homework questions with taught lecture methods is searching lecture slides and classroom demo code using question keywords, prioritizing course terminology and formulas to align the solution with classroom instruction.

How do I maintain student formatting conventions across multiple Markdown homework submissions?

Maintaining student formatting conventions across Markdown homework submissions requires learning heading, formula, and table styles from existing historical solution files, imitating the formatting without copying the actual content.

Are there limitations when decomposing tasks for parallel solving in a multi-agent workflow?

Limitations when decomposing tasks for parallel solving include running a maximum of 4 bounded subagents, requiring a controller to unify edits into a single final Markdown, and applying a TA-style review to validate completeness and correctness.