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'.