Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Build responsive, readable charts with Recharts using correct data mapping and composition. Use whenever creating charts with Recharts — LineChart, BarChart, AreaChart, PieChart, wrapped in ResponsiveContainer with a fixed-height parent. Not for charts built with other libraries.
.claude/skills/asymmetric-al-rechart/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-22 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -5% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -9% | 0% |
| case-05 | ✓→✓ | = Same ✓ | 7% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 67% | 0% |
Name: recharts Purpose: Build responsive, readable charts with Recharts using correct data mapping and composition. Use this skill whenever creating charts with Recharts.
Applies when: Using LineChart, BarChart, AreaChart, PieChart, ResponsiveContainer. Do not use when: Charts are not built with Recharts.
ResponsiveContainer and ensure a fixed height parent.dataKey values.LineChart for trends, BarChart for comparisons, AreaChart for cumulative/volume, PieChart for part-to-whole.Tooltip; add Legend when multiple series exist.ResponsiveContainer with a height.ResponsiveContainerdataKey matches field namestsximport { LineChart, Line, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, } from "recharts"; export function SalesChart({ data, }: { data: Array<{ month: string; sales: number }>; }) { return ( <div style={{ height: 320 }}> <ResponsiveContainer width="100%" height="100%"> <LineChart data={data} margin={{ top: 8, right: 16, bottom: 8, left: 8 }} > <CartesianGrid strokeDasharray="3 3" /> <XAxis dataKey="month" /> <YAxis /> <Tooltip /> <Legend /> <Line type="monotone" dataKey="sales" dot={false} /> </LineChart> </ResponsiveContainer> </div> ); }
tsxtype TooltipProps = { active?: boolean; label?: string; payload?: Array<{ name?: string; value?: number | string }>; }; export function CustomTooltip({ active, label, payload }: TooltipProps) { if (!active || !payload?.length) return null; return ( <div className="rounded-md border bg-white p-2 text-sm shadow"> <div className="font-medium">{label}</div> <ul className="mt-1 space-y-0.5"> {payload.map((p, i) => ( <li key={i}> {p.name}: {p.value} </li> ))} </ul> </div> ); }
ResponsiveContainer or fixed-height parentdataKey values| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 17,463 | 9,912 | -43% | 1 | 1 | 0% | 3,856 | 2,923 | -24% | 0 | 0 | — |
case-02 | pass→pass | 16,228 | 10,582 | -35% | 1 | 1 | 0% | 3,142 | 2,999 | -5% | 0 | 0 | — |
case-03 | pass→pass | 17,100 | 11,812 | -31% | 1 | 1 | 0% | 3,429 | 3,136 | -9% | 0 | 0 | — |
case-04 | fail→fail | 10,461 | 8,512 | -19% | 1 | 1 | 0% | 2,074 | 2,514 | +21% | 0 | 0 | — |
case-05 | pass→pass | 16,051 | 12,069 | -25% | 1 | 1 | 0% | 2,884 | 3,075 | +7% | 0 | 0 | — |
case-06 | pass→pass | 6,687 | 6,282 | -6% | 1 | 1 | 0% | 1,198 | 1,997 | +67% | 0 | 0 | — |
case-07 | pass→pass | 12,338 | 7,710 | -38% | 1 | 1 | 0% | 2,058 | 2,093 | +2% | 0 | 0 | — |
case-08 | pass→pass | 12,497 | 10,720 | -14% | 1 | 1 | 0% | 2,611 | 2,930 | +12% | 0 | 0 | — |
case-09 | pass→pass | 12,065 | 7,610 | -37% | 1 | 1 | 0% | 2,277 | 2,379 | +4% | 0 | 0 | — |
case-10 | pass→pass | 7,804 | 4,440 | -43% | 1 | 1 | 0% | 1,374 | 1,598 | +16% | 0 | 0 | — |
case-11 | pass→pass | 7,997 | 5,996 | -25% | 1 | 1 | 0% | 1,694 | 2,070 | +22% | 0 | 0 | — |
case-12 | pass→pass | 4,467 | 4,619 | +3% | 1 | 1 | 0% | 816 | 1,678 | +106% | 0 | 0 | — |
case-13 | pass→pass | 12,408 | 8,302 | -33% | 1 | 1 | 0% | 2,698 | 2,710 | +0% | 0 | 0 | — |
case-14 | pass→pass | 11,904 | 10,296 | -14% | 1 | 1 | 0% | 2,472 | 3,009 | +22% | 0 | 0 | — |
case-15 | pass→pass | 8,697 | 10,091 | +16% | 1 | 1 | 0% | 1,791 | 2,885 | +61% | 0 | 0 | — |
case-16 | pass→pass | 15,879 | 15,065 | -5% | 1 | 1 | 0% | 3,125 | 4,120 | +32% | 0 | 0 | — |
case-17 | pass→pass | 23,167 | 14,248 | -38% | 1 | 1 | 0% | 4,684 | 3,870 | -17% | 0 | 0 | — |
case-18 | pass→pass | 13,201 | 8,712 | -34% | 1 | 1 | 0% | 2,341 | 2,548 | +9% | 0 | 0 | — |
case-19 | pass→pass | 5,431 | 4,077 | -25% | 1 | 1 | 0% | 1,090 | 1,658 | +52% | 0 | 0 | — |
case-20 | pass→pass | 8,615 | 6,314 | -27% | 1 | 1 | 0% | 1,672 | 2,181 | +30% | 0 | 0 | — |
case-21 | pass→pass | 9,783 | 6,540 | -33% | 1 | 1 | 0% | 2,212 | 2,218 | +0% | 0 | 0 | — |
case-22 | fail→pass | 13,556 | 10,155 | -25% | 1 | 1 | 0% | 2,723 | 2,911 | +7% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +5 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.