Documentation updater

From matteocervelli/llms · View interactive version

Documentation updater is an AI agent skill from the GitHub repository matteocervelli/llms. Update all project documentation including implementation docs, user guides, API docs, and architecture diagrams. Use when finalizing features to ensure comprehensive documentation.

How to use this skill

Skill file

Documentation Updater Skill

Purpose

Systematic guidance for updating all types of project documentation when finalizing feature implementations.

When to Use

Templates

All templates are located in templates/:

| Template | Location | Purpose |

| ------------------------ | ---------------------- | ------------------------------- |

| implementation-docs.md | docs/implementation/ | How the feature was implemented |

| user-guide.md | docs/guides/ | End-user documentation |

| api-docs.md | docs/api/ | REST API and Python docstrings |

| architecture-docs.md | docs/architecture/ | Design decisions and diagrams |

| configuration-docs.md | Various | Config, env vars, TECH-STACK |

Documentation Update Workflow

1. Implementation Documentation

When: Always required for every feature

Actions:

  1. Create doc using templates/implementation-docs.md
  2. Document solution approach and architecture
  3. Include security measures and performance optimizations
  4. List dependencies and configuration requirements

2. User-Facing Documentation

When: Feature changes user interaction

README Updates - Check if updates needed for:

User Guides - Create for complex features using templates/user-guide.md

3. API Documentation

When: REST APIs or public Python APIs added/changed

REST APIs - Use templates/api-docs.md for:

Python APIs - Update docstrings with:

4. Architecture Documentation

When: Complex features with multiple components or significant design decisions

Use templates/architecture-docs.md for:

5. Configuration Documentation

Update these files:

Use templates/configuration-docs.md for formats.

Documentation Checklist

Implementation Documentation

User Documentation

API Documentation

Architecture Documentation

Configuration Documentation

Quality Checks

Best Practices

Writing Style

Code Examples

Organization

Common Documentation Patterns

Feature Introduction

## <Feature Name>

<One-line description>

### Overview

<What it does and why>

### Quick Start

<Minimal example>

### Learn More

- [User Guide](link)
- [API Documentation](link)

Troubleshooting Pattern

### Common Issues

#### Issue: <Error message>

**Symptoms**: What the user sees
**Cause**: Why this happens
**Solution**: Steps to fix
**Prevention**: How to avoid

Integration with Deployment Flow

Input: Completed, validated feature implementation

Process: Systematic documentation of all aspects

Output: Comprehensive documentation across all types

Next Step: Changelog generation


Version: 1.0.0

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.