一键导入
report-ui
Generate the HTML report from a transactions file and preview it in Chrome via devtools. Checks the UI is working and suggests improvements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate the HTML report from a transactions file and preview it in Chrome via devtools. Checks the UI is working and suggests improvements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | report-ui |
| description | Generate the HTML report from a transactions file and preview it in Chrome via devtools. Checks the UI is working and suggests improvements. |
| argument-hint | [transactions-file] [-- extra-flags] |
Generate an HTML report and interactively test it in the browser using Chrome DevTools.
Generate the report
cargo run -- report <file> --output /tmp/taxc-report-preview.html where <file> is $ARGUMENTS if provided, otherwise tests/data/mixed_rules.json.--year 2025), pass them through.Open in Chrome
mcp__chrome-devtools__new_page to open file:///tmp/taxc-report-preview.html.mcp__chrome-devtools__take_screenshot to capture the initial state.Smoke test the UI
Run these checks using mcp__chrome-devtools__evaluate_script:
DATA object exists and has events and summary.#summary-proceeds contains a £ value (not the — placeholder).#date-from and #date-to have valid date values..tx-row in #transactions-body.#events-section is visible and has rows.toggleDatePanel() and verify .date-panel.open exists. Then call closeDatePanel().mcp__chrome-devtools__list_console_messages and check for errors.Report pass/fail for each check.
Take final screenshots
toggleDatePanel()), screenshot it, then close it.Suggest UI improvements
Based on the screenshots and the current state of the CSS/HTML/JS, use the frontend-design:frontend-design skill's design thinking to suggest 3-5 concrete, actionable UI improvements. Consider:
Present suggestions as a prioritized list with brief rationale for each.