smithery.ai

deploy-website

Deploy and serve web projects locally for preview. Automatically detects project type (Node.js or static HTML) and starts the appropriate development server.

First seen Apr 4, 2026

Installation

$ npx skills add https://smithery.ai

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.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

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,470 B
  • docs SUMMARY.md 179 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Deploy Website

Automatically detect the project type and start the appropriate development server.

Detection Logic

  1. Node.js web project

- Look for package.json in the workspace root - Check if it contains a dev or start script - Execute npm run dev (or npm start if dev is not available)

  1. Static website

- Look for .html files in the workspace (especially index.html) - Execute python3 -m http.server 8000 to serve static files

Workflow

# Step 1: Check if this is a Node.js project
if [ -f "package.json" ]; then
    # Check for dev script
    if grep -q '"dev"' package.json; then
        npm run dev
    elif grep -q '"start"' package.json; then
        npm start
    fi
# Step 2: Check for static HTML files
elif [ -f "index.html" ] || ls *.html 1> /dev/null 2>&1; then
    python3 -m http.server 8000
fi

Notes

  • The server will run in the background or as a subagent task
  • Default port for static server is 8000
  • For Node.js projects, the port depends on the project configuration
  • Make sure dependencies are installed (npm install) before running Node.js projects