cloudbase-ai-app-bootstrap

Bootstraps full-stack applications on Tencent CloudBase with readiness checks, architecture templates, and capability routing.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Starting a new full-stack project on Tencent CloudBase involves many decisions: verifying the environment is ready, choosing between document databases and PostgreSQL, picking the right auth model for mini programs versus Web apps, and knowing which CloudBase capability applies to each scenario. This Skill removes that guesswork by providing readiness checks, proven architecture templates, and a capability routing map.

Core Features & Use Cases

  • Environment Readiness Checks: A checklist script that guides the AI agent through verifying the CloudBase connector, login state, and EnvId resolution before any code is written.
  • Full-Stack Architecture Templates: Two reference architectures—mini program with wx.cloud and document database, and Web system with CloudBase PostgreSQL plus RLS—including resource preparation order and SQL examples.
  • Capability Map & Routing: A scenario-to-skill routing table covering auth, databases, cloud functions, CloudRun, and UI, with common pitfalls and fixes.
  • Use Case: When a user asks to build a SaaS admin dashboard, the agent runs the readiness check, follows the Web + PG architecture template, prepares auth providers and RLS policies via MCP, then scaffolds the code.

Quick Start

Ask the AI to check my CloudBase environment readiness and bootstrap a full-stack Web app with PostgreSQL using this skill.

Frequently Asked Questions about cloudbase-ai-app-bootstrap

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

FAQPage Schema
How do I bootstrap a full-stack app on Tencent CloudBase?

Run the readiness check script to verify the CloudBase connector, login state, and EnvId, then follow the architecture template for your scenario. Resources like auth providers, database tables, and storage rules are prepared via MCP before writing code.

Should I use CloudBase PostgreSQL or the document database?

Use the document database for mini programs with simple CRUD since it integrates natively with wx.cloud. Choose CloudBase PostgreSQL for Web systems, admin dashboards, complex permission models via RLS, or vector search with pgvector.

What is required before using this CloudBase bootstrap skill?

You need the CloudBase MCP connector connected in settings, a completed device-code login through the auth tool, and a valid EnvId. Alias EnvIds must be resolved with envQuery using aliasExact before use.

Why does my CloudBase Web login fail after setup?

Web login fails when the auth provider is not enabled. Use manageAppAuth to enable the username/password provider and obtain the publishable key before calling the Web SDK login methods.

When should I use cloud functions versus CloudRun on CloudBase?

Use cloud functions for event-driven or lightweight HTTP APIs, remembering the scf_bootstrap file and port 9000. Choose CloudRun for containerized backends with complex business logic that need a Dockerfile and CORS configuration.