large-file-write

Write large files over 100 lines using Node.js scripts.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ythm/openyida --skill large-file-write-ythm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: large-file-write
Source: https://github.com/ythm/openyida/tree/main/yida-skills/skills/large-file-write
Command: npx skills add https://github.com/ythm/openyida --skill large-file-write-ythm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the issue of content truncation when writing large files using heredoc or shell commands.

Core Features & Use Cases

  • Avoids Shell Truncation: Writes content as a JavaScript template string, bypassing shell limitations.
  • Flexible Writing Modes: Supports three methods for writing to files, including appending and stdin mode.
  • Segmented Writing: For content over 300 lines, it can be split into multiple segments for better handling.
  • Use Case: Ideal for writing large code files, custom pages in Yida, or any scenario requiring more than 100 lines of content in a file.

Quick Start

Use the 'large-file-write' skill to write a large file by providing the file path and content.

Frequently Asked Questions about large-file-write

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

FAQPage Schema
Why does content truncation happen when writing large files with shell commands?

Content truncation happens when writing large files because shell commands like heredoc have inherent length limitations. This Skill bypasses these shell limitations by writing content as a JavaScript template string using Node.js scripting.

How do I write large code files in Node.js without content truncation?

To write large code files without content truncation, use this Skill to pass the file path and content. It utilizes Node.js scripting to handle the writing reliably, supporting content that exceeds 100 lines.

Can I append content or use stdin mode when writing large files?

Yes, you can append content or use stdin mode when writing large files. This Skill supports three flexible writing methods, including appending and stdin mode, to handle various file writing scenarios.

Does this Skill support writing files with more than 300 lines of content?

Yes, this Skill supports writing files with more than 300 lines of content. For such large files, it can split the content into multiple segments for better handling and reliable writing.

What is the best way to write custom pages in Yida that require over 100 lines?

The best way to write custom pages in Yida requiring over 100 lines is using this Skill. It bypasses shell limitations through Node.js scripting, ensuring your large code files are written without truncation.