@codyswann/lisa 5.12.0 → 5.13.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.
- package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
- package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
- package/dist/core/upstream-evidence-manifest.js +29 -8
- package/dist/core/upstream-evidence-manifest.js.map +1 -1
- package/package.json +4 -4
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/.codex-plugin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa/agents/verification-specialist.md +1 -1
- package/plugins/lisa/rules/reference/base-rules.md +10 -8
- package/plugins/lisa/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-agy/agents/verification-specialist.md +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-agy/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-agy/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-agy/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/agents/spec-conformance-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/agents/verification-specialist.agent.md +1 -1
- package/plugins/lisa-copilot/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-copilot/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-copilot/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-copilot/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-cursor/agents/verification-specialist.md +1 -1
- package/plugins/lisa-cursor/rules/base-rules-reference.mdc +10 -8
- package/plugins/lisa-cursor/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-cursor/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-cursor/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-devin/agents/spec-conformance-specialist.md +1 -1
- package/plugins/lisa-devin/agents/verification-specialist.md +1 -1
- package/plugins/lisa-devin/rules/reference/base-rules.md +10 -8
- package/plugins/lisa-devin/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/lisa-devin/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/lisa-devin/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +77 -0
- package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/SKILL.md +39 -0
- package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails/skills/journey-guidance/agents/openai.yaml +4 -0
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +37 -0
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
- package/plugins/src/base/agents/spec-conformance-specialist.md +1 -1
- package/plugins/src/base/agents/verification-specialist.md +1 -1
- package/plugins/src/base/rules/reference/base-rules.md +10 -8
- package/plugins/src/base/skills/lisa-ticket-triage/SKILL.md +6 -6
- package/plugins/src/base/skills/lisa-tracker-add-journey/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-create/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-evidence/SKILL.md +1 -0
- package/plugins/src/base/skills/lisa-tracker-journey/SKILL.md +1 -0
- package/plugins/src/expo/skills/journey-guidance/SKILL.md +75 -0
- package/plugins/src/rails/skills/journey-guidance/SKILL.md +37 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each PostHog flag)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
display_name: "Journey Guidance"
|
|
2
|
+
short_description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports…"
|
|
3
|
+
default_prompt:
|
|
4
|
+
- "Use $journey-guidance: Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports…."
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each PostHog flag)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each PostHog flag)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each PostHog flag)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: journey-guidance
|
|
3
|
+
description: "Expo stack guidance for Validation Journeys on any tracker: when a ticket needs one, writing it with screenshot markers and viewports, running it in the browser, and naming screenshots. Read by the tracker journey, add-journey, create and evidence skills."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Expo Validation Journey Guidance
|
|
7
|
+
|
|
8
|
+
Stack-specific guidance for Validation Journeys in an Expo / React Native project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
|
|
9
|
+
|
|
10
|
+
This skill adds the Expo parts only. The vendor skills still read the ticket, append the journey, and post the evidence; the tracker dispatchers (`lisa-tracker-journey`, `lisa-tracker-add-journey`, `lisa-tracker-create`, `lisa-tracker-evidence`) consult this skill before they dispatch. The Jira-only overlays in this plugin (`jira-journey`, `jira-add-journey`, `jira-create`, `jira-evidence`) carry the same guidance plus Jira mechanics; this skill is what a GitHub or Linear project reaches.
|
|
11
|
+
|
|
12
|
+
## When a ticket needs a journey
|
|
13
|
+
|
|
14
|
+
Every ticket that changes, adds, or fixes UI includes a `Validation Journey` section:
|
|
15
|
+
|
|
16
|
+
- New UI components or screens
|
|
17
|
+
- Layout or styling changes (responsive, spacing, colors)
|
|
18
|
+
- Modal, drawer, or popover behavior
|
|
19
|
+
- Form validation or user input flows
|
|
20
|
+
- Bug fixes that can be checked by looking at the screen
|
|
21
|
+
|
|
22
|
+
Skip it only for pure backend/API changes with no UI surface, config-only changes (env vars, feature flags), and test-only or documentation-only changes.
|
|
23
|
+
|
|
24
|
+
When the work touches an existing screen, walk the live product first (`lisa-product-walkthrough`) and carry the findings under `## Current Product`. A UI ticket without a current-product walkthrough is missing context the implementer needs.
|
|
25
|
+
|
|
26
|
+
## Writing the journey
|
|
27
|
+
|
|
28
|
+
Write it from the end user's point of view, in the tracker's own markup (Markdown for GitHub and Linear, wiki markup for Jira):
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Validation Journey
|
|
32
|
+
|
|
33
|
+
### Prerequisites
|
|
34
|
+
- App running locally or on dev
|
|
35
|
+
- Authenticated as test user
|
|
36
|
+
- Required feature flags enabled (name each PostHog flag)
|
|
37
|
+
|
|
38
|
+
### Steps
|
|
39
|
+
1. Navigate to the relevant page
|
|
40
|
+
2. Perform the first action
|
|
41
|
+
3. Verify the expected state [SCREENSHOT: state-name]
|
|
42
|
+
4. Perform the next action
|
|
43
|
+
5. Verify the final state [SCREENSHOT: final-state]
|
|
44
|
+
|
|
45
|
+
### Viewports
|
|
46
|
+
| Name | Width | Height |
|
|
47
|
+
|------|-------|--------|
|
|
48
|
+
| Desktop | 1512 | 768 |
|
|
49
|
+
| Mobile | 375 | 812 |
|
|
50
|
+
|
|
51
|
+
### Assertions
|
|
52
|
+
- What must be true on screen at each viewport
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Rules:
|
|
56
|
+
|
|
57
|
+
1. **Concrete steps** — "Click the 'Add action' button", not "Interact with the controls".
|
|
58
|
+
2. **3–7 screenshot markers** at the states that prove the change works. `[SCREENSHOT: name]` is shorthand for the typed `[EVIDENCE: screenshot: name]` marker in the `verification` rule. Names are kebab-case (`modal-open`, `button-disabled`, `form-error`).
|
|
59
|
+
3. **Viewports match the change** — always Desktop (1512×768); add Mobile (375×812) for responsive changes; add Tablet (768×1024) only when relevant.
|
|
60
|
+
4. **Assertions are testable** — "Buttons stacked vertically on mobile", not "Layout looks good".
|
|
61
|
+
5. **Include sign-in** in Prerequisites when the journey needs it.
|
|
62
|
+
|
|
63
|
+
To find the flow, read the code: the components involved (search by ticket id, feature name, or paths named in the ticket), the `testID`s Playwright can target, and the Container/View structure, navigation, and modals.
|
|
64
|
+
|
|
65
|
+
## Running the journey
|
|
66
|
+
|
|
67
|
+
Requires the Playwright MCP server and a running dev server.
|
|
68
|
+
|
|
69
|
+
1. Satisfy prerequisites: check the dev server responds (`browser_navigate` to the app URL), sign in with test credentials from `.env.localhost` or `.env.local`, and go to the starting point.
|
|
70
|
+
2. Run the **full journey once per viewport**. Between viewports, `browser_resize` to the next size, navigate back to the start, and repeat every step — some modals close on resize, and each screenshot must reflect that viewport's state.
|
|
71
|
+
3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
|
|
72
|
+
|
|
73
|
+
## Naming the evidence
|
|
74
|
+
|
|
75
|
+
Screenshots are `NN-<marker-name>-<viewport>.png`: a zero-padded sequence number, the marker name, and the lowercase viewport name. Three markers over two viewports give `01-…-desktop.png` through `06-…-mobile.png`. What happens to them next depends on the tracker. On Jira, `lisa-jira-evidence` uploads them to the configured evidence release under a PR-scoped name, so same-named files on two pull requests never overwrite each other. The GitHub and Linear evidence skills upload text evidence only (`lisa-github-evidence` takes `NN-*.txt`/`.json`; `lisa-linear-evidence` takes text files from `evidence/files/`), so on those trackers attach image evidence to the pull request yourself, and record the text form of each check (for example the command output) under the same `NN-` name so the vendor skill carries it.
|