cloudbase-sites

Scaffolds, previews, and deploys full-stack web apps to CloudBase static hosting.

1.1k|138|Updated May 23, 2025
One-click install
npx skills add https://github.com/TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudbase-sites
Source: https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/dsh-plugin/skills/cloudbase/sites
Command: npx skills add https://github.com/TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building a full-stack web app inside DeepSeek Harness normally requires manually wiring together scaffolding, database setup, local preview, and deployment. This Skill enforces a closed-loop sequence that takes a user from an empty workspace to a live site on a real domain using CloudBase MCP tools.

Core Features & Use Cases

  • Template Scaffolding: Downloads official CloudBase React or Vue templates via mcp__cloudbase__downloadTemplate instead of hand-writing boilerplate.
  • Database Provisioning: Creates and verifies PostgreSQL tables with managePgDatabase and queryPgDatabase.
  • Local Preview and Deploy: Starts a Vite dev server for preview, builds the frontend, and uploads dist/ to CloudBase static hosting, returning the real domain.
  • Use Case: A user asks the AI to "build me a web app" in DeepSeek Harness; the Skill authenticates, scaffolds a React app, creates database tables, previews locally, and deploys to a live CloudBase-hosted domain.

Quick Start

Ask the AI to build and deploy a web app using CloudBase templates, and it will authenticate, scaffold, preview, and publish the site to a real domain.

Frequently Asked Questions about cloudbase-sites

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a web app to CloudBase static hosting?

Build the frontend with pnpm build or npm run build, then call the manageHosting MCP tool with action=upload pointing at the dist/ directory. The tool result returns the real domain where the site is live.

How do I scaffold a React or Vue app with CloudBase templates?

Call the downloadTemplate MCP tool with template set to react or vue to download the official CloudBase template into the workspace. Do not scaffold project files by hand.

Does CloudBase hosting support rollback after deployment?

No, there is no hosting rollback API available. The Skill explicitly instructs not to offer a rollback button after deploying with manageHosting upload.

Can I publish a Mini Program with this workflow?

No, Mini Program publishing is marked P2 and is not available in this Skill. The instructions require stating this explicitly to the user rather than failing silently.

How does CloudBase authentication work in DeepSeek Harness?

Call the auth MCP tool with action=status to check sign-in state, and if not signed in, use action=start_auth with authMode=device for device flow login. API Keys must never be passed.