Skip to content

Commit 8405cea

Browse files
authored
fix(skills): remove --assignee @me from gh pr/issue create commands (#937)
Most contributors cannot assign PRs or issues to themselves due to repository settings. Remove the --assignee flag from skill templates to prevent gh CLI errors.
1 parent c5d5855 commit 8405cea

4 files changed

Lines changed: 1 addition & 23 deletions

File tree

.agents/skills/build-from-issue/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ Create the PR:
478478
```bash
479479
gh pr create \
480480
--title "<type>(<scope>): <short description>" \
481-
--assignee "@me" \
482481
--body "$(cat <<'EOF'
483482
> **🏗️ build-from-issue-agent**
484483

.agents/skills/create-github-issue/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ GitHub built-in issue types (`Bug`, `Feature`, `Task`) should come from the matc
114114
| `--title, -t` | Issue title (required) |
115115
| `--body, -b` | Issue description |
116116
| `--label, -l` | Add label (can use multiple times) |
117-
| `--assignee, -a` | Assign to user |
118117
| `--milestone, -m` | Add to milestone |
119118
| `--project, -p` | Add to project |
120119
| `--web` | Open in browser after creation |

.agents/skills/create-github-pr/SKILL.md

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -99,30 +99,13 @@ gh pr create --title "PR title" --body "PR description"
9999
- `refactor(models): simplify deployment logic`
100100
- `chore(ci): update Python version in pipeline`
101101

102-
## Required PR Fields
103-
104-
Every PR **must** have:
105-
106-
1. **Assignee** - Always assign to yourself
107-
108-
## Assignee and Reviewer
109-
110-
### Always Assign to Yourself
111-
112-
**Every PR must be assigned to the user creating it.** Use the `--assignee` flag:
113-
114-
```bash
115-
gh pr create --title "Title" --assignee "@me"
116-
```
117-
118102
### Link to an Issue
119103

120104
Use `Closes #<issue-number>` in the body to auto-close the issue when merged:
121105

122106
```bash
123107
gh pr create \
124108
--title "Fix validation error for empty requests" \
125-
--assignee "@me" \
126109
--body "Closes #123
127110
128111
## Summary
@@ -135,7 +118,7 @@ gh pr create \
135118
For work-in-progress that's not ready for review:
136119

137120
```bash
138-
gh pr create --draft --title "WIP: New feature" --assignee "@me"
121+
gh pr create --draft --title "WIP: New feature"
139122
```
140123

141124
### With Labels
@@ -185,7 +168,6 @@ Populate the testing checklist based on what was actually run. Check boxes for s
185168
```bash
186169
gh pr create \
187170
--title "feat(cli): add pagination to sandbox list" \
188-
--assignee "@me" \
189171
--body "$(cat <<'EOF'
190172
## Summary
191173
@@ -222,7 +204,6 @@ EOF
222204
| ------------------- | ------------------------------------------ |
223205
| `--title, -t` | PR title (use conventional commit format) |
224206
| `--body, -b` | PR description |
225-
| `--assignee, -a` | Assign to user (use `@me` for yourself) |
226207
| `--reviewer, -r` | Request review from user |
227208
| `--draft` | Create as draft (WIP) |
228209
| `--label, -l` | Add label (can use multiple times) |

.agents/skills/fix-security-issue/SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,6 @@ Create a PR that closes the security issue. Put the full fix summary in the PR d
207207
```bash
208208
gh pr create \
209209
--title "fix(security): <short description>" \
210-
--assignee "@me" \
211210
--label "topic:security" \
212211
--body "$(cat <<'EOF'
213212
> **🔧 security-fix-agent**

0 commit comments

Comments
 (0)