source-code-documentation-rewrite

Rewrite project documentation by extracting technical specifications from source code files.

7|1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/paxlabs-inc/ion-agent --skill source-code-documentation-rewrite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-code-documentation-rewrite
Source: https://github.com/paxlabs-inc/ion-agent/tree/main/skills/software-development/source-code-documentation-rewrite
Command: npx skills add https://github.com/paxlabs-inc/ion-agent --skill source-code-documentation-rewrite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the common issue of documentation drift, where existing manuals describe outdated, renamed, or non-existent features, ensuring your project documentation remains a reliable source of truth.

Core Features & Use Cases

  • Source-Driven Updates: Systematically rewrites documentation by analyzing actual implementation files rather than relying on potentially stale existing text.
  • Structural Integrity: Preserves existing documentation structure while updating technical claims, method signatures, and error codes.
  • Use Case: When a major refactor changes function signatures and API routes, use this Skill to scan the codebase and automatically update all relevant reference documentation to match the new implementation.

Quick Start

Use the source-code-documentation-rewrite skill to update the documentation for the core API module by reading the implementation files in the src directory.

Frequently Asked Questions about source-code-documentation-rewrite

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

FAQPage Schema
How do I update technical documentation to match refactored source code?

To fix documentation drift after renaming features, this Skill analyzes actual implementation files to rewrite outdated manuals. It resolves discrepancies by extracting current technical specifications directly from the source code, ensuring your project documentation remains a reliable source of truth.

How do I sync API reference documentation with evolving codebases automatically?

To sync API reference documentation with evolving codebases, this Skill scans your repository source files and rewrites the relevant docs. It preserves your existing documentation structure while updating technical claims, method signatures, and error codes to match the new implementation.

Does this documentation rewrite approach preserve my existing manual's structure?

Yes, this documentation rewrite approach preserves your existing manual's structure. It focuses on updating technical claims, method signatures, and error codes within the current layout rather than generating entirely new documents from scratch.

What's the best way to rewrite project manuals after a major codebase refactor?

The best way to rewrite project manuals after a major codebase refactor is using source-driven updates. This approach systematically analyzes actual implementation files rather than relying on potentially stale existing text to ensure accurate technical writing.

Do I need read access to repository source files for code documentation synchronization?

Yes, you need read access to repository source files for code documentation synchronization. This access is required for the Skill to perform comparative analysis between existing documentation and the actual implementation files before generating content.