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
feat: enhance documentation with colorblind-safe color palettes
- Added colorblind-safe color options for various plotting libraries
- Updated font size guidelines for text elements in the style guide
- Revised Python version requirement in development documentation
- Clarified reserved documentation sections for future use
Copy file name to clipboardExpand all lines: agentic/commands/update.md
+45-8Lines changed: 45 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,10 +133,24 @@ For each updated library, edit `plots/{spec_id}/metadata/{library}.yaml`:
133
133
|`updated`| Current UTC timestamp in ISO 8601 (e.g., `2026-02-10T14:30:00+00:00`) |
134
134
|`generated_by`| Get from `CLAUDE_MODEL` env var, or detect via `claude --version` / model name |
135
135
|`python_version`| Get from `uv run python --version`|
136
-
|`library_version`| Get from `uv run python -c "from importlib.metadata import version; print(version('{package}'))"` where `{package}` is the pip package name. Mapping: `highcharts` → `highcharts-core`, `letsplot` → `lets-plot`, all others → same as `{library}`|
136
+
|`library_version`| Get from `uv run python -c "from importlib.metadata import version; print(version('{package}'))"` where `{package}` is the pip package name (see mapping table below)|
137
137
|`quality_score`| Set to `null` (CI review will fill this) |
138
138
| All other fields |**Keep unchanged** (including `review`, `impl_tags`, `preview_url`, etc.) |
139
139
140
+
**Library → Pip Package Mapping:**
141
+
142
+
| Library | Pip Package Name |
143
+
|---------|-----------------|
144
+
| matplotlib |`matplotlib`|
145
+
| seaborn |`seaborn`|
146
+
| plotly |`plotly`|
147
+
| bokeh |`bokeh`|
148
+
| altair |`altair`|
149
+
| plotnine |`plotnine`|
150
+
| pygal |`pygal`|
151
+
| highcharts |`highcharts-core`|
152
+
| letsplot |`lets-plot`|
153
+
140
154
#### 5c. Update Implementation Header
141
155
142
156
For each updated library, ensure the implementation file starts with:
@@ -186,10 +200,12 @@ if [ -f "plots/{spec_id}/implementations/.update-preview/{library}/plot.html" ];
186
200
fi
187
201
```
188
202
189
-
Update `preview_url` and `preview_thumb` in the metadata YAML to point to the staging URLs:
203
+
Update `preview_url` and `preview_thumb` in the metadata YAML to point to the **production** URLs
204
+
(matching `impl-generate.yml` — production URLs are set from the start, `impl-merge.yml` promotes
2.**Data Choice** — Realistic data that showcases the plot type well, shows ALL features (e.g., outliers for boxplots, multiple trends for line charts), appropriate ranges/scales
378
+
3.**Visual Design** — Colors, legibility at 4800x2700 canvas, layout balance, grid subtlety, marker sizing for data density
379
+
4.**Spec Compliance** — Point-by-point check against `specification.md`
380
+
5.**Library Feature Usage** (LF-01) — Does the code leverage distinctive library strengths? Basic usage is not enough
381
+
6.**Code Transferability** — Can a user easily adapt this to their own data? Clear separation of data vs. plot logic? Meaningful variable names?
382
+
-**No changes for the sake of changes:** If you find nothing meaningful to improve, report "no improvements needed" and leave the code unchanged. Do not make cosmetic or unnecessary changes just to show activity.
383
+
384
+
If the specification genuinely needs changes to improve the result, edit `plots/{SPEC_ID}/specification.md` and
385
+
explain what you changed and why. Do not edit the spec just for the sake of change.
0 commit comments