ce-plot-review

Audit plotting code against CE Plot Review ADR dimensions and generate conformance findings.

78|15|Updated May 1, 2023
One-click install
npx skills add https://github.com/Moffran/calibrated_explanations --skill ce-plot-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ce-plot-review
Source: https://github.com/Moffran/calibrated_explanations/tree/main/.claude/skills/ce-plot-review
Command: npx skills add https://github.com/Moffran/calibrated_explanations --skill ce-plot-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Auditors and developers need to verify that CE visualization code conforms to ADRs (PlotSpec rendering, lazy imports, and validator correctness) and identify regressions and safety concerns in plotting components.

Core Features & Use Cases

  • Evaluate code against Dimension 1 (Lazy matplotlib import), Dimension 2 (Legacy renderer default), Dimension 3 (PlotSpec validation), Dimension 4 (Renderer/builder separation), Dimension 5 (ADR-023 matplotlib tests), Dimension 6 (Plot interface naming), and Dimension 7 (PlotSpec colour roles).
  • Produce a conformance report with actionable findings, remediation steps, and guidance to align projects with CE ADRs.
  • Integrate into CI pipelines to enforce ADR-based plotting standards across code changes.

Quick Start

Run the CE Plot Review audit on your plotting module to generate a findings report detailing ADR conformance across all dimensions.

Frequently Asked Questions about ce-plot-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check matplotlib code for ADR compliance?

You can audit matplotlib code for ADR compliance by evaluating plotting modules against seven dimensions including lazy imports, PlotSpec validation, and builder/renderer separation to generate an actionable conformance report.

What is PlotSpec validation in code reviews?

PlotSpec validation in code reviews is the process of verifying that visualization specifications conform to ADR-016 standards, ensuring correct colour roles, plot API naming, and renderer defaults are enforced across projects.

How do I enforce CE visualization standards in a CI pipeline?

Enforce CE visualization standards in a CI pipeline by running automated audits on plotting modules to detect ADR-016 violations, validate lifecycle hooks, and produce remediation guidance for code changes.

Does this audit check matplotlib lazy imports and renderer defaults?

Yes, the audit explicitly checks matplotlib lazy imports and legacy renderer defaults as Dimension 1 and Dimension 2, recording findings to identify regressions and safety concerns in plotting components.

What are the limitations of automating plot code review for ADR-016?

The limitation of automating plot code review is that it focuses strictly on ADR-016 conformance dimensions like test tagging and PlotSpec colour roles, meaning it cannot detect general logic bugs or validate non-CE visualization frameworks.