# formatting-and-highlighting

> Claude/Codex skill by [@gopigment](https://omgskills.com/library/gopigment/index.md) · 23 stars · Updated 2026-10-23

Execution skill. Use when applying metric default formatting — decimals, prefix, suffix, currency ($/€), percent (%), K/M/bp/thousand/million scaling, thousand separator, sign / zero / negative handling, text mode (Text / Rich Text / URL / Image / LocaleDateTime), boolean display (checkbox / button). Load it when creating a metric whose values are not plain counts -- a ratio, percentage, growth, currency, boolean or text metric (comments, notes, links, URLs) -- even if the user said nothing about formatting.

## Install

```sh
git clone https://github.com/gopigment/ai-plugins /tmp/ai-plugins && ln -s /tmp/ai-plugins/skills/formatting-and-highlighting ~/.claude/skills/formatting-and-highlighting
```

## From README

Formatting and Highlighting Set formatting on tool:createmetric / tool:updatemetric via the defaultFormat field. A metric's default format applies to every View, Board, KPI, Grid, and Chart that displays it. Skip this skill for tool:updatemetric calls that don't touch default format (renaming, changing dimensions, editing description). Out of scope: view display modes, aggregators, sort, filter; static and conditional cell formatting (background/text color, bold, italic, alignment, highlight rules, color scales) -- use skill:designing-boards-and-views (tool:updateviewformatting). Critical Rules Set formatting on the metric, not on the view. Views have no number-formatting tools. numberFormatOptions is required inside default format. Pass {} if you only set textFormatOptions or booleanFormatOptions. Omitting a field leaves it unset. There is no way to clear an individual field. Modeler context overrides inference.

## Links

- HTML page: https://omgskills.com/library/gopigment/ai-plugins/skills/formatting-and-highlighting/
- GitHub: https://github.com/gopigment/ai-plugins
- Author: [@gopigment](https://omgskills.com/library/gopigment/index.md)

## More from this repo

- [aggregating-view-data](https://omgskills.com/library/gopigment/ai-plugins/skills/aggregating-view-data/index.md) — Execution skill.
   - [@gopigment](https://omgskills.com/library/gopigment/index.md) · 23 stars
- [architecting-multi-application-solutions](https://omgskills.com/library/gopigment/ai-plugins/skills/architecting-multi-application-solutions/index.md) — Planning skill.
   - [@gopigment](https://omgskills.com/library/gopigment/index.md) · 23 stars
- [auditing-a-pigment-application](https://omgskills.com/library/gopigment/ai-plugins/skills/auditing-a-pigment-application/index.md) — Execution skill.
   - [@gopigment](https://omgskills.com/library/gopigment/index.md) · 23 stars
