agentleFS
Sign inSign up

add-documentation

gologo13/agent-skills/skills/add-documentation/SKILL.md

Add comprehensive documentation for the current code/feature and format it according to the ...; keywords: api, architecture, error. Use only on explicit request; skip in routine implementation discussions.

Skill0 starsChanged 8 months ago
---
name: add-documentation
description: "Add comprehensive documentation for the current code/feature and format it according to the ...; keywords: api, architecture, error. Use only on explicit request; skip in routine implementation discussions."
---

# Add Documentation

## Overview

Add comprehensive documentation for the current code/feature and format it according to the project's documentation standards, including it in the appropriate location (README, docs folder, or inline comments).

## Steps

1. **Overview**
    - What this code/feature does
    - Why it exists and its purpose
    - Key concepts and terminology
2. **API Documentation**
    - Function/method signatures
    - Parameters and return values
    - Example usage with code snippets
    - Error handling and edge cases
3. **Implementation Details**
    - Architecture overview
    - Important design decisions
    - Dependencies and integrations
4. **Examples**
    - Common use cases with full examples
    - Best practices and patterns
    - Common pitfalls to avoid

## Add Documentation Checklist

- [ ] Explained what this code/feature does
- [ ] Documented why it exists and its purpose
- [ ] Defined key concepts and terminology
- [ ] Documented function/method signatures
- [ ] Documented parameters and return values
- [ ] Included example usage with code snippets
- [ ] Documented error handling and edge cases
- [ ] Provided architecture overview
- [ ] Documented important design decisions
- [ ] Included common use cases with full examples
- [ ] Documented best practices and patterns
- [ ] Documented common pitfalls to avoid

Discussion

Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.

Posts are public.Sign in to post

No one has posted yet. Be the first.