udocument

Rewrite and edit codebase documentation to remove stale content and enforce structured writing rules.

47|12|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/btseytlin/ultrapack --skill udocument
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: udocument
Source: https://github.com/btseytlin/ultrapack/tree/main/plugins/up/skills/udocument
Command: npx skills add https://github.com/btseytlin/ultrapack --skill udocument

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps project and code documentation accurate, concise, and actionable by enforcing a consistent style that leads with why, removes stale content, and prefers readable lists over brittle tables.

Core Features & Use Cases

  • Documentation-first enforcement: Applies to README/docs, SKILL.md entries, CLAUDE.md/AGENTS.md guidance, docstrings, and inline comments.
  • Consistency and readability rules: Lead with the why, prefer lists, stay terse, and ensure content is concrete and non-aspirational.
  • Staleness control: Detects and removes documentation that no longer matches behavior instead of preserving misleading notes.

Quick Start

Use udocument to rewrite the repository’s README.md so it leads with the why, answers the four project-doc questions, stays under 200 lines, and removes any stale or aspirational claims.

Frequently Asked Questions about udocument

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

FAQPage Schema
How do I clean up stale content in technical documentation?

To clean up stale content in technical documentation, apply structured writing rules that detect and delete outdated statements misaligned with the current codebase. This enforces consistency by removing misleading notes and ensuring only accurate, behavior-matching guidance remains.

What is the best way to write maintainable docstrings and README files?

The best way to write maintainable docstrings and README files is to lead with the why, prefer readable lists over brittle tables, and stay terse. This ensures project documentation remains accurate, concise, and actionable during ongoing development.

Can I use a style guide to enforce consistent technical writing across project docs?

Yes, you can enforce a consistent style guide across project docs, SKILL.md instructions, and agent guidance files. Applying rules like leading with the why and using concrete guidance ensures all technical writing remains structured and non-aspirational.

How do I rewrite a README to remove aspirational claims?

To rewrite a README and remove aspirational claims, enforce structured writing rules that require concrete, terse guidance and delete outdated content. Leading with the why ensures the documentation answers the four project-doc questions accurately under 200 lines.

When should I not use automated documentation cleanup?

You should avoid automated documentation cleanup when your codebase is rapidly changing without corresponding updates to inline comments or docstrings. If behavior is not yet stable, detecting and removing stale content might accidentally delete useful, temporary guidance.