Yao tutorial skill is an AI agent skill from the GitHub repository yaojingang/yao-open-skills. Create standalone beginner tutorial packages from a topic or supplied references, with adaptive research, course-style outline design, chapter visuals, and Markdown/DOCX/PDF/HTML exports. Use for textbook-like tutorials, course guides, teaching documents, or long beginner guides; not for quick answe
Claude Code: save it as .claude/skills/yao-tutorial-skill/SKILL.md
Cursor: save it as .cursor/rules/yao-tutorial-skill.md
Codex: save it as .agents/skills/yao-tutorial-skill/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Yao Tutorial Skill
Workflow
Normalize topic, audience, outcome, language, formats, user material, style references, and exclusions into brief.json.
Read references/input-adaptation.md; use user material as the spine when sufficient, then add only needed external research.
Read references/research-sourcing.md; create research/user-materials-register.md when needed, research/source-register.md, and research/evidence-map.md.
Read references/tutorial-outline-and-writing.md plus references/course-design-principles.md; write outline.md, standalone public tutorial.md using 第1章 and 1.1, and research/chapter-quality-review.md.
Read the editorial and visual references; create visuals/visual-spec.json, then run build_visual_pack.py and capture_visuals.py.
Read references/export-workflow.md; run export_tutorial.py and then validate_package.py.
Report exact failures and fallbacks. Never fabricate X posts, papers, repo details, dates, or citations.
Quality Gates
User material controls intent when strong enough; external evidence fills verification and gaps.
Public exports never show internal source IDs or reference-packet provenance.
Copy reads as a standalone formal teaching product.
Every numbered chapter has a matching visual spec and embedded visual.
Depth is governed by learning sufficiency, not a fixed word limit; continue until the learner can understand, apply, and self-check the topic.
Every numbered chapter has an independent quality review for depth, examples, practice, evidence, visual fit, and back-half consistency.
HTML uses centered report-shell; DOCX/PDF have no visible headers, footers, local paths, or print chrome.
Delivery passes scripts/validate_package.py or names the remaining warnings/failures.
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.