@codyswann/lisa 2.110.1 → 2.112.0

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.
Files changed (193) hide show
  1. package/package.json +1 -1
  2. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  3. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  4. package/plugins/lisa/commands/repair-intake.md +2 -2
  5. package/plugins/lisa/rules/config-resolution.md +2 -2
  6. package/plugins/lisa/skills/repair-intake/SKILL.md +86 -9
  7. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  8. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  9. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-expo/.mcp.json +3 -3
  12. package/plugins/lisa-expo/THIRD-PARTY-NOTICES.md +57 -0
  13. package/plugins/lisa-expo/commands/e2e-coverage-gaps.md +7 -0
  14. package/plugins/lisa-expo/commands/exploratory-qa.md +2 -2
  15. package/plugins/lisa-expo/skills/add-app-clip/SKILL.md +280 -0
  16. package/plugins/lisa-expo/skills/add-app-clip/agents/openai.yaml +4 -0
  17. package/plugins/lisa-expo/skills/add-app-clip/references/native-module.md +96 -0
  18. package/plugins/lisa-expo/skills/building-native-ui/SKILL.md +321 -0
  19. package/plugins/lisa-expo/skills/building-native-ui/agents/openai.yaml +4 -0
  20. package/plugins/lisa-expo/skills/building-native-ui/references/animations.md +220 -0
  21. package/plugins/lisa-expo/skills/building-native-ui/references/controls.md +272 -0
  22. package/plugins/lisa-expo/skills/building-native-ui/references/form-sheet.md +253 -0
  23. package/plugins/lisa-expo/skills/building-native-ui/references/gradients.md +106 -0
  24. package/plugins/lisa-expo/skills/building-native-ui/references/icons.md +213 -0
  25. package/plugins/lisa-expo/skills/building-native-ui/references/media.md +198 -0
  26. package/plugins/lisa-expo/skills/building-native-ui/references/route-structure.md +229 -0
  27. package/plugins/lisa-expo/skills/building-native-ui/references/search.md +248 -0
  28. package/plugins/lisa-expo/skills/building-native-ui/references/storage.md +121 -0
  29. package/plugins/lisa-expo/skills/building-native-ui/references/tabs.md +433 -0
  30. package/plugins/lisa-expo/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  31. package/plugins/lisa-expo/skills/building-native-ui/references/visual-effects.md +197 -0
  32. package/plugins/lisa-expo/skills/building-native-ui/references/webgpu-three.md +605 -0
  33. package/plugins/lisa-expo/skills/building-native-ui/references/zoom-transitions.md +158 -0
  34. package/plugins/lisa-expo/skills/e2e-coverage-gaps/SKILL.md +105 -0
  35. package/plugins/lisa-expo/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
  36. package/plugins/lisa-expo/skills/eas-update-insights/SKILL.md +228 -0
  37. package/plugins/lisa-expo/skills/eas-update-insights/agents/openai.yaml +4 -0
  38. package/plugins/lisa-expo/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  39. package/plugins/lisa-expo/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  40. package/plugins/lisa-expo/skills/exploratory-qa/SKILL.md +100 -93
  41. package/plugins/lisa-expo/skills/exploratory-qa/agents/openai.yaml +2 -2
  42. package/plugins/lisa-expo/skills/expo-api-routes/SKILL.md +369 -0
  43. package/plugins/lisa-expo/skills/expo-api-routes/agents/openai.yaml +4 -0
  44. package/plugins/lisa-expo/skills/expo-brownfield/SKILL.md +54 -0
  45. package/plugins/lisa-expo/skills/expo-brownfield/agents/openai.yaml +4 -0
  46. package/plugins/lisa-expo/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  47. package/plugins/lisa-expo/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  48. package/plugins/lisa-expo/skills/expo-brownfield/references/comparison.md +63 -0
  49. package/plugins/lisa-expo/skills/expo-brownfield/references/troubleshooting.md +88 -0
  50. package/plugins/lisa-expo/skills/expo-cicd-workflows/SKILL.md +92 -0
  51. package/plugins/lisa-expo/skills/expo-cicd-workflows/agents/openai.yaml +4 -0
  52. package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  53. package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/package.json +11 -0
  54. package/plugins/lisa-expo/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  55. package/plugins/lisa-expo/skills/expo-deployment/SKILL.md +190 -0
  56. package/plugins/lisa-expo/skills/expo-deployment/agents/openai.yaml +4 -0
  57. package/plugins/lisa-expo/skills/expo-deployment/references/app-store-metadata.md +479 -0
  58. package/plugins/lisa-expo/skills/expo-deployment/references/ios-app-store.md +355 -0
  59. package/plugins/lisa-expo/skills/expo-deployment/references/play-store.md +246 -0
  60. package/plugins/lisa-expo/skills/expo-deployment/references/testflight.md +58 -0
  61. package/plugins/lisa-expo/skills/expo-deployment/references/workflows.md +200 -0
  62. package/plugins/lisa-expo/skills/expo-dev-client/SKILL.md +164 -0
  63. package/plugins/lisa-expo/skills/expo-dev-client/agents/openai.yaml +4 -0
  64. package/plugins/lisa-expo/skills/expo-module/SKILL.md +141 -0
  65. package/plugins/lisa-expo/skills/expo-module/agents/openai.yaml +4 -0
  66. package/plugins/lisa-expo/skills/expo-module/references/config-plugin.md +90 -0
  67. package/plugins/lisa-expo/skills/expo-module/references/create-expo-module.md +206 -0
  68. package/plugins/lisa-expo/skills/expo-module/references/lifecycle.md +127 -0
  69. package/plugins/lisa-expo/skills/expo-module/references/module-config.md +48 -0
  70. package/plugins/lisa-expo/skills/expo-module/references/native-module.md +286 -0
  71. package/plugins/lisa-expo/skills/expo-module/references/native-view.md +171 -0
  72. package/plugins/lisa-expo/skills/expo-tailwind-setup/SKILL.md +480 -0
  73. package/plugins/lisa-expo/skills/expo-tailwind-setup/agents/openai.yaml +4 -0
  74. package/plugins/lisa-expo/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  75. package/plugins/lisa-expo/skills/expo-ui-jetpack-compose/agents/openai.yaml +4 -0
  76. package/plugins/lisa-expo/skills/expo-ui-swift-ui/SKILL.md +39 -0
  77. package/plugins/lisa-expo/skills/expo-ui-swift-ui/agents/openai.yaml +4 -0
  78. package/plugins/lisa-expo/skills/native-data-fetching/SKILL.md +507 -0
  79. package/plugins/lisa-expo/skills/native-data-fetching/agents/openai.yaml +4 -0
  80. package/plugins/lisa-expo/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  81. package/plugins/lisa-expo/skills/upgrading-expo/SKILL.md +134 -0
  82. package/plugins/lisa-expo/skills/upgrading-expo/agents/openai.yaml +4 -0
  83. package/plugins/lisa-expo/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  84. package/plugins/lisa-expo/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  85. package/plugins/lisa-expo/skills/upgrading-expo/references/native-tabs.md +124 -0
  86. package/plugins/lisa-expo/skills/upgrading-expo/references/new-architecture.md +79 -0
  87. package/plugins/lisa-expo/skills/upgrading-expo/references/react-19.md +79 -0
  88. package/plugins/lisa-expo/skills/upgrading-expo/references/react-compiler.md +59 -0
  89. package/plugins/lisa-expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  90. package/plugins/lisa-expo/skills/use-dom/SKILL.md +417 -0
  91. package/plugins/lisa-expo/skills/use-dom/agents/openai.yaml +4 -0
  92. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  93. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  94. package/plugins/lisa-harper-fabric/commands/e2e-coverage-gaps.md +7 -0
  95. package/plugins/lisa-harper-fabric/commands/exploratory-qa.md +2 -2
  96. package/plugins/lisa-harper-fabric/skills/e2e-coverage-gaps/SKILL.md +105 -0
  97. package/plugins/lisa-harper-fabric/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
  98. package/plugins/lisa-harper-fabric/skills/exploratory-qa/SKILL.md +100 -93
  99. package/plugins/lisa-harper-fabric/skills/exploratory-qa/agents/openai.yaml +2 -2
  100. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  103. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  104. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  106. package/plugins/lisa-rails/commands/e2e-coverage-gaps.md +7 -0
  107. package/plugins/lisa-rails/commands/exploratory-qa.md +2 -2
  108. package/plugins/lisa-rails/skills/e2e-coverage-gaps/SKILL.md +105 -0
  109. package/plugins/lisa-rails/skills/e2e-coverage-gaps/agents/openai.yaml +4 -0
  110. package/plugins/lisa-rails/skills/exploratory-qa/SKILL.md +100 -93
  111. package/plugins/lisa-rails/skills/exploratory-qa/agents/openai.yaml +2 -2
  112. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  113. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  114. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  115. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  116. package/plugins/lisa-wiki/templates/llm-wiki-contract.md +12 -0
  117. package/plugins/src/base/commands/repair-intake.md +2 -2
  118. package/plugins/src/base/rules/config-resolution.md +2 -2
  119. package/plugins/src/base/skills/repair-intake/SKILL.md +86 -9
  120. package/plugins/src/expo/.mcp.json +3 -3
  121. package/plugins/src/expo/THIRD-PARTY-NOTICES.md +57 -0
  122. package/plugins/src/expo/commands/e2e-coverage-gaps.md +7 -0
  123. package/plugins/src/expo/commands/exploratory-qa.md +2 -2
  124. package/plugins/src/expo/skills/add-app-clip/SKILL.md +280 -0
  125. package/plugins/src/expo/skills/add-app-clip/references/native-module.md +96 -0
  126. package/plugins/src/expo/skills/building-native-ui/SKILL.md +321 -0
  127. package/plugins/src/expo/skills/building-native-ui/references/animations.md +220 -0
  128. package/plugins/src/expo/skills/building-native-ui/references/controls.md +272 -0
  129. package/plugins/src/expo/skills/building-native-ui/references/form-sheet.md +253 -0
  130. package/plugins/src/expo/skills/building-native-ui/references/gradients.md +106 -0
  131. package/plugins/src/expo/skills/building-native-ui/references/icons.md +213 -0
  132. package/plugins/src/expo/skills/building-native-ui/references/media.md +198 -0
  133. package/plugins/src/expo/skills/building-native-ui/references/route-structure.md +229 -0
  134. package/plugins/src/expo/skills/building-native-ui/references/search.md +248 -0
  135. package/plugins/src/expo/skills/building-native-ui/references/storage.md +121 -0
  136. package/plugins/src/expo/skills/building-native-ui/references/tabs.md +433 -0
  137. package/plugins/src/expo/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
  138. package/plugins/src/expo/skills/building-native-ui/references/visual-effects.md +197 -0
  139. package/plugins/src/expo/skills/building-native-ui/references/webgpu-three.md +605 -0
  140. package/plugins/src/expo/skills/building-native-ui/references/zoom-transitions.md +158 -0
  141. package/plugins/src/expo/skills/e2e-coverage-gaps/SKILL.md +105 -0
  142. package/plugins/src/expo/skills/eas-update-insights/SKILL.md +228 -0
  143. package/plugins/src/expo/skills/eas-update-insights/references/channel-insights-schema.md +47 -0
  144. package/plugins/src/expo/skills/eas-update-insights/references/update-insights-schema.md +69 -0
  145. package/plugins/src/expo/skills/exploratory-qa/SKILL.md +100 -93
  146. package/plugins/src/expo/skills/expo-api-routes/SKILL.md +369 -0
  147. package/plugins/src/expo/skills/expo-brownfield/SKILL.md +54 -0
  148. package/plugins/src/expo/skills/expo-brownfield/references/brownfield-integrated.md +526 -0
  149. package/plugins/src/expo/skills/expo-brownfield/references/brownfield-isolated.md +402 -0
  150. package/plugins/src/expo/skills/expo-brownfield/references/comparison.md +63 -0
  151. package/plugins/src/expo/skills/expo-brownfield/references/troubleshooting.md +88 -0
  152. package/plugins/src/expo/skills/expo-cicd-workflows/SKILL.md +92 -0
  153. package/plugins/src/expo/skills/expo-cicd-workflows/scripts/fetch.js +113 -0
  154. package/plugins/src/expo/skills/expo-cicd-workflows/scripts/package.json +11 -0
  155. package/plugins/src/expo/skills/expo-cicd-workflows/scripts/validate.js +85 -0
  156. package/plugins/src/expo/skills/expo-deployment/SKILL.md +190 -0
  157. package/plugins/src/expo/skills/expo-deployment/references/app-store-metadata.md +479 -0
  158. package/plugins/src/expo/skills/expo-deployment/references/ios-app-store.md +355 -0
  159. package/plugins/src/expo/skills/expo-deployment/references/play-store.md +246 -0
  160. package/plugins/src/expo/skills/expo-deployment/references/testflight.md +58 -0
  161. package/plugins/src/expo/skills/expo-deployment/references/workflows.md +200 -0
  162. package/plugins/src/expo/skills/expo-dev-client/SKILL.md +164 -0
  163. package/plugins/src/expo/skills/expo-module/SKILL.md +141 -0
  164. package/plugins/src/expo/skills/expo-module/references/config-plugin.md +90 -0
  165. package/plugins/src/expo/skills/expo-module/references/create-expo-module.md +206 -0
  166. package/plugins/src/expo/skills/expo-module/references/lifecycle.md +127 -0
  167. package/plugins/src/expo/skills/expo-module/references/module-config.md +48 -0
  168. package/plugins/src/expo/skills/expo-module/references/native-module.md +286 -0
  169. package/plugins/src/expo/skills/expo-module/references/native-view.md +171 -0
  170. package/plugins/src/expo/skills/expo-tailwind-setup/SKILL.md +480 -0
  171. package/plugins/src/expo/skills/expo-ui-jetpack-compose/SKILL.md +40 -0
  172. package/plugins/src/expo/skills/expo-ui-swift-ui/SKILL.md +39 -0
  173. package/plugins/src/expo/skills/native-data-fetching/SKILL.md +507 -0
  174. package/plugins/src/expo/skills/native-data-fetching/references/expo-router-loaders.md +344 -0
  175. package/plugins/src/expo/skills/upgrading-expo/SKILL.md +134 -0
  176. package/plugins/src/expo/skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
  177. package/plugins/src/expo/skills/upgrading-expo/references/expo-av-to-video.md +160 -0
  178. package/plugins/src/expo/skills/upgrading-expo/references/native-tabs.md +124 -0
  179. package/plugins/src/expo/skills/upgrading-expo/references/new-architecture.md +79 -0
  180. package/plugins/src/expo/skills/upgrading-expo/references/react-19.md +79 -0
  181. package/plugins/src/expo/skills/upgrading-expo/references/react-compiler.md +59 -0
  182. package/plugins/src/expo/skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  183. package/plugins/src/expo/skills/use-dom/SKILL.md +417 -0
  184. package/plugins/src/harper-fabric/commands/e2e-coverage-gaps.md +7 -0
  185. package/plugins/src/harper-fabric/commands/exploratory-qa.md +2 -2
  186. package/plugins/src/harper-fabric/skills/e2e-coverage-gaps/SKILL.md +105 -0
  187. package/plugins/src/harper-fabric/skills/exploratory-qa/SKILL.md +100 -93
  188. package/plugins/src/rails/commands/e2e-coverage-gaps.md +7 -0
  189. package/plugins/src/rails/commands/exploratory-qa.md +2 -2
  190. package/plugins/src/rails/skills/e2e-coverage-gaps/SKILL.md +105 -0
  191. package/plugins/src/rails/skills/exploratory-qa/SKILL.md +100 -93
  192. package/plugins/src/wiki/templates/llm-wiki-contract.md +12 -0
  193. package/scripts/generate-codex-plugin-artifacts.mjs +7 -2
@@ -1,138 +1,145 @@
1
1
  ---
2
2
  name: exploratory-qa
3
- description: Playwright-backed exploratory QA workflow for web apps that FEEDS THE LIFECYCLE. Use when asked to audit an app with Playwright/e2e tests, find human-noticeable bugs and usability issues, identify gaps in automated test coverage, test responsive breakpoints, observe slow or unclear load states, or exercise mutable workflows with cleanup. Instead of writing a report file, it files every finding as a tracked work item via lisa:tracker-write (bugs, usability suggestions, and missing Playwright tests). A `ready` parameter controls whether bug and suggestion tickets are created build-ready (auto-picked-up by lisa:intake) or in the backlog for human triage (default); missing-test tickets are always created build-ready.
3
+ description: First-time-user exploratory QA walkthrough for web apps that FEEDS THE LIFECYCLE. Use when asked to experience an app the way a brand-new human user would landing cold on the home page and clicking through to find anything confusing, broken, or hard to understand (machine-style labels, slow or unclear loads, cramped or cut-off UI, inconsistent/non-standard UX, awkward scroll behavior, unclear affordances) across all breakpoints. Instead of writing a report file, it files every finding as a tracked work item via lisa:tracker-write (bugs and usability/UX issues). A `ready` parameter controls whether those tickets are created build-ready (auto-picked-up by lisa:intake) or left in the backlog for human triage (default). For gaps in the automated Playwright test suite, use the e2e-coverage-gaps skill instead.
4
4
  ---
5
5
 
6
6
  # Exploratory QA
7
7
 
8
8
  ## Overview
9
9
 
10
- Run a human-style exploratory QA pass informed by the existing Playwright suite, then **file every finding as a tracked work item** in the project's configured tracker so it enters the Lisa lifecycle. The goal is to find issues users notice and machines often miss — bugs, usability friction, and coverage gaps — and turn each into actionable, automatable work, not a static report.
10
+ Experience the app the way a **brand-new human user** would: land cold on the home page with no prior
11
+ knowledge, then click through and actually try to use it — just like a real person. The goal is to
12
+ surface anything **confusing, broken, or hard to understand**, and to do so at **every breakpoint**.
13
+
14
+ This is a usability/experience pass, **not** a test-coverage audit. It does not look at the Playwright
15
+ suite or hunt for coverage gaps — for that, use the `e2e-coverage-gaps` skill. Here, every finding is
16
+ filed as a tracked work item so it enters the Lisa lifecycle — no static report file.
11
17
 
12
18
  ## Parameters
13
19
 
14
- - **`target-url | env`** (first positional) — what to audit.
15
- - **`ready=true|false`** — the build-ready state for the **bug** and **usability/suggestion** tickets this pass creates.
20
+ - **`target-url | env`** (first positional) — what to explore.
21
+ - **`ready=true|false`** — the build-ready state for the tickets this pass creates.
16
22
  - `ready=true` → created build-ready, so `lisa:intake` / the build-intake scanner auto-picks them up.
17
- - `ready=false` (**default**) → created in the backlog (not build-ready) for a human to review and promote into the queue.
18
- - **Missing Playwright test tickets are ALWAYS created build-ready, regardless of this flag** — adding missing coverage is always safe to queue.
19
-
20
- `ready` maps directly to the `build_ready` write-control input on `lisa:tracker-write`.
23
+ - `ready=false` (**default**) → created in the backlog (not build-ready) for a human to review and
24
+ promote into the queue.
21
25
 
22
26
  ## Core Workflow
23
27
 
24
28
  ### 1. Establish Scope
25
29
 
26
- - Identify the target environment, account type, browser requirement, and the `ready` flag value (default `false`).
27
- - **Confirm the tracker is configured.** Findings are filed as tickets, so read `tracker` from `.lisa.config.json` (local overrides global). If it is unset, stop and report that the tracker must be configured (via `/lisa:setup:jira` / `:github` / `:linear`) before exploratory QA can file findings — do not silently fall back to a report file.
28
- - If credentials, tenant, seed data, or mutation boundaries are missing and cannot be discovered safely, ask a concise clarifying question.
29
- - Treat production-like environments conservatively. Do not mutate production data unless the user explicitly approves it.
30
- - Prefer a test user, dev/staging environment, or isolated seeded account for mutation testing.
31
-
32
- ### 2. Research Existing Playwright Coverage
33
-
34
- - Inspect Playwright config, auth/setup projects, fixtures, constants, selectors, test directories, skipped tests, retries, and viewport/device projects.
35
- - Summarize:
36
- - Number and shape of specs/tests.
37
- - Major workflows covered well.
38
- - Skipped/flaky/TODO coverage.
39
- - Viewports and browser projects used.
40
- - Mutating tests and their cleanup strategy.
41
- - Areas where tests assert presence instead of behavior.
42
- - Use existing test helpers/selectors when exploring the app. They reveal intended flows and stable hooks.
43
-
44
- ### 3. Choose Browser Tools
45
-
46
- - Use the user's requested browser/tool when specified.
47
- - Use a real profile browser when the task depends on existing cookies, SSO, extensions, or a logged-in session.
48
- - Use Playwright automation when exact viewport sizing, repeatable navigation, screenshots, console logs, traces, or route timing are needed.
49
- - Do not let automation hide human observations. Screenshots, visible text, layout, latency, scrollability, and affordance clarity matter.
50
-
51
- ### 4. Explore Like A Human
52
-
53
- Cover at least these dimensions unless the user narrows scope:
54
-
55
- - **Navigation:** direct URLs and visible click paths.
56
- - **Responsive behavior:** supported breakpoints, plus boundary widths where layout changes.
57
- - **Visual/layout quality:** cutoff text, overlap, offscreen controls, accidental horizontal scroll, empty space, awkward density, hidden stale content.
58
- - **Load states:** blanks, skeletons, spinners, `Loading...`, `Connecting...`, delayed hydration, and whether delays exceed a human-acceptable threshold.
59
- - **Behavior correctness:** sorting, filtering, saving, deleting, disabled states, permissions, tab persistence, URL canonicalization.
60
- - **Accessibility/testability:** hidden or off-canvas content exposed to accessibility/text locators, duplicate inactive route content, zero-sized interactive elements.
61
- - **Console/network health:** errors, missing assets, failed requests, noisy expected errors that could bury real failures.
62
- - **Data hygiene:** repeated test artifacts, stale seeded content, polluted shared accounts.
30
+ - Identify the target environment, account type, and browser requirement, and read the `ready` flag
31
+ (default `false`).
32
+ - **Confirm the tracker is configured.** Findings are filed as tickets, so read `tracker` from
33
+ `.lisa.config.json` (local overrides global). If it is unset, stop and report that the tracker must
34
+ be configured (via `/lisa:setup:jira` / `:github` / `:linear`) before exploratory QA can file
35
+ findings — do not silently fall back to a report file.
36
+ - If credentials, tenant, or seed data are missing and cannot be discovered safely, ask one concise
37
+ clarifying question.
38
+ - Treat production-like environments conservatively. Do not mutate production data unless the user
39
+ explicitly approves it. Prefer a test user, dev/staging environment, or isolated seeded account.
40
+
41
+ ### 2. Arrive Cold
42
+
43
+ - Start at the home/landing page with **no prior knowledge of the app**. Do **not** pre-read the
44
+ codebase to learn the intended flows — discover them the way a user would, by looking and clicking.
45
+ - Form a first impression: is it obvious what this app is, what to do first, and where to go next?
46
+
47
+ ### 3. Use It Like a Human
48
+
49
+ Click through the visible paths and actually attempt real tasks — a first-time user explores, makes
50
+ mistakes, and tries the obvious thing. Cover at least these dimensions unless the user narrows scope:
51
+
52
+ - **Comprehension & labeling:** machine-style or developer labels shown to users (raw IDs, enum keys,
53
+ `snake_case`, `null`/`undefined`, untranslated i18n keys), jargon, unclear button/menu names, icons
54
+ with no discernible meaning.
55
+ - **Navigation clarity:** is it obvious how to get somewhere and back? Dead ends, hidden entry points,
56
+ surprising redirects, broken links, no clear "home".
57
+ - **Visual/layout quality:** cut-off or truncated text, overlap, cramped/crowded density, offscreen or
58
+ unreachable controls, accidental horizontal scroll, awkward empty space.
59
+ - **Consistency / standard UX:** components, spacing, button styles, terminology, and interaction
60
+ patterns should be consistent across the app and follow common conventions. Flag anything
61
+ non-standard or that differs screen-to-screen.
62
+ - **Load & responsiveness:** long or unclear load times, blank screens, spinners / `Loading...` /
63
+ `Connecting...` with no progress, anything that feels slow or janky.
64
+ - **Scroll behavior:** unexpected scroll position, scroll jumps, nested or locked scroll, sticky
65
+ elements that cover content, content that cannot be reached.
66
+ - **Behavior correctness:** does the obvious action do what a user expects? Confusing errors, silent
67
+ failures, disabled controls with no explanation, state that does not persist.
68
+ - **Affordance clarity:** can the user tell what is clickable, required, in-progress, or complete?
69
+
70
+ ### 4. Cover All Breakpoints
71
+
72
+ - Discover breakpoints from the app (design tokens, CSS, responsive layout changes) when possible; if
73
+ unknown, use a practical baseline: phone, tablet/narrow, desktop, plus any app-specific cutoff.
74
+ - At each breakpoint, walk the key paths again and confirm the experience holds: expected
75
+ shell/navigation variant, critical controls visible and reachable, no unintended horizontal
76
+ overflow, intentional scroll containers still usable, nothing cut off or crowded.
77
+
78
+ ### 5. Watch Load & Latency
79
+
80
+ - Notice time to first meaningful content and time spent in blank/loading/spinner/connecting states.
81
+ - A page can be technically interactive but still visually incomplete — note that.
82
+ - Treat long waits without clear progress, error, retry, or cancellation as findings. Use practical
83
+ labels (noticeable, slow, unacceptable) and include observed durations when available.
63
84
 
64
85
  ## Mutation Discipline
65
86
 
66
- Exploratory QA should exercise mutable workflows when the environment is safe.
67
-
68
- - Prefer high-value user workflows: create/edit/delete records, lists, boards, tags, notes, comments, scenarios, uploads, messages, settings, invitations, or assignments.
69
- - Use unique names with a clear prefix such as `qa-`, `pw-`, or `codex-`.
70
- - Before mutating, identify the cleanup path. After mutating, make a best effort to clean up through the UI, then verify cleanup.
71
- - If UI cleanup is unavailable, file that as a product/test gap (a finding — see below). Use documented API cleanup only if appropriate for the project and account.
72
- - Record all mutations performed, cleanup attempts, and residue left behind.
73
- - Avoid destructive bulk actions unless the user explicitly asks or the test account is clearly disposable.
74
-
75
- ## Breakpoint Strategy
76
-
77
- - Discover breakpoints from the codebase, design tokens, CSS, docs, or Playwright constants when possible.
78
- - Test each named breakpoint and the boundary on both sides of important cutoffs.
79
- - If breakpoints are unknown, use a practical baseline: phone, tablet/narrow, desktop, and any app-specific cutoff discovered during research.
80
- - For each breakpoint, assert both user-visible behavior and automation-relevant state:
81
- - Expected shell/navigation variant.
82
- - Route-specific loaded content.
83
- - Critical controls visible and reachable.
84
- - No unintended document-level horizontal overflow.
85
- - Intentional scroll containers remain usable.
86
- - Hidden/off-canvas UI is not exposed as active content.
87
+ A real first-time user creates, edits, and deletes things — exercise those flows when the environment
88
+ is safe.
87
89
 
88
- ## Load-State Strategy
89
-
90
- Measure perceived latency, not just eventual success.
91
-
92
- - Track time to shell, time to meaningful route content, and time spent in blank/loading/spinner/connecting states.
93
- - Note when a page is technically interactive but still visually incomplete.
94
- - Treat long waits without clear progress, error, retry, or cancellation as bugs or test gaps.
95
- - Do not overfit exact milliseconds unless the project has defined budgets. Use practical labels such as noticeable, slow, or unacceptable and include observed durations when available.
90
+ - Use unique names with a clear prefix such as `qa-` or `codex-`.
91
+ - Before mutating, identify the cleanup path. After mutating, make a best effort to clean up through
92
+ the UI, then verify cleanup. If UI cleanup is unavailable, that itself is a usability finding.
93
+ - Avoid destructive bulk actions unless the user explicitly asks or the account is clearly disposable.
94
+ - Record all mutations performed, cleanup attempts, and any residue left behind.
96
95
 
97
96
  ## Filing findings as tracked work
98
97
 
99
- This skill does **not** write a report file. Every finding becomes a **leaf work item** created via `lisa:tracker-write` (the vendor-neutral writer — it dispatches to the configured tracker and runs the validation gate; never call a vendor `*-write-*` skill directly). Map each finding to a type and a build-ready state:
98
+ This skill does **not** write a report file. Every finding becomes a **leaf work item** created via
99
+ `lisa:tracker-write` (the vendor-neutral writer — it dispatches to the configured tracker and runs the
100
+ validation gate; never call a vendor `*-write-*` skill directly). Map each finding to a type:
100
101
 
101
102
  | Finding | `issue_type` | `build_ready` |
102
103
  |---------|--------------|---------------|
103
- | User-visible **bug** | `Bug` | the `ready` flag (default `false`) |
104
- | **Usability / UX issue** (suggestion) | `Improvement` | the `ready` flag (default `false`) |
105
- | **Missing Playwright test** (coverage gap) | `Task` | **`true` (always)** |
106
-
107
- Each finding is a flat leaf (no children), so `build_ready` applies directly. Pass it explicitly on every create — `build_ready: <ready flag>` for bugs and suggestions, `build_ready: true` for missing tests.
104
+ | User-visible **bug** (broken behavior) | `Bug` | the `ready` flag (default `false`) |
105
+ | **Usability / UX / clarity issue** | `Improvement` | the `ready` flag (default `false`) |
108
106
 
109
- Each ticket MUST be a complete spec (`lisa:tracker-write` runs the validator and rejects thin tickets):
107
+ Each finding is a flat leaf (no children), so `build_ready` applies directly pass it explicitly on
108
+ every create. Each ticket MUST be a complete spec (the validator rejects thin tickets):
110
109
 
111
110
  - **Three-audience description** (context / business value, technical approach, stakeholder impact).
112
- - **For a bug:** exact reproduction steps, observed-vs-expected, the env / account / breakpoint it occurred at, and console/network evidence.
113
- - **For a usability issue:** the observed friction, who it affects, and the proposed improvement.
114
- - **For a missing test:** the user behavior the test must assert and the stable selector/flow to use — concrete and automatable.
115
- - **Gherkin acceptance criteria** describing the fixed (bug / usability) or added (test) behavior.
111
+ - **For a bug:** exact reproduction steps, observed-vs-expected, the env / account / breakpoint it
112
+ occurred at, and console/network evidence.
113
+ - **For a usability issue:** the observed friction (what was confusing, cramped, inconsistent, or hard
114
+ to understand), who it affects, **where** (route + breakpoint), and the proposed improvement.
115
+ - **Gherkin acceptance criteria** describing the fixed behavior.
116
116
 
117
117
  ### Idempotency — don't spam duplicates
118
118
 
119
- Re-running a QA pass must not refile the same finding. Before creating a ticket, search the tracker for an **open** ticket carrying a stable marker `[lisa-exploratory-qa] <finding-key>` in its body (the `<finding-key>` is a stable slug of surface + symptom, e.g. `settings-modal/horizontal-overflow@tablet`). If one exists, reference/update it instead of creating a duplicate; only create when none exists. **Match by the marker, never by title** (titles get edited). A *closed* prior ticket does not suppress a new one — a recurrence after a fix is a genuine regression.
119
+ Re-running a pass must not refile the same finding. Before creating a ticket, search the tracker for an
120
+ **open** ticket carrying a stable marker `[lisa-exploratory-qa] <finding-key>` in its body (the
121
+ `<finding-key>` is a stable slug of surface + symptom, e.g. `settings-modal/horizontal-overflow@tablet`).
122
+ If one exists, reference/update it instead of creating a duplicate; only create when none exists.
123
+ **Match by the marker, never by title** (titles get edited). A *closed* prior ticket does not suppress a
124
+ new one — a recurrence after a fix is a genuine regression.
120
125
 
121
126
  ## Output
122
127
 
123
128
  No report file. Emit a concise in-session summary:
124
129
 
125
130
  - **Scope:** target URL/env, browser/tool, account type, build/version if visible, date.
126
- - **Existing Playwright coverage:** strengths and thin areas observed during research.
127
- - **Findings filed**, bucketed by type — bugs, usability suggestions, missing tests — each with its **created or referenced ticket ref** and its **build-ready state** (`ready` vs `triage/backlog`).
131
+ - **First impression:** could a new user tell what the app is and what to do first?
132
+ - **Findings filed**, bucketed by type — bugs, usability/clarity issues — each with its **created or
133
+ referenced ticket ref** and its **build-ready state** (`ready` vs `triage/backlog`).
128
134
  - **Observed but not filed:** anything noticed but intentionally not ticketed, with why.
129
135
 
130
136
  ## Quality Bar
131
137
 
132
- - Be honest about what was and was not tested.
133
- - Distinguish user-visible bugs from missing automated coverage — they map to different issue types (`Bug` vs `Task`).
134
- - Prefer concrete, reproducible findings. Every ticket must stand alone for an implementer who was not in the session.
138
+ - Explore as a true first-time user judge clarity, not whether you (who can read the code) can figure
139
+ it out.
140
+ - Prefer concrete, reproducible findings. Every ticket must stand alone for an implementer who was not
141
+ in the session.
135
142
  - Do not claim cleanup succeeded unless verified.
136
- - Do not let broad locators pass against hidden/inactive content.
137
- - File missing-test tickets build-ready; file bug and usability tickets per the `ready` flag (default: backlog for human triage).
143
+ - File tickets per the `ready` flag (default: backlog for human triage).
144
+ - This skill is about the human experience only route automated-coverage gaps to `e2e-coverage-gaps`.
138
145
  - Preserve unrelated repo changes.
@@ -0,0 +1,369 @@
1
+ ---
2
+ name: expo-api-routes
3
+ description: Guidelines for creating API routes in Expo Router with EAS Hosting
4
+ version: 1.0.0
5
+ license: MIT
6
+ ---
7
+
8
+ ## When to Use API Routes
9
+
10
+ Use API routes when you need:
11
+
12
+ - **Server-side secrets** — API keys, database credentials, or tokens that must never reach the client
13
+ - **Database operations** — Direct database queries that shouldn't be exposed
14
+ - **Third-party API proxies** — Hide API keys when calling external services (OpenAI, Stripe, etc.)
15
+ - **Server-side validation** — Validate data before database writes
16
+ - **Webhook endpoints** — Receive callbacks from services like Stripe or GitHub
17
+ - **Rate limiting** — Control access at the server level
18
+ - **Heavy computation** — Offload processing that would be slow on mobile
19
+
20
+ ## When NOT to Use API Routes
21
+
22
+ Avoid API routes when:
23
+
24
+ - **Data is already public** — Use direct fetch to public APIs instead
25
+ - **No secrets required** — Static data or client-safe operations
26
+ - **Real-time updates needed** — Use WebSockets or services like Supabase Realtime
27
+ - **Simple CRUD** — Consider Firebase, Supabase, or Convex for managed backends
28
+ - **File uploads** — Use direct-to-storage uploads (S3 presigned URLs, Cloudflare R2)
29
+ - **Authentication only** — Use Clerk, Auth0, or Firebase Auth instead
30
+
31
+ ## File Structure
32
+
33
+ API routes live in the `app` directory with `+api.ts` suffix:
34
+
35
+ ```
36
+ app/
37
+ api/
38
+ hello+api.ts → GET /api/hello
39
+ users+api.ts → /api/users
40
+ users/[id]+api.ts → /api/users/:id
41
+ (tabs)/
42
+ index.tsx
43
+ ```
44
+
45
+ ## Basic API Route
46
+
47
+ ```ts
48
+ // app/api/hello+api.ts
49
+ export function GET(request: Request) {
50
+ return Response.json({ message: "Hello from Expo!" });
51
+ }
52
+ ```
53
+
54
+ ## HTTP Methods
55
+
56
+ Export named functions for each HTTP method:
57
+
58
+ ```ts
59
+ // app/api/items+api.ts
60
+ export function GET(request: Request) {
61
+ return Response.json({ items: [] });
62
+ }
63
+
64
+ export async function POST(request: Request) {
65
+ const body = await request.json();
66
+ return Response.json({ created: body }, { status: 201 });
67
+ }
68
+
69
+ export async function PUT(request: Request) {
70
+ const body = await request.json();
71
+ return Response.json({ updated: body });
72
+ }
73
+
74
+ export async function DELETE(request: Request) {
75
+ return new Response(null, { status: 204 });
76
+ }
77
+ ```
78
+
79
+ ## Dynamic Routes
80
+
81
+ ```ts
82
+ // app/api/users/[id]+api.ts
83
+ export function GET(request: Request, { id }: { id: string }) {
84
+ return Response.json({ userId: id });
85
+ }
86
+ ```
87
+
88
+ ## Request Handling
89
+
90
+ ### Query Parameters
91
+
92
+ ```ts
93
+ export function GET(request: Request) {
94
+ const url = new URL(request.url);
95
+ const page = url.searchParams.get("page") ?? "1";
96
+ const limit = url.searchParams.get("limit") ?? "10";
97
+
98
+ return Response.json({ page, limit });
99
+ }
100
+ ```
101
+
102
+ ### Headers
103
+
104
+ ```ts
105
+ export function GET(request: Request) {
106
+ const auth = request.headers.get("Authorization");
107
+
108
+ if (!auth) {
109
+ return Response.json({ error: "Unauthorized" }, { status: 401 });
110
+ }
111
+
112
+ return Response.json({ authenticated: true });
113
+ }
114
+ ```
115
+
116
+ ### JSON Body
117
+
118
+ ```ts
119
+ export async function POST(request: Request) {
120
+ const { email, password } = await request.json();
121
+
122
+ if (!email || !password) {
123
+ return Response.json({ error: "Missing fields" }, { status: 400 });
124
+ }
125
+
126
+ return Response.json({ success: true });
127
+ }
128
+ ```
129
+
130
+ ## Environment Variables
131
+
132
+ Use `process.env` for server-side secrets:
133
+
134
+ ```ts
135
+ // app/api/ai+api.ts
136
+ export async function POST(request: Request) {
137
+ const { prompt } = await request.json();
138
+
139
+ const response = await fetch("https://api.openai.com/v1/chat/completions", {
140
+ method: "POST",
141
+ headers: {
142
+ "Content-Type": "application/json",
143
+ Authorization: `Bearer ${process.env.OPENAI_API_KEY}`,
144
+ },
145
+ body: JSON.stringify({
146
+ model: "gpt-4",
147
+ messages: [{ role: "user", content: prompt }],
148
+ }),
149
+ });
150
+
151
+ const data = await response.json();
152
+ return Response.json(data);
153
+ }
154
+ ```
155
+
156
+ Set environment variables:
157
+
158
+ - **Local**: Create `.env` file (never commit)
159
+ - **EAS Hosting**: Use `eas env:create` or Expo dashboard
160
+
161
+ ## CORS Headers
162
+
163
+ Add CORS for web clients:
164
+
165
+ ```ts
166
+ const corsHeaders = {
167
+ "Access-Control-Allow-Origin": "*",
168
+ "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
169
+ "Access-Control-Allow-Headers": "Content-Type, Authorization",
170
+ };
171
+
172
+ export function OPTIONS() {
173
+ return new Response(null, { headers: corsHeaders });
174
+ }
175
+
176
+ export function GET() {
177
+ return Response.json({ data: "value" }, { headers: corsHeaders });
178
+ }
179
+ ```
180
+
181
+ ## Error Handling
182
+
183
+ ```ts
184
+ export async function POST(request: Request) {
185
+ try {
186
+ const body = await request.json();
187
+ // Process...
188
+ return Response.json({ success: true });
189
+ } catch (error) {
190
+ console.error("API error:", error);
191
+ return Response.json({ error: "Internal server error" }, { status: 500 });
192
+ }
193
+ }
194
+ ```
195
+
196
+ ## Testing Locally
197
+
198
+ Start the development server with API routes:
199
+
200
+ ```bash
201
+ npx expo serve
202
+ ```
203
+
204
+ This starts a local server at `http://localhost:8081` with full API route support.
205
+
206
+ Test with curl:
207
+
208
+ ```bash
209
+ curl http://localhost:8081/api/hello
210
+ curl -X POST http://localhost:8081/api/users -H "Content-Type: application/json" -d '{"name":"Test"}'
211
+ ```
212
+
213
+ ## Deployment to EAS Hosting
214
+
215
+ ### Prerequisites
216
+
217
+ ```bash
218
+ npm install -g eas-cli
219
+ eas login
220
+ ```
221
+
222
+ ### Deploy
223
+
224
+ ```bash
225
+ eas deploy
226
+ ```
227
+
228
+ This builds and deploys your API routes to EAS Hosting (Cloudflare Workers).
229
+
230
+ ### Environment Variables for Production
231
+
232
+ ```bash
233
+ # Create a secret
234
+ eas env:create --name OPENAI_API_KEY --value sk-xxx --environment production
235
+
236
+ # Or use the Expo dashboard
237
+ ```
238
+
239
+ ### Custom Domain
240
+
241
+ Configure in `eas.json` or Expo dashboard.
242
+
243
+ ## EAS Hosting Runtime (Cloudflare Workers)
244
+
245
+ API routes run on Cloudflare Workers. Key limitations:
246
+
247
+ ### Missing/Limited APIs
248
+
249
+ - **No Node.js filesystem** — `fs` module unavailable
250
+ - **No native Node modules** — Use Web APIs or polyfills
251
+ - **Limited execution time** — 30 second timeout for CPU-intensive tasks
252
+ - **No persistent connections** — WebSockets require Durable Objects
253
+ - **fetch is available** — Use standard fetch for HTTP requests
254
+
255
+ ### Use Web APIs Instead
256
+
257
+ ```ts
258
+ // Use Web Crypto instead of Node crypto
259
+ const hash = await crypto.subtle.digest(
260
+ "SHA-256",
261
+ new TextEncoder().encode("data")
262
+ );
263
+
264
+ // Use fetch instead of node-fetch
265
+ const response = await fetch("https://api.example.com");
266
+
267
+ // Use Response/Request (already available)
268
+ return new Response(JSON.stringify(data), {
269
+ headers: { "Content-Type": "application/json" },
270
+ });
271
+ ```
272
+
273
+ ### Database Options
274
+
275
+ Since filesystem is unavailable, use cloud databases:
276
+
277
+ - **Cloudflare D1** — SQLite at the edge
278
+ - **Turso** — Distributed SQLite
279
+ - **PlanetScale** — Serverless MySQL
280
+ - **Supabase** — Postgres with REST API
281
+ - **Neon** — Serverless Postgres
282
+
283
+ Example with Turso:
284
+
285
+ ```ts
286
+ // app/api/users+api.ts
287
+ import { createClient } from "@libsql/client/web";
288
+
289
+ const db = createClient({
290
+ url: process.env.TURSO_URL!,
291
+ authToken: process.env.TURSO_AUTH_TOKEN!,
292
+ });
293
+
294
+ export async function GET() {
295
+ const result = await db.execute("SELECT * FROM users");
296
+ return Response.json(result.rows);
297
+ }
298
+ ```
299
+
300
+ ## Calling API Routes from Client
301
+
302
+ ```ts
303
+ // From React Native components
304
+ const API_BASE_URL = process.env.EXPO_PUBLIC_API_BASE_URL!;
305
+ const response = await fetch(`${API_BASE_URL}/api/hello`);
306
+ const data = await response.json();
307
+
308
+ // With body
309
+ const response = await fetch(`${API_BASE_URL}/api/users`, {
310
+ method: "POST",
311
+ headers: { "Content-Type": "application/json" },
312
+ body: JSON.stringify({ name: "John" }),
313
+ });
314
+ ```
315
+
316
+ ## Common Patterns
317
+
318
+ ### Authentication Middleware
319
+
320
+ ```ts
321
+ // utils/auth.ts
322
+ export async function requireAuth(request: Request) {
323
+ const token = request.headers.get("Authorization")?.replace("Bearer ", "");
324
+
325
+ if (!token) {
326
+ throw new Response(JSON.stringify({ error: "Unauthorized" }), {
327
+ status: 401,
328
+ headers: { "Content-Type": "application/json" },
329
+ });
330
+ }
331
+
332
+ // Verify token...
333
+ return { userId: "123" };
334
+ }
335
+
336
+ // app/api/protected+api.ts
337
+ import { requireAuth } from "../../utils/auth";
338
+
339
+ export async function GET(request: Request) {
340
+ const { userId } = await requireAuth(request);
341
+ return Response.json({ userId });
342
+ }
343
+ ```
344
+
345
+ ### Proxy External API
346
+
347
+ ```ts
348
+ // app/api/weather+api.ts
349
+ export async function GET(request: Request) {
350
+ const url = new URL(request.url);
351
+ const city = url.searchParams.get("city");
352
+
353
+ const response = await fetch(
354
+ `https://api.weather.com/v1/current?city=${city}&key=${process.env.WEATHER_API_KEY}`
355
+ );
356
+
357
+ return Response.json(await response.json());
358
+ }
359
+ ```
360
+
361
+ ## Rules
362
+
363
+ - NEVER expose API keys or secrets in client code
364
+ - ALWAYS validate and sanitize user input
365
+ - Use proper HTTP status codes (200, 201, 400, 401, 404, 500)
366
+ - Handle errors gracefully with try/catch
367
+ - Keep API routes focused — one responsibility per endpoint
368
+ - Use TypeScript for type safety
369
+ - Log errors server-side for debugging