smithery/k2works

killing-processes

開発サーバーや Node.js プロセスを強制終了。ポート競合の解消やプロセスリセットに対応する。「プロセスを止めたい」「ポートが使われている」「開発サーバーを再起動したい」「Port already in use を解決したい」といった場面で発動する。

Installation

$ npx skills add smithery/k2works --skill killing-processes

Summary

開発サーバーや Node.js プロセスを強制終了。ポート競合の解消やプロセスリセットに対応する。「プロセスを止めたい」「ポートが使われている」「開発サーバーを再起動したい」「Port already in use を解決したい」といった場面で発動する。

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/k2works.

npx skills add smithery/k2works

Browse all from smithery/k2works

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,682 B
  • docs SUMMARY.md 151 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

プロセス強制終了

開発サーバーや Node.js プロセスを強制終了する。複数ポートで起動している開発プロセスを一括停止できる。

オプション

オプション 説明
なし すべての Node.js 開発プロセスを強制終了
--port <ポート番号> 特定のポートのプロセスのみ終了
--check プロセス状況の確認のみ(終了せず)

実行コマンド

# ポート範囲でのプロセス検索・終了
netstat -ano | findstr ":300[0-9]" | findstr LISTENING
taskkill //F //PID <PID>

出力例

現在起動中の開発プロセス:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ポート 3000: PID 34348 (Node.js)
ポート 3001: PID 16676 (Node.js)

プロセス終了中...
PID 34348 を終了しました
PID 16676 を終了しました
すべての開発プロセスを停止しました。

注意事項

  • Windows 環境(taskkill コマンド使用)が前提。管理者権限が必要な場合がある
  • 重要な作業中は事前にファイルを保存する
  • まず --check で状況確認してから終了する。必要に応じて --port で特定ポートのみ終了する