askill
documentation-expert

documentation-expertSafety 100Repository

Documentation expert for writing professional README.md files and project documentation. Use this skill when creating or updating README files, writing API documentation, or generating project documentation with modern layout, tech stack badges, flowcharts, and comprehensive structure. Triggers on requests for (1) README creation/updates, (2) Project documentation, (3) API reference documentation, (4) Architecture documentation, (5) Contributing guides.

6 stars
1.2k downloads
Updated 2/4/2026

Package Files

Loading files...
SKILL.md

Documentation Expert

Expert in writing clean, modern, and professional project documentation following best practices.

README Structure

Organize README files with the following sections:

SectionPurpose
Title + One-linerWhat is this?
Quick StartRunning in <5 min
FeaturesWhat can I do?
ConfigurationHow to customize
API ReferenceLink to detailed docs
ContributingHow to help
LicenseLegal

Tech Stack Badges

Use shields.io badges for a modern, professional look:

![Python](https://img.shields.io/badge/Python-3.12+-3776AB?style=flat&logo=python&logoColor=white)
![FastAPI](https://img.shields.io/badge/FastAPI-009688?style=flat&logo=fastapi&logoColor=white)
![React](https://img.shields.io/badge/React-18+-61DAFB?style=flat&logo=react&logoColor=black)
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=flat&logo=typescript&logoColor=white)
![SQLite](https://img.shields.io/badge/SQLite-003B57?style=flat&logo=sqlite&logoColor=white)
![Vite](https://img.shields.io/badge/Vite-646CFF?style=flat&logo=vite&logoColor=white)
![TailwindCSS](https://img.shields.io/badge/TailwindCSS-38B2AC?style=flat&logo=tailwind-css&logoColor=white)
![Node.js](https://img.shields.io/badge/Node.js-339933?style=flat&logo=node.js&logoColor=white)
![Docker](https://img.shields.io/badge/Docker-2496ED?style=flat&logo=docker&logoColor=white)
![PostgreSQL](https://img.shields.io/badge/PostgreSQL-4169E1?style=flat&logo=postgresql&logoColor=white)
![Redis](https://img.shields.io/badge/Redis-DC382D?style=flat&logo=redis&logoColor=white)
![License](https://img.shields.io/badge/License-MIT-green?style=flat)

Badge format: https://img.shields.io/badge/{LABEL}-{MESSAGE}-{COLOR}?style=flat&logo={LOGO}&logoColor=white

README Template

# Project Name

Brief one-line description of what this project does.

![Python](https://img.shields.io/badge/Python-3.12+-3776AB?style=flat&logo=python&logoColor=white)
![License](https://img.shields.io/badge/License-MIT-green?style=flat)

## Quick Start

[Minimum steps to run the project]

### Prerequisites

- Python 3.12+
- uv package manager

### Installation

1. Clone the repository
   ```bash
   git clone https://github.com/user/repo.git
   cd repo
  1. Install dependencies

    uv sync
    
  2. Set up environment variables

    cp .env.example .env
    # Edit .env with your configuration
    
  3. Run the application

    uv run python src/main.py
    

Features

  • Feature 1: Description
  • Feature 2: Description
  • Feature 3: Description

Configuration

VariableDescriptionDefault
PORTServer port8000
DEBUGEnable debug modefalse
DATABASE_URLDatabase connection string-

Project Structure

[Brief overview of key directories and files]

Documentation

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT


## Flowchart Guidelines

Use Mermaid diagrams to visualize workflows. Place flowcharts after explaining the concept they represent.

### Application Flow Example

```mermaid
flowchart TD
    A[User Request] --> B{API Gateway}
    B --> C[FastAPI Backend]
    C --> D[(SQLite Database)]
    C --> E[External APIs]
    E --> F[Process Data]
    F --> G[Return Response]

Data Pipeline Example

flowchart LR
    A[Data Source] --> B[Fetch]
    B --> C[Transform]
    C --> D[Store]
    D --> E[Serve]

API Documentation Template

Per-Endpoint Format

## GET /api/resource/:id

Get a resource by ID.

**Parameters:**

| Name | Type | Required | Description |
|------|------|----------|-------------|
| id | string | Yes | Resource ID |

**Response:**

- `200`: Resource object
- `404`: Resource not found

**Example:**

Request:
```bash
curl -X GET http://localhost:8000/api/resource/123

Response:

{
  "id": "123",
  "name": "Example",
  "created_at": "2025-01-01T00:00:00Z"
}

## Code Comment Guidelines

### When to Comment

| Comment | Do Not Comment |
|---------|----------------|
| Why (business logic) | What (obvious) |
| Complex algorithms | Every line |
| Non-obvious behavior | Self-explanatory code |
| API contracts | Implementation details |

### Python Docstring Template

```python
def function_name(param: str) -> dict:
    """
    Brief description of what the function does.

    Args:
        param: Description of parameter

    Returns:
        Description of return value

    Raises:
        ValueError: When this error occurs

    Example:
        >>> result = function_name("input")
    """

TypeScript JSDoc Template

/**
 * Brief description of what the function does.
 *
 * @param paramName - Description of parameter
 * @returns Description of return value
 * @throws ErrorType - When this error occurs
 *
 * @example
 * const result = functionName(input);
 */

Writing Principles

PrincipleWhy
ScannableHeaders, lists, tables
Examples firstShow, do not just tell
Progressive detailSimple to Complex
Up to dateOutdated = misleading

Style Rules

  1. No emojis in documentation
  2. Use headers to organize content hierarchically
  3. Use tables for structured data (configuration, parameters)
  4. Use code blocks with language hints for syntax highlighting
  5. Use Mermaid diagrams for workflows and architecture
  6. Keep lines short for readability
  7. Use absolute paths for file references within the repository

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/11/2026

A comprehensive and highly actionable skill for generating professional project documentation. It includes structured templates for READMEs, API references, and code comments, along with specific style rules and Mermaid diagram examples.

100
95
100
95
98

Metadata

Licenseunknown
Version-
Updated2/4/2026
Publisherluuisotorres

Tags

apici-cddatabasegithub