スキル一覧に戻る
jonathanpeppers

restart

by jonathanpeppers

This is a sample for the "vibe code inner loop" seeing how we might leverage dotnet-watch & screenshots together to vibe.

5🍴 0📅 2026年1月17日
GitHubで見るManusで実行

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

  1. Sends a shutdown signal to the running app via the /restart/ endpoint
  2. Waits briefly for the app to close
  3. Touches MyWpfApp\App.xaml.cs to trigger dotnet watch to rebuild and restart

Workflow Integration

Typical iteration workflow:

  1. Make XAML or C# changes
  2. Run this restart script
  3. Wait 2-3 seconds for restart to complete
  4. 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

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です