Docs starter kit

From patricio0312rev/skills · View interactive version

Docs starter kit is an AI agent skill from the GitHub repository patricio0312rev/skills. Generates comprehensive documentation templates for open-source and internal projects including README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, LICENSE, and other standard docs with suggested sections and best practices. Use when users request "create project docs", "add OSS documentation", "setup

How to use this skill

Skill file

Docs Starter Kit

Generate complete, professional documentation for any project.

Core Workflow

  1. Determine project type: OSS public, internal, library, application
  2. Select templates: Choose appropriate docs based on project type
  3. Customize content: Fill in project-specific information
  4. Add sections: Include relevant sections for the project
  5. Review completeness: Ensure all essential docs are present
  6. Format consistently: Apply consistent style and structure

Essential Documentation Files

README.md (Required)

Project overview and getting started guide

CONTRIBUTING.md (Recommended)

Guide for contributors

LICENSE (Required for OSS)

Project license

CODE_OF_CONDUCT.md (OSS Best Practice)

Community guidelines

SECURITY.md (Recommended)

Security policy and reporting

CHANGELOG.md (Recommended)

Version history

README.md Template

# Project Name

Brief description of what this project does and who it's for.

## Features

- ✨ Feature 1
- 🚀 Feature 2
- 🎯 Feature 3

## Quick Start

Clone the repository

git clone https://github.com/username/project-name.git

Install dependencies

npm install

Run development server

npm run dev

Installation

Prerequisites

Setup

  1. Clone and install:

```bash

git clone <repo>

npm install

```

  1. Configure environment:

```bash

cp .env.example .env

# Edit .env with your values

```

  1. Setup database (if applicable):

```bash

npm run db:migrate

npm run db:seed

```

  1. Start development:

```bash

npm run dev

```

Usage

Basic Example

import { something } from "project-name";

const result = something();

Advanced Usage

[More detailed examples]

Configuration

Available environment variables:

| Variable | Description | Default |

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

| API_KEY | API authentication key | - |

| PORT | Server port | 3000 |

| DATABASE_URL | Database connection | - |

Documentation

Testing

# Run all tests
npm test

# Run with coverage
npm run test:coverage

# Run specific test file
npm test path/to/test

Deployment

[Deployment instructions]

Built With

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

Acknowledgments


## CONTRIBUTING.md Template

Contributing to [Project Name]

Thank you for your interest in contributing! This document provides guidelines for contributing to this project.

Code of Conduct

This project adheres to a Code of Conduct. By participating, you are expected to uphold this code.

How Can I Contribute?

Reporting Bugs

Before creating bug reports, please check existing issues to avoid duplicates. When creating a bug report, include:

Suggesting Enhancements

Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, include:

Pull Requests

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass (npm test)
  6. Commit using conventional commits (git commit -m 'feat: add amazing feature')
  7. Push to your fork (git push origin feature/amazing-feature)
  8. Open a Pull Request

Development Setup

See README.md for initial setup instructions.

Development Workflow

# Install dependencies
npm install

# Start development server
npm run dev

# Run tests in watch mode
npm run test:watch

# Run linter
npm run lint

# Format code
npm run format

Code Style

Commit Message Format

<type>(<scope>): <description>

[optional body]

[optional footer]

Types: feat, fix, docs, style, refactor, test, chore

Testing

Documentation

Review Process

  1. Automated checks must pass (tests, linting, build)
  2. At least one maintainer approval required
  3. Address all review comments
  4. Maintainer will merge when approved

Questions?

Feel free to open an issue with your question or contact maintainer@email.com.

License

By contributing, you agree that your contributions will be licensed under the same license as the project.


## SECURITY.md Template

Security Policy

Supported Versions

| Version | Supported |

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

| 2.x.x | :white_check_mark: |

| 1.x.x | :x: |

Reporting a Vulnerability

We take security seriously. If you discover a security vulnerability, please follow these steps:

Do Not

Do

  1. Email us at security@projectname.com
  2. Include details:

What to Expect

Disclosure Policy

Security Update Process

  1. Patch is developed and tested
  2. Security advisory is prepared
  3. New version is released
  4. Advisory is published
  5. Users are notified

Best Practices

When using this project:

Known Security Considerations

[Document any known security considerations or limitations]

Security-Related Configuration

[Document security-related configuration options]


## CODE_OF_CONDUCT.md Template

Code of Conduct

Our Pledge

We pledge to make participation in our project a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Our Standards

Positive Behavior

Unacceptable Behavior

Our Responsibilities

Project maintainers are responsible for clarifying standards of acceptable behavior and will take appropriate and fair corrective action in response to unacceptable behavior.

Scope

This Code of Conduct applies within all project spaces and when representing the project or its community.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at [conduct@projectname.com]. All complaints will be reviewed and investigated promptly and fairly.

Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 2.0.


## LICENSE Templates

### MIT License

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy...


### Apache 2.0

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/


## CHANGELOG.md Template

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,

and this project adheres to Semantic Versioning.

[Unreleased]

Added

Changed

Fixed

[1.0.0] - 2024-01-15

Added

Security

[unreleased]: https://github.com/user/project/compare/v1.0.0...HEAD

[1.0.0]: https://github.com/user/project/releases/tag/v1.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.