/pigment:formatting-and-highlightingfrom Pigment
Sets default number, text, and boolean formatting on metrics (ratios, percentages, currencies, growth, text, URLs, booleans) via defaultFormat. Applies when creating or updating non-count metrics, even if formatting is not explicitly mentioned.
Ships in Pigment. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Set formatting on tool:create_metric / tool:bulk_update_metrics 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:bulk_update_metrics 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:update_view_formatting).
numberFormatOptions is required inside default format. Pass {} if you only set textFormatOptions or booleanFormatOptions.multiplier is numeric, not a string alias. Use 100 for percent, 0.001 for thousands, 0.000001 for millions, 10000 for basis points.multiplierSuffix is only ever "%" or "bp". Any other scale marker -- a thousand / million / billion letter, in any case -- goes in suffix.multiplier and multiplierSuffix as if dealing with percentages. Our terminology deviates from the statistical one: a metric named like a ratio (e.g. Revenue / COGS Ratio) is a percentage here, even though the literal reading would be a plain quotient.prefix / suffix are independent of multiplier / multiplierSuffix and stack on either side of the value.textDisplayMode -- always use RichText for comment, note, description, report, URL, link; otherwise use Text.Contains %, Rate, Ratio, Margin, Growth, Share, Yield, Efficiency: multiplier: 100, multiplierSuffix: "%", numFractionDigits: 1 (use 2 if name implies precision, e.g. Margin %).
Contains Revenue, Cost, Spend, Budget, Price, ARR, MRR, LTV, CAC, Salary, Fee, Expense, Income: prefix: "$" (or the currency the modeler specified). Consider multiplier: 0.000001 + suffix: "M" or multiplier: 0.001 + suffix: "K" when context implies scale.
Contains Headcount, Count, Number of, #, Units, Quantity, FTE: numFractionDigits: 0, no multiplier.
Contains bp, Basis Point: multiplier: 10000, multiplierSuffix: "bp".
Friendly name ends with ($): prefix: "$".
Friendly name ends with (%): multiplier: 100, multiplierSuffix: "%".
Integer: numFractionDigits: 0Number: numFractionDigits: 0 (raise to 1 or 2 when name/formula implies fractional precision: rates, ratios, averages, unit prices)Boolean: booleanDisplayMode: "Checkbox"Text: always use textDisplayMode: "RichText" for comment, note, description, report, URL, link; otherwise textDisplayMode: "Text"Percentage or ratio metric:
{
"numberFormatOptions": {
"multiplier": 100,
"multiplierSuffix": "%",
"numFractionDigits": 1
}
}
Currency metric in millions:
{
"numberFormatOptions": {
"prefix": "$",
"multiplier": 0.000001,
"suffix": "M",
"numFractionDigits": 1
}
}
Headcount:
{
"numberFormatOptions": {
"numFractionDigits": 0
}
}
Boolean gate:
{
"numberFormatOptions": {},
"booleanFormatOptions": {
"booleanDisplayMode": "Checkbox"
}
}
Rich text note:
{
"numberFormatOptions": {},
"textFormatOptions": {
"textDisplayMode": "RichText"
}
}
Conditional formatting is applied with tool:update_view_formatting (skill:designing-boards-and-views), through scope.condition. It is not part of a metric's default format.
conditionedByMetricValueFieldId), which must already be in the View.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gopigment/ai-plugins --plugin pigment39 skills in this plugin
/aggregating-view-dataExecution skill. Use when a View needs totals or subtotals, when a value must roll up with something other than Sum (average, min, max, count, last), when a snapshot metric adds up across time instead of holding, or when a ratio, percentage, margin, growth or variance metric is added to a Table View or shows a wrong total (e.g. a row for margin as a percent of revenue). Covers metric default aggregators, pivot versus hidden-dimension aggregation, the aggregator reference per value type, and Advanced Aggregators on Table Views./architecting-multi-application-solutionsPlanning skill. Use when deciding how to split work across Pigment applications, designing Hub-and-spoke data flows, or planning Test & Deploy across environments./Other plugins' skills for the same job