
restart
by jonathanpeppers
This is a sample for the "vibe code inner loop" seeing how we might leverage dotnet-watch & screenshots together to vibe.
SKILL.md
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.
Vibe Restart Skill
This skill triggers a restart of the WPF application via dotnet watch, allowing changes to be applied without manually pressing Ctrl+R.
When to Use
Use this skill when:
- You've made changes to XAML files that didn't hot reload
- You've made changes to C# code that require a restart
- The application state needs to be reset
- You want to see changes take effect after editing files
Prerequisites
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.
Usage
Run the script from the repository root:
.\.github\skills\vibe-restart\restart-app.ps1
How It Works
- Sends a shutdown signal to the running app via the
/restart/endpoint - Waits briefly for the app to close
- Touches
MyWpfApp\App.xaml.csto triggerdotnet watchto rebuild and restart
Workflow Integration
Typical iteration workflow:
- Make XAML or C# changes
- Run this restart script
- Wait 2-3 seconds for restart to complete
- Use vibe-screenshot to verify the changes
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
Notes
- WPF XAML hot reload is limited and often requires a restart for changes to apply
- The restart is graceful - it allows the app to shut down cleanly before restarting
- If the app is not running, you'll see an error message
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です