一键导入
restart
// Restart the WPF application to apply code or XAML changes. Use this skill when you need to restart the app after making changes, or when the UI needs to be refreshed because WPF hot reload is limited.
// Restart the WPF application to apply code or XAML changes. Use this skill when you need to restart the app after making changes, or when the UI needs to be refreshed because WPF hot reload is limited.
Capture a screenshot of the running WPF application UI. Use this skill when asked to see, view, capture, or screenshot the current state of the WPF application's user interface.
Get the visual tree structure of the running WPF application. Use this skill when asked to inspect, debug, or understand the element hierarchy, control structure, or layout of the WPF UI.
| name | restart |
| description | Restart the WPF application to apply code or XAML changes. Use this skill when you need to restart the app after making changes, or when the UI needs to be refreshed because WPF hot reload is limited. |
This skill triggers a restart of the WPF application via dotnet watch, allowing changes to be applied without manually pressing Ctrl+R.
Use this skill when:
The WPF application must be running in watch mode with the VibeServer extension:
cd MyWpfApp
dotnet watch run
Important: The dotnet watch run process must be running in a separate terminal for the restart to work.
Run the script from the repository root:
.\.github\skills\vibe-restart\restart-app.ps1
/restart/ endpointMyWpfApp\App.xaml.cs to trigger dotnet watch to rebuild and restartTypical iteration workflow:
Quick iteration command combining restart and screenshot:
.\.github\skills\vibe-restart\restart-app.ps1; Start-Sleep -Seconds 3; .\.github\skills\vibe-screenshot\get-screenshot.ps1