Skip to content

CodePal Bot

GitHub App

CodePal Bot

GitHub App

CodePal Bot

The Official CodePal Bot by CodePal.ai 🚀

CodePal provides access to dozens of coding tools that utilize AI.
We proudly introduce the official CodePal Bot, a comprehensive app that introduces CodePal's capabilities straight from your Pull Requests.

Usage

While working on a Pull Request on GitHub:

  1. Select the code you want to query with the bot.

  2. Comment with the command cp <command>
    Comment with cp <command>

  3. CodePal will comment with a suggested code, explanation, or analysis.
    You can use the suggested changes by clicking on Commit Suggestion.
    Commit Suggestion

Commands

Commands start with cp or codepal followed by the command name and additional arguments.

cp <command> <additional args or text>
codepal <command> <additional args or text>
Command Aliases Description
cp document doc, d Documents your code.
cp explain exp, e Explains your code.
cp analyze a Computes Big-Oh space and time complexity.
cp scan s Scans your code for potential vulnerabilities.
cp review r Provide a thorough code review for your code.
cp rephrase rep Rephrases your code while keeping its logic intact.
cp simplify sim Converts complex code into a more understandable version.
cp fix f Fix any issues in your code.
cp refactor ref Improve your code's readability and maintainability.
cp cheatsheet cs Shows a quick commands cheat-sheet.

For more details and full reference, visit the Commands Reference.


Try our tools for free on CodePal.ai.

More resources:

Developer

CodePal Bot is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

Report abuse