/DocPilot

GitHub Bot for Automatic Docstring Generation

Primary LanguagePythonMIT LicenseMIT

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!