Skip to content
Back to skills

Chart

ASecurity

Use $chart to build or review a chart or dashboard from supplied data. Choose the form by the takeaway and verify scales, source, labels, color and the accessible data table.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add jerahsiegal-source/ai-implementation-skills --skill chart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jerahsiegal-source-chart-ai-implementation-skills/badge)](https://www.skillsdirectory.com/skills/jerahsiegal-source-chart-ai-implementation-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: chart
description: Use $chart to build or review a chart or dashboard from supplied data. Choose the form by the takeaway and verify scales, source, labels, color and the accessible data table.
---

# Chart

Turn numbers into a chart that makes one point clearly and truthfully. It works on its own or inside `/design`, `/visualize` and the work loop, which read this file when a page needs a chart.

## Codex resources

Use absolute paths to this package's files. Find shared kits and companion packages in the installed skills directory (usually ~/.agents/skills). If the entrypoint is resolved to a junction's source checkout, find Codex variants under codex/skills and shared kits under skills in that checkout. Copy installations use installed siblings. Continue with the workflow's own references if a companion is missing.

Use an available connected browser or local Playwright with Chromium for visual evidence. If automation is unavailable, use an available preview and run the shared Node checker in static mode. Without a visual surface, identify the unverified render and interaction checks.

For a single bounded HTML chart, work from the supplied data and the existing page or design notes. Use only the needed form rules and write or repair the chart and accessible values before adding polish. Verify the chart and source together. Attempt the available visual checks once and report any render that could not be verified.

## 1. Load context (quietly)

Read in rule order. Higher wins when they disagree, except that nothing overrides the truth rules.

1. **The user's message.**
2. **The project:** `DESIGN.md` (brand, chart colors, chosen look) and existing chart code or libraries.
3. **Personal taste:** `~/.ai-skills/personal/taste.md`, if it exists.
4. **The kit:** `design-kit/floor.md` (floor) and the Data section of `design-kit/craft.md` (craft).

## 2. Write the brief (one line)

`Takeaway | Audience | Where it shows`

For example: `Reply time fell below target in week 9 | support leads | weekly report page`. Where it shows means page, dashboard, slide, doc or small inline. It sets the size, density and how much text the chart can carry.

Then look for the pattern before you pick the takeaway: a weekly rhythm, a trend, a jump, an outlier, a gap between groups. The best takeaway is usually that pattern, and the chart should make it visible (for example, color the weekends and gray the weekdays).

**If the user has to decide or act** ("what should I change", "what do I do next"), the page answers that first. Put the actions at the top, before any chart, each with its size worked out from the data (for example "+410 a week if the ticket reaches 12"). The charts come after, as the evidence. A chart page that makes the reader scroll past charts to find what to do has missed the point.

Check the data too: its source, units, date range and any gaps. **Never invent or fill in numbers.** If data is missing, show the gap and say so. For dates that are irregularly spaced, position marks by actual elapsed time. A missing observation breaks the line. Keep a provisional observation visibly marked as such and preserve its exact row and label in the table. If there is no clear takeaway, ask one question or pick the most useful reading and say which.

For rates, retain the numerator and denominator in the exact-value view. Recompute an overall rate from total successes divided by total eligible observations. If the mix of groups changed, compare the within-group rates and say what changed in the mix. When the direction changes between the pooled and grouped views, show both on the same page. A reported numerator of zero with a positive denominator is a zero rate. A zero denominator has no rate. A missing submission is a coverage gap. Preserve these three states in the graphic and the exact values. When comparing periods with different reporting coverage, state which observations enter each calculation and check the conclusion on matched reporters when the data supports it. Put the numerator and denominator alongside every headline rate, and state how missing coverage limits the result. When a digest uses an average of group rates, label that calculation and show the number of groups in each period. If the digest diverges from the pooled or matched result, show them together.

For a chart review or repair, open the chart and source first. For a review, leave the artifact unchanged and report each observed defect with its viewport, affected value or label, and what a reader could infer incorrectly. Compare the accessible table and the actual marks with the original rows. A checker result does not establish that plotted values agree with the source. Read only the chart rules that apply to its renderer and observed fault. Compare representative displayed marks and missing values with the source before changing the styling. Verify the minimum, maximum, zero and missing cases when present. Retain the established visual treatment unless fixing it is necessary for the interpretation or readability.

For a review-only task, skip authoring steps 3 and 4. Verify the supplied artifact in step 5 and report the findings.

## 3. Pick the form

Use the table in [forms](references/forms.md). Pick by the relationship the takeaway is about. Choose the simplest truthful form. A number tile or a table is often the right answer.

## 4. Build it

- Follow [build](references/build.md): use the requested document, spreadsheet, slide, image or web surface. Reuse its chart support or the project's chart library. For web output, use the [starter](templates/charts.html) or [dashboard example](templates/dashboard.html).
- Every chart gets: a **takeaway title**, **direct labels**, the **source**, `role="img"` with an `aria-label` that states the takeaway, and the **data as a table** behind "Show data".
- Colors from [color](references/color.md). Highlight what matters, gray for context. If colors come from a brand, run `scripts/check-palette.mjs` on them first.
- Apply the [rules](references/rules.md). [R] rules never bend. [T] rules give way to the brand or the user.

## 5. Check, fix, repeat

For HTML, run both checkers using their resolved paths:

```
node <chart>/scripts/check-chart.mjs <page.html>
node <design-kit>/scripts/check-page.mjs <page.html> --out <folder>
```

- For a build or authorized repair, fix every FAIL and judge every WARN. For review-only work, report confirmed issues without changing the input.
- After changes, run both again. Inspect the desktop and phone views for the reader's takeaway, scale, and any labels cut off by the chart or its surrounding container.
- If Playwright isn't installed, the browser checks are skipped. Say so. Don't claim a check ran when it didn't.
- Inside a work loop, the checker output and screenshots are the evidence for each chart item.

Measure SVG labels at their rendered size on a phone. A fixed viewBox can shrink legible desktop type below the minimum even when every label fits. Give long labels room to wrap or provide a compact mobile layout. An exit code of zero with a skip does not verify a rendering. If the chart uses an unsupported renderer, independently inspect clipping, readable labels, scale, and color at each requested viewport. In comparisons that reflow, keep a period label, mark and value together in one row or item. At the narrow width, check the association of every visible period and value against the exact table. A page can avoid overflow and still put the wrong label next to a bar.

For other formats, inspect the actual export. Compare the plotted values, units, labels, accessible alternative and source with the input. Supply an accessible data table with the artifact when native chart data is unavailable.

## Reply

Keep it short: where the chart is, the takeaway in one line, the form and why (a few words), the checker summary lines, and anything skipped or left as a WARN with its reason.

Files in this skill

  • SKILL.md7.8 KB
  • agents/openai.yaml136 B
  • references/build.md2.2 KB
  • references/color.md1.9 KB
  • references/forms.md2.3 KB
  • references/rules.md3.9 KB
  • scripts/check-chart.mjs12.8 KB
  • scripts/check-palette.mjs4.9 KB
  • templates/charts.html11.4 KB
  • templates/dashboard.html10.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.