Vibe Project Builder 标志

Vibe Project Builder

组织热门
omnimind-ai
vibe-project-builder

Build a standalone phone-first HTML App with an SVG icon, Xiaowan skill, Agent-callable tools, reusable connectors, real data paths, and optional SQLite, then validate, publish, and add it to the Android home screen as an independent plugin. Use when the user asks "做*工具", "创建*应用", "创建*app", "做*app", "开发*插件", "搭建*助手", "build * tool", or "create * app", and for existing projects the user wants Xiaowan to operate directly.

Add to TypingMind

概览

发布者omnimind-ai
代码仓库OmniBot
技能名称vibe-project-builder
星标数
2K
复刻数
142
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 omnimind-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Vibe Project Builder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/omnimind-ai/OmniBot/tree/main/plugins/vibe-project/runtime-skill/vibe-project-builder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/omnimind-ai/OmniBot.git /tmp/OmniBot
mkdir -p .claude/skills
cp -r /tmp/OmniBot/plugins/vibe-project/runtime-skill/vibe-project-builder .claude/skills/vibe-project-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Vibe Project Builder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Vibe Project Builder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Vibe Project Builder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Vibe Project Builder

Build the project freely in the current workspace. Every project is a standalone phone-first HTML App with its own SVG icon, plus a Xiaowan SKILL.md and Agent-callable tools bound to connectors. SQLite remains optional storage, not the plugin backend. Every business action that should work from chat must be declared as a tool; never make Xiaowan open the App and simulate taps to use plugin functionality.

Before writing code, read references/product-writing.md and references/workflow-validation.md. Write the compact product contract and acceptance matrix they require. Treat this as the writing phase of the project: decide the real user outcome, truthful data source, complete interaction states, safety boundary, tool surface, and observable workflow evidence before implementing the dashboard.

Build Loop

  1. Write the product contract from references/product-writing.md and the acceptance matrix from references/workflow-validation.md; do not code until every required line is concrete.
  2. Keep the v1 narrow and complete: one core workflow, a truthful source, useful read and write tools, one runtime-generated AI capability when it improves the outcome, and one clear visual result when a dashboard adds value.
  3. Write skill/SKILL.md so Xiaowan knows when to use the capability and what outcome to produce. Its frontmatter name must equal the project slug.
  4. Add toolkit.json with direct Xiaowan tools and reusable connector bindings. Prefer several narrow business tools over one vague mega-tool.
  5. Add scripts or references under skill/ when the workflow needs deterministic logic or detailed guidance.
  6. Add the standalone HTML/CSS/JavaScript App and a hand-authored icon.svg. Never call an image-generation model and never use PNG/JPEG as the icon source. Add schema.sql only when the product benefits from durable local data.
  7. Audit Data / Tool / Display consistency: every business field and action must use the same name and source across storage, toolkit results, Skill instructions, and dashboard rendering.
  8. Execute the applicable workflows from references/workflow-validation.md. Capture tool sequence, real inputs, returned evidence, persisted evidence, and visible result in the working context. Fix every failed assertion before publishing.
  9. Call project_check with the completed directory and a small manifest.
  10. Fix every diagnostic at its reported Skill, tool, connector, or capability boundary.
  11. Call project_publish with the same path and manifest. Re-publishing updates the App, Skill, tools, and existing desktop shortcut while preserving connector-owned data. On first publish Android asks the user once to confirm “Add to Home Screen”; the host cannot bypass that system confirmation.

Real Data and AI Events

Start production state empty. Populate business records only from explicit user input, a declared Connector response, a deterministic derivation from those inputs, or a runtime Xiaowan call. Never ship a hidden fallback array, random record generator, fixed score, fixed recommendation, or canned AI answer and present it as a successful production result. Static labels, empty-state copy, schemas, and visibly labeled removable demo data are not business-result mocks.

Match every promised output field to data the chosen Connector can actually observe. A xiaowan tool sees its declared instruction and the current tool arguments; it cannot inspect plugin installation state, current time, SQLite rows, device state, or remote facts unless another real capability supplies those values. Never put a desired version, timestamp, score, tool list, or status into the instruction and ask the model to repeat it as if observed. If the runtime cannot source a field truthfully, remove that promise or choose a Connector that can.

Use Xiaowan as a real backend capability when the product benefits from generated plans, explanations, summaries, simulations, or personalized events. Generate them at tool invocation time from current user inputs and stored state; do not paste a prewritten result into HTML or JavaScript. Keep generation separate from facts:

  • Label generated content as AI-generated and preserve the source inputs.
  • Return the resolved model, elapsed time, and usage supplied by the Connector.
  • Never ask AI to invent live scores, prices, medical facts, transactions, or other externally verifiable state.
  • For durable generated events, expose a chat-first sequence such as generate_event → user/Agent review → save_event → get_event instead of silently saving unreviewed text.
  • On model failure, preserve user data and return a retryable error; never fall back to a canned success value.

Example: a useful generate_next_challenge tool may receive recent check-ins as arguments and ask Xiaowan to generate the next challenge from those inputs. A fake get_runtime_status tool must not ask Xiaowan to claim a fixed version, current timestamp, or installed state that it cannot inspect.

For products centered on an evolving experience, prefer meaningful AI-generated events over static screens. Examples include the next coaching challenge derived from recent check-ins, a narrative milestone derived from a user's saved choices, or a daily reflection derived from actual journal entries. The event is a generated artifact with provenance, not a factual claim about the outside world.

executor.connector always references a declared connectors[].id; it is never a connector type. The built-in types are sqlite with insert/query/update/delete, xiaowan with invoke, and http_json with safe read-only get for declared public HTTPS data sources. If this contract is uncertain, call project_contract once. Do not search the repository or guess Connector, action, permission, or executor names.

Do not pass source code through the publish tool. Use normal workspace file and terminal tools to build and iterate before linking once.

Minimal Project

text
weekly-coach/
├── index.html
├── styles.css
├── app.js
├── icon.svg
├── skill/
│   ├── SKILL.md
│   └── references/
│       └── coaching-rules.md
└── toolkit.json

The manifest is publish metadata, not another project file:

json
{
  "slug": "weekly-coach",
  "name": "每周教练",
  "description": "把目标和限制整理成可执行的一周计划",
  "entry_path": "index.html",
  "icon_path": "icon.svg",
  "permissions": ["xiaowan"]
}

toolkit.json is the connector contract exposed directly in Xiaowan's tools[]. Tool names are automatically namespaced with the plugin slug. Named connectors let multiple tools share one backend capability without coupling the Skill to a concrete implementation:

json
{
  "schemaVersion": 1,
  "connectors": [
    {
      "id": "coach",
      "type": "xiaowan",
      "config": {
        "system": "You are a concise, practical planning coach."
      }
    }
  ],
  "tools": [
    {
      "name": "create_weekly_plan",
      "displayName": "生成一周计划",
      "description": "Turn a goal and constraints into a practical weekly plan.",
      "parameters": {
        "type": "object",
        "required": ["goal"],
        "properties": {
          "goal": {"type": "string"},
          "constraints": {"type": "array", "items": {"type": "string"}}
        },
        "additionalProperties": false
      },
      "executor": {
        "connector": "coach",
        "action": "invoke",
        "config": {
          "instruction": "Create a seven-day plan from the supplied goal and constraints. Return concise Markdown.",
          "reasoning_effort": "none",
          "temperature": 0.4
        }
      }
    }
  ]
}

The host connector registry is the extension point. The runtime includes the xiaowan, sqlite, and public read-only http_json connectors. Credentialed services, device automation, MCP, and other native capabilities can add connectors without changing the Xiaowan-facing tool format or the generic ToolHandler.

Chat-First Contract

The chat Agent is the default input and operation route. The dashboard is a thin view and trigger surface over the same tools and stored facts; every Dashboard business action must call window.omni.tools.call with a local tool declared in toolkit.json. It must not contain a second mock backend or business actions unavailable to Xiaowan. A user should be able to create, query, update, and summarize the useful state in natural language without opening the dashboard. After a successful publish, surface the direct Dashboard entry instead of making the user rediscover it in the plugin market.

Public Data Link

Use http_json when the product promises live public facts such as sports, weather, transit, or open-government data. Declare the exact HTTPS origin and query mapping; never ask Xiaowan to invent data when retrieval fails:

json
{
  "connectors": [
    {
      "id": "score_feed",
      "type": "http_json",
      "config": {"base_url": "https://example.org/api"}
    }
  ],
  "tools": [
    {
      "name": "list_games",
      "displayName": "查询比赛",
      "description": "Fetch current games from the declared public source.",
      "parameters": {
        "type": "object",
        "properties": {"date": {"type": "string"}},
        "additionalProperties": false
      },
      "executor": {
        "connector": "score_feed",
        "action": "get",
        "config": {
          "path": "/games",
          "query": {"date": "$date"},
          "response_path": "data.games",
          "max_items": 50
        }
      }
    }
  ]
}

Declare the network permission. The host enforces HTTPS, public hosts, timeouts, response limits, no redirects, and returns source URL plus retrieval time. Keep private API keys out of project files; credentialed sources must use a host-managed Connector.

Every project must add entry_path and icon_path to the manifest. The icon must be an SVG file authored directly from vector shapes and text paths; do not call an image-generation model and do not create a raster source asset. For local structured data, add schema_path and the database permission.

Shared Tool Link

Only plugins that need local structured data should declare the database permission and schema_path. For those plugins, the Linker creates an isolated SQLite database. Declare every read and write operation once in toolkit.json, then call that same local tool name from the Dashboard. Xiaowan receives the namespaced form automatically, while Dashboard code stays short:

js
const inserted = await window.omni.tools.call('record_workout', {
  exercise: '深蹲',
  weight: 100,
});

const result = await window.omni.tools.call('list_workouts', {
  exercise: '深蹲',
  _order_by: 'created_at DESC',
  _limit: 50,
});

Use only the unprefixed tools[].name inside the Dashboard; the host binds it to the current plugin and rejects unknown tools or undeclared arguments. Never call the low-level database bridge from new project HTML or JavaScript. It exists only to reopen legacy installed projects and bypasses the shared Tool contract, so project_check rejects it in new or republished source.

Use SQL constraints such as NOT NULL, CHECK, UNIQUE, defaults, foreign keys, indexes, and triggers when they make the backend more reliable. Do not build a REST API or expose raw database paths.

Xiaowan capability bridge

Declare the xiaowan permission when the frontend invokes Xiaowan. The frontend must use the shared Xiaowan capability bridge for AI-native interactions. It reuses Xiaowan's conversation history, Skills, registered plugin Tools, streaming transport, provider configuration, and retries. Do not build a second Agent loop in JavaScript and do not expose provider credentials.

Use reasoningEffort: 'none' by default. Choose low or medium only when the request genuinely needs multi-step tool selection or synthesis. Fast one-shot generation through window.omni.ai.generate always disables provider thinking so a small token budget cannot be consumed before visible output.

Every AI action must have a visible status display. Register the event listener once. send returns immediately with a runId; render working, text_snapshot, tool_started, tool_progress, tool_completed, completed, and error events as they arrive. A working event means the model is analyzing, but intentionally contains no raw chain-of-thought. Show a short product-facing label such as “正在分析记录…” rather than model reasoning text. Keep a visible cancel action while a run is active.

js
const result = await window.omni.xiaowan.invoke({
  text: '根据我的训练记录制定下周计划',
  context: { page: 'weekly-plan', selectedWeek: '2026-W32' },
  reasoningEffort: 'low',
});
renderResult(result);

window.omni.xiaowan.invoke is the supported generic capability entry point. It is backed by the ACP runtime and the project's declared MCP/plugin tools; there is no standalone external-App event bus, run API, or state bridge. The frontend never receives an API key. If AI is unavailable, show a useful retry state while keeping local data features usable.

Frontend Quality

Custom HTML/CSS/JavaScript is the user-visible experience and is mandatory. Prefer a specific, phone-first product over a generic admin panel. Make the primary action reachable with one thumb, and include deliberate empty, loading, AI-working, success, and error states. Any button that can invoke Xiaowan must immediately disable repeated submission and show a visible status region until completion or failure. Local frameworks and bundled assets are allowed; the Linker does not prescribe component structure.

Create icon.svg directly in code with a square viewBox, a deliberate background, and a simple high-contrast symbol that remains legible at launcher size. Do not invoke image generation. The SVG stays the canonical source; Android rasterizes it locally only when constructing the launcher shortcut.

Published projects run offline by default. Bundle scripts, styles, fonts, and media inside the project instead of loading CDNs or calling remote APIs. Use window.omni.xiaowan.invoke for Xiaowan Agent access; network credentials and arbitrary outbound requests are intentionally unavailable to project JavaScript.

Shining Patterns

  • Fitness pet: every workout grows a creature; SQLite stores facts and streak state, while Xiaowan creates adaptive plans.
  • Tiny relationship garden: meaningful moments become a visual garden, with private searchable history.
  • Field notebook: photos and structured observations become a durable personal record with AI summaries.

Avoid games with no persistent value. The strongest project combines a memorable frontend with useful private state.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Vibe Project Builder AI 技能有什么作用?

Build a standalone phone-first HTML App with an SVG icon, Xiaowan skill, Agent-callable tools, reusable connectors, real data paths, and optional SQLite, then validate, publish, and add it to the Android home screen as an independent plugin. Use when the user asks "做*工具", "创建*应用", "创建*app", "做*app", "开发*插件", "搭建*助手", "build * tool", or "create * app", and for existing projects the user wants Xiaowan to operate directly.

为什么在 TypingMind 中使用 Vibe Project Builder?

因为您只需安装一次,就能搭配任何模型使用。Vibe Project Builder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Vibe Project Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/omnimind-ai/OmniBot/tree/main/plugins/vibe-project/runtime-skill/vibe-project-builder。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Vibe Project Builder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Vibe Project Builder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Vibe Project Builder 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Vibe Project Builder AI 技能免费吗?

omnimind-ai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇