write-docs

Generate and maintain project documentation from source code and git history.

9|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill write-docs-sir-chawakorn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-docs
Source: https://github.com/Sir-chawakorn/sanook-cli/tree/main/skills/write-docs
Command: npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill write-docs-sir-chawakorn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the common issue of documentation drift, where READMEs, API references, and changelogs become outdated as the codebase evolves.

Core Features & Use Cases

  • Automated README Generation: Syncs installation commands, usage flags, and configuration tables directly from source code.
  • API Reference Sync: Extracts signatures, parameters, and return types directly from your source files.
  • Changelog Automation: Parses Git commit history to generate structured release notes based on Conventional Commits.

Quick Start

Ask the agent to scan the current project structure and update the README file to reflect the latest CLI commands and configuration options.

Frequently Asked Questions about write-docs

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

FAQPage Schema
How do I automate README updates to match my codebase?

Automate README updates by scanning entrypoints, public exports, and configuration defaults from source code to sync installation commands and usage flags directly. This ensures project-facing documentation accurately reflects the current codebase without manual editing.

How does API reference synchronization from source code work?

API reference synchronization works by scanning your source files to extract function signatures, parameters, and return types directly. This process requires read access to project source files to verify technical accuracy against actual public exports.

Can I generate a changelog automatically from Git commit history?

Generate changelogs automatically by parsing Git commit history to create structured release notes based on Conventional Commits. This requires read access to git logs to verify commit signatures and map them to structured documentation.

What is the best way to prevent documentation drift in a software project?

Prevent documentation drift by synchronizing READMEs, API references, and changelogs with the actual codebase. Scanning entrypoints and git history ensures technical documentation remains accurate and aligned with evolving source code automatically.

Do I need read access to source files to sync project documentation?

Read access to project source files and git logs is required to sync project documentation. The synchronization process verifies signatures, configuration defaults, and commit history to ensure generated technical documentation remains accurate.

Why does my API reference not match the actual function signatures in my code?

API references mismatch actual function signatures due to documentation drift during codebase evolution. Extracting signatures, parameters, and return types directly from source files ensures the API reference stays synchronized with the real code.