Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dotnet-uno-mcp

БесплатноБез исполняемых скриптовНе проверен

Using Uno MCP server. Tool detection, search-then-fetch workflow, init rules, fallback, citation.

wshaddixот wshaddix★ 94 звезды на GitHub

Об этом скилле

dotnet-uno-mcp

MCP (Model Context Protocol) server integration for Uno Platform live documentation lookups. Covers tool detection (mcp__uno__ prefix), search-then-fetch workflow, initialization rules invocation, graceful fallback when MCP is unavailable, citation requirements, and safety guidelines for external data. Includes inline documentation that provides useful guidance without MCP server availability.

Scope boundary: This skill owns MCP server integration patterns for Uno Platform documentation. Core Uno development (Extensions, MVUX, Toolkit, themes) is owned by [skill:dotnet-uno-platform]. Per-target deployment is owned by [skill:dotnet-uno-targets].

Out of scope: General MCP protocol details. Uno Platform testing -- see [skill:dotnet-uno-testing]. Uno development patterns without MCP -- see [skill:dotnet-uno-platform] and [skill:dotnet-uno-targets].

Cross-references: [skill:dotnet-uno-platform] for core development patterns, [skill:dotnet-uno-targets] for deployment guidance, [skill:dotnet-uno-testing] for testing.


MCP Tool Detection

The Uno Platform MCP server provides tools prefixed with mcp__uno__. Before using MCP tools, detect their availability.

Available Tools

Tool Purpose
mcp__uno__uno_platform_docs_search Search Uno Platform documentation by query
mcp__uno__uno_platform_docs_fetch Fetch full content of a specific documentation page
mcp__uno__uno_platform_agent_rules_init Initialize agent session with Uno development rules
mcp__uno__uno_platform_usage_rules_init Load common usage rules for Uno Platform development

Detection Logic

Check if Uno MCP tools are available by looking for tools with the mcp__uno__ prefix. If the tools are listed in the available tool set, the MCP server is configured and reachable.

Detection steps:
1. Check if tools prefixed with mcp__uno__ are available
2. If available: use MCP workflow (search -> fetch -> cite)
3. If unavailable: fall back to static skill content and official docs URLs

When MCP is available: Use the search-then-fetch workflow for the latest documentation. MCP results are authoritative and current.

When MCP is unavailable: The static content in [skill:dotnet-uno-platform] and [skill:dotnet-uno-targets] provides comprehensive guidance. Reference official documentation URLs for the latest information.


Initialization Rules

On first use of Uno MCP tools in a session, invoke both initialization tools to load authoritative development rules.

Agent Rules Initialization

Call mcp__uno__uno_platform_agent_rules_init to load:

  • Core identity and expertise scope for Uno Platform development
  • IDE guidance (Visual Studio, VS Code, CLI) per operating system
  • Knowledge routing rules mapping topics to canonical search queries
  • Uno SDK features list (UnoFeatures supported values)
  • Uno Extensions and Toolkit feature catalog

Usage Rules Initialization

Call mcp__uno__uno_platform_usage_rules_init to load:

  • Design system guidelines (Material preferred, responsive layouts)
  • Data binding policy (MVUX vs MVVM binding patterns, forbidden WPF-isms)
  • Navigation policy (prefer XAML attached properties over code-behind)
  • Layout rules (AutoLayout, spacing scale, responsive breakpoints)
  • Color and typography conventions (theme resources, no hardcoded values)
  • Accessibility requirements (contrast ratios, touch targets, automation properties)
  • Control-specific guidance (ItemsRepeater for lists, CommandExtensions, elevation patterns)

Invocation Order

1. Call mcp__uno__uno_platform_agent_rules_init (loads routing rules and feature catalog)
2. Call mcp__uno__uno_platform_usage_rules_init (loads design and coding conventions)
3. Proceed with documentation searches using mcp__uno__uno_platform_docs_search

Both init tools are idempotent -- calling them multiple times in the same session is safe but unnecessary.


Search-Then-Fetch Workflow

The primary workflow for retrieving Uno documentation uses a two-step pattern: broad search followed by targeted fetch.

Step 1: Search

Use mcp__uno__uno_platform_docs_search to find relevant documentation pages.

Search parameters:
- query: descriptive search term (e.g., "MVUX reactive pattern", "Navigation Extensions")
- topK: number of results (default 8; use 15-20 for complex topics, 3-5 for specific queries)
- contentType: "prose" for guides, "code" for examples, null for all

Search results include:

  • Document title and summary
  • SourcePath (needed for fetch step)
  • Relevance ranking
  • Content snippets

Step 2: Fetch

Use mcp__uno__uno_platform_docs_fetch to retrieve full content of high-value pages identified by search.

Fetch parameters:
- sourcePath: from search results SourcePath field (e.g., "articles/guides/overview.md")
- anchor: optional section fragment (e.g., "getting-started", "data-binding")
- maxChars: content limit (4000-8000 f
Полный SKILL.md на GitHub

Установить dotnet-uno-mcp в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dotnet-uno-mcp?

Using Uno MCP server. Tool detection, search-then-fetch workflow, init rules, fallback, citation.

Как установить скилл dotnet-uno-mcp?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dotnet-uno-mcp запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dotnet-uno-mcp с