AI Agent Hub
Back to skills
🔒

Web Service Deployment Workflow

IT Ops & Security Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Follow https://skillhub.cn/install/skillhub.md to install @user_f12a44b7/self-dev-service-deploy-skill into your AI assistant.

About this skill

Problem Addressed

This skill targets release failures where the code works locally but the public site shows a blank page, APIs return empty arrays, or the CDN serves stale assets. It turns the path from source code to a publicly accessible, smoke-tested web service into a repeatable checklist for React/Vite front ends and Express BFF back ends.

How It Works

The workflow validates the full serving chain in order:
- Environment and DNS: check SSH access, tccli, domain permissions, and Node.js >= 22; confirm resolution with dig.
- Ingress and origin: configure Nginx static paths and API proxying; when using EdgeOne, set OriginProtocol carefully so HTTPS origin requests do not fail if Nginx only listens on port 80.
- Build and field mapping: clear CDN cache after each build; normalize inconsistent Tencent Cloud TEO fields, nested objects, pagination parameters, and timestamp formats in the backend.
- Verification: run Playwright smoke tests across pages and APIs, then sync the repository and clean temporary state.

Boundaries and Notes

This is optimized for Tencent Cloud Lighthouse/CVM with DNSPod or EdgeOne, and assumes root SSH, domain management rights, and Node.js >= 22. It is not a substitute for security audits or high-availability design. Common blank-page causes include leftover scaffold CSS, nonexistent Ant Design icons, JS hash mismatches, and stale CDN cache.

Use Cases

  • Ship a local React/Vite and Express BFF to a public domain.
  • Set up Nginx, DNS, and EdgeOne origin rules for Lighthouse.
  • Debug blank pages, empty APIs, stale CDN HTML, and 404s.
  • Run Playwright smoke tests for deployed pages and all APIs.

Best For

  • Full-stack engineers shipping React/Vite and Express apps to Tencent Cloud Lighthouse
  • Ops engineers configuring DNSPod/EdgeOne and debugging blank pages or stale cache
  • BFF developers normalizing Tencent Cloud TEO fields, pagination, and timestamps
  • Front-end engineers validating deployed pages and APIs with Playwright