/pigment:auditing-a-pigment-applicationfrom Pigment
Runs a structured, read-only audit of a Pigment application. Covers formula health checks, dependency tracing, anti-pattern detection, and severity classification.
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.
Run a structured, read-only audit. Do not modify anything unless the user explicitly asks for fixes after reviewing the report.
Start every audit with tool:list_issues to surface active formula computation errors. These are highest-severity because they produce wrong or missing outputs.
For each errored block, retrieve its formula with tool:search_metrics_and_lists (show_details: true) and identify the root cause (type mismatch, missing reference, scenario-specific failure). Use tool:get_metric_dependencies on errored blocks to trace downstream impact and distinguish root causes from cascading symptoms.
Use tool:get_metric_dependencies on critical output metrics (cashflow totals, P&L summaries, KPIs).
Flag:
CUMULATE + SELECT: Month-1 without clear beginning/ending balance separation)Use tool:search_metrics_and_lists with formula_regex_search pattern queries. Do not rewrite formulas during the audit. For the full anti-pattern reference, see skill:writing-performant-formulas. For AR anti-patterns, see skill:securing-with-access-rights.
Flag these patterns (highest priority first):
ACCESSRIGHTS: no IFDEFINED('Users roles', ...) guard — AR computed for every userACCESSRIGHTS guarded only by IFDEFINED(User, ...): flag for review — not a substitute for 'Users roles'ACCESSRIGHTS(x, FALSE): densifies denied cells; should use BLANKISBLANK / ISNOTBLANK: densifies; should use ISDEFINED / IFDEFINED[ADD: X][FILTER: ...]: densify-then-subset; use IF(condition, value)[FILTER: NOT ...]: use [EXCLUDE: ...]PREVIOUS chains / multiple PREVIOUS(...) calls: check if CUMULATE, FILLFORWARD, or SELECT fitsIFBLANK(X, PREVIOUS(...)) or IFBLANK(X, PREVIOUSOF(...)): use FILLFORWARD[ADD: X][REMOVE: X] / [REMOVE: X][ADD: Y] round-trips: use BY with mapping[BY:][BY:] on Transaction List: drops properties; use single BY with comma-separated mappings[REMOVE: Version]: collapses scenario meaning; verify intentionalREMOVE in formulas: scope loss; check with tool:get_metric_dependenciesIF(cond, expr) on 6+ dim metrics with non-trivial second arg: use expr[FILTER: cond]DATE(YYYY, ...): use Date-typed or Dimension-typed input metricsCopy of X default names: leftover from duplicationUse tool:search_metrics_and_lists with kind: ["Dimension"] and a name regex to verify a Version dimension exists. A missing Version dimension is a high-severity structural gap; see skill:building-versions-and-planning-cycles for fixes.
Use tool:calendar_get to read the current configuration. Flag:
For fixes, see skill:setting-up-calendar.
Use tool:list_scenarios. Flag:
Budget vs budget)child, test, scenario1)Use tool:list_application_libraries. Flag:
FY24 library on an FY25 app)Use tool:search_metrics_and_lists and tool:get_metric_dependencies to identify structural debt:
skill:securing-with-access-rightsUse tool:search_metrics_and_lists with friendly_name_regex_search to find blocks matching test/copy/temporary patterns:
copy, Copy, COPY: Leftover duplicatestest, Test, TEST: Experimental blocks not cleaned upnew metric, New Metric, NewBlock: Default names never renamedtmp, TMP, ZZ, TBD: Explicitly temporary blocksCount them, note their folder, flag as cleanup candidates.
Use tool:search_metrics_and_lists with kind: ["Metric"] to page through all metrics, then tool:get_metric_dependencies on each to find orphans (zero usages). Batch dependency checks in parallel.
Safe to delete: no formula references, no views, no boards, no automations, no ARM. Not safe: displayed on a board/view, shared via library (other apps may consume), input metrics with user data, metrics with overrides, or settings/parameters folder items. Always present the list to the user before deleting; group by folder; highlight input and shared metrics separately.
Use tool:search_metrics_and_lists with parent_folder_regex_search: ["^/$"] or an empty-path filter to identify blocks in root / no folder. Check whether a standard folder structure exists (numbered functional-area folders like 0. Admin (ADM), 2. Revenue (REV)). Mixed-purpose or flat layouts are a maintenance risk. For fixes, see skill:naming-and-organizing-applications.
Use tool:search_boards and tool:get_board for suspicious boards. Flag:
mention: syntax.Before delivering the report, confirm all checks ran:
tool:list_issues + dependency tracing)tool:list_cycles)tool:calendar_get)tool:list_scenarios)tool:list_application_libraries)tool:get_metric_dependencies zero usages)tool:get_board)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
39 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./npx claudepluginhub gopigment/ai-plugins --plugin pigmentOther plugins' skills for the same job