🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ai-coder

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ai-coder

A CLI to aid you in your day to day coding tasks.

0.0.8
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

AI-Coder

AI-Coder is a command-line tool that uses AI to generate commit messages and pull request titles and bodies.

Installation

Get an OpenAI API key and set it as an environment variable called OPENAI_API_KEY.

Add to your package.json your configuration for the AI-Coder to generate PRs. For example, the configuration for this repo looks like this:

{
  "ai": {
    "repo": {
      "baseBranch": "main",
      "owner": "jacob-ebey",
      "name": "ai-coder"
    }
  }
}
npm install ai-coder

Usage

ai-coder <command>

Commands

  • commit: Commit staged changes with an AI generated commit message
  • pr: Generate a pull request with an AI generated title and body

Arguments

  • --help: Display help

Keywords

ai

FAQs

Package last updated on 27 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts