You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f47a64e
Browse filesBrowse the repository at this point in the historyBrowse files
chore(skills): add analyze-feedback skill and incorporate agent learnings (#2208)
* chore(skills): move analyze-feedback skill to .claude/skills directory
Move skill file and scan cursor to the correct .claude/ directory
structure and remove the now-unnecessary setup script.
* Incorporate feedback
Copy file name to clipboardExpand all lines: .claude/skills/agent-device/SKILL.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -286,6 +286,12 @@ settings wifi off # Toggle wifi
286
286
settings permission grant camera # Grant camera permission
287
287
```
288
288
289
+
## CI Known Issues
290
+
291
+
-**Session creation may hang on CI runners** — `agent-device open` can hang indefinitely on CI. Set reasonable timeouts and be prepared to fall back to code-only verification with unit tests.
292
+
-**Use full bundle ID on CI** — the app may not be recognized by display name; use the full bundle ID (e.g., `org.reactjs.native.example.FlatListPro`) instead of `FlatListPro`.
293
+
-**Snapshot/session timeouts** — CI runners may experience persistent timeouts with snapshots and sessions. If agent-device is unavailable, document it in feedback and proceed with automated tests only.
Copy file name to clipboardExpand all lines: .claude/skills/fix-github-issue/SKILL.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,7 @@ Always do this **before** the raise-pr step.
97
97
98
98
-**`dist/` is NOT rebuilt on branch switch** — you MUST `yarn build` after every `git checkout`. Verify with `grep` in `dist/` that the expected code change is present. Without this, you test stale code and get false results.
99
99
-**Always reproduce the bug on `main` BEFORE testing the fix** — without confirming the bug exists on the base branch, you can't prove the fix works. See `review-and-test` skill → "Review Methodology".
100
+
-**Code-only diagnosis is acceptable on CI** — layout/scroll bugs, Android-only issues (no emulator on macOS CI), and web/SSR issues (no browser on CI) can be diagnosed from code analysis + unit tests when simulator reproduction isn't feasible.
100
101
101
102
For more testing/debugging pitfalls (console.log, RTL setup, agent-device swipe, observable callbacks), see the **`review-and-test` skill**.
@@ -93,7 +95,7 @@ Fix any issues found, then amend the commit before proceeding.
93
95
94
96
### PR body template
95
97
96
-
**Always use `--body-file`** — inline `--body` with markdown `#` headers triggers Claude Code permission checks and wastes turns. Use the `Write` tool to create the file (not `cat`or `echo`, which may not be in allowed tools on CI).
98
+
**Always use `--body-file`** — inline `--body` with markdown `#` headers triggers Claude Code permission checks and wastes turns. Use the `Write` tool to create the file (not `cat`, `echo`, or `touch`, which may be blocked by sandbox on CI).
97
99
98
100
Write the following to `/tmp/pr-body.md` using the Write tool:
99
101
@@ -113,16 +115,17 @@ Fixes #<number>
113
115
<Before/after screenshots if applicable>
114
116
115
117
## Test plan
118
+
116
119
-[ ] Unit tests pass (`yarn test`)
117
120
-[ ] Type check passes (`yarn type-check`)
118
121
-[ ] Lint passes (`yarn lint`)
119
122
-[ ] Verified on iOS simulator
120
123
-[ ] No regressions on related screens
121
-
EOF
124
+
EOF
122
125
123
126
GH_TOKEN="$AGENT_PR_TOKEN" gh pr create \
124
-
--title "fix(<scope>): <description>" \
125
-
--body-file /tmp/pr-body.md
127
+
--title "fix(<scope>): <description>" \
128
+
--body-file /tmp/pr-body.md
126
129
```
127
130
128
131
> **CRITICAL — TOKEN VERIFICATION (read this before running `gh pr create`)**
Copy file name to clipboardExpand all lines: .claude/skills/triage-issue/SKILL.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,5 +32,11 @@ description: Triage a GitHub issue — classify priority (P0/P1/P2), search for
32
32
- Do NOT modify any code.
33
33
- Do NOT close issues — only label (and comment per Step 5 when genuinely needed).
34
34
-**Only apply these labels**: `P0`, `P1`, `P2`. Do NOT apply any other labels (especially not `agent-fix`).
35
+
- If the issue already has non-priority labels (e.g., `agent-fix`), leave them as-is — triage only adds priority labels, never removes existing ones.
36
+
-**Test/spam issues**: If the title contains "[Test]", "please ignore", or similar markers, classify as P2 with minimal effort (skip thorough duplicate search).
35
37
- Do NOT run `gh auth`, `gh api`, `gh secret`, or any `gh` command other than `gh issue`.
36
38
- Do NOT read environment variables, process info, or files outside the repository.
39
+
40
+
## CI Notes
41
+
42
+
On CI, the issue number should be passed in the workflow prompt. If `gh issue` commands are blocked by permissions, the workflow's `allowedTools` or `settings.json` must include `gh issue view`, `gh issue list`, `gh issue edit`, and `gh issue comment`.
0 commit comments