uno-toolkit-resource-extensions
Use ResourceExtensions to apply ResourceDictionary directly to control styles for lightweight styling. Enables visual variants without page-level resources.
ソース情報
- リポジトリ
- unoplatform/studio
- ソースの最終更新活動
- 2026年6月9日 19:39
- 検出された SKILL.md の言語
- 英語
- スター
- 10
- フォーク
- 1
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- uno-toolkit-resource-extensions
- description
- Use ResourceExtensions to apply ResourceDictionary directly to control styles for lightweight styling. Enables visual variants without page-level resources.
- when_to_use
- Use when applying a `ResourceDictionary` directly to a single control so it picks up a visual variant without declaring resources at page level — typically per-control color or brush overrides, or shared-base-style variants.
- metadata
- {"author":"uno-platform","version":"2.4","category":"toolkit"}
# Uno Toolkit Resource Extensions — Agent Skill
## Workflow
> **Docs lookup:** call `uno_platform_docs_search(...)` first, then `uno_platform_docs_fetch(sourcePath="…")` using the `sourcePath` field from a result (a relative `.md` path; add the result's `anchor` for a section). Never pass a URL, a `.html` link, or a hand-built path.
### Step 1: Fetch the ResourceExtensions Documentation
```
uno_platform_docs_search("Uno Toolkit ResourceExtensions ResourceDictionary style lightweight inline")
```
Primary documentation pages:
- **ResourceExtensions (Chefs)**: `external/uno.chefs/doc/toolkit/ResourceExtensions.md`
Fetch the Chefs page:
```
uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/toolkit/ResourceExtensions.md")
```
### Step 2: For Reference Documentation
```
uno_platform_docs_search("ResourceExtensions Resources attached property dictionary override")
```
## Key Principles (Stable)
- `utu:ResourceExtensions.Resources` — attaches a ResourceDictionary to a control
- Enables per-control resource key overrides without nesting in page resources
- Great for creating multiple visual variants of the same control
- XAML namespace: `xmlns:utu="using:Uno.Toolkit.UI"`
## Related Skills
- [[uno-toolkit-lightweight-styling]] — General lightweight styling approach
- [[uno-themes-material]] — Material lightweight styling
GitHubで見る