Agent skill
avalonia-input-and-commands
Implement or debug Avalonia routed input, focus management, keyboard navigation, commands, gestures, drag/drop workflows, text editing behavior, and interaction routing. Use for `ICommand`, `KeyBinding`, routed events, focus bugs, drag/drop, scroll interaction, or text input edge cases.
Install this agent skill to your Project
npx add-skill https://github.com/wieslawsoltes/development-plugin-for-avalonia/tree/main/skills/avalonia-input-and-commands
SKILL.md
Avalonia Input and Commands
Start with:
../../references/18-input-system-and-routed-events.md../../references/19-focus-and-keyboard-navigation.md../../references/24-commands-hotkeys-and-gestures.md
Load these when the interaction surface needs them:
../../references/34-dragdrop-workflows.md../../references/57-scrollviewer-offset-anchoring-and-snap-points.md../../references/58-textbox-editing-clipboard-undo-and-input-options.md../../references/36-adorners-focus-and-overlay-layers.md
Workflow
- Decide whether the interaction belongs in routed events, commands, or control state.
- Keep focus order, key handling, and command routing explicit.
- Model drag/drop and text-editing behavior as part of the interaction contract, not as incidental details.
- Validate pointer, keyboard, and programmatic interaction paths separately.
Rules
- Prefer command and state dispatch over large event-handler trees.
- Keep access-key, focus, and keyboard-navigation rules testable.
- Treat text editing and drag/drop as behavior with edge cases, not cosmetic features.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
development-plugin-for-avalonia
Repo-local umbrella skill for building, reviewing, designing, porting, and migrating Avalonia applications with modern XAML/C# patterns on Avalonia 11.3.12. Use when working inside this repository and the request is broad Avalonia work; route quickly to the focused plugin skills for startup, bindings, styling, controls, layout, rendering, testing, design systems, or HTML/WinForms/WPF/WinUI/Avalonia 12 migration work.
avalonia-styling-and-resources
Build or troubleshoot Avalonia styles, themes, resources, property-system usage, theme variants, resource packaging, and custom theme architecture. Use for selector fixes, attached properties, resource lookup problems, theme switching, library resource packaging, or code-only theme work.
avalonia-design-systems
Design polished Avalonia design systems with reusable tokens, typography, spacing, shell composition, dense workflow UX, motion, and governance rules. Use for professional UI direction, design-token architecture, responsive layout systems, information architecture, or high-quality desktop workflow design.
avalonia-testing-diagnostics-and-performance
Validate Avalonia applications with headless tests, render or UI tests, diagnostics tooling, troubleshooting workflows, and performance reviews. Use for test strategy, DevTools or profiler usage, performance regressions, rendering investigations, or production hardening passes.
avalonia-accessibility-and-validation
Design or review Avalonia validation, data-error presentation, accessibility semantics, automation properties, focus order, and testable UI metadata. Use for validation pipelines, screen-reader support, keyboard-only UX, automation-tree issues, or accessibility hardening.
winui-to-avalonia
Port WinUI or Windows App SDK applications to Avalonia, including shell design, dependency-property patterns, theme resources, composition, commands, dialogs, and platform integration. Use for `NavigationView`, `ContentDialog`, `ThemeResource`, `VisualStateManager`, `ItemsRepeater`, `AppWindow`, or broader WinUI-to-Avalonia migration work.
Didn't find tool you were looking for?