textbook-writing

Write STEM frontier textbooks (Word document) based on the IMA knowledge base. Trigger: when the user mentions textbook writing, training materials, lecture notes, or a textbook and the content involves UAVs, aviation, USVs, ships, UUVs, submarines, artificial intelligence, robotics, embodied intelligence, sensing technologies, or provides a chapter framework and requests chapters written from the knowledge base. The system retrieves material from the specified knowledge base and writes textbook content according to the supplied framework, with illustrations, well-formatted tables, consistent formatting, an academic written style, and citations formatted to GB/T 7714, delivering a ready-to-use .docx file. Not applicable to: non-textbook ordinary documents; knowledge Q&A or free writing not based on the knowledge base; only organizing materials without generating textbook text.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "textbook-writing" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-82968ab6e163932c01501b347e7f50fafd4556070d383cecd5ff2a42bd9ae132. Verify the upstream source and version against https://skillhub.cn/skills/user_580d2d1c/books-for-writing before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Write STEM frontier textbooks (Word document) based on the IMA knowledge base. Trigger: when the user mentions textbook writing, training materials, lecture notes, or a textbook and the content involves UAVs, aviation, USVs, ships, UUVs, submarines, artificial intelligence, robotics, embodied intelligence, sensing technologies, or provides a chapter framework and requests chapters written from the knowledge base. The system retrieves material from the specified knowledge base and writes textbook content according to the supplied framework, with illustrations, well-formatted tables, consistent formatting, an academic written style, and citations formatted to GB/T 7714, delivering a ready-to-use .docx file. Not applicable to: non-textbook ordinary documents; knowledge Q&A or free writing not based on the knowledge base; only organizing materials without generating textbook text.

0 Downloads

Introduction source: third_party · user_580d2d1c · 1.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: textbook-writing
description: 基于 ima 知识库撰写理工前沿类教材(Word 文档)。当用户提到编写教材、教材撰写、培训教材、教学讲义、教科书,涉及无人机、航空、无人艇、船舶、无人潜航器、潜艇、人工智能、机器人、具身智能、传感技术等领域,或提供章节框架希望基于知识库内容成文、按框架撰写教材章节时触发。按用户指定的知识库检索素材,依据框架撰写,图文并茂、表格规整、格式统一、学术书面风格、GB/T 7714 引用标注,最终交付可直接使用的 .docx 文档。不适用于:非教材类的普通文档写作(论文、公众号文章、公文报告)、不基于知识库的纯知识问答或创作、仅整理知识库素材不产出教材正文。
version: 1.0.1

理工前沿类教材撰写

概述

本技能基于用户指定的 ima 知识库素材,按照用户提供的章节框架,撰写无人机、航空、无人艇、船舶、人工智能、机器人、具身智能、传感技术等领域的教材,最终交付格式统一、图文并茂、引用规范的 Word 文档(.docx),可直接用于教学培训。

你的工作方式

教材撰写遵循以下流程:

  1. 需求对齐与框架确认:明确主题、目标读者、章节框架、知识库来源
  2. 知识库检索与素材收集:按章节从用户指定的知识库检索图文素材
  3. 素材落盘与引用登记:素材整理到项目目录,登记引用来源
  4. 大纲细化(确认门):输出细化大纲(章节-知识点-配图-表格规划),用户确认后开写
  5. 分章撰写:逐章撰写,遵循学术书面风格与格式规范
  6. 配图与表格:配图(知识库原图优先 + 示意图补充)、规整表格
  7. 引用标注:GB/T 7714 顺序编码制,正文[序号]标注 + 文末参考文献表
  8. Word 文档交付:全书一致性检查后,调用 ima-doc 生成 .docx

执行细节见 references/workflow-details.md,写作规范见 references/writing-standards.md,引用规范见 references/citation-guide.md。

Phase 1:需求对齐与框架确认

开始撰写前明确以下信息,缺失的向用户确认:

  • 教材主题:面向的装备/技术领域
  • 目标读者:学员层次(操作人员、工程技术人员、院校学员等),决定内容深度
  • 章节框架:用户提供的目录;未提供时按装备教材通用结构生成(绪论→系统总体→分系统原理→关键技术→典型应用→发展趋势)并请用户确认
  • 篇幅要求:默认每章 3000~6000 字
  • 知识库来源:用户指定具体知识库(名称或文件夹)
  • 联网权限:确认知识库素材不足时是否允许互联网检索补充(默认须先经用户确认才联网)

Phase 2:知识库检索与素材收集

  1. 用 ima-knowledge skill 定位用户指定的知识库(获取 kb_id)。
  2. 按章节知识点逐项检索:search(source="kb", kb_id=...),对匹配条目用 fetch 读取全文。
  3. 同一知识点用多个关键词变体检索(如"机器人、robot、robotics"),避免漏检。
  4. 重要数据(性能参数、技术指标)多源交叉印证,矛盾时取权威来源(标准 > 官方报告 > 期刊 > 其他)。
  5. 互联网检索确认入口:知识库素材不足时,先向用户说明缺失的知识点与拟检索的关键词,经用户确认后才用 search(source="web") 补充公开资料,并如实著录。

Phase 3:素材落盘与引用登记

在 workspace 建立教材项目目录(结构见 workflow-details.md 第3节):

/sandbox/workspace/{教材名}/
├── 素材/{章节}/(含 img/ 配图原图)
├── 草稿/{章节}.md
└── 引用来源记录.md

关键动作:每次获取素材立即登记到 引用来源记录.md(编号、题名、来源、出处类型、提取要点、对应章节)。这是后续参考文献表的唯一依据,保证每个引用可溯源。

Phase 4:大纲细化(确认门)

将章节框架细化为可执行大纲并输出给用户确认,内容包含:各节核心知识点、对应素材来源、配图规划(图X-1 内容+来源)、表格规划(表X-1 内容+数据来源)、每章目标字数。

用户确认后才开始撰写;用户提出调整则修改大纲重新确认。

Phase 5:分章撰写

按确认后的大纲逐章撰写,遵循 references/writing-standards.md 的全部规范:

  • 语言:书面学术风格、客观严谨、术语首次出现标注全称+缩写(如"无人机(Unmanned Aerial Vehicle,UAV)")、全书术语统一
  • 逻辑:每节按"定义→原理→分类→应用→案例→小结"组织,知识点有承接
  • 格式:标题层级统一(章/节/小节)、图表按章编号(图X-Y、表X-Y)、正文必须用文字引用图表("如图X-Y所示")
  • 教材要素:每章末尾含"本章小结"与"思考题"(若框架要求)
  • 引用:引用处即时标注[序号],登记到引用来源记录.md

每章完成后对照 writing-standards.md 第7节审查清单自查。

Phase 6:配图与表格

配图(每节至少1幅):

  1. 优先使用知识库原图(设备照片、系统框图、原理图),导出到项目 img/ 目录。
  2. 原图缺失或质量不佳时,用 Python(matplotlib)绘制示意图(系统组成图、流程图、对比曲线),严格遵循 workflow-details.md 第6节的统一风格(中文字体、深色系、字号≥10pt、dpi≥200)。
  3. 每幅图必须有图题和来源标注。

表格:采用三线表风格;表头清晰、单位写在表头中;数据对齐、小数位一致;数据型表格注明来源;正文引用指引。

Phase 7:引用标注与参考文献

严格执行 references/citation-guide.md(GB/T 7714-2015 顺序编码制):

  • 正文按出现顺序用[序号]上标标注,同文献复用首编号
  • 文末参考文献表按编号排列,著录格式符合 GB/T 7714(专著[M]、期刊[J]、标准[S]、报告[R]、电子资源[EB/OL]等)
  • 知识库原创材料按"作者. 题名[Z]. 知识库名称, 年份"著录
  • 完成自查:正文序号与文献表一一对应、无跳号、无编造引用

Phase 8:Word 文档交付

  1. 全部章节完成后做全书一致性检查:标题层级、图表编号连续、术语统一、参考文献编号完整。
  2. 调用 ima-doc skill 将草稿转换为 Word 文档:按规范设置字体样式(正文宋体小四1.5倍行距、章标题黑体三号居中、图题表题黑体五号居中)、插入图片、表格转为三线表、参考文献置于全书末尾。
  3. 交付 .docx 文件给用户,同时保留 Markdown 草稿供后续修改。

多轮修改

用户提出修改时按需执行:

  • 单点修改:改对应章节草稿 → 重新生成 docx
  • 结构修改:更新大纲 → 重写相关章节 → 全书一致性检查 → 重新生成 docx
  • 修改后必须复查引用编号与图表编号的连续性

资源目录

  • references/workflow-details.md — 详细工作流(需求清单、检索策略、项目目录结构、大纲模板、配图实现、工作流示例)
  • references/writing-standards.md — 学术写作规范(语言、逻辑、格式、配图、表格、审查清单)
  • references/citation-guide.md — GB/T 7714 引用标注规范(正文标注规则、各类文献著录格式、自查清单)

Current listing version

1.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • 面向理工前沿高价值领域(无人机、航空、人工智能等),解决教材撰写的明确刚需
  • 功能闭环完整:从知识库检索到结构化撰写、配图、引用标注、Word交付,显著提升教学效率
Trigger Precision95/100

Highlights

  • 触发词覆盖全面(教材撰写、培训教材、教学讲义等),领域边界清晰
  • 明确排除非教材类文档写作,避免误触
Structure and Standards85/100

Areas to improve

  • 缺少 When to Use 章节与文档过长 Reported severity: Minor

    未设置独立 When to Use 章节,且主文档约450行,略长

    Recommendation: 建议增加 When to Use 章节并适当精简主文档,或拆分部分细节到引用文件

Highlights

  • 8个Phase流程清晰,含大纲确认门控,结构完整
  • 提供端到端执行示例与多轮修改机制
Execution Reliability95/100

Highlights

  • 工具调用明确(ima-knowledge、ima-doc),参数规范
  • 关键操作(联网检索)需用户确认,引用登记与编号连续性有保障
Evidence Verifiability (mean of the first four)93/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.