AI-readable technology choices for VibeUnion applications. A profile fixes the stack, package boundaries, backend integration, and minimum verification for one application surface.
This repository is not a collection of product Skills. Individual products own their own Skills, such as SupaCloud deployment or svadmin administration. Stack Profiles answer a different question: which technologies may an AI use for this application, and what must it not mix in?
| Application surface | Profile | Fixed stack |
|---|---|---|
| Public web, SEO, content, customer portal | web-nuxt |
Nuxt, Vue, TypeScript, Tailwind CSS, Nuxt UI |
| WeChat mini-program, H5, iOS, Android | cross-platform-mpx |
Mpx, Mpx2RN, TypeScript, UnoCSS, mpx-cube-ui, supabase-mp-js |
| Operator desktop tool | desktop-electron |
Electron, Vite, Vue, TypeScript, Tailwind CSS |
| Internal operations and backoffice | admin-svadmin |
svadmin, Svelte, TypeScript, SupaCloud adapter |
All profiles use SupaCloud Lite for local work where applicable and the full SupaCloud platform for managed production infrastructure.
Capabilities add cross-cutting constraints without becoming a second application profile. backend-supacloud defines the architecture, security, migration, Function, worker, and verification rules for applications that use SupaCloud background tasks, Queues, Durable Workflows, transactional commands, immutable artifacts, or trusted management APIs.
- Select exactly one primary profile for each app.
- Add only the capabilities the application actually adopts, such as
backend-supacloud. - Give the agent
AGENTS.md, the selectedprofile.json, and selected capability documents before it edits code. - The agent must not introduce packages listed in
forbiddenwithout an explicit profile change. - Share contracts, types, API boundaries, and design tokens across apps. Do not force UI components across different rendering platforms.
- Run
npm run checkafter changing a profile or capability.
AGENTS.md # Instructions for coding agents
profiles/<id>/profile.json # Machine-readable stack contract
profiles/<id>/README.md # Human-readable rationale and operating rules
capabilities/<id>/capability.json # Machine-readable additive capability contract
capabilities/<id>/README.md # Human-readable capability rules
schemas/stack-profile.schema.json # Contract shape
schemas/stack-capability.schema.json # Capability contract shape
scripts/check-profiles.mjs # Dependency-free consistency check
面向 VibeUnion 应用的 AI 可读取技术选型规范。每个 Profile 固定一个应用端的技术栈、包边界、后端接入方式和最低验收要求。
本仓库不是产品 Skill 的集合。SupaCloud、svadmin 等产品仍各自维护自己的 Skill;Stack Profile 解决的是另一个问题:AI 在这个应用里可以使用哪些技术,又不能混入哪些技术。
| 应用端 | Profile | 固定技术栈 |
|---|---|---|
| 官网、SEO、内容页、用户门户 | web-nuxt |
Nuxt、Vue、TypeScript、Tailwind CSS、Nuxt UI |
| 微信小程序、H5、iOS、Android | cross-platform-mpx |
Mpx、Mpx2RN、TypeScript、UnoCSS、mpx-cube-ui、supabase-mp-js |
| 运营桌面工具 | desktop-electron |
Electron、Vite、Vue、TypeScript、Tailwind CSS |
| 内部运营与后台 | admin-svadmin |
svadmin、Svelte、TypeScript、SupaCloud 适配器 |
各 Profile 在适用时使用 SupaCloud Lite 进行本地开发,并使用完整 SupaCloud 平台承载受管生产基础设施。
Capability 用于补充跨领域约束,不是第二个应用 Profile。backend-supacloud 为使用 SupaCloud 后台任务、队列、Durable Workflow、事务命令回执、不可变制品或可信管理 API 的应用定义架构、安全、迁移、Function、Worker 和验证规则。
- 每个应用只能选择一个主 Profile。
- 只为应用实际采用的能力添加 Capability,例如
backend-supacloud。 - Agent 修改代码前,先提供根目录
AGENTS.md、对应的profile.json和已选择的 Capability 文档。 - 未经明确修改 Profile,Agent 不得引入
forbidden中的依赖。 - 跨应用共享契约、类型、API 边界和设计令牌,不强行共享不同渲染平台的 UI 组件。
- 修改 Profile 或 Capability 后运行
npm run check。
MIT