deploy-website
Quickly starts a development server for Node.js projects or static HTML sites.
Install
mkdir -p .claude/skills/deploy-website && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7553" && unzip -o skill.zip -d .claude/skills/deploy-website && rm skill.zipInstalls to .claude/skills/deploy-website
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Deploy and serve web projects locally for preview. Automatically detects project type (Node.js or static HTML) and starts the appropriate development server.Key capabilities
- →Detect Node.js project structure
- →Execute npm dev or start scripts
- →Serve static HTML files via Python HTTP server
How it works
It inspects the workspace for package.json or HTML files and triggers the corresponding server command automatically.
Inputs & outputs
When to use deploy-website
- →Preview web project
- →Start development server
- →Serve static HTML files
About this skill
Deploy Website
Automatically detect the project type and start the appropriate development server.
Detection Logic
-
Node.js web project
- Look for
package.jsonin the workspace root - Check if it contains a
devorstartscript - Execute
npm run dev(ornpm startifdevis not available)
- Look for
-
Static website
- Look for
.htmlfiles in the workspace (especiallyindex.html) - Execute
python3 -m http.server 8000to serve static files
- Look for
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
When not to use it
- →When the project requires a specific production-grade web server
- →When dependencies are not installed
Prerequisites
Limitations
- →Static server defaults to port 8000
- →Requires npm dependencies to be pre-installed
How it compares
It automates the selection of the server type based on file detection instead of requiring manual command execution.
Compared to similar skills
deploy-website side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| deploy-website (this skill) | 1 | 6mo | Review | Beginner |
| web-development | 5 | 2mo | No flags | Intermediate |
| electron-development | 0 | 4mo | Review | Advanced |
| telegram-mini-app | 62 | 6mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
web-development
TencentCloudBase
Web frontend project development rules. Use this skill when developing web frontend pages, deploying static hosting, and integrating CloudBase Web SDK.
electron-development
wegonbeok45
Master Electron desktop app development with secure IPC, contextIsolation, preload scripts, multi-process architecture, electron-builder packaging, code signing, and auto-update.
telegram-mini-app
davila7
Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.
playwright-browser-automation
lackeyjb
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.
cloudflare-manager
qdhenry
Comprehensive Cloudflare account management for deploying Workers, KV Storage, R2, Pages, DNS, and Routes. Use when deploying cloudflare services, managing worker containers, configuring KV/R2 storage, or setting up DNS/routing. Requires CLOUDFLARE_API_KEY in .env and Bun runtime with dependencies installed.
svelte-expert
Raudbjorn
Expert Svelte/SvelteKit development assistant for building components, utilities, and applications. Use when creating Svelte components, SvelteKit applications, implementing reactive patterns, handling state management, working with stores, transitions, animations, or any Svelte/SvelteKit development task. Includes comprehensive documentation access, code validation with svelte-autofixer, and playground link generation.