Yao Tutorial Skill
Documentsyao-tutorial-skillYao Tutorial Skill is an Agent Skill for documents published in the yaojingang/yao-open-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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 answers, link summaries, pure diagrams, or file conversion.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/yaojingang/yao-open-skills/blob/HEAD/skills/yao-tutorial-skill/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/yao-tutorial-skill, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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; createresearch/user-materials-register.mdwhen needed,research/source-register.md, andresearch/evidence-map.md. - Read
references/tutorial-outline-and-writing.mdplusreferences/course-design-principles.md; writeoutline.md, standalone publictutorial.mdusing第1章and1.1, andresearch/chapter-quality-review.md. - Read the editorial and visual references; create
visuals/visual-spec.json, then runbuild_visual_pack.pyandcapture_visuals.py. - Read
references/export-workflow.md; runexport_tutorial.pyand thenvalidate_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.pyor names the remaining warnings/failures.
References
references/input-adaptation.mdreferences/research-sourcing.mdreferences/tutorial-outline-and-writing.mdreferences/course-design-principles.mdreferences/editorial-production.mdreferences/visual-html-workflow.mdreferences/visual-board-benchmarks.mdreferences/export-workflow.mdscripts/build_visual_pack.py,scripts/capture_visuals.py,scripts/export_tutorial.py,scripts/validate_package.pytemplates/topic-brief-template.json,templates/visual-spec-template.json,templates/tutorial-style.css