Skip to content
cccskills
FreePublished on GitHub

documentation-generator

Auto-generate documentation for code, APIs, databases, and projects. Use when the user asks about generating README files, API docs, code documentation, JSDoc/docstrings, or project documentation.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5 stars(GitHub 5 + cccskills 0)
Works withPostgreSQL

Run score Not tested

See how to install

Files included (1)

  • SKILL.md5.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Documentation Generator

README Template

# Project Name

One-line description of what this project does.

## Features

- Feature 1
- Feature 2
- Feature 3

## Quick Start

### Prerequisites

- Node.js 20+
- PostgreSQL 16

### Installation

```bash
git clone https://github.com/user/repo
cd repo
npm install

Setup

cp .env.example .env
# Edit .env with your configuration
npm run db:migrate
npm run dev

Usage

# Development
npm run dev

# Build
npm run build

# Test
npm run test

API Reference

MethodEndpointDescription
GET/api/usersList all users
POST/api/usersCreate user
GET/api/users/:idGet user by ID

Configuration

VariableDescriptionDefault
PORTServer port3000
DATABASE_URLDatabase connection-
LOG_LEVELLogging levelinfo

Contributing

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

License

MIT


## JSDoc (TypeScript/JavaScript)

```typescript
/**
 * Calculates the total price including tax.
 * 
 * @param items - Array of items with price property
 * @param taxRate - Tax rate as decimal (e.g., 0.1 for 10%)
 * @returns Total price including tax, rounded to 2 decimal places
 * @throws {Error} If items array is empty
 * @example
 * ```ts
 * const total = calculateTotal([{ price: 10 }, { price: 20 }], 0.1);
 * // Returns 33
 * ```
 */
function calculateTotal(items: Array<{ price: number }>, taxRate: number): number {
  if (items.length === 0) throw new Error('Items cannot be empty');
  const subtotal = items.reduce((sum, item) => sum + item.price, 0);
  return Math.round(subtotal * (1 + taxRate) * 100) / 100;
}

/**
 * User authentication result.
 * @property success - Whether authentication succeeded
 * @property token - JWT token (only if success is true)
 * @property error - Error message (only if success is false)
 */
interface AuthResult {
  success: boolean;
  token?: string;
  error?: string;
}

Python Docstrings

def calculate_total(items: list[dict], tax_rate: float) -> float:
    """Calculate the total price including tax.

    Args:
        items: List of dictionaries with 'price' key.
        tax_rate: Tax rate as decimal (e.g., 0.1 for 10%).

    Returns:
        Total price including tax, rounded to 2 decimal places.

    Raises:
        ValueError: If items list is empty.

    Examples:
        >>> calculate_total([{"price": 10}, {"price": 20}], 0.1)
        33.0
    """
    if not items:
        raise ValueError("Items cannot be empty")
    subtotal = sum(item["price"] for item in items)
    return round(subtotal * (1 + tax_rate), 2)

API Documentation (OpenAPI)

openapi: 3.1.0
info:
  title: My API
  version: 1.0.0
  description: |
    API for managing users and posts.
    
    ## Authentication
    All endpoints require Bearer token authentication.
    
    ## Rate Limiting
    - 100 requests per minute
    - 429 status code when exceeded

paths:
  /users:
    get:
      summary: List users
      tags: [Users]
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            default: 20
            maximum: 100
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
      responses:
        "200":
          description: User list
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/UserList"

components:
  schemas:
    User:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
          format: email

Changelog Format

# Changelog

## [1.2.0] - 2024-01-15

### Added
- User profile customization
- Dark mode support
- Export to PDF feature

### Changed
- Improved dashboard performance
- Updated dependency versions

### Fixed
- Fixed login timeout issue
- Resolved memory leak in worker

### Removed
- Deprecated v1 API endpoints

## [1.1.0] - 2024-01-01

### Added
- Initial release features

Architecture Decision Record

# ADR-001: Use PostgreSQL as Primary Database

## Status: Accepted

## Context
We need a relational database that supports:
- Complex queries and joins
- JSON storage for flexible fields
- Full-text search
- ACID compliance

## Decision
Use PostgreSQL 16 as our primary database.

## Consequences

### Positive
- Mature ecosystem with excellent tooling
- Native JSONB support
- Strong community

### Negative
- Requires more setup than SQLite
- Larger memory footprint

Documentation Best Practices

  1. Write for your audience (developer vs user)
  2. Include code examples
  3. Keep documentation near the code
  4. Use consistent formatting
  5. Document decisions, not just code
  6. Include setup instructions
  7. Version your documentation
  8. Review docs with code changes

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

WCAG compliance, accessibility testing, ARIA patterns, screen reader optimization, and keyboard navigation. Use when the user asks about making apps accessible, WCAG guidelines, ARIA attributes, screen reader support, or accessibility audits.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Generate AI music using ACE-Step 1.5 via ACE Music's free API. Use when the user asks to create, generate, or compose music, songs, beats, instrumentals, or audio tracks. Supports lyrics, style prompts, covers, and repainting. Free API, no cost.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

A continuously adaptive skill suite that empowers Clawdbot to act as a versatile coder, business analyst, project manager, web developer, data analyst, and NAS metadata scraper. It intelligently discovers free resources, adapts to user context, and ensures reliable, proven guidance across multiple domains.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

High-fidelity intelligence gathering and data assimilation. Focuses on synthesizing fragmented data into a comprehensive target operational picture.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Use when Codex needs proactive task queues, heartbeat routines, scheduled follow-up, or continuous work loops instead of waiting for prompts.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

The English summary is being prepared. Showing the original description.

ProjectZeroDays/FreeAI_AI_Inference_Workstation5Updated Sep 4, 2026

See all skills by ProjectZeroDays

Report a problem with this skill