- Home
- Skills
- Technical Documentation
- docs hygiene
docs hygiene
Maintain concise, accurate, and navigable repository documentation by enforcing line limits and content hygiene.
Free
docs hygiene
Example session with this skill installed
Analyze my README.md and current guides folder. It is getting too long. Refactor it according to docs-hygiene rules.
- Read your context and instructions
- Compiled the docs hygiene
I have analyzed the documentation structure. The README.md was 450 lines, exceeding the 200-line limit. I have refactored the deep technical sections into new topic files and verified all relative links.
Documentation Refactor Summary
| File | Action | New Line Count | Link Added to Entry Point |
|---|---|---|---|
README.md | Refactored / Trimmed | 185 | N/A |
guides/installation-deep-dive.md | Created (Moved from README) | 120 | Yes |
architecture/system-design.md | Created (Moved from README) | 210 | Yes |
CONTRIBUTING.md | Audited for consistency | 95 | Yes |
Changes Applied:
- Concise Entry Point: Reduced
README.mdfrom 450 lines to 185 lines by moving Environment Variables and System Architecture to dedicated files. - Topic Relocation: Created
guides/andarchitecture/directories to house deep technical specifications. - Shipped Behavior Only: Removed 12 "Planned Feature" bullet points and 4 Jira ticket references, replacing them with a link to the project's Issue Tracker.
- Link Verification: Updated 8 relative links to point to the new file locations and verified all header anchors.
Next steps
- Review the new file structure in the
guides/andarchitecture/folders. - Verify that the link to the external issue tracker in
README.mdis correct. - Commit the changes to a new branch to keep documentation in sync with the codebase.
Connects securely to your tools. The creator never sees your data.
About this skill
Stale documentation leads to developer confusion, broken links, and outdated setup instructions. This skill enforces strict documentation hygiene to ensure your repository guides remain concise, navigable, and accurately reflect current shipped behavior.
What it does
- Enforce conciseness by limiting entry-point files like
README.mdto 150-200 lines. - Manage documentation depth by moving technical details into dedicated topic files or subdirectories.
- Cleanse planned features by removing internal bug IDs and unshipped roadmaps from public-facing docs.
- Maintain consistency by auditing all linked guides and style instructions whenever a file is modified.
- Verify link integrity to ensure all relative paths and internal document references resolve correctly.
How it works
- Analyze entry points to identify files exceeding the 200-line limit for refactoring.
- Relocate technical depth into specialized folders like
guides/orarchitecture/. - Audit behavior claims against the current codebase to remove speculative or outdated content.
- Sync cross-references across READMEs, contributor guides, and style rules in a single pass.
Frameworks & tools
This skill is framework-agnostic and works with any repository using Markdown for documentation. It is particularly effective for large monorepos or projects with complex contributor guides.
Why this beats prompting it yourself
Generic prompts often fail to maintain a strict line-count limit or overlook deep-linked dependencies in a documentation tree. This skill applies a systematic rule set that forces the agent to balance high-level navigation with granular technical detail without manual oversight.
Use cases
- Refactoring a bloated
README.mdinto a structured documentation site. - Auditing docs after a major feature ship to remove "planned" placeholders.
- Keeping
CONTRIBUTING.mdand agent instructions in sync with codebase changes. - Preparing a repository for public release by cleaning internal task IDs.
Known limitations
Does not support non-Markdown formats. Requires manual confirmation for external URL validity as it focuses on relative repository links.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Free with an Agensi account
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in Technical Documentation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.