@codyswann/lisa 5.14.0 → 5.14.2

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 (231) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +7 -140
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +4 -4
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa/.codex-plugin/skills/lisa-jira-evidence/SKILL.md +10 -4
  9. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/SKILL.md +2 -2
  10. package/plugins/lisa/.codex-plugin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  11. package/plugins/lisa/rules/eager/coding-philosophy.md +1 -0
  12. package/plugins/lisa/rules/reference/coding-philosophy.md +20 -0
  13. package/plugins/lisa/skills/lisa-jira-evidence/SKILL.md +10 -4
  14. package/plugins/lisa/skills/lisa-jira-journey/SKILL.md +2 -2
  15. package/plugins/lisa/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  16. package/plugins/lisa-agy/plugin.json +1 -1
  17. package/plugins/lisa-agy/skills/lisa-jira-evidence/SKILL.md +10 -4
  18. package/plugins/lisa-agy/skills/lisa-jira-journey/SKILL.md +2 -2
  19. package/plugins/lisa-agy/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  20. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  21. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  22. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  23. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  24. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  25. package/plugins/lisa-cdk-devin/.claude-plugin/plugin.json +1 -1
  26. package/plugins/lisa-cdk-devin/.devin-plugin/plugin.json +1 -1
  27. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  28. package/plugins/lisa-copilot/rules/eager/coding-philosophy.md +1 -0
  29. package/plugins/lisa-copilot/rules/reference/coding-philosophy.md +20 -0
  30. package/plugins/lisa-copilot/skills/lisa-jira-evidence/SKILL.md +10 -4
  31. package/plugins/lisa-copilot/skills/lisa-jira-journey/SKILL.md +2 -2
  32. package/plugins/lisa-copilot/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  33. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  34. package/plugins/lisa-cursor/rules/coding-philosophy-reference.mdc +20 -0
  35. package/plugins/lisa-cursor/rules/coding-philosophy.mdc +1 -0
  36. package/plugins/lisa-cursor/skills/lisa-jira-evidence/SKILL.md +10 -4
  37. package/plugins/lisa-cursor/skills/lisa-jira-journey/SKILL.md +2 -2
  38. package/plugins/lisa-cursor/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  39. package/plugins/lisa-devin/.claude-plugin/plugin.json +1 -1
  40. package/plugins/lisa-devin/.devin-plugin/plugin.json +1 -1
  41. package/plugins/lisa-devin/rules/eager/coding-philosophy.md +1 -0
  42. package/plugins/lisa-devin/rules/reference/coding-philosophy.md +20 -0
  43. package/plugins/lisa-devin/skills/lisa-jira-evidence/SKILL.md +10 -4
  44. package/plugins/lisa-devin/skills/lisa-jira-journey/SKILL.md +2 -2
  45. package/plugins/lisa-devin/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  46. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-expo/.codex-plugin/skills/journey-guidance/SKILL.md +8 -3
  49. package/plugins/lisa-expo/skills/journey-guidance/SKILL.md +8 -3
  50. package/plugins/lisa-expo-agy/plugin.json +1 -1
  51. package/plugins/lisa-expo-agy/skills/journey-guidance/SKILL.md +8 -3
  52. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  53. package/plugins/lisa-expo-copilot/skills/journey-guidance/SKILL.md +8 -3
  54. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-expo-cursor/skills/journey-guidance/SKILL.md +8 -3
  56. package/plugins/lisa-expo-devin/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-expo-devin/.devin-plugin/plugin.json +1 -1
  58. package/plugins/lisa-expo-devin/skills/journey-guidance/SKILL.md +8 -3
  59. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  61. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  62. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  63. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  64. package/plugins/lisa-harper-fabric-devin/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-harper-fabric-devin/.devin-plugin/plugin.json +1 -1
  66. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  69. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-nestjs-devin/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-nestjs-devin/.devin-plugin/plugin.json +1 -1
  73. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  74. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  75. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  76. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  78. package/plugins/lisa-phaser-devin/.claude-plugin/plugin.json +1 -1
  79. package/plugins/lisa-phaser-devin/.devin-plugin/plugin.json +1 -1
  80. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  81. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  82. package/plugins/lisa-rails/.codex-plugin/skills/journey-guidance/SKILL.md +3 -1
  83. package/plugins/lisa-rails/skills/journey-guidance/SKILL.md +3 -1
  84. package/plugins/lisa-rails-agy/plugin.json +1 -1
  85. package/plugins/lisa-rails-agy/skills/journey-guidance/SKILL.md +3 -1
  86. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  87. package/plugins/lisa-rails-copilot/skills/journey-guidance/SKILL.md +3 -1
  88. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  89. package/plugins/lisa-rails-cursor/skills/journey-guidance/SKILL.md +3 -1
  90. package/plugins/lisa-rails-devin/.claude-plugin/plugin.json +1 -1
  91. package/plugins/lisa-rails-devin/.devin-plugin/plugin.json +1 -1
  92. package/plugins/lisa-rails-devin/skills/journey-guidance/SKILL.md +3 -1
  93. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  94. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  95. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  96. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  97. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  98. package/plugins/lisa-typescript-devin/.claude-plugin/plugin.json +1 -1
  99. package/plugins/lisa-typescript-devin/.devin-plugin/plugin.json +1 -1
  100. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  101. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  102. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  103. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  104. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  105. package/plugins/lisa-wiki-devin/.claude-plugin/plugin.json +1 -1
  106. package/plugins/lisa-wiki-devin/.devin-plugin/plugin.json +1 -1
  107. package/plugins/src/base/rules/eager/coding-philosophy.md +1 -0
  108. package/plugins/src/base/rules/reference/coding-philosophy.md +20 -0
  109. package/plugins/src/base/skills/lisa-jira-evidence/SKILL.md +10 -4
  110. package/plugins/src/base/skills/lisa-jira-journey/SKILL.md +2 -2
  111. package/plugins/src/base/skills/lisa-jira-journey/scripts/generate-templates.py +70 -9
  112. package/plugins/src/expo/skills/journey-guidance/SKILL.md +8 -3
  113. package/plugins/src/rails/skills/journey-guidance/SKILL.md +3 -1
  114. package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -142
  115. package/plugins/lisa-expo/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
  116. package/plugins/lisa-expo/.codex-plugin/skills/jira-create/SKILL.md +0 -163
  117. package/plugins/lisa-expo/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
  118. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/SKILL.md +0 -112
  119. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
  120. package/plugins/lisa-expo/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  121. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/SKILL.md +0 -209
  122. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
  123. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/generate-templates.py +0 -323
  124. package/plugins/lisa-expo/.codex-plugin/skills/jira-journey/scripts/parse-plan.py +0 -400
  125. package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/SKILL.md +0 -29
  126. package/plugins/lisa-expo/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
  127. package/plugins/lisa-expo/skills/jira-add-journey/SKILL.md +0 -140
  128. package/plugins/lisa-expo/skills/jira-add-journey/agents/openai.yaml +0 -4
  129. package/plugins/lisa-expo/skills/jira-create/SKILL.md +0 -161
  130. package/plugins/lisa-expo/skills/jira-create/agents/openai.yaml +0 -4
  131. package/plugins/lisa-expo/skills/jira-evidence/SKILL.md +0 -110
  132. package/plugins/lisa-expo/skills/jira-evidence/agents/openai.yaml +0 -4
  133. package/plugins/lisa-expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  134. package/plugins/lisa-expo/skills/jira-journey/SKILL.md +0 -207
  135. package/plugins/lisa-expo/skills/jira-journey/agents/openai.yaml +0 -4
  136. package/plugins/lisa-expo/skills/jira-journey/scripts/generate-templates.py +0 -323
  137. package/plugins/lisa-expo/skills/jira-journey/scripts/parse-plan.py +0 -400
  138. package/plugins/lisa-expo/skills/jira-verify/SKILL.md +0 -27
  139. package/plugins/lisa-expo/skills/jira-verify/agents/openai.yaml +0 -4
  140. package/plugins/lisa-expo-agy/skills/jira-add-journey/SKILL.md +0 -140
  141. package/plugins/lisa-expo-agy/skills/jira-create/SKILL.md +0 -161
  142. package/plugins/lisa-expo-agy/skills/jira-evidence/SKILL.md +0 -110
  143. package/plugins/lisa-expo-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  144. package/plugins/lisa-expo-agy/skills/jira-journey/SKILL.md +0 -207
  145. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/generate-templates.py +0 -323
  146. package/plugins/lisa-expo-agy/skills/jira-journey/scripts/parse-plan.py +0 -400
  147. package/plugins/lisa-expo-agy/skills/jira-verify/SKILL.md +0 -27
  148. package/plugins/lisa-expo-copilot/skills/jira-add-journey/SKILL.md +0 -140
  149. package/plugins/lisa-expo-copilot/skills/jira-create/SKILL.md +0 -161
  150. package/plugins/lisa-expo-copilot/skills/jira-evidence/SKILL.md +0 -110
  151. package/plugins/lisa-expo-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  152. package/plugins/lisa-expo-copilot/skills/jira-journey/SKILL.md +0 -207
  153. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/generate-templates.py +0 -323
  154. package/plugins/lisa-expo-copilot/skills/jira-journey/scripts/parse-plan.py +0 -400
  155. package/plugins/lisa-expo-copilot/skills/jira-verify/SKILL.md +0 -27
  156. package/plugins/lisa-expo-cursor/skills/jira-add-journey/SKILL.md +0 -140
  157. package/plugins/lisa-expo-cursor/skills/jira-create/SKILL.md +0 -161
  158. package/plugins/lisa-expo-cursor/skills/jira-evidence/SKILL.md +0 -110
  159. package/plugins/lisa-expo-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  160. package/plugins/lisa-expo-cursor/skills/jira-journey/SKILL.md +0 -207
  161. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/generate-templates.py +0 -323
  162. package/plugins/lisa-expo-cursor/skills/jira-journey/scripts/parse-plan.py +0 -400
  163. package/plugins/lisa-expo-cursor/skills/jira-verify/SKILL.md +0 -27
  164. package/plugins/lisa-expo-devin/skills/jira-add-journey/SKILL.md +0 -140
  165. package/plugins/lisa-expo-devin/skills/jira-create/SKILL.md +0 -161
  166. package/plugins/lisa-expo-devin/skills/jira-evidence/SKILL.md +0 -110
  167. package/plugins/lisa-expo-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  168. package/plugins/lisa-expo-devin/skills/jira-journey/SKILL.md +0 -207
  169. package/plugins/lisa-expo-devin/skills/jira-journey/scripts/generate-templates.py +0 -323
  170. package/plugins/lisa-expo-devin/skills/jira-journey/scripts/parse-plan.py +0 -400
  171. package/plugins/lisa-expo-devin/skills/jira-verify/SKILL.md +0 -27
  172. package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/SKILL.md +0 -81
  173. package/plugins/lisa-rails/.codex-plugin/skills/jira-add-journey/agents/openai.yaml +0 -4
  174. package/plugins/lisa-rails/.codex-plugin/skills/jira-create/SKILL.md +0 -102
  175. package/plugins/lisa-rails/.codex-plugin/skills/jira-create/agents/openai.yaml +0 -4
  176. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/SKILL.md +0 -103
  177. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/agents/openai.yaml +0 -4
  178. package/plugins/lisa-rails/.codex-plugin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  179. package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/SKILL.md +0 -67
  180. package/plugins/lisa-rails/.codex-plugin/skills/jira-journey/agents/openai.yaml +0 -4
  181. package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/SKILL.md +0 -28
  182. package/plugins/lisa-rails/.codex-plugin/skills/jira-verify/agents/openai.yaml +0 -4
  183. package/plugins/lisa-rails/skills/jira-add-journey/SKILL.md +0 -79
  184. package/plugins/lisa-rails/skills/jira-add-journey/agents/openai.yaml +0 -4
  185. package/plugins/lisa-rails/skills/jira-create/SKILL.md +0 -100
  186. package/plugins/lisa-rails/skills/jira-create/agents/openai.yaml +0 -4
  187. package/plugins/lisa-rails/skills/jira-evidence/SKILL.md +0 -101
  188. package/plugins/lisa-rails/skills/jira-evidence/agents/openai.yaml +0 -4
  189. package/plugins/lisa-rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  190. package/plugins/lisa-rails/skills/jira-journey/SKILL.md +0 -65
  191. package/plugins/lisa-rails/skills/jira-journey/agents/openai.yaml +0 -4
  192. package/plugins/lisa-rails/skills/jira-verify/SKILL.md +0 -26
  193. package/plugins/lisa-rails/skills/jira-verify/agents/openai.yaml +0 -4
  194. package/plugins/lisa-rails-agy/skills/jira-add-journey/SKILL.md +0 -79
  195. package/plugins/lisa-rails-agy/skills/jira-create/SKILL.md +0 -100
  196. package/plugins/lisa-rails-agy/skills/jira-evidence/SKILL.md +0 -101
  197. package/plugins/lisa-rails-agy/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  198. package/plugins/lisa-rails-agy/skills/jira-journey/SKILL.md +0 -65
  199. package/plugins/lisa-rails-agy/skills/jira-verify/SKILL.md +0 -26
  200. package/plugins/lisa-rails-copilot/skills/jira-add-journey/SKILL.md +0 -79
  201. package/plugins/lisa-rails-copilot/skills/jira-create/SKILL.md +0 -100
  202. package/plugins/lisa-rails-copilot/skills/jira-evidence/SKILL.md +0 -101
  203. package/plugins/lisa-rails-copilot/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  204. package/plugins/lisa-rails-copilot/skills/jira-journey/SKILL.md +0 -65
  205. package/plugins/lisa-rails-copilot/skills/jira-verify/SKILL.md +0 -26
  206. package/plugins/lisa-rails-cursor/skills/jira-add-journey/SKILL.md +0 -79
  207. package/plugins/lisa-rails-cursor/skills/jira-create/SKILL.md +0 -100
  208. package/plugins/lisa-rails-cursor/skills/jira-evidence/SKILL.md +0 -101
  209. package/plugins/lisa-rails-cursor/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  210. package/plugins/lisa-rails-cursor/skills/jira-journey/SKILL.md +0 -65
  211. package/plugins/lisa-rails-cursor/skills/jira-verify/SKILL.md +0 -26
  212. package/plugins/lisa-rails-devin/skills/jira-add-journey/SKILL.md +0 -79
  213. package/plugins/lisa-rails-devin/skills/jira-create/SKILL.md +0 -100
  214. package/plugins/lisa-rails-devin/skills/jira-evidence/SKILL.md +0 -101
  215. package/plugins/lisa-rails-devin/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  216. package/plugins/lisa-rails-devin/skills/jira-journey/SKILL.md +0 -65
  217. package/plugins/lisa-rails-devin/skills/jira-verify/SKILL.md +0 -26
  218. package/plugins/src/expo/skills/jira-add-journey/SKILL.md +0 -140
  219. package/plugins/src/expo/skills/jira-create/SKILL.md +0 -161
  220. package/plugins/src/expo/skills/jira-evidence/SKILL.md +0 -110
  221. package/plugins/src/expo/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  222. package/plugins/src/expo/skills/jira-journey/SKILL.md +0 -207
  223. package/plugins/src/expo/skills/jira-journey/scripts/generate-templates.py +0 -323
  224. package/plugins/src/expo/skills/jira-journey/scripts/parse-plan.py +0 -400
  225. package/plugins/src/expo/skills/jira-verify/SKILL.md +0 -27
  226. package/plugins/src/rails/skills/jira-add-journey/SKILL.md +0 -79
  227. package/plugins/src/rails/skills/jira-create/SKILL.md +0 -100
  228. package/plugins/src/rails/skills/jira-evidence/SKILL.md +0 -101
  229. package/plugins/src/rails/skills/jira-evidence/scripts/post-evidence.sh +0 -397
  230. package/plugins/src/rails/skills/jira-journey/SKILL.md +0 -65
  231. package/plugins/src/rails/skills/jira-verify/SKILL.md +0 -26
@@ -45,6 +45,7 @@ Upload captured evidence and generated templates to GitHub PR description and JI
45
45
  - `gh` CLI authenticated
46
46
  - Evidence directory containing:
47
47
  - `NN-name.txt` or `NN-name.json` text evidence files (e.g., `01-health-check.json`)
48
+ - and/or `NN-name-viewport.png` screenshots (e.g., `01-search-step-desktop.png`) — the only image form uploaded
48
49
  - `comment.txt` — JIRA wiki markup (generated by `generate-templates.py`)
49
50
  - `comment.md` — GitHub markdown (generated by `generate-templates.py`)
50
51
 
@@ -88,12 +89,13 @@ LISA_EVIDENCE_RELEASE=pr-assets bash .claude/skills/jira-evidence/scripts/post-e
88
89
  1. **Read JIRA config** — Resolves the jira-cli config (`$PROJECT_DIR/.lisa/jira-cli/.config.yml` first, then `~/.config/.jira/.config.yml`, announcing the fallback) and reads `server` and `login` from it dynamically — no hardcoded values. Exits 1 naming both paths when neither exists. The same resolved path is then passed to `jira issue move` as `--config`, so the CLI cannot end up on a different config than the one this script parsed.
89
90
  2. **Upload to the configured evidence release (`node scripts/lisa-work-item.mjs evidence-release --ensure` prints it; default `pr-assets`)** — Validates `PR_NUMBER` as a positive integer, uploads each evidence file as `pr-<PR_NUMBER>-<file>` via `gh release upload --clobber`, then lists the release and exits 1 naming any uploaded asset that is missing. Before uploading it refuses an evidence name outside `NN-name.(png|txt|json)` with letters, digits, `.`, `_` and `-` only (GitHub rewrites other characters in asset names), and before editing the description it exits 1 naming any Markdown link or image target in `comment.md` (inline, titled, `<url>`-bracketed or a reference definition such as `[ref]: url`) that points into that release but is not `pr-<PR_NUMBER>-…` or was not uploaded by this run (a stale asset from an earlier run does not count; release URLs quoted as plain text in inlined evidence are ignored). `--clobber` therefore only ever replaces this pull request's own earlier upload.
90
91
  3. **Update PR description** — Replaces or appends the `## Evidence` section in the PR body
91
- 4. **Post JIRA comment** — Posts `comment.txt` as a new comment (wiki markup with code blocks)
92
- 5. **Move ticket to the configured review status** — Transitions the JIRA ticket to `$REVIEW` (default: `Code Review`).
92
+ 4. **Upload JIRA attachments** — Uploads each `NN-*.png` screenshot to the ticket via REST API v3 so the `!filename.png!` wiki markup in `comment.txt` renders inline (skipped when there are none)
93
+ 5. **Post JIRA comment** — Posts `comment.txt` as a new comment (wiki markup with code blocks and embedded screenshots)
94
+ 6. **Move ticket to the configured review status** — Transitions the JIRA ticket to `$REVIEW` (default: `Code Review`).
93
95
 
94
96
  ## Evidence Naming Convention
95
97
 
96
- Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`
98
+ Text evidence files are named: `{NN}-{evidence-name}.txt` or `{NN}-{evidence-name}.json`. Screenshots are named `{NN}-{evidence-name}-{viewport}.png`; only `NN-*.png` images are uploaded, so a `.jpg` or `.gif` is ignored.
97
99
 
98
100
  ```text
99
101
  evidence/
@@ -104,7 +106,7 @@ evidence/
104
106
  comment.md used for PR description
105
107
  ```
106
108
 
107
- Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name.
109
+ Local evidence files keep their `NN-` names. In the shared evidence release each one is stored as `pr-<number>-<file>` (for PR 42, `01-health-check.json` becomes `pr-42-01-health-check.json`), so two pull requests with a same-named file never overwrite each other's evidence. `generate-templates.py` links that scoped name; JIRA attachments keep the local name.
108
110
 
109
111
  ## Troubleshooting
110
112
 
@@ -124,6 +126,10 @@ does not rotate yet, set `verification.completion.evidenceRelease` in
124
126
  release name is too long to take an overflow suffix (shorten it); older evidence
125
127
  keeps validating.
126
128
 
129
+ ### JIRA comment shows `!filename.png!` as text (not image)
130
+
131
+ The screenshot must be uploaded as a JIRA attachment before the comment is posted. The script uploads attachments first, then posts the comment — always in that order.
132
+
127
133
  ### JIRA API returns 403
128
134
 
129
135
  Ensure `JIRA_API_TOKEN` is set and `login` in the resolved jira-cli config (`.lisa/jira-cli/.config.yml`, else `~/.config/.jira/.config.yml`) matches your Atlassian account email.
@@ -142,7 +142,7 @@ LISA_EVIDENCE_RELEASE=<name> python3 .claude/skills/jira-journey/scripts/generat
142
142
  ./evidence
143
143
  ```
144
144
 
145
- This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with evidence formatted as code blocks.
145
+ This generates `evidence/comment.txt` (JIRA wiki markup) and `evidence/comment.md` (GitHub markdown) with text evidence formatted as code blocks. `NN-<name>-<viewport>.png` screenshots are embedded as images, labelled and sized by the journey viewport their name ends in (capped at 700px in JIRA), and the journey's viewports are listed under Key Viewports. Stack-specific capture guidance — which markers, viewports and tools — comes from the stack's `journey-guidance` skill when one is installed.
146
146
 
147
147
  Both `generate-templates.py` and `post-evidence.sh` read `LISA_EVIDENCE_RELEASE`; `post-evidence.sh` still validates and capacity-checks it. Without it they resolve the configured release themselves (default `pr-assets`).
148
148
 
@@ -156,7 +156,7 @@ LISA_EVIDENCE_RELEASE=<name> bash .claude/skills/jira-evidence/scripts/post-evid
156
156
 
157
157
  ### Step 6: Verify
158
158
 
159
- Confirm evidence is posted to both the JIRA ticket and GitHub PR.
159
+ Confirm evidence is posted to both the JIRA ticket and GitHub PR, and that any screenshots render inline at both.
160
160
 
161
161
  ## Verification Patterns Reference
162
162
 
@@ -88,7 +88,12 @@ def get_github_repo():
88
88
 
89
89
 
90
90
  def collect_evidence(evidence_dir):
91
- """Collect evidence files (text, JSON, and images) sorted by name."""
91
+ """Collect evidence files (text, JSON, and images) sorted by name.
92
+
93
+ Images are NN-*.png only: that is exactly what post-evidence.sh uploads
94
+ and attaches, and it refuses a description that links anything it did
95
+ not upload (CodySwannGT/lisa#4639). Linking a .jpg/.gif would fail it.
96
+ """
92
97
  evidence_path = Path(evidence_dir)
93
98
  files = []
94
99
  for pattern in ("[0-9][0-9]-*.txt", "[0-9][0-9]-*.json", "[0-9][0-9]-*.png"):
@@ -109,6 +114,48 @@ def detect_language(filename, content):
109
114
  return "text"
110
115
 
111
116
 
117
+ def screenshot_viewport(stem, journey):
118
+ """Return the journey viewport a screenshot was captured at, or None.
119
+
120
+ Screenshot journeys run once per viewport and name each capture
121
+ NN-<marker>-<viewport>.png. A viewport name may itself contain hyphens
122
+ ("Mobile-Landscape"), so each name is matched, case-insensitively, as a
123
+ whole suffix at a hyphen boundary, and the longest matching name wins.
124
+ """
125
+ lowered = stem.lower()
126
+ matches = [
127
+ viewport
128
+ for viewport in journey.get("viewports") or []
129
+ if str(viewport.get("name", ""))
130
+ and lowered.endswith("-" + str(viewport["name"]).lower())
131
+ ]
132
+ return max(matches, key=lambda v: len(str(v["name"])), default=None)
133
+
134
+
135
+ def evidence_label(evidence_path, journey):
136
+ """Readable label for one evidence file, and its viewport when it has one.
137
+
138
+ The NN- prefix is dropped. For a screenshot whose name ends in a journey
139
+ viewport, that suffix moves into the label as "(Name WxH)".
140
+ """
141
+ stem = evidence_path.stem
142
+ viewport = screenshot_viewport(stem, journey) if evidence_path.suffix == ".png" else None
143
+ label_parts = stem.split("-")[1:]
144
+ if viewport is not None:
145
+ name_segments = len(str(viewport["name"]).split("-"))
146
+ label_parts = label_parts[:-name_segments]
147
+ label = " ".join(label_parts).title() if label_parts else stem
148
+ if viewport is not None:
149
+ label = f"{label} ({viewport['name']} {viewport['width']}x{viewport['height']})"
150
+ return label, viewport
151
+
152
+
153
+ def viewport_rows(journey):
154
+ """Yield (name, "WxH") for each journey viewport."""
155
+ for viewport in journey.get("viewports") or []:
156
+ yield viewport["name"], f"{viewport['width']}x{viewport['height']}"
157
+
158
+
112
159
  def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh_repo):
113
160
  """Generate JIRA wiki markup comment with code block evidence."""
114
161
  lines = []
@@ -132,13 +179,12 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
132
179
 
133
180
  for evidence_path in evidence_files:
134
181
  filename = evidence_path.name
135
- stem = evidence_path.stem
136
- # Extract readable label: remove NN- prefix
137
- label_parts = stem.split("-")[1:]
138
- label = " ".join(label_parts).title() if label_parts else stem
182
+ label, viewport = evidence_label(evidence_path, journey)
139
183
 
140
184
  if filename.endswith(".png"):
141
- display_width = 700
185
+ # Show a screenshot at its viewport's width so a mobile capture is
186
+ # not upscaled, capped at 700 to fit the Jira comment column.
187
+ display_width = min(viewport["width"], 700) if viewport else 700
142
188
  lines.append(f"*{label}:*")
143
189
  lines.append(f"!{filename}|width={display_width}!")
144
190
  lines.append("")
@@ -161,6 +207,14 @@ def generate_jira_wiki(ticket_id, pr_number, branch, evidence_files, journey, gh
161
207
  lines.append(f"# {clean_text}")
162
208
  lines.append("")
163
209
 
210
+ if journey.get("viewports"):
211
+ lines.append("h3. Key Viewports")
212
+ lines.append("")
213
+ lines.append("||Viewport||Resolution||")
214
+ for name, resolution in viewport_rows(journey):
215
+ lines.append(f"|{name}|{resolution}|")
216
+ lines.append("")
217
+
164
218
  return "\n".join(lines)
165
219
 
166
220
 
@@ -192,9 +246,7 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
192
246
 
193
247
  for evidence_path in evidence_files:
194
248
  filename = evidence_path.name
195
- stem = evidence_path.stem
196
- label_parts = stem.split("-")[1:]
197
- label = " ".join(label_parts).title() if label_parts else stem
249
+ label, _viewport = evidence_label(evidence_path, journey)
198
250
 
199
251
  if filename.endswith(".png"):
200
252
  lines.append(f"**{label}:**")
@@ -224,6 +276,15 @@ def generate_github_md(ticket_id, pr_number, branch, evidence_files, journey, gh
224
276
  lines.append(f"{step['number']}. {clean_text}")
225
277
  lines.append("")
226
278
 
279
+ if journey.get("viewports"):
280
+ lines.append("### Key Viewports")
281
+ lines.append("")
282
+ lines.append("| Viewport | Resolution |")
283
+ lines.append("|----------|-----------|")
284
+ for name, resolution in viewport_rows(journey):
285
+ lines.append(f"| {name} | {resolution} |")
286
+ lines.append("")
287
+
227
288
  return "\n".join(lines)
228
289
 
229
290
 
@@ -7,7 +7,7 @@ description: "Expo stack guidance for Validation Journeys on any tracker: when a
7
7
 
8
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
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.
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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
11
11
 
12
12
  ## When a ticket needs a journey
13
13
 
@@ -23,6 +23,11 @@ Skip it only for pure backend/API changes with no UI surface, config-only change
23
23
 
24
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
25
 
26
+ When drafting tickets:
27
+
28
+ - Prefer reusing the project's existing component library over pixel-matching a mock from scratch, and say which component in the ticket. In React Native, rebuilding instead of reusing is the most common way a ticket drifts from the product.
29
+ - Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
30
+
26
31
  ## Writing the journey
27
32
 
28
33
  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):
@@ -67,9 +72,9 @@ To find the flow, read the code: the components involved (search by ticket id, f
67
72
  Requires the Playwright MCP server and a running dev server.
68
73
 
69
74
  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.
75
+ 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. If the app asks for sign-in again after a resize or navigation, the journey's steps must include it.
71
76
  3. At each screenshot marker, `browser_take_screenshot`. For a conditional step, capture the state the step text describes.
72
77
 
73
78
  ## Naming the evidence
74
79
 
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.
80
+ 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`. Only `.png` is uploaded, so do not save screenshots as `.jpg` or `.gif`. What happens to them next depends on the tracker. On Jira, `lisa-jira-journey`'s template generator labels and sizes each screenshot by the viewport its name ends in, and `lisa-jira-evidence` attaches it to the ticket and uploads it 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.
@@ -7,7 +7,7 @@ description: "Rails stack guidance for Validation Journeys on any tracker: picki
7
7
 
8
8
  Stack-specific guidance for Validation Journeys in a Rails project. It applies the same way whichever tracker the project uses (`tracker` in `.lisa.config.json`: `jira`, `github`, or `linear`).
9
9
 
10
- This skill adds the Rails 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.
10
+ This skill adds the Rails 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 mechanics (parsing the journey, generating the evidence comment, uploading screenshots) live in the base `lisa-jira-*` skills, so this skill is the only stack guidance on every tracker.
11
11
 
12
12
  ## Writing the journey
13
13
 
@@ -25,6 +25,8 @@ Start the app with `ops-run-local` when a step needs it.
25
25
 
26
26
  When drafting tickets for UI work, prefer reusing the closest existing partial or ViewComponent over pixel-matching a mock from scratch, and say which one in the ticket.
27
27
 
28
+ Put every feature behind a feature flag with a lifecycle plan (when it turns on, and when the flag is removed), and name the flag in the journey's Prerequisites.
29
+
28
30
  ## Running the journey
29
31
 
30
32
  Run each step in order and capture an artifact of the declared type at every marker. For UI steps, run the full journey once per viewport. For API and job steps, keep the raw request/response or command output — a prose summary satisfies no marker.
@@ -1,142 +0,0 @@
1
- ---
2
- name: jira-add-journey
3
- description: "Add a Validation Journey…"
4
- ---
5
- Add a Validation Journey section to an existing JIRA ticket by reading the ticket description, understanding the feature, and generating the journey steps, viewports, and assertions.
6
-
7
-
8
- # Add Validation Journey to Existing JIRA Ticket
9
-
10
- Read an existing JIRA ticket, understand the feature or fix it describes, analyze the codebase to determine the user flow, and append a Validation Journey section to the ticket description.
11
-
12
- ## Arguments
13
-
14
- `$ARGUMENTS`: `<TICKET_ID>`
15
-
16
- - `TICKET_ID` (required): JIRA ticket key (e.g., `PROJ-123`)
17
-
18
- ## Prerequisites
19
-
20
- - `JIRA_API_TOKEN` environment variable set
21
- - `jira-cli` configured. Prefer the config Lisa writes at
22
- `.lisa/jira-cli/.config.yml` (the `setup-jira-cli` SessionStart hook writes it
23
- from `JIRA_SERVER` / `JIRA_LOGIN` / `JIRA_PROJECT` on a project whose
24
- `tracker` is `jira`), and pass it explicitly with `--config`. A developer's
25
- own `~/.config/.jira/.config.yml` still works as jira-cli's default when no
26
- `--config` is given.
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Read the Ticket
31
-
32
- Use the Atlassian MCP or jira-cli to read the full ticket details:
33
-
34
- ```bash
35
- # Run from the project root. --config pins jira-cli to the file Lisa's
36
- # setup-jira-cli hook wrote, instead of the machine's own ~/.config/.jira.
37
- # jira-cli resolves --config > JIRA_CONFIG_FILE > ~/.config/.jira/.config.yml,
38
- # and a --config path that does not exist fails closed with "Missing
39
- # configuration file." rather than silently using the default.
40
- jira --config .lisa/jira-cli/.config.yml issue view <TICKET_ID>
41
- ```
42
-
43
- If `.lisa/jira-cli/.config.yml` does not exist, drop `--config` to fall back to
44
- the machine's own jira-cli config — but say so in your report rather than
45
- letting the Lisa-written config go quietly unused.
46
-
47
- Extract:
48
- - Title and description (what the feature/fix is)
49
- - Acceptance criteria (what needs to be verified)
50
- - Components or labels (frontend, mobile, responsive, etc.)
51
- - Any linked tickets or parent epic context
52
-
53
- ### Step 2: Check for Existing Journey
54
-
55
- Run the parser to see if a Validation Journey already exists:
56
-
57
- ```bash
58
- python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID> 2>&1
59
- ```
60
-
61
- If the parser succeeds and returns steps, the ticket already has a journey. Report this to the user and stop.
62
-
63
- ### Step 3: Analyze the Feature
64
-
65
- Based on the ticket description and acceptance criteria:
66
-
67
- 1. **Identify the UI surface** — Which pages, modals, or components are affected?
68
- 2. **Identify the user flow** — What steps does a user take to exercise the feature?
69
- 3. **Identify visual checkpoints** — At which states should screenshots be captured?
70
- 4. **Identify viewports** — Does this feature have responsive behavior? Always include Desktop. Add Mobile for responsive changes.
71
- 5. **Identify assertions** — What must be visually true for the feature to be correct?
72
-
73
- Use the Explore agent or read the codebase directly to understand:
74
- - Which components are involved (search by ticket ID, feature name, or file paths mentioned in the ticket)
75
- - What testIDs exist (for Playwright interaction)
76
- - What the user flow looks like (Container/View structure, navigation, modals)
77
-
78
- ### Step 4: Draft the Validation Journey
79
-
80
- Compose the journey following the format:
81
-
82
- ```text
83
- h2. Validation Journey
84
-
85
- h3. Prerequisites
86
- - List what must be true before starting (backend, auth, feature flags)
87
-
88
- h3. Steps
89
- 1. First action the user takes
90
- 2. Second action [SCREENSHOT: descriptive-name]
91
- 3. Continue the flow
92
- 4. Final verification [SCREENSHOT: final-state]
93
-
94
- h3. Viewports
95
- ||Name||Width||Height||
96
- |Desktop|1512|768|
97
- |Mobile|375|812|
98
-
99
- h3. Assertions
100
- - Testable visual statement about the expected behavior
101
- - Another assertion about responsive layout
102
- ```
103
-
104
- ### Guidelines for Drafting
105
-
106
- 1. **3-7 screenshot markers** — Enough to prove the feature, not so many that execution is slow
107
- 2. **Concrete steps** — "Click the 'Add action' button" not "Interact with the controls"
108
- 3. **Include auth if needed** — If the journey requires login, include credentials in Prerequisites
109
- 4. **Name feature flags explicitly** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it
110
- 5. **Assertions must be testable** — "Buttons stacked vertically on mobile" not "Layout looks good"
111
- 6. **Screenshot names in kebab-case** — `confirm-step-disabled`, `modal-open`, `form-error`
112
-
113
- ### Step 5: Present to User for Approval
114
-
115
- Display the drafted Validation Journey to the user and ask for confirmation before appending it to the ticket. The user may want to:
116
- - Add or remove steps
117
- - Change screenshot markers
118
- - Adjust viewports or assertions
119
- - Modify prerequisites
120
-
121
- ### Step 6: Append to Ticket Description
122
-
123
- After user approval, use the JIRA REST API to append the Validation Journey to the existing ticket description.
124
-
125
- Use the Atlassian MCP `updateJiraIssue` to update the description field. The journey section must be appended **after** the existing description content, not replace it.
126
-
127
- ### Step 7: Verify
128
-
129
- Run the parser again to confirm the journey was added correctly:
130
-
131
- ```bash
132
- python3 .claude/skills/jira-journey/scripts/parse-plan.py <TICKET_ID>
133
- ```
134
-
135
- The parser should now return the steps, viewports, and assertions from the newly added section.
136
-
137
- ## When to Use This Skill
138
-
139
- - Ticket was created before the Validation Journey convention was established
140
- - Ticket was created manually without following `lisa:jira-create` guidelines
141
- - Ticket needs a journey added or updated based on implementation progress
142
- - During sprint planning, to ensure all frontend tickets have journeys before work starts
@@ -1,4 +0,0 @@
1
- display_name: "Jira Add Journey"
2
- short_description: "Add a Validation Journey…"
3
- default_prompt:
4
- - "Use $jira-add-journey: Add a Validation Journey…."
@@ -1,163 +0,0 @@
1
- ---
2
- name: jira-create
3
- description: "creating JIRA epics, stories…"
4
- allowed-tools: ["Read", "Glob", "LS", "Skill", "mcp__atlassian__getVisibleJiraProjects", "mcp__atlassian__getJiraProjectIssueTypesMetadata", "mcp__atlassian__getAccessibleAtlassianResources"]
5
- ---
6
- This skill should be used when creating JIRA epics, stories, and tasks from code files or descriptions. It analyzes the provided input, determines the appropriate issue hierarchy, and creates issues with comprehensive quality requirements including test-first development and documentation.
7
-
8
-
9
- # Create JIRA Issues from $ARGUMENTS
10
-
11
- Analyze the provided file(s) and plan a JIRA hierarchy. **This skill plans structure only — every individual ticket write is delegated to `lisa:jira-write-ticket`.** Do not call `mcp__atlassian__createJiraIssue` from this skill; the necessary write tools are intentionally not in `allowed-tools`.
12
-
13
- ## Process
14
-
15
- 1. **Analyze**: Read $ARGUMENTS to understand scope.
16
- 2. **Extract source artifacts**: invoke the `lisa:tracker-source-artifacts` skill, then enumerate every external URL, embed, attachment, or example payload and classify each by domain per its rules. Build the `artifacts` map. See "Source Artifacts" below.
17
- 3. **Walk the live product** (when applicable): if the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill to capture current behavior, design-vs-product divergence, and reuse candidates. Especially load-bearing for Expo/React Native — a UI ticket without a current-product walkthrough is missing context the implementer needs. Skip only when the work is purely backend or affects a screen that does not yet exist. See "Live Product Walkthrough" below.
18
- 4. **Determine structure**:
19
- - Epic needed if: multiple features, major changes, >3 related files
20
- - Direct tasks if: bug fix, single file, minor change
21
- 5. **Plan hierarchy**:
22
- ```text
23
- Epic → User Story → Tasks (test, implement, document, cleanup)
24
- ```
25
- 6. **Delegate every write to `lisa:jira-write-ticket`** in dependency order (epic first, then stories with the epic as parent, then sub-tasks with their story as parent). Pass the artifacts (filtered by domain per `lisa:tracker-source-artifacts` inheritance rules), the walkthrough findings (under `## Current Product`), and — for UI tickets — the Validation Journey draft with `[SCREENSHOT: ...]` markers. See "Delegation to jira-write-ticket" below.
26
- 7. **Run the artifact preservation gate** (`lisa:tracker-source-artifacts` §8): after all writes complete, build the preservation matrix and verify every extracted artifact is reachable from the created tickets. Fail loudly if anything was dropped.
27
-
28
- ## Mandatory for Every Code Issue
29
-
30
- **Test-First**: Write tests before implementation
31
- **Quality Gates**: All tests/checks must pass, no SonarCloud violations
32
- **Documentation**: Check existing, update/create new, remove obsolete
33
- **Feature Flags**: All features behind flags with lifecycle plan
34
- **Cleanup**: Remove temporary code, scripts, dev configs
35
- **Validation Journey**: Every ticket that touches UI must include a Validation Journey section (see below)
36
-
37
- ## Validation Journey (Frontend Tickets)
38
-
39
- Every ticket that changes, adds, or fixes UI must include a `Validation Journey` section in the description. This section is consumed by the `lisa:jira-journey` skill to automate visual verification via Playwright.
40
-
41
- ### When to Include
42
-
43
- Include a Validation Journey when the ticket involves:
44
- - New UI components or screens
45
- - Layout or styling changes (responsive, spacing, colors)
46
- - Modal, drawer, or popover behavior
47
- - Form validation or user input flows
48
- - Bug fixes that are visually verifiable
49
-
50
- Skip the Validation Journey only for:
51
- - Pure backend/API changes with no UI surface
52
- - Config-only changes (env vars, feature flags)
53
- - Test-only or documentation-only changes
54
-
55
- ### How to Write
56
-
57
- Design the journey from the **end user's perspective**. Walk through the exact steps a human would take to verify the change. Place `[SCREENSHOT: name]` markers at the key visual checkpoints.
58
-
59
- Add this section to the ticket description:
60
-
61
- ```text
62
- h2. Validation Journey
63
-
64
- h3. Prerequisites
65
- - App running locally or on dev
66
- - Authenticated as test user
67
- - Any required feature flags enabled
68
-
69
- h3. Steps
70
- 1. Navigate to the relevant page
71
- 2. Perform the first action
72
- 3. Verify the expected state [SCREENSHOT: state-name]
73
- 4. Perform the next action
74
- 5. Verify the final state [SCREENSHOT: final-state]
75
-
76
- h3. Viewports
77
- ||Name||Width||Height||
78
- |Desktop|1512|768|
79
- |Mobile|375|812|
80
-
81
- h3. Assertions
82
- - Describe what must be visually true at each viewport
83
- - Each assertion is verified against the captured screenshots
84
- ```
85
-
86
- ### Guidelines
87
-
88
- 1. **Steps must be concrete and executable** — "Navigate to Players page" not "Go to the relevant section"
89
- 2. **Screenshot markers at visual checkpoints** — Place `[SCREENSHOT: name]` at states that prove the change works. Use descriptive kebab-case names (e.g., `modal-open`, `button-disabled`, `form-error`)
90
- 3. **Include 3-7 screenshot markers** — Enough to prove the feature works, not so many that execution is slow
91
- 4. **Viewports match the change scope** — Always include Desktop (1512x768). Add Mobile (375x812) for responsive changes. Add Tablet (768x1024) only if relevant.
92
- 5. **Assertions are testable statements** — "Buttons stacked vertically on mobile" not "Layout looks good"
93
- 6. **Prerequisites include feature flags** — If the feature is behind a feature flag (in PostHog when `observability.analytics.provider` is `posthog`, the default), name it explicitly
94
- 7. **Auth steps included when needed** — If the journey requires login, include the test credentials in Prerequisites
95
-
96
- ## Source Artifacts
97
-
98
- If $ARGUMENTS includes (or references) any external artifact — PRD, design doc, Figma URL, Lovable prototype, Loom walkthrough, screenshot, example payload — those references MUST be preserved as remote links on the created tickets. Silent artifact loss is the single most common quality failure in this pipeline.
99
-
100
- **Invoke the `lisa:tracker-source-artifacts` skill** for the canonical rules: domains, per-tool classification (Figma `/proto/` vs design, Lovable, Loom, screenshots), source precedence, conflict handling under `## Open Questions`, inheritance from epic → story → sub-task, and the existing-component reuse expectation. Do not restate the rules here.
101
-
102
- Expo-specific note: the existing-component reuse rule is especially load-bearing for React Native — the project has an established component library; pixel-matching a mock instead of reusing components is the most common drift mode.
103
-
104
- When delegating writes to `lisa:jira-write-ticket`, pass the extracted artifact list so its Phase 4c step can attach them.
105
-
106
- ## Live Product Walkthrough
107
-
108
- When the work touches existing user-facing surfaces, invoke the `lisa:product-walkthrough` skill before drafting tickets. Findings (current behavior, design-vs-product divergence, reuse candidates, behavioral surprises) become inputs to the ticket plan and surface under `## Current Product` on the resulting tickets, complementing the Validation Journey (which describes how to verify the *new* behavior, not what exists today). Skip only when the work is purely backend or affects a screen that does not yet exist.
109
-
110
- ## Issue Requirements
111
-
112
- Each issue must clearly communicate to:
113
-
114
- - **Coding Assistants**: Implementation requirements
115
- - **Developers**: Technical approach
116
- - **Stakeholders**: Business value
117
-
118
- Default project: from jira-cli config (override via arguments)
119
- Exclude unless requested: migration plans, performance tests
120
-
121
- ## Delegation to jira-write-ticket
122
-
123
- **Mandatory.** Every ticket created by this skill MUST go through `lisa:jira-write-ticket`. This skill never calls `mcp__atlassian__createJiraIssue` itself — that tool is intentionally excluded from `allowed-tools` so the gate cannot be bypassed.
124
-
125
- `lisa:jira-write-ticket` enforces things this skill does not, and which determine ticket quality:
126
- - 3-audience description (Context / Technical Approach / Acceptance Criteria)
127
- - Gherkin acceptance criteria
128
- - Epic parent validation (non-bug, non-epic types)
129
- - Explicit link discovery (`blocks` / `is blocked by` / `relates to` / `duplicates` / `clones`)
130
- - Remote links (PRs, Confluence, dashboards)
131
- - Single-repo scope check for Bug / Task / Sub-task
132
- - Sign-in account and target environment recorded in description
133
- - Post-create verification
134
-
135
- ### Invocation order
136
-
137
- Tickets must be created in parent-before-child order so each child can be passed its parent key:
138
-
139
- 1. Invoke `lisa:jira-write-ticket` for the epic. Capture the returned key.
140
- 2. For each story, invoke `lisa:jira-write-ticket` with the epic key as the epic parent. Capture each story key.
141
- 3. For each sub-task, invoke `lisa:jira-write-ticket` with the parent story key.
142
-
143
- ### What to pass to each invocation
144
-
145
- For every delegated write, pass:
146
- - The summary, issue type, project key, and priority you decided
147
- - The 3-section description body you drafted (Context / Technical Approach / Acceptance Criteria)
148
- - Gherkin acceptance criteria
149
- - Parent key (epic key for stories; story key for sub-tasks)
150
- - The artifact list extracted in "Source Artifacts", filtered by domain per the inheritance rules — `lisa:jira-write-ticket` Phase 4c attaches them as remote links
151
- - For UI-touching tickets: the Validation Journey draft (with `[SCREENSHOT: ...]` markers, viewports, and feature-flag prerequisites). If the journey is missing, instruct it to call `lisa:jira-add-journey` after create.
152
-
153
- ### What this skill is responsible for
154
-
155
- This skill owns:
156
- - Deciding the *shape* of the hierarchy (what's an epic vs. story vs. sub-task)
157
- - Drafting the description body and acceptance criteria from the input
158
- - Extracting and classifying source artifacts
159
- - Threading parent keys through subsequent writes
160
- - Drafting the Validation Journey for UI tickets (this is Expo-specific guidance the base skill doesn't have)
161
- - Running the artifact preservation check after all writes complete
162
-
163
- It does not own the actual JIRA write — that's `lisa:jira-write-ticket`'s job.
@@ -1,4 +0,0 @@
1
- display_name: "Jira Create"
2
- short_description: "creating JIRA epics, stories…"
3
- default_prompt:
4
- - "Use $jira-create: creating JIRA epics, stories…."