Skip to content

Commit 1ee8660

Browse files
committed
chore: fix 'gh-issue' skill to not create a worktree
1 parent 8f7908f commit 1ee8660

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

.opencode/skills/gh-issue/SKILL.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,7 @@ Read the issue carefully:
2020
- **Title and body**: understand the requirement
2121
- **Labels**: determine the workflow (see Step 3)
2222

23-
## Step 2 - Create a worktree
24-
25-
Create an isolated Git worktree for this issue.
26-
27-
1. Build a short slug from the issue title:
28-
- lowercase
29-
- spaces replaced with `-`
30-
- remove non-alphanumeric characters except `-`
31-
- truncate to 50 characters
32-
2. Create branch `<user>/<slug>`.
33-
3. Create worktree under `.opencode/worktrees/<slug>`.
34-
35-
Example:
36-
37-
```bash
38-
git worktree add -b <user>/<slug> .opencode/worktrees/<slug> HEAD
39-
```
40-
41-
Report the worktree path and branch to the user.
42-
43-
## Step 3 - Route based on label
23+
## Step 2 - Route based on label
4424

4525
Inspect issue labels and choose the workflow.
4626

@@ -100,4 +80,4 @@ Ask the user whether to treat it as:
10080

10181
- Commit messages: Conventional Commits (`feat:`, `fix:`, `chore:`, `refactor:`, `test:`, `docs:`)
10282
- Always run the project's formatting command before committing (see `AGENTS.md`)
103-
- Always run the project's build command before opening a PR (see `AGENTS.md`)
83+
- Always run the project's build command before opening a PR (see `AGENTS.md`)

0 commit comments

Comments
 (0)