Skip to content

Sam-Armstrong/DocPilot

Repository files navigation

DocPilot: Enhancing Developer Workflow !

Overview 📚

This GitHub bot is designed to streamline the process of writing meaningful docstrings and maintaining good clean code. By integrating the Claude API, this bot can automatically generate informative and well-structured docstrings for your functions. Documentation is a critical aspect of code development, and this bot aims to make it easier for developers to keep their codebase well-documented and organized.

Features 📌

  • Automatic generation🚀 of docstrings for Python functions/classes.
  • Utilizes the Claude 2.0 to provide detailed and meaningful docstrings.
  • Customizable templates and style options for generated docstrings.
  • Uses linters like black, flake-8, autopep8 to clean code.
  • Integration with GitHub CI for continuous documentation improvement.

Getting Started

Prerequisites

Before using this GitHub bot, you need to have the following:

  • A GitHub repository where you want to enable the bot.
  • Python codebase with functions that need docstrings.

The Road Ahead 🛠

  • extend this to other languages like Java, JavaScript, C++
  • package this into a usable marketplace Github Action

Support and Contribution 👨‍🍳

If you encounter any issues or have suggestions for improving this GitHub bot, please open an issue in this repository. We welcome contributions from the open-source community.

License

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

Acknowledgments

This bot is powered by the Claude API, which is an excellent tool for generating high-quality docstrings. Inspiration from various open-source projects and communities that emphasize good code documentation. Thank you for using the GitHub bot for auto-generating docstrings with Claude API! Happy coding and documenting!

About

GitHub Bot for Automatic Docstring Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages