
vscode-sftp-config
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.
- Installs
- 557
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/libukai/awesome-agent-skills --skill vscode-sftp-config- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads vscode-sftp-config automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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/, orpublic/output directories - Static generators: Check for build commands in
package.jsonor documentation
Ask the user for deployment details:
- Remote server address (IP or hostname)
- Remote path (e.g.,
/var/www/sitename) - SSH authentication method (password or SSH key path)
- Domain name(s) for Nginx configuration
- Whether this is a main domain or subdomain
Step 2: Generate SFTP Configuration
VSCode Extension: This skill uses the code-sftp extension by Satiro Marra.
Step 2A: Configure SSH Config (Recommended Best Practice)
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:
- ✅ Eliminates SFTP extension warnings (
Section for 'IP' not found) - ✅ Use host alias in terminal:
ssh project-prod - ✅ Centralized SSH settings (connection keep-alive, compression, etc.)
- ✅ Easier to manage multiple environments (dev, staging, prod)
Check 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.
Step 2B: Create SFTP Configuration
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:falserecommended (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 opened
Customize for the project:
- Replace
{{HOST_ALIAS}}with SSH config alias (recommended) or IP address - Replace other
{{PLACEHOLDERS}}with actual values - Add project-specific files to
ignorearray (.claude,nginx.conf, build artifacts, etc.) - For build-based projects: Keep
uploadOnSave: false, sync manually after build - For pure static projects: Optionally enable
uploadOnSave: truefor instant deployment
Step 3: Generate Nginx Configuration
Choose the appropriate template:
- Main domain: Use
assets/nginx-static.conf.templatefor primary website - Subdomain: Use
assets/nginx-subdomain.conf.templatefor subdomains likeslides.example.com
Customize the configuration:
- Replace
{{DOMAIN}}with actual domain name - Replace
{{DOCUMENT_ROOT}}with remote path (e.g.,/var/www/aiseed) - Adjust SSL certificate paths if using custom certificates
- Configure subdomain-specific settings if needed
Include essential features from references/nginx-best-practices.md:
- HTTP → HTTPS redirect
- HTTP/2 support
- Gzip compression
- Static resource caching (1 year for JS/CSS/images, 1 hour for HTML)
- Security headers (HSTS, X-Frame-Options, CSP, etc.)
- Access and error logs
Step 4: Provide Deployment Instructions
Generate a deployment checklist based on assets/deploy-checklist.md:
-
Initial setup (one-time):
- Install VSCode extension: code-sftp by Satiro Marra
- Open Command Palette (Cmd/Ctrl+Shift+P) →
SFTP: Configto create.vscode/sftp.json - Verify SSH access to server:
ssh user@host - Ensure remote directory exists:
ssh user@host "mkdir -p /var/www/sitename" - Set proper permissions:
ssh user@host "chmod 755 /var/www/sitename"
-
File deployment:
- For build projects: Run build command first (e.g.,
npm run build) - Open VSCode Command Palette →
SFTP: Sync Local → Remoteto upload all files - Or right-click folder in Explorer → "Upload Folder"
- Monitor upload progress in VSCode Output panel (View → Output → SFTP)
- Verify files uploaded:
ssh user@host "ls -la /var/www/sitename"
- For build projects: Run build command first (e.g.,
-
Nginx configuration:
- Upload generated config to
/etc/nginx/sites-available/ - Create symlink:
ln -s /etc/nginx/sites-available/site.conf /etc/nginx/sites-enabled/ - Test config:
sudo nginx -t - Reload:
sudo systemctl reload nginx
- Upload generated config to
-
SSL/TLS setup (if not configured):
- Refer to
references/ssl-security.mdfor certificate setup - Use Let's Encrypt for free certificates:
certbot --nginx -d example.com
- Refer to
-
Verification:
- Test HTTPS:
curl -I https://example.com - Check security headers: Use securityheaders.com
- Test performance: Use PageSpeed Insights
- Test HTTPS:
Step 5: Document the Setup
Update project documentation (README.md or CLAUDE.md) with:
- Deployment method (SFTP to
/var/www/path) - SFTP configuration location (
.vscode/sftp.json) - Nginx configuration reference
- Build commands (if applicable)
- Deployment workflow for future updates
Benefits of This Architecture
Explain to users why static + SFTP deployment is advantageous:
- Simplicity: Edit → Upload → Live (no build pipelines, no containers)
- Performance: Nginx serves static files faster than Node.js/Python backends
- Reliability: No backend processes to crash or hang
- Resource efficiency: Lower server memory and CPU usage
- Cost effective: Can host on minimal VPS or shared hosting
- Easy rollback: Copy previous version from backup directory
When NOT to Use This Architecture
Static + SFTP deployment is not appropriate when:
- Backend API endpoints are required
- Server-side form processing is needed (unless using external services like n8n, FormSpree)
- User authentication/sessions are required
- Database interactions are needed
- Server-side rendering (SSR) is required
Resources
references/
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 configuration
assets/
sftp.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 checklist
FAQ
What does the vscode-sftp-config skill do?
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.
How do I install vscode-sftp-config?
Run npx skills add https://github.com/libukai/awesome-agent-skills --skill vscode-sftp-config in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/vscode-sftp-config/ (personal) or .claude/skills/vscode-sftp-config/ (project).
Which AI agents can use vscode-sftp-config?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is vscode-sftp-config safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains vscode-sftp-config?
It is published by libukai in libukai/awesome-agent-skills. It has 557 recorded installs.
More from libukai/awesome-agent-skills
vscode-httpyac-config
libukai/awesome-agent-skills
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.
vscode-port-monitor-config
libukai/awesome-agent-skills
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.
obsidian-to-x
libukai/awesome-agent-skills
发布内容和文章到 X (Twitter)。支持常规推文(文字/图片/视频)和 X Articles(长文 Markdown)。使用真实 Chrome 浏览器绕过反机器人检测。当用户说"发推"、"发到 X"、"发到 twitter"、"分享到 X"、"分享到 twitter"、"发 tweet"、"同步到 X"、"发布到 X"、提到"X Articles"、想从 Obsidian 笔记发布长文内容、或需要转换 Obsidian Markdown 到 X 格式时使用。适用于所有 X/Twitter 发布任务。
mcp-config
libukai/awesome-agent-skills
Configure MCP (Model Context Protocol) servers for Claude Code. Manage MCP servers at user or project scope with best practices to avoid context pollution.
Popular devops & cloud skills
microsoft-foundry
microsoft/azure-skills
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, managed harness agent create, GitHub Copilot harness agent, create agent, update agent, add tool to agent, invoke agent, agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, Agent Optimizer scaffold, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure
azure-diagnostics
microsoft/azure-skills
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app service, app service high CPU, app service deployment failure, troubleshoot container apps, container app 503 or target port mismatch, troubleshoot functions, function telemetry missing or stopped after a config/connection-string change, troubleshoot AKS, VM RDP, Linux SSH, VM black screen, can't connect to VM, reset VM password, NSG or firewall blocking, kubectl cannot connect, kube-system/CoreDNS failures, pod pending, crashloop, node not ready, upgrade failures, analyze logs, KQL, insights, image pull failures, cold start issues, health probe failures, resource health, root cause of errors, troubleshoot event hubs, troubleshoot service bus, messaging SDK error, AMQP connection failure, message lock lost, lock renewal during long-running processing, service bus dead letter.
azure-prepare
microsoft/azure-skills
Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow. USE ONLY when the user explicitly wants to use azd as the deployment tool, or the project already has an azure.yaml file. DO NOT USE FOR: non-azd deployments, Python App Service code-only deploys (use python-appservice-deploy), or cross-cloud migration (use azure-cloud-migrate). WHEN: prepare app for azd, create azure.yaml, set up azd infrastructure, modernize app for Azure with azd, deploy with azd, function app, timer trigger, service bus trigger, event-driven function, managed identity, generate Bicep, generate Terraform, create and deploy to Azure.
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
azure-deploy
microsoft/azure-skills
Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application — use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: "run azd up", "run azd deploy", "execute deployment", "push to production", "push to cloud", "go live", "ship it", "bicep deploy", "terraform apply", "publish to Azure", "launch on Azure". DO NOT USE WHEN: "create and deploy", "build and deploy", "create a new app", "set up infrastructure", "create and deploy to Azure using Terraform" — use azure-prepare for these.
azure-validate
microsoft/azure-skills
Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.