run-server

Start a local development server with npm run dev and log to /tmp/server.log.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/flesler/dotfiles --skill run-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-server
Source: https://github.com/flesler/dotfiles/tree/main/home/.cursor/skills/run-server
Command: npx skills add https://github.com/flesler/dotfiles --skill run-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Starting and maintaining a local development server can be error-prone and fragmented. This Skill provides a repeatable, labeled workflow to start the server, optionally terminate any existing instance to avoid port conflicts, and surface logs for debugging.

Core Features & Use Cases

  • Start the server with npm run dev and stream logs to /tmp/server.log for quick debugging.
  • Optionally kill a running server to ensure clean startup and avoid port conflicts.
  • Use during development, testing, and quick demos where a running backend is required.

Quick Start

Start the development server with npm run dev and monitor /tmp/server.log.

Frequently Asked Questions about run-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a local development server with Node.js?

To start a local development server, use this Skill to run the command npm run dev, which initiates the server process and streams logs to /tmp/server.log for immediate debugging access.

How can I avoid port conflicts when starting my Node.js dev server?

To avoid port conflicts, this Skill optionally kills any existing running server instance before executing npm run dev, ensuring a clean startup without overlapping processes on the same port.

What is the best way to capture and view logs from my npm dev server?

Capturing logs from an npm dev server is handled by automatically streaming the server output to /tmp/server.log, allowing you to easily surface and monitor the logs for quick debugging.

Can I use this to manage a development server for quick demos and testing?

Yes, you can use this Skill to manage a development server for testing and quick demos, providing a consistent startup workflow that runs the server and surfaces logs for any required backend process.

Why does my development server startup fail when a previous instance is still running?

Development server startup failures often occur because a previous instance is still running and occupying the port; this Skill solves the issue by optionally terminating the existing process before restarting npm run dev.