File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ description : Fix an issue and open a PR
3+ ---
4+
5+ Fix issue #$1 in this repository.
6+
7+ ## Steps
8+
9+ 1 . Read the issue: ` gh issue view $1 --comments ` .
10+ If screenshots are attached, analyse them carefully.
11+ 2 . Find the relevant files. Use Glob and Grep, read before editing.
12+ 3 . Create a branch off main: ` git checkout -b agent/ui-fix-$1 main `
13+ 4 . Implement the fix.
14+ - Use existing design tokens and utility classes, never hardcoded
15+ hex colours or pixel values.
16+ - Touch only UI/styling files. Do not change business logic,
17+ API calls, or auth.
18+ - Keep the change as small as the issue requires.
19+ 5 . Verify: ` npm run lint ` and ` npm run build ` must both pass.
20+ Fix anything you broke before continuing.
21+ 6 . Commit and push:
22+ ` git add -A && git commit -m "fix: <short description>" `
23+ ` git push -u origin HEAD `
24+ 7 . Open the PR:
25+ ` gh pr create --base main --title "fix: <short description>" --body "..." `
26+ The body must contain ` Closes #$1 ` and explain what changed and why.
27+
28+ ## Non-interactive
29+
30+ This runs in GitHub Actions. Nobody will answer questions.
31+
32+ If the issue is too ambiguous to fix safely, do NOT change code.
33+ Instead: comment on the issue explaining what's unclear, add the
34+ ` agent-needs-human ` label, and stop.
35+
36+ ## Done means
37+
38+ A pushed branch AND an open PR. Editing files without opening a PR
39+ is a failed run.
You can’t perform that action at this time.
0 commit comments