Skip to content
Skill

kill-dev-process

by nokonoko1203

AI Summary

Safely clean up processes accumulated during development (dev servers, browsers, node, etc.). Run the following commands in parallel to assess the current situation: Classify detected processes into the following categories and display in table format:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "kill-dev-process" skill in my project.

Please run this command in my terminal:
# Install skill into your project
mkdir -p .claude/skills/kill-dev-process && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/kill-dev-process/SKILL.md "https://raw.githubusercontent.com/nokonoko1203/claude-code-settings/main/skills/kill-dev-process/SKILL.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Kill orphaned dev servers, browsers, and port-hogging processes spawned during development. Use when ports are occupied, too many node/browser processes are running, or you want a fresh start.

Browser processes (including those from Playwright/Chrome DevTools MCP)

ps aux | grep -E '[C]hromium|[c]hrome|[C]hrome Helper|[p]laywright' | grep -v 'grep' `

Dev Environment Cleanup

Safely clean up processes accumulated during development (dev servers, browsers, node, etc.). Usage: /kill-dev-process Usage: /kill-dev-process $MODE $ARGUMENTS to specify mode: • ports — Only processes occupying listening ports • browsers — Only browser processes • all — Process all categories at once • No argument — Interactive selection

Step 1: Investigate the Current State

Run the following commands in parallel to assess the current situation: `bash

List listening TCP ports (macOS)

lsof -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -v "^COMMAND" ` `bash

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2mo ago
Active
AdoptionUnder 100 stars
92 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars92
Forks13
Issues0
Updated2mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code
Cursor