[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BDV8F6XSAPXM0HKC32JJ8":3,"skill-same:01M69BDV8F6XSAPXM0HKC32JJ8":71},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M69BDV8F6XSAPXM0HKC32JJ8","code",null,"microsoft\u002FResource2Skill","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BCK0CMC2XBSMSXZ07RTT6",557,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_kpi_doughnut_card_3976e712\u002Fcode\u002Fskill.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[5],"2026-11-10 10:12:30",false,"### 1. High-level Skill Pattern Extraction\n\n> **Skill Name**: Themed KPI Doughnut Card\n\n* **Tier**: component\n* **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\u002Ftitles), and sets `holeSize` to 65% for a modern dashboard aesthetic.\n* **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.\n\n### 2. Structural Breakdown\n\n- **Data Layout**: Places the visible Title and Value at the anchor cell, and writes the background percentage calculations (`actual\u002Ftarget` and `1 - actual\u002Ftarget`) far off-screen (e.g., 20 columns to the right) to keep the dashboard sheet clean.\n- **Formula Logic**: Calculates `pct_complete` and `pct_remain` in Python before injecting them into the hidden data columns. \n- **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.\n- **Charts\u002FTables**: `DoughnutChart` sized down to 4.5x4.5 cm with `holeSize=65`, `legend=None`, and `title=None`.\n- **Theme Hooks**: Consumes `primary_color` (for the metric and filled slice), `muted_color` (for the empty slice), and `text_color` (for the label).\n\n### 3. Reproduction Code\n\n",{},"main","81637860351a9f923b6d14f3ba17445c50d0844a","skills_wiki\u002Fexcel\u002Fthemed_kpi_doughnut_card_3976e712\u002Fcode",62,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill","https:\u002F\u002Faka.ms\u002FResource2Skill","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-05 19:17:23",{"source":7,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add microsoft\u002FResource2Skill --skill code",{"tool":43,"command":44},"bunx","bunx skills add microsoft\u002FResource2Skill --skill code",{"tool":46,"command":47},"pnpm","pnpm dlx skills add microsoft\u002FResource2Skill --skill code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_kpi_doughnut_card_3976e712\u002Fcode\u002Fskill.md",true,[51,57,61,65],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"compose-commit.md","REFERENCE","参考文档",2291,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-repo-health\u002Fskills\u002Faudit-finding-fix\u002Fcompose-commit.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"draft-pr-procedure.md",810,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-repo-health\u002Fskills\u002Faudit-finding-fix\u002Fdraft-pr-procedure.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"pre-pr-adversarial-review.md",5049,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-repo-health\u002Fskills\u002Faudit-finding-fix\u002Fpre-pr-adversarial-review.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"skill.py","SCRIPT","脚本",0,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_kpi_doughnut_card_3976e712\u002Fcode\u002Fskill.py",[72,78,84,90,96,102],{"skillNo":73,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":77,"publishedAt":23},"01M69BDZYK1A7H39G24ZJ4PYPN","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Ftwo_tone_sidebar_dashboard_shell_c5bab5f8\u002Fcode\u002Fskill.md",[76],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5],{"skillNo":79,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":83,"publishedAt":23},"01M69BDYQZZKBZRQV7FVK058Z6","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Ftwo_panel_dashboard_shell_c5bab5f8\u002Fcode\u002Fskill.md",[82],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5],{"skillNo":85,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":89,"publishedAt":23},"01M69BDXJAKXK6QGWHQ6XWB3QX","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthree_tier_dynamic_kpi_dashboard_a9497efe\u002Fcode\u002Fskill.md",[88],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5],{"skillNo":91,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":95,"publishedAt":23},"01M69BDWD7RSAMSNY9DZZGWVZ7","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_modular_kpi_dashboard_a9497efe\u002Fcode\u002Fskill.md",[94],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5],{"skillNo":97,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":23},"01M69BDT4Q8VN47ZJT5EAX8JYR","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_kpi_dashboard_a9497efe\u002Fcode\u002Fskill.md",[100],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5],{"skillNo":103,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":107,"publishedAt":23},"01M69BDRZ33ZJHVG98880JYEYE","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FResource2Skill\u002Fblob\u002Fmain\u002Fskills_wiki\u002Fexcel\u002Fthemed_kpi_card_with_dynamic_trend_forma_c4d7021f\u002Fcode\u002Fskill.md",[106],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[5]]