# Code

> A Claude skill from microsoft/Resource2Skill.

- **Type:** Skill
- **Install:** `agentstack add skill-microsoft-resource2skill-code`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [microsoft](https://agentstack.voostack.com/s/microsoft)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [microsoft](https://github.com/microsoft)
- **Source:** https://github.com/microsoft/Resource2Skill/tree/main/skills_wiki/excel/two_tone_sidebar_dashboard_shell_c5bab5f8/code
- **Website:** https://aka.ms/Resource2Skill

## Install

```sh
agentstack add skill-microsoft-resource2skill-code
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

### 1. High-level Skill Pattern Extraction

> **Skill Name**: Two-Tone Sidebar Dashboard Shell

* **Tier**: sheet_shell
* **Core Mechanism**: Constructs a navigation/KPI sidebar by widening a left-side column and applying a dark theme fill, contrasted against a light-filled main canvas area. Disables native gridlines to enforce a clean, application-like aesthetic. (Adapts the video's manual shape-based background approach into an Openpyxl-native cell-fill grid approach for robust layout automation).
* **Applicability**: Best for landing pages of reports or high-level dashboards where global metrics (KPIs) and slicers need a dedicated visual zone separated from the primary data visualizations.

### 2. Structural Breakdown

- **Data Layout**: 
  - Column A: Narrow outer left margin (width 2.0).
  - Column B: Wide Sidebar for KPIs/Slicers (width 28.0).
  - Column C: Narrow inner gutter (width 2.0).
  - Columns D-R: Main canvas area for charts/tables (width 14.0).
- **Formula Logic**: N/A for the shell itself, but acts as the destination for linked values calculated on backend pivot sheets.
- **Visual Design**: Hides native gridlines (`showGridLines = False`). Uses a high-contrast theme where the sidebar takes a dark, heavy fill and the main canvas takes a soft, pastel fill.
- **Charts/Tables**: Leaves the main canvas area structurally open for downstream chart components.
- **Theme Hooks**: Consumes `sidebar_bg` (dark), `sidebar_fg` (light/white), and `canvas_bg` (light/soft).

### 3. Reproduction Code

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [microsoft](https://github.com/microsoft)
- **Source:** [microsoft/Resource2Skill](https://github.com/microsoft/Resource2Skill)
- **License:** MIT
- **Homepage:** https://aka.ms/Resource2Skill

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-microsoft-resource2skill-code
- Seller: https://agentstack.voostack.com/s/microsoft
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
