yao-tutorial-skill
yao-tutorial-skill automatically generates comprehensive tutorials from a topic or provided references, complete with outlines, chapter visuals, and multi-format exports. It's ideal for "beginner to advanced" learning documents, product manuals, and educational content, ensuring professional quality and delivery.
npx skills add https://github.com/yaojingang/yao-open-skills --skill yao-tutorial-skillBefore / After Comparison
1 组Manually creating a high-quality, well-structured tutorial with integrated visuals and multi-format exports demands extensive time for research, content organization, visual design, and format conversion, a process that is tedious and error-prone.
This skill revolutionizes tutorial creation, transforming the process from topic ideation to final delivery. It drastically cuts down the extensive time previously spent on research, content structuring, and visual integration. By leveraging yao-tutorial-skill, users gain professional-grade content, consistently high-quality visuals, and automated multi-format exports, ensuring efficient production of comprehensive learning documents and teaching materials.
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, then standalone publictutorial.mdusing第1章and1.1. - 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.
- Default full tutorial length is
5000-10000Chinese characters or3500-7000English words unless requested otherwise. - 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
Yao Tutorial Skill
yao-tutorial-skill 是一个面向教程成品生产的 Skill:输入一个主题,或输入一组参考资料、网址、论文、GitHub 仓库、草稿,它会把这些信息整理成一套带来源、带大纲、带章节配图、带多格式导出的完整教程。
它适合用来做“从入门到精通”类教程、系统化学习文档、产品或技术教材、方法论手册,以及需要正式交付的长篇教学内容。
它会做什么
- 把输入归一化为
brief.json,明确主题、受众、目标、材料、格式和限制。 - 优先吸收用户给的资料;资料不足时,再补充官方文档、论文、GitHub、实践案例和高质量分享。
- 生成来源登记和证据映射,避免教程变成无依据的泛泛写作。
- 用课程设计方法重构标题和大纲,让章节既有专业体系,又能说人话。
- 写出完整教程正文,默认中文约
5000-10000字,并以正式对外成品口吻呈现。 - 为每个编号章节生成一个 HTML 可视化配图,再截图嵌入正文。
- 导出
Markdown、Word、PDF和HTML。 - 运行验证脚本,检查章节、配图、引用、截图、导出文件、页眉页脚和本地路径泄漏。
典型输出
output/
├── brief.json
├── outline.md
├── tutorial.md
├── research/
│ ├── source-register.md
│ └── evidence-map.md
├── visuals/
│ ├── visual-spec.json
│ └── index.html
├── assets/
│ └── screenshots/
└── exports/
├── tutorial.html
├── tutorial.docx
└── tutorial.pdf
关键约束
- 用户资料足够时,以用户资料为主线,不机械扩大搜索范围。
- 用户资料不足时,外部来源优先级为官方/一手来源、论文、GitHub、权威实践分享。
- 内部研究文件保留来源 ID;公开 Markdown/HTML/Word/PDF 不显示
[U1]、[X1]这类角标。 - 教程正文必须像正式出版物,不写“基于用户资料”“根据原文整理”等内部来源话术。
- 标题和大纲要面向用户利益、痛点和学习路径,避免只堆专业术语。
- 每个小节标题要对应具体大纲内容,避免反复使用“你要做的事”“检查点”等泛化标题。
- 每个编号章节都必须有一个对应视觉规格和一张嵌入配图。
- HTML 报告要使用居中内容容器、粘性目录、日期和章节跳转。
- Word/PDF 默认不保留页眉页脚,避免路径、页码和打印信息影响阅读。
主要文件
SKILL.md: Skill 入口和最小工作流references/input-adaptation.md: 输入资料优先级和补充研究逻辑references/research-sourcing.md: 来源选择和证据登记规则references/tutorial-outline-and-writing.md: 大纲与正文写作规则references/course-design-principles.md: 课程标题、大纲和内容体验设计规则references/visual-html-workflow.md: HTML 配图画板生成规则references/export-workflow.md: Word/PDF/HTML 导出规则scripts/validate_package.py: 输出包验证脚本examples/: 三套完整教程示例,包含 Markdown、HTML、Word、PDF、配图画板和验证产物
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill