部署与运维

vscode-sftp-config

libukai/awesome…t-skills

This skill should be used when setting up SFTP deployment for static websites to production servers, including converting projects from Docker/Express to static hosting, deploying Vue/React/Angular builds, setting up Slidev presentations, or configuring Hugo/Jekyll/Gatsby sites. Use this when the user asks to "setup SFTP deployment", "deploy static site to server", "configure Nginx for static files", "convert from Docker to static hosting", "deploy Vue build to production", "setup subdomain hosting", or "configure SFTP in VS Code". Provides SFTP configuration templates and production-ready Nginx configurations with security headers and caching.

  • 557 次安装
  • 5200 星标
  • 收录于

安装命令

npx skills add https://github.com/libukai/awesome-agent-skills --skill vscode-sftp-config

SKILL.md

VSCode SFTP Configuration

Configure VSCode SFTP for deploying static websites to production servers. Provides complete workflow including production-ready Nginx configuration templates with security headers, caching strategies, and performance optimizations.

Core Workflow

Step 1: Analyze Project Structure

Identify the static files to deploy:

  • Pure static projects: HTML, CSS, JS in root directory
  • Build-based projects: Look for dist/, build/, or public/ output directories
  • Static generators: Check for build commands in package.json or documentation

Ask the user for deployment details:

  1. Remote server address (IP or hostname)
  2. Remote path (e.g., /var/www/sitename)
  3. SSH authentication method (password or SSH key path)
  4. Domain name(s) for Nginx configuration
  5. Whether this is a main domain or subdomain