huangpustar/metainfer/clean-before-relaunch

Claude Code and agent skill by huangpustar/metainfer

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

启动新实例前检查旧进程/端口占用;清理幂等并等退出确认(带上限)再拉起;失败时打印占用者信息。

Install

npx vskill@latest install huangpustar/metainfer/clean-before-relaunch

SKILL.md

重拉先清旧

何时触发:启动/重启服务、任务、监听进程之前。

规则

  • 启动新实例前检查旧进程与端口占用;先清理再拉起。
  • 清理动作幂等(对不存在的东西执行也不报错);清理后等待退出确认(带上限的循环),确认退出后再启动。
  • 启动失败时打印占用者信息(谁占着、从何时起),不只报"启动失败"。
  • 反复拉起的尝试按序编号留痕,可追溯可对比。

反模式信号

  • 端口被旧实例占着,新实例起来即崩,还被误判为代码问题。
  • 杀完进程立刻启动,旧进程尚未完全退出,状态文件被两个实例交叉写。

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
122
Repository forks
17
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/huangpustar/metainfer/clean-before-relaunch/badge)](https://verified-skill.com/skills/huangpustar/metainfer/clean-before-relaunch)

Something wrong with this skill or its page? Tell us.