long-artifact-driver

Purpose: Drive chaptered generation, persistence, and validation for large artifacts such as long documents, proposals, integrated design documents, and architecture reports. Suitable when models stall during proofing/transmuting or long outputs, when generating a full Markdown at once is too risky, or when you need to create a skeleton first then expand chapter by chapter while maintaining chapter state.

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 "long-artifact-driver" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-19a2f69a08f60bf6770c3bcda4e62d61a2e4624d5e2d073980cb3f905311aa6d. Verify the upstream source and version against https://skillhub.cn/skills/user_88546431/long-artifact-driver-user-88546431 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

Purpose: Drive chaptered generation, persistence, and validation for large artifacts such as long documents, proposals, integrated design documents, and architecture reports. Suitable when models stall during proofing/transmuting or long outputs, when generating a full Markdown at once is too risky, or when you need to create a skeleton first then expand chapter by chapter while maintaining chapter state.

0 Downloads

Introduction source: third_party · user_88546431 · 0.1.0 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: long-artifact-driver
description: 驱动长文档、长方案、集成设计文档、架构报告等大产物的分章生成、落盘和验证。适用于模型在 Proofing/Transmuting 或长输出阶段卡住、一次性生成完整 Markdown 风险过高、需要先创建骨架再逐章扩写并维护章节状态的任务。
slug: long-artifact-driver-user-88546431
displayName: Long Artifact Driver
version: 0.1.0
summary: 驱动长文档、长方案、架构报告等大产物按骨架和章节分步生成、落盘、验证和恢复。
tags:
- writing
- artifact
- markdown
- workflow
license: MIT

长产物驱动器

目标

使用本 skill 把“一次性生成完整长文档”改成“骨架先落盘、分章推进、每章验证、状态可恢复”的流程。

它专门解决这类痛点:

  • 前期探索正常,但最终长文档生成阶段卡在 Proofing / Transmuting。
  • 上下文已经很大,模型仍尝试一次性组织完整方案。
  • 同一轮耦合了阅读项目、架构分析、方案设计、写完整 Markdown、保存文件。
  • 用户打断并要求“先输出 Part 1 / 先写骨架”,模型仍回到长时间校对或组织状态。

本 skill 不负责项目知识沉淀;需要项目上下文时,先用 project-memory 恢复摘要,再用本 skill 写长产物。

Iron Law

禁止一次性生成完整长文档。
必须先骨架,后分章,每次只修改一个可验证章节。

读取参考

  • 需要了解状态文件和章节标记时,读取 references/artifact-schema.md。
  • 需要执行完整流程时,读取 references/workflow.md。

工作流

  1. 明确目标产物路径和目标读者。
  2. 如果任务依赖大项目上下文,先读取 .project-context/ 摘要;不要重新大范围读源码。
  3. 创建 Artifact Brief:记录痛点、目标、范围、非目标、参考材料和章节计划。
  4. 创建文档骨架:只写标题、章节标题和每章一句话摘要,总字数控制在 500 字以内。
  5. 逐章扩写:每次只扩写一个章节,默认 800-1200 字;不要顺手补全其他章节。
  6. 每章落盘后立即验证:文件存在、章节标记存在、状态更新、只改目标章节。
  7. 所有章节完成后,才做最终整理;最终整理只允许修目录、术语、交叉引用和格式,不得全文重写。

脚本

脚本只做确定性文件操作,不生成正文内容。

python3 <skill>/scripts/init_artifact.py /path/to/doc.md --title "文档标题" --chapter "背景与目标" --chapter "方案设计"
python3 <skill>/scripts/list_chapters.py /path/to/doc.md
python3 <skill>/scripts/update_chapter.py /path/to/doc.md ch-01 --status done < chapter.md
python3 <skill>/scripts/verify_artifact.py /path/to/doc.md

必须遵守

  • 不要在扩写阶段重新进行大范围项目探索。
  • 不要一次性扩写多个章节。
  • 不要删除章节标记。
  • 不要在最终整理阶段重写全文。
  • 如果发现信息不足,写入“缺口清单”,不要临时展开长探索。
  • 每次修改后必须更新章节状态并验证。

与 project-memory 的关系

  • project-memory 负责项目结构、知识图谱、会话摘要和上下文恢复。
  • long-artifact-driver 负责长产物的分块生成、章节状态和落盘验证。
  • 推荐组合:先恢复 .project-context/,再初始化长文档 artifact,然后逐章写。

停止并询问

以下情况必须暂停:

  • 用户要求一次性生成完整长文档。
  • 目标文档路径不明确。
  • 需要覆盖已有非本 skill 标记的文档。
  • 单章内容需要新增大量项目事实,超出已有 .project-context/。
  • 章节计划发生结构性变化,需要重排章节或改变产物目标。

Current listing version

0.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 针对长文档生成中的 Proofing/Transmuting 卡顿痛点,提供骨架先行、分章推进的实用流程
  • 适用于架构报告、设计文档等高频刚需场景,显著降低一次性生成风险
Trigger Precision92/100

Highlights

  • 触发词精准完整,明确覆盖长文档分章生成、落盘验证等核心场景
  • 边界清晰,有效区分于一次性生成完整文档的传统模式
Structure and Standards95/100

Highlights

  • Phase/步骤清晰,包含目标、Iron Law、工作流、脚本、必须遵守和停止条件
  • frontmatter 完整,单文件结构规范,易于理解和执行
Execution Reliability90/100

Highlights

  • 脚本来源明确,参数正确,覆盖主要异常处理
  • 不可逆操作有确认机制,状态验证和章节标记保护完善
Evidence Verifiability (mean of the first four)91/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.