tutorial-generator

Analyze recent code changes and update Tutorial.md documentation automatically.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/lawrence-swkim/samyang-ai-agent-portfolio --skill tutorial-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tutorial-generator
Source: https://github.com/lawrence-swkim/samyang-ai-agent-portfolio/tree/main/.claude/skills/tutorial-generator
Command: npx skills add https://github.com/lawrence-swkim/samyang-ai-agent-portfolio --skill tutorial-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill keeps your project tutorials in sync with the codebase by automatically analyzing recent changes and updating docs/Tutorial.md. It eliminates manual, error-prone edits and ensures the team always references up-to-date guidance.

Core Features & Use Cases

  • Change-analysis: Scans modified files to understand what was altered (functions, classes, configurations).
  • Documentation extraction: Extracts relevant details and usage patterns to populate the Tutorial.md.
  • Structured updates: Appends or updates sections like Getting Started, Recent Changes, Project Structure, Key Components, and How It Works while preserving existing content.
  • Timestamp maintenance: Updates the auto-update timestamp to reflect the latest change.
  • Use Case: After merging a feature branch, automatically refresh docs/TUTORIAL.md so onboarding and reviews reflect the new behavior.

Quick Start

Run the Tutorial Generator after code changes to automatically refresh docs/Tutorial.md with a full summary of what changed and how to use the new code.

Frequently Asked Questions about tutorial-generator

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

FAQPage Schema
How do I automatically update tutorial documentation when code changes?

Tutorial Generator analyzes recent code modifications and refreshes docs/Tutorial.md automatically. It scans changed files to extract key patterns, updates structured sections like Getting Started and Recent Changes, and maintains your existing documentation format while keeping content in sync with the codebase.

What happens when I run the tutorial generator after merging code changes?

The Skill scans modified files to identify what changed, extracts usage details and patterns, then updates docs/Tutorial.md with new sections or appends changes to existing ones. It preserves your current structure, adds an auto-update timestamp, and ensures onboarding docs reflect the latest behavior.

Can tutorial generator work with projects that don't have a Tutorial.md file?

Tutorial Generator requires a docs/Tutorial.md file to function. If your project lacks one, you'll need to create this file first. The Skill then analyzes code changes and populates it with structured sections like Project Structure, Key Components, and How It Works.

How does tutorial generator extract information from code changes?

The Skill uses file-system tools to read modified files, grep for patterns and functions, and parse changes. It identifies altered classes, functions, and configurations, then extracts relevant usage details to generate documentation entries that reflect the actual code behavior.

What file formats and project structures does tutorial generator support?

Tutorial Generator works with any project containing a docs/Tutorial.md file and source code in modifiable files. It doesn't require specific frameworks or languages—it analyzes text-based code changes and documentation, making it adaptable to diverse project structures and tech stacks.

When should I use documentation automation instead of manual tutorial updates?

Use Tutorial Generator when your team frequently merges feature branches, onboarding docs fall out of sync with code, or manual updates are error-prone. It's ideal for active projects where code changes regularly and keeping tutorials current is a maintenance burden.