gen-topic

Generates topic files from course materials using JSON config and Python scripts.

Updated May 23, 2026
One-click install
npx skills add https://github.com/zhyg/ai-data-eng-guide --skill gen-topic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gen-topic
Source: https://github.com/zhyg/ai-data-eng-guide/tree/main/.cursor/skills/gen-topic
Command: npx skills add https://github.com/zhyg/ai-data-eng-guide --skill gen-topic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires config.json, scripts/fetch_article.py, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of generating topic files from course materials, reducing manual effort and streamlining the organization of course content.

Core Features & Use Cases

  • Course Content Organization: Automatically creates structured topic files from course materials.
  • Efficient Workflow: Reduces the time required to organize and prepare course content.
  • Use Case: For instructors or educators looking to quickly organize and share course materials in a structured format.

Quick Start

Generate the topic files for a specific week using the command: gen-topic --week weekX.

Frequently Asked Questions about gen-topic

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

FAQPage Schema
How do I automate course material organization from PDFs into markdown files?

Automating course material organization into markdown files is achieved by parsing JSON class info and fetching article subtitles to structure PDFs into organized topic files. This workflow streamlines lecture material preparation and educational content structuring.

What is the best way to generate topic files for a specific week of course content?

Generating topic files for a specific week of course content is done by executing the command `gen-topic --week weekX`. This automatically creates an index.txt and organizes the corresponding materials into structured markdown files for that week.

Do I need Python scripts and config.json to fetch article subtitles for course content?

Yes, fetching article subtitles and retrieving course data requires specific Python scripts and a config.json file. The config.json provides necessary authentication, while the scripts handle data retrieval and automated topic generation for the educational materials.

Can I use this automated topic generation process for large-scale lecture material structuring?

Automated topic generation is suitable for educational content preparation and large-scale lecture material structuring. It efficiently parses JSON class info and organizes PDFs into markdown files, reducing the manual effort required for extensive course content organization.

Why does the PDF processing workflow require fetching article subtitles?

Fetching article subtitles is required during PDF processing to accurately map and organize the course materials into structured markdown files. This step ensures the generated topic files correctly reflect the educational content hierarchy and lecture structure.