add-sample

Official

Create new UI samples quickly.

Authorunoplatform
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of new UI sample pages for the Uno Platform, ensuring all necessary files, code-behind, and project registrations are correctly set up, preventing common errors.

Core Features & Use Cases

  • Automated File Generation: Creates .xaml and .xaml.cs files for new samples.
  • Correct Registration: Automatically adds the sample to the UITests.Shared.projitems file, which is crucial for the sample to appear in the app.
  • Standard Templates: Uses predefined templates for XAML and C# code-behind, including necessary attributes like [Sample].
  • Use Case: When adding a new sample for the Button control demonstrating CustomStyle, this skill will generate Button_CustomStyle.xaml, Button_CustomStyle.xaml.cs, and update the project file, ensuring it's immediately discoverable and functional.

Quick Start

Use the add-sample skill to create a new sample for the 'Slider' control called 'BasicUsage'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-sample
Download link: https://github.com/unoplatform/uno/archive/main.zip#add-sample

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.