CommunityImagemgithub.com

review-figures

Read-only audit of the figures on a page — screenshot every step in light mode, dark mode, at 375 px and after client-side navigation, then check them against the PlanetScale-style visual language, label fit, overlaps, outcome boxes and text alternatives. Use when the user says a diagram looks off, asks to check or screenshot figures, or after building or redrawing a figure.

O que é review-figures?

review-figures is a Claude Code agent skill that read-only audit of the figures on a page — screenshot every step in light mode, dark mode, at 375 px and after client-side navigation, then check them against the PlanetScale-style visual language, label fit, overlaps, outcome boxes and text alternatives. Use when the user says a diagram looks off, asks to check or screenshot figures, or after building or redrawing a figure.

Funciona com✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Adekabang/engineering-writing-skills/tree/HEAD/skills/review-figures

Installed? Explore more Imagem skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Review figures

Requires planetscale-style-figures, installed next to this skill (links use ../). If it is missing, read https://github.com/Adekabang/engineering-writing-skills/tree/main/skills/planetscale-style-figures.

Read-only. Report findings; fix only when asked (then use the drawing skill that built the figure).

Standard: the visual language in ../planetscale-style-figures/references/visual-language.md and the checklist in ../planetscale-style-figures/SKILL.md.

Steps

  1. Run the automatic checks if the project has them (figure tests, geometry or label-fit checks, a link checker).

  2. Screenshot every figure on the page. With a dev or preview server running, use the scripts/figshot.mjs file in this skill's folder:

    node <this skill's folder>/scripts/figshot.mjs /docs/some-page/ <out-dir> [port]
    

    The script needs playwright-core (install it in a scratch folder, not the project) and Chrome (CHROME_PATH overrides the macOS default). It expects stepped figures marked with data-boundary-figure, step buttons with data-step, and the active step in data-beat; adapt the selectors for another figure component. It clicks each step, waits for it to become active, and saves each step in light mode, a mid-animation frame, and the final step in dark mode and at 375 px. It prints any page errors. Without such a component, take the screenshots by hand.

  3. Open every image and check each item below. Repeat for the other language's page.

  4. Navigation check. Open another page, navigate back with a link (not a reload), and confirm the figure starts at step 1 with its buttons.

Check

  • Labels fit their boxes and do not overlap lines, marks or other labels, in both languages.
  • Nothing is cut off at the canvas edge or at 375 px.
  • Square corners, inset dashed outline, orthogonal lines with square ends, flow colours labelled.
  • Each step changes one thing; the outcome box matches the header sentence.
  • Packets travel the active path; refused paths end in a × at the deciding control.
  • Dark mode keeps contrast; no colour carries meaning alone.
  • A lead-in sentence sits above the figure; the text alternative names every element or step.

Output

A list per figure key: OK, or each problem with the screenshot path and the step, theme or width where it shows. Most severe first.

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

draw-mechanism

Draw how a system is put together or what happens over time — network and service topologies, layered stacks, reader-stepped mechanisms with packets and refusals, sequence (ladder) diagrams, swimlane timelines with measured spans such as RPO/RTO, and first-match rule walkthroughs — in the PlanetScale-style visual language. Use when the user asks for an architecture diagram, request path, sequence diagram, incident or recovery timeline, firewall or policy evaluation, or any boxes-and-flows figure.

plain-indonesian

Edit or write Indonesian technical documentation in plain language (bahasa Indonesia yang lugas) — short active sentences, one instruction per sentence, sentence-case headings, EYD, consistent "Anda", natural word order instead of translationese — while keeping established technical terms, requirement words (harus, wajib, dapat), values, code and anchors, and verifying afterwards that nothing was lost. Use when the user asks to improve Indonesian docs, fix translationese or untranslated English, apply EYD, or run a language pass over Indonesian pages.

planetscale-style-figures

Design and build explanatory diagrams, animations and interactive figures in the visual language of the PlanetScale engineering blog — monospace uppercase labels, square boxes with an inset dashed outline, orthogonal connectors, one colour per flow, reader-stepped "STEP n OF m" mechanisms, charts from real data, simulations and explorers. Use on its own whenever the user wants a figure, diagram, chart, animation or interactive visual for a post, doc page or book chapter (including redrawing an existing diagram), or when the planetscale-style-blog skill hands over its figure plan. Umbrella skill: prefer draw-mechanism, chart-evidence, build-interactive or redraw-diagram when one clearly fits; use this one for mixed sets of figures or when unsure.

Habilidades Relacionadas