writing-long-files

Community

Write large files without risk of timeouts or truncation.

AuthorRuifengFu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Handles the challenge of writing very long files that might fail or get truncated when written as a single piece.

Core Features & Use Cases

  • Segmented Writing: Writes large files in segments to avoid issues with timeouts and truncation.
  • Anchor Line Technique: Uses unique anchor lines to identify where to append content.
  • Batch Verification: Provides verification after each batch is written.
  • Writing Style Guidance: Offers guidelines for writing long-form documents for research and business reports.

Quick Start

Start by writing the first chunk of the file. Use write_file(path="long-report.md", content="First section of the document...END_OF_SECTION_1"). After writing all chunks, use patch(path="long-report.md", old_string="END_OF_SECTION_1", new_string="END_OF_SECTION_1\n\n...second section...") for subsequent sections.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-long-files
Download link: https://github.com/RuifengFu/agent-skills/archive/main.zip#writing-long-files

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.