long-doc-generator

Generate long-form documents with hierarchical chunking and progress tracking.

2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Throokie/claude-code-skills --skill long-doc-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: long-doc-generator
Source: https://github.com/Throokie/claude-code-skills/tree/main/skills/long-doc-generator
Command: npx skills add https://github.com/Throokie/claude-code-skills --skill long-doc-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

超长文档生成需求在工程与业务场景中普遍存在。本技能提供端到端的解决方案,支持从项目文档到商业文案再到技术规格书的结构化生成与自动化编排。

Core Features & Use Cases

  • 层级分块 (Header-Based Chunking): 按 Markdown 标题层级自动分块,保持文档结构完整性。
  • 结构化摘要 (Structured Summarization): 每完成一章生成结构化摘要,便于上下文追踪和知识迁移。
  • 进度追踪与质量审查 (Progress Tracking & Quality Review): 实时记录进度并提供质量检查清单,支持跨会话恢复。
  • Use Case: 适用于大型项目文档、技术规格书、市场研究报告的自动生成与编排。

Quick Start

Provide a high-level prompt to generate a long-form document such as a project specification or a business proposal.

Frequently Asked Questions about long-doc-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate long-form markdown documents without losing structure?

To generate long-form markdown documents without losing structure, use header-based chunking to automatically split content by Markdown title levels. This maintains hierarchical document integrity while automating large-scale documentation generation.

What is the best way to track progress when generating technical specifications?

The best way to track progress when generating technical specifications is using built-in progress tracking with structured summarization. Each completed chapter generates a structured summary, enabling context tracking and cross-session recovery.

Can I automate business proposal write-ups and still run a quality review?

Yes, you can automate business proposal write-ups with a built-in quality review. The generation process applies a quality checklist to each section, ensuring scalable and consistent output across the entire proposal.

How does structured summarization work for multi-section reports?

Structured summarization for multi-section reports works by generating an automatic summary after completing each hierarchical chunk. This ensures context is preserved across chapters, supporting knowledge migration and consistent large-scale document generation.

When should I avoid automated large-scale documentation generation?

You should avoid automated large-scale documentation generation when your input lacks clear Markdown header levels required for hierarchical chunking, or when your project documentation does not benefit from structured multi-section report generation.