agentleFS
MicrosoftKnown publishermicrosoft/Resource2Skill/skills_wiki/excel/themed_kpi_doughnut_card_3976e712/code/skill.md

code

Skill551 starsChanged 6 months agoMITView on GitHub

Skill Name: Themed KPI Doughnut Card

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use test, plan and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    test

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    design

    Design rules and conventions for the API Center Portal. Use when editing detail pages, card components, badges, layout, navigation, sidebars, or headers. Covers badge styling, metadata placement, page navigation patterns, and layout alignment.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

Files
skill.md

1. High-level Skill Pattern Extraction

Skill Name: Themed KPI Doughnut Card

  • Tier: component
  • Core Mechanism: Builds a modular KPI card containing a title, raw metric, and a minimalist doughnut chart showing percentage completion. Uses openpyxl.chart.marker.DataPoint to explicitly color individual "actual" and "remaining" chart slices, removes standard chart furniture (legends/titles), and sets holeSize to 65% for a modern dashboard aesthetic.
  • Applicability: Ideal for high-level executive dashboards to show metrics against targets (e.g., Sales vs Target, Budget Utilized, Quota Attainment). Fits well in a grid layout across the top of a report.

2. Structural Breakdown

  • Data Layout: Places the visible Title and Value at the anchor cell, and writes the background percentage calculations (actual/target and 1 - actual/target) far off-screen (e.g., 20 columns to the right) to keep the dashboard sheet clean.
  • Formula Logic: Calculates pct_complete and pct_remain in Python before injecting them into the hidden data columns.
  • Visual Design: Uses a distinct theme color for the title, value, and the "actual" chart slice, while using a muted gray for the "remaining" slice to draw the eye to the completion rate.
  • Charts/Tables: DoughnutChart sized down to 4.5x4.5 cm with holeSize=65, legend=None, and title=None.
  • Theme Hooks: Consumes primary_color (for the metric and filled slice), muted_color (for the empty slice), and text_color (for the label).

3. Reproduction Code

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.