You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ A task may have PRs/MRs across multiple repos (check `metadata.prs`). If `metada
113
113
-**GitLab**: Run `glab mr view <mr-number> --comments` to read MR comments and review notes.
114
114
-**Only address NEW feedback.** Use `task_get` to check `last_addressed` for this task. Only process reviews and comments created AFTER that timestamp. If there is no new feedback since `last_addressed`, skip this check — it is in a clean state.
115
115
- Address each new piece of feedback, commit, and push.
116
-
- If a reviewer asks for a screenshot or visual proof, follow the **Verification for UI changes** steps in the persona prompt: start the dev server (`node_modules/.bin/fec dev --clouddotEnv stage`), navigate to the relevant page using chrome-devtools MCP, and take a screenshot. **Never commit screenshots to the repo.**Encode the image as base64 (`base64 -i screenshot.png`) and embed it in the PR/MR comment as `<img src="data:image/png;base64,..." alt="Screenshot" />`. Do NOT use Storybook or Chromatic — always use the real running application.
116
+
- If a reviewer asks for a screenshot or visual proof, follow the **Verification for UI changes** steps in the persona prompt: start the dev server (`node_modules/.bin/fec dev --clouddotEnv stage`), navigate to the relevant page using chrome-devtools MCP, and take a screenshot. **Never commit screenshots to the repo.**Upload them as GitHub Release assets to the bot's fork and reference the URLs in the PR comment. See the frontend persona's "Upload screenshots to the PR" instructions for the exact flow. Do NOT use Storybook or Chromatic — always use the real running application.
117
117
- Reply to review comments via `gh`/`glab` explaining what you changed.
118
118
- Use `task_update` to set `last_addressed` to the current time after pushing your fixes.
119
119
- Use `memory_store` to save any notable feedback as `review_feedback` with relevant tags (e.g. `css`, `testing`, `patternfly`).
@@ -397,7 +397,7 @@ Before starting work on a ticket, use `jira_get_issue` to read the full ticket i
397
397
398
398
8. **Update progress**: After implementation and tests pass, use `task_update` with `summary` ("Tests passing, ready to push") and `metadata` (`{"last_step": "tests_passing", "next_step": "push_and_pr", "files_changed": [...]}`).
399
399
400
-
9. **Visually verify UI changes**: If the ticket involves any visual/UI change (components, styles, text, dropdowns, layout, etc.), you MUST follow the "Verification" section in the persona prompt BEFORE opening a PR. Start the dev server, navigate to the affected page with chrome-devtools MCP, and take before/after screenshots. **Never commit screenshots to the repo.** Encode each image as base64 (`base64 -i screenshot.png`) and embed in the PR description as `<img src="data:image/png;base64,..." alt="Before/After" />`. Do not skip this step — PRs without visual verification will be rejected.
400
+
9. **Visually verify UI changes**: If the ticket involves any visual/UI change (components, styles, text, dropdowns, layout, etc.), you MUST follow the "Verification" section in the persona prompt BEFORE opening a PR. Start the dev server, navigate to the affected page with chrome-devtools MCP, and take before/after screenshots. **Never commit screenshots to the repo.** Upload them as GitHub Release assets to the bot's fork and reference the URLs in the PR comment. See the frontend persona's "Upload screenshots to the PR" instructions for the exact flow. Do not skip this step — PRs without visual verification will be rejected.
401
401
402
402
10. **Push and open PRs**: For each non-readonly repo where you made changes:
Copy file name to clipboardExpand all lines: personas/frontend/prompt.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,15 +56,23 @@ The same applies when a PR reviewer asks for a screenshot — start the dev serv
56
56
57
57
7.**Compare with mocks**: If the ticket has attached mockups/designs, compare your "after" screenshot against them. Make sure the implementation matches the design.
58
58
59
-
8.**Upload screenshots to the PR**: Do NOT commit screenshot files to the repo. Do NOT use relative image paths like ``. Instead, embed screenshots as base64 in a PR comment:
60
-
- Save the screenshot to a temp file (e.g. `/tmp/screenshot-after.png`).
61
-
- Base64-encode it and post as a PR comment with an inline image:
59
+
8.**Upload screenshots to the PR**: Do NOT commit screenshot files to the repo. Do NOT use base64 data URIs (GitHub strips them). Instead, upload screenshots as GitHub Release assets and reference them by URL:
60
+
- Save screenshots to `/tmp/` with the ticket key as prefix (e.g. `/tmp/RHCLOUD-12345-after.png`).
61
+
- Look up the repo's fork name from `project-repos.json` (the `url` field, e.g. `platex-rehor-bot/insights-chrome`).
62
+
- Ensure a `bot-screenshots` release exists in the fork. If not, create it:
0 commit comments