Execute the Slint GUI development task described in $ARGUMENTS .
Steps
-
If $ARGUMENTS is empty, report an error requesting a description of the GUI component or application.
-
Read $SKILL_DIR/references/SLINT_GUIDE.md for core concepts, layout systems, styling, and animations.
-
If the user wants to start a new project, use the templates from $SKILL_DIR/templates/ .
-
For additional API details or usage patterns, consult $SKILL_DIR/docs/README.md or $SKILL_DIR/examples/README.md .
-
Implement the required UI components and associated Rust logic based on the user's prompt.
-
Verify the UI handles cross-platform requirements if specified.
Examples
User Request: "Create a simple login form with Slint." Response Strategy: Generate a .slint file using VerticalLayout, TextInput for username and password, and a Button for submit. Include property bindings for the fields.
Troubleshooting
-
If a component fails to render, verify that the bindings between Rust ModelRc and Slint properties are correctly set up.
-
If performance issues are observed, ensure ListView is used for long lists and heavy property animations are optimized.