plugins/vscode-extensions-toolkit/skills/vscode-sftp-config/SKILL.md
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.
npx skillsauth add libukai/awesome-agent-skills vscode-sftp-configInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Identify the static files to deploy:
dist/, build/, or public/ output directoriespackage.json or documentationAsk the user for deployment details:
/var/www/sitename)VSCode Extension: This skill uses the code-sftp extension by Satiro Marra.
Before creating sftp.json, set up SSH host alias in ~/.ssh/config for better management:
Host project-prod
HostName 82.157.29.215
User root
Port 22
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
ServerAliveInterval 60
ServerAliveCountMax 3
Benefits of SSH config:
Section for 'IP' not found)ssh project-prodCheck if ~/.ssh/config already has the server:
cat ~/.ssh/config | grep -A 5 "82.157.29.215"
If found, use that existing host alias. If not, add a new entry.
Create .vscode/sftp.json using the template from assets/sftp.json.template.
Essential configuration fields:
name: Profile name for easy identificationhost: SSH host alias (e.g., "Tencent_Pro") or IP addressprotocol: "sftp" for SFTP (secure) or "ftp" for FTPport: 22 for SFTP, 21 for FTPusername: SSH/FTP usernameprivateKeyPath: Path to SSH private key (e.g., /Users/username/.ssh/id_rsa)remotePath: Remote directory path (e.g., /var/www/sitename)uploadOnSave: false recommended (manual sync is safer)Optional advanced fields:
ignore: Array of files/folders to exclude from uploadwatcher: File watching configuration for auto-uploadsyncOption: Sync behavior (delete, update, skip existing files)useTempFile: Use temporary files during uploaddownloadOnOpen: Auto-download files when openedCustomize for the project:
{{HOST_ALIAS}} with SSH config alias (recommended) or IP address{{PLACEHOLDERS}} with actual valuesignore array (.claude, nginx.conf, build artifacts, etc.)uploadOnSave: false, sync manually after builduploadOnSave: true for instant deploymentChoose the appropriate template:
assets/nginx-static.conf.template for primary websiteassets/nginx-subdomain.conf.template for subdomains like slides.example.comCustomize the configuration:
{{DOMAIN}} with actual domain name{{DOCUMENT_ROOT}} with remote path (e.g., /var/www/aiseed)Include essential features from references/nginx-best-practices.md:
Generate a deployment checklist based on assets/deploy-checklist.md:
Initial setup (one-time):
SFTP: Config to create .vscode/sftp.jsonssh user@hostssh user@host "mkdir -p /var/www/sitename"ssh user@host "chmod 755 /var/www/sitename"File deployment:
npm run build)SFTP: Sync Local → Remote to upload all filesssh user@host "ls -la /var/www/sitename"Nginx configuration:
/etc/nginx/sites-available/ln -s /etc/nginx/sites-available/site.conf /etc/nginx/sites-enabled/sudo nginx -tsudo systemctl reload nginxSSL/TLS setup (if not configured):
references/ssl-security.md for certificate setupcertbot --nginx -d example.comVerification:
curl -I https://example.comUpdate project documentation (README.md or CLAUDE.md) with:
/var/www/path).vscode/sftp.json)Explain to users why static + SFTP deployment is advantageous:
Static + SFTP deployment is not appropriate when:
ssh-config.md - SSH config file setup and best practices (host aliases, jump hosts, security)nginx-best-practices.md - Comprehensive Nginx optimization guide for static sitesssl-security.md - SSL/TLS certificate setup and security configurationsftp.json.template - VSCode SFTP configuration template (array format, uses SSH host alias)nginx-static.conf.template - Main domain Nginx configuration templatenginx-subdomain.conf.template - Subdomain Nginx configuration templatedeploy-checklist.md - Step-by-step deployment verification checklisttools
发布内容和文章到 X (Twitter)。支持常规推文(文字/图片/视频)和 X Articles(长文 Markdown)。使用真实 Chrome 浏览器绕过反机器人检测。当用户说"发推"、"发到 X"、"发到 twitter"、"分享到 X"、"分享到 twitter"、"发 tweet"、"同步到 X"、"发布到 X"、提到"X Articles"、想从 Obsidian 笔记发布长文内容、或需要转换 Obsidian Markdown 到 X 格式时使用。适用于所有 X/Twitter 发布任务。
tools
This skill should be used when configuring VS Code Port Monitor extension for development server monitoring. Use when the user asks to "set up port monitoring for Vite", "monitor my dev server ports", "configure port monitor for Next.js", "track which ports are running", "set up multi-port monitoring", "monitor frontend and backend ports", or "check port status in VS Code". Provides ready-to-use configuration templates for Vite (5173), Next.js (3000), and microservices architectures with troubleshooting guidance.
tools
Configure VSCode with httpYac for API testing and automation. This skill should be used specifically when converting API documentation to executable .http files (10+ endpoints), setting up authentication flows with pre-request scripts, implementing request chaining with response data, organizing multi-file collections with environment management, or establishing Git-based API testing workflows with CI/CD integration.
tools
Configure MCP (Model Context Protocol) servers for Claude Code. Manage MCP servers at user or project scope with best practices to avoid context pollution.