Back to Marketplace
30-day free campaign

Run this helper free — no credit card

Every helper is free for 30 days. Answer 3 questions and get the full result in 2 minutes.

Start free →
FREE
Scanned
Grow Business

langdocx

Specialist skill for authoring long-form technical documents (50-200 pages). Features automated directory structure generation, multi-file merging, and character count validation to ensure documents meet length requirements.

👁 1 views · 📦 0 installs

Install in one line

mfkvault install langdocx

Requires the MFKVault CLI. Prefer MCP?

New skill
No reviews yet
New skill
🤖 Claude Code Cursor💻 Codex🦞 OpenClaw
This helper was discovered by MFKVault crawlers from public sources. Original author retains all rights. To request removal: [email protected]
Community helper
This helper was discovered by MFKVault crawlers from public sources. MFKVault does not create, maintain, or guarantee the output of this helper. Results are AI-generated and may be incomplete, inaccurate, or outdated. Use at your own risk. Original author retains all rights. Request removal
FREE

Free to install — no account needed

Copy the command below and paste into your agent.

Instant access • No coding needed • No account needed

What you get in 5 minutes

  • Full skill code ready to install
  • Works with 4 AI agents
  • Lifetime updates included
SecureBe the first
Ready to run

Run this helper

Answer a few questions and let this helper do the work.

Advanced: use with your AI agent

Description

--- name: langdocx description: Specialist skill for authoring long-form technical documents (50-200 pages). Features automated directory structure generation, multi-file merging, and character count validation to ensure documents meet length requirements. license: Apache-2.0 compatibility: "Run with Bun. Requires Pandoc." metadata: version: "3.0" author: "IUMM" --- # langdocx This skill transforms the workspace into a professional **Technical Document Factory**. It provides a structured workflow for generating massive DOCX deliverables, with character count validation to ensure documents meet length requirements. ## Best Practices & Agent Strategies * **Subagent Concurrency**: When generating large-scale content, use subagents to draft multiple `content.md` files in parallel to maximize throughput and maintain consistent detail across chapters. * **Progressive Drafting**: Start with a detailed `structure.json`, then initialize the folders, and systematically fill the sections. * **Pathing**: Always run scripts relative to the skill root if possible, or use the full path provided in the examples. ## Key Patterns ### Scenario 1: Authoring Long Technical Documents Use this workflow when the user asks to "write a long-form document". 1. **Analyze & Design**: * Review requirements. * Create a JSON structure plan (list of chapters/sections). 2. **Initialize Structure**: * Create a file `structure.json` defining the hierarchy. * **Naming rule**: Use semantic names **without** sorting prefixes in `structure.json` (e.g., `Project_Overview`, `Technical_Framework`, not `01_Project_Overview`). * Run: `bun run scripts/init_structure.ts structure.json <target_dir>` * *Result*: The script auto-generates prefixed folders (e.g., `01_Project_Background/01_Industry_Trends/content.md`). 3. **Draft & Fill Placeholders**: * **Folder-Driven Content**: Use folder names as titles. Keep semantic names in planning files, and rely on `init_structure.ts` to add sortable prefixes on disk. * **Strict Purity**: `content.md` should contain **absolutely no `#` headers**. All structure is driven 100% by the folder hierarchy. * Replace **all** `<!-- content placeholder -->` in the generated `content.md` files with detailed technical descriptions. * **Writing Style (Human-Centric)**: strictly avoid fragmented bullet points or summarized lists. Use full paragraphs with logical transitions and descriptive language. Avoid repetitive transition words like "Finally" or "Furthermore". * Use `bun run scripts/check_stats.ts --md <target_dir> [min-chars]` frequently to monitor the estimated character and page counts during drafting. Optionally specify minimum character count to check if document meets length requirements. 4. **Merge, Build & Validate**: * Build the document: `bun run scripts/md2docx.ts all --pkg-root <dir> --name "Project Name" --author "Your Name"` * **Prefix normalization**: `md2docx.ts` keeps prefixed folders for deterministic traversal order, then automatically removes those prefixes from final headings. * **Final Verification**: * Run `bun run scripts/check_stats.ts --md <target_dir> <min_chars>` to verify character count meets the minimum requirement. * **Constraint Loop**: If the document is too short or lacks detail, identify thin chapters, expand their `content.md`, and rebuild until the character count validation passes. ## Tools & Scripts ### `scripts/init_structure.ts` Scaffolds the project folder. - **Input**: `structure.json` (Recursive node array, names without numeric prefixes) - **Output**: Prefixed directories (`01_`, `02_`, ...) and `content.md` files. ### `scripts/md2docx.ts` ⭐ UNIFIED WORKFLOW TOOL Complete Markdown to DOCX pipeline. - **Modes**: `all`, `merge`, `convert`. - **Features**: Dynamic configuration, smart merging, hierarchical file collection, and heading prefix cleanup on merge. - **Dependency**: Requires `pandoc` and a reference document via `--template`. ### `scripts/check_stats.ts` ⭐ UNIFIED ANALYSIS TOOL Document statistics and character count validation. - **Usage**: - `bun run check_stats.ts --md <dir> [min-chars]` - Analyze Markdown files, optionally check against minimum character count threshold. - `bun run check_stats.ts <dir> [min-chars]` - Default mode, analyzes Markdown with optional character count validation. - **Features**: - Character count and placeholder detection for Markdown. - Returns exit code 0 on success, 1 on failure (useful in CI/CD pipelines).

Preview in:

Security Status

Scanned

Passed automated security checks

Time saved
How much time did this skill save you?

Related AI Tools

More Grow Business tools you might like

codex-collab

Free

Use when the user asks to invoke, delegate to, or collaborate with Codex on any task. Also use PROACTIVELY when an independent, non-Claude perspective from Codex would add value — second opinions on code, plans, architecture, or design decisions.

Run free

Rails Upgrade Analyzer

Free

Analyze Rails application upgrade path. Checks current version, finds latest release, fetches upgrade notes and diffs, then performs selective upgrade preserving local customizations.

Run free

Asta MCP — Academic Paper Search

Free

Domain expertise for Ai2 Asta MCP tools (Semantic Scholar corpus). Intent-to-tool routing, safe defaults, workflow patterns, and pitfall warnings for academic paper search, citation traversal, and author discovery.

Run free

Hand Drawn Diagrams

Free

Create hand-drawn Excalidraw diagrams, flows, explainers, wireframes, and page mockups. Default to monochrome sketch output; allow restrained color only for page mockups when the user explicitly wants webpage-like fidelity.

Run free

Move Code Quality Checker

Free

Analyzes Move language packages against the official Move Book Code Quality Checklist. Use this skill when reviewing Move code, checking Move 2024 Edition compliance, or analyzing Move packages for best practices. Activates automatically when working

Run free

Claude Memory Kit

Free

"Persistent memory system for Claude Code. Your agent remembers everything across sessions and projects. Two-layer architecture: hot cache (MEMORY.md) + knowledge wiki. Safety hooks prevent context loss. /close-day captures your day in one command. Z

Run free