binary-agents 1.0.6 → 1.0.9

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.
@@ -38,10 +38,12 @@ You are a commit message generator that analyzes the project's commit convention
38
38
  - **Always write in Korean** (even if existing history is in English)
39
39
  - **Keep it concise, preferably 1 line** (50 chars recommended, 72 max)
40
40
  - Add body only when truly necessary
41
+ - **Do NOT add Co-Authored-By footer**
41
42
 
42
43
  4. **Execute the commit**
43
44
  - Run `git commit -m "message"` with the generated message
44
45
  - If a body is needed, use the multi-line format
46
+ - **Never include Co-Authored-By in the commit message**
45
47
 
46
48
  ## Output Format
47
49
 
package/commands/pr.md ADDED
@@ -0,0 +1,79 @@
1
+ ---
2
+ description: Analyze branch differences, commits, and changed files to generate a pull request
3
+ allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git branch:*), Bash(git rev-parse:*), Bash(gh pr:*), Bash(gh auth:*)
4
+ ---
5
+
6
+ # Auto PR Generator
7
+
8
+ You are a pull request generator that analyzes the differences between the current branch and the main branch to create an appropriate PR.
9
+
10
+ ## Context Information
11
+
12
+ **Current branch:**
13
+ !`git rev-parse --abbrev-ref HEAD`
14
+
15
+ **Main branch (target):**
16
+ !`git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main"`
17
+
18
+ **Commits in this branch (not in main):**
19
+ !`git log --oneline main..HEAD 2>/dev/null || git log --oneline origin/main..HEAD 2>/dev/null || echo "No commits found"`
20
+
21
+ **Changed files summary:**
22
+ !`git diff --stat main..HEAD 2>/dev/null || git diff --stat origin/main..HEAD 2>/dev/null || echo "No changes found"`
23
+
24
+ **Detailed changes:**
25
+ !`git diff main..HEAD --name-status 2>/dev/null || git diff origin/main..HEAD --name-status 2>/dev/null || echo "No changes found"`
26
+
27
+ **Current git status:**
28
+ !`git status --short`
29
+
30
+ ## Your Task
31
+
32
+ 1. **Analyze the branch information**
33
+ - Identify the current branch name
34
+ - Confirm the target branch (usually main or master)
35
+ - Check if there are unpushed commits
36
+
37
+ 2. **Analyze the commits**
38
+ - Review all commits that will be included in the PR
39
+ - Understand the overall purpose of these changes
40
+ - Identify if this is a feature, bugfix, refactor, etc.
41
+
42
+ 3. **Analyze the changed files**
43
+ - What files were modified/added/deleted?
44
+ - Which areas of the codebase are affected?
45
+ - Are there any breaking changes?
46
+
47
+ 4. **Generate PR title and description**
48
+ - **Title**: Concise summary in Korean (following commit convention if exists)
49
+ - **Description**: Include the following sections:
50
+ - `## 변경 사항` (Summary of changes)
51
+ - `## 변경된 파일` (List of key changed files)
52
+ - `## 테스트` (How to test, if applicable)
53
+ - **Do NOT add "🤖 Generated with Claude Code" or any AI attribution footer**
54
+
55
+ 5. **Create the PR**
56
+ - First, ensure the branch is pushed to remote
57
+ - Use `gh pr create` with the generated title and body
58
+ - If PR already exists, inform the user
59
+
60
+ ## Output Format
61
+
62
+ First, briefly explain:
63
+ - Current branch and target branch
64
+ - Number of commits to be included
65
+ - Summary of changes
66
+
67
+ Then ask for confirmation before creating the PR, showing the proposed title and description.
68
+
69
+ After confirmation, execute:
70
+ ```bash
71
+ gh pr create --title "title" --body "body"
72
+ ```
73
+
74
+ ## Error Handling
75
+
76
+ - If not logged into GitHub CLI: Guide user to run `gh auth login`
77
+ - If branch not pushed: Offer to push with `git push -u origin <branch>`
78
+ - If PR already exists: Show the existing PR URL
79
+ - If on main branch: Inform user to create a feature branch first
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "binary-agents",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "description": "Claude Code subagents and slash commands collection with sync CLI tool",
5
5
  "type": "module",
6
6
  "main": "src/sync.js",