Bolt New

v1.0.0

Bolt.new AI 全栈开发助手,精通浏览器内开发、WebContainer、一键部署

0· 155·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhangifonly/bolt-new.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Bolt New" (zhangifonly/bolt-new) from ClawHub.
Skill page: https://clawhub.ai/zhangifonly/bolt-new
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install bolt-new

ClawHub CLI

Package manager switcher

npx clawhub@latest install bolt-new
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description promise a browser-based full‑stack development assistant using WebContainer and one‑click deploy. The SKILL.md content matches that purpose and does not request unrelated capabilities.
Instruction Scope
SKILL.md is purely descriptive: it gives prompts, best practices, limitations, and examples. It does not instruct the agent to read local files, access system paths, exfiltrate data, or call endpoints outside the described platform.
Install Mechanism
There is no install spec and no code files. Nothing will be written to disk or downloaded as part of this skill — lowest-risk delivery model.
Credentials
The skill requires no environment variables or credentials. It references deployment to Netlify (which in practice requires a token) but does not request any credentials itself; the README even advises checking env vars and not leaking keys to frontend code.
Persistence & Privilege
Flags show normal defaults (always:false). The skill is user-invocable and may be invoked autonomously by the agent platform (normal), but it does not request persistent system presence or elevated privileges.
Assessment
This skill is a documentation/instruction guide and appears coherent. Before using: 1) do not paste API keys or secrets into prompts or client-side code; 2) when deploying to Netlify or other hosts, use short‑lived or purpose‑limited tokens and rotate them after use; 3) export and back up important code from StackBlitz to your local repo for safekeeping; 4) review generated package.json/dependencies for license and supply‑chain risks; and 5) treat generated prototypes as starting points — audit code for security issues before releasing to production.

Like a lobster shell, security has layers — review code before you run it.

latestvk970bs55tyw3vmpyre2h9vr2x983bbjs
155downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Bolt.new AI 全栈开发技能指南

概述

Bolt.new 是 StackBlitz 推出的 AI 全栈开发平台,完全运行在浏览器中。基于 WebContainer 技术,无需本地安装任何工具,输入一句话描述即可生成、预览、部署一个完整的 Web 应用。

核心功能

浏览器内全栈开发(WebContainer)

WebContainer 是 StackBlitz 的核心技术,让 Node.js 直接在浏览器中运行:

  • 零配置:不需要安装 Node.js、npm 或任何开发工具
  • 完整运行时:支持 npm install、文件系统操作、HTTP 服务器
  • 实时预览:代码修改后即时在右侧预览窗口看到效果
  • 隔离环境:每个项目独立运行,互不干扰

AI 项目生成与一键部署

  • 用自然语言描述应用,AI 自动生成完整项目结构
  • 支持多轮对话迭代,生成后可继续修改、添加功能
  • 点击 Deploy 按钮直接部署到 Netlify,获得公网 URL,无需配置 CI/CD

支持的技术栈

类别支持的技术
前端框架React、Vue 3、Svelte、Solid、Astro、Next.js、Nuxt
样式方案Tailwind CSS、CSS Modules、Styled Components、UnoCSS
构建工具Vite(默认)、Webpack
后端框架Express、Fastify、Hono
数据库SQLite(better-sqlite3)、内存数据库、localStorage
包管理npm、pnpm
语言TypeScript 完全支持

提示词技巧

推荐的 prompt 结构

创建一个 [应用类型],使用 [技术栈]。

功能需求:
1. [核心功能1]
2. [核心功能2]

UI 要求:
- [设计风格]
- [配色方案]
- [响应式要求]

实战示例

创建一个个人记账应用,使用 React + TypeScript + Tailwind CSS。

功能:
1. 添加收入/支出记录(金额、分类、备注、日期)
2. 按月查看收支统计图表(用 recharts)
3. 数据存储在 localStorage

UI:现代简洁风格,蓝色系主色调,移动端优先

关键技巧

  1. 明确技术栈:不指定的话 AI 会自己选,可能不是你想要的
  2. 分步迭代:先生成基础版本,再逐步添加功能
  3. 指定存储方案:浏览器环境限制多,提前说明用 localStorage 还是 SQLite
  4. 描述 UI 风格:给出具体设计偏好,否则生成的界面可能很朴素
  5. 遇到报错直接粘贴:把错误信息发给 AI,它通常能自动修复

限制和注意事项

  • 不支持原生二进制:C/C++ 扩展、Python、Go 等无法运行
  • 数据库受限:不能用 MySQL/PostgreSQL,只能用 SQLite 或内存方案
  • 无 Docker 支持:WebContainer 不是虚拟机,不能运行容器
  • 文件大小限制:不适合处理大文件或大量静态资源
  • 网络请求:浏览器 CORS 策略仍然生效
  • 持久化:项目数据存在 StackBlitz 云端,免费账户有存储限制
  • 性能:复杂项目在浏览器中运行可能比本地慢

与其他工具对比

维度Bolt.newCursor/Windsurfv0 (Vercel)
运行环境浏览器本地 IDE浏览器
全栈能力前后端都支持前后端都支持仅前端组件
配置成本零配置需安装 IDE零配置
部署一键 Netlify需自行配置一键 Vercel
适合场景快速原型、演示正式项目开发UI 组件生成
代码可控性中等
离线使用不支持支持不支持
项目复杂度中小型不限小型组件

Bolt.new 适合"5 分钟出一个能跑的 demo",Cursor/Windsurf 适合"认真写要上线的项目"。

使用场景和最佳实践

适合场景:快速原型验证、技术演示、学习新框架、黑客松、临时开发

最佳实践:

  1. 先用简单 prompt 生成骨架,再分步迭代添加功能
  2. 生成后检查 package.json,确认依赖版本合理
  3. 重要项目及时导出代码到本地 Git 仓库备份
  4. 利用 Bolt 生成原型后,迁移到本地 IDE 做正式开发
  5. 复杂状态管理建议在 prompt 中指定方案(Zustand、Jotai 等)
  6. 部署前检查环境变量和 API 密钥,避免泄露到前端代码中

Comments

Loading comments...