agentsclimarketplace

Document compiler

Skill Ghostricke9/StudyAgent/skills/document-compiler

📚 一个集成 Function Call + Skills + MCP 的知识学习智能体 —— 主体完成自动搜索网页、编撰教材、生成练习题任务 | 同时可作为Agent 框架教学项目

Install
npx -y skills add Ghostricke9/StudyAgent --skill document-compiler

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

将多个章节和练习题汇编成完整教材,添加封面、目录、排版优化

SKILL.md

2.3 KB, as published. Nobody here has run it

技能:汇编最终教材

何时使用

当你已经完成所有章节的编撰和练习题的生成,需要将它们组装成一本完整、排版精良的教学教材时,调用此技能。

子资源文件

本技能目录下附带辅助资源,可按需使用:

文件用途何时使用
templates/cover.md教材封面模板组装教材时引用,生成统一的封面页
templates/style_guide.md排版风格指南统稿时参考,确保全书风格一致
scripts/word_counter.py字数统计脚本执行 python {skill_dir}/scripts/word_counter.py <file> 检查篇幅

汇编步骤

  1. 统稿:阅读所有已生成的章节,检查术语一致性

    • 同一概念在不同章节是否用了相同叫法
    • 示例代码的变量命名风格是否一致
    • 参考 templates/style_guide.md 中的规范
  2. 生成封面:为教材添加标准封面

    • 使用 templates/cover.md 中的模板
    • 填入主题名称、章节数、生成日期
  3. 组装目录:为整本教材生成目录

    • 列出所有章节标题和对应页码(可用 Markdown 锚点替代)
  4. 编排顺序:按以下顺序组装最终教材:

    封面 → 目录 → 学习路线图(如有)→ 第1章 → 练习题1
    → 第2章 → 练习题2 → ... → 附录/参考资料
    
  5. 控制篇幅:统稿后如果某章过长或过短,可以用 scripts/word_counter.py 检查并调整

输出格式

最终教材使用以下 Markdown 结构:

# [教材名称]

> **编著**: StudyHelper Agent
> **日期**: YYYY-MM-DD
> **章节**: N章 | **配套练习**: N套

---

## 目录

1. [第1章: 标题](#第1章)
   - 练习题
2. [第2章: 标题](#第2章)
   - 练习题
...

---

## 第1章: [标题]

[正文内容]

---

## 练习题: [第1章名称]

[练习题内容]

---

## 第2章: [标题]

...

完成动作

汇编完成后,使用 save_document 将完整教材保存为 Markdown 文件。

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.