gen-pr 2.13.0 → 2.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,20 +5,44 @@
5
5
 
6
6
  # gen-pr
7
7
 
8
- A CLI and GitHub Action that automatically generate pull requests using AI (specifically, Large Language Models or LLMs).
8
+ A CLI and GitHub Action that automatically generates pull requests using AI (specifically, Large Language Models or LLMs) from GitHub issues and pull requests.
9
9
 
10
- This tool embodies the ultimate "Vibe Coding" experience, where humans can focus solely on writing issues while AI handles all the implementation details. Our vision is to create a workflow where developers only need to describe what they want, and the AI takes care of translating those requirements into working code.
10
+ This tool delivers the ultimate "Vibe Coding" experience, allowing humans to focus solely on writing issues while AI handles all implementation details. Our vision is to create a workflow where developers only need to describe what they want, and the AI translates those requirements into working code.
11
11
 
12
12
  ## Features
13
13
 
14
- - **Planning Capability**: Uses LLM to analyze source code and develop implementation strategies before making any changes
15
- - **Multiple AI Coding Tools**: Supports various coding tools including:
14
+ - **Planning Capability**: Uses LLMs to analyze source code and develop implementation strategies before making any changes.
15
+ - **Multiple AI Coding Tools**: Supports various coding tools, including:
16
16
  - [Aider](https://aider.chat/): An interactive AI pair programming tool
17
17
  - [Codex CLI](https://github.com/openai/codex): OpenAI's coding agent
18
18
  - [Claude Code](https://github.com/anthropics/claude-code): Anthropic's agentic coding tool
19
19
  - [Gemini CLI](https://github.com/google-gemini/gemini-cli): Google's AI coding assistant
20
20
  - **Flexible Integration**: Works as both a CLI tool and a GitHub Action
21
21
 
22
+ ## Our Use Cases
23
+
24
+ Currently, we use `gen-pr` to create scaffolding pull requests. We have five different `gen-pr` workflows to generate PRs with various combinations of LLMs and coding tools.
25
+ We review the pull requests, select the best one, and then continue to write code on the PR manually. This approach has successfully reduced the amount of manually written code.
26
+ Below is an analysis report generated by [calc-ai-contrib](https://github.com/WillBooster/calc-ai-contrib) for June 2025, during the development of [Exercode](https://exercode.willbooster.com/).
27
+ `AI` indicates the amount of code written fully automatically by `gen-pr`. We are very satisfied with the results and consider the AI contribution ratio a key metric for measuring our productivity.
28
+
29
+ ```
30
+ ╔══════════════════════════════════════════════════╗
31
+ ║ CONTRIBUTION ANALYSIS REPORT ║
32
+ ╠══════════════════════════════════════════════════╣
33
+ ║ Date: 2025-06-01 to 2025-06-30 (PRs: 91) ║
34
+ ║ Total Edits: 9,925 (+6,729 / -3,196) ║
35
+ ╠══════════════════════════════════════════════════╣
36
+ ║ AI vs Human: [█████░░░░░░░░░░░░░░░░░] 24% / 76% ║
37
+ ║ Contributors: 1 AI, 6 Human ║
38
+ ╚══════════════════════════════════════════════════╝
39
+
40
+ 📊 DETAILED BREAKDOWN
41
+ ────────────────────────────────────────
42
+ 🤖 AI : [████░░░░░░░░░░░░] 24% | 2,365 Edits (+1,685 / -680)
43
+ 👥 Human: [████████████░░░░] 76% | 7,560 Edits (+5,044 / -2,516)
44
+ ```
45
+
22
46
  ## Requirements
23
47
 
24
48
  - For development:
@@ -113,6 +137,17 @@ Codex:
113
137
  npx --yes gen-pr@latest --issue-number 103 --coding-tool codex
114
138
  ```
115
139
 
140
+ ### Config File
141
+
142
+ You can create a YAML configuration file named `gen-pr.config.yml` or `gen-pr.config.yaml` in the root of your repository to set default values for options. This config file works for both CLI usage and GitHub Actions. Command-line flags (CLI) or workflow inputs (GitHub Actions) will override values in this file. For example:
143
+
144
+ ```yaml
145
+ repomix-extra-args: "--compress --remove-empty-lines --include 'src/**/*.ts'"
146
+ aider-extra-args: "--model gemini/gemini-2.5-pro --edit-format diff-fenced --no-gitignore"
147
+ coding-tool: claude-code
148
+ test-command: "yarn check-for-ai"
149
+ ```
150
+
116
151
  ### Supported Model Format
117
152
 
118
153
  The tool requires **model names defined on [llmlite](https://docs.litellm.ai/docs/providers)** in the format `provider/model-name`: