Communitygithub.com

Bolt.new — 浏览器内AI全栈应用构建器

你是Bolt.new by StackBlitz的专家,这是一个完全运行在浏览器中的AI驱动全栈开发环境。你帮助开发者通过自然语言提示,在几分钟内将创意转化为已部署的应用——Bolt生成包含前端、后端、数据库和部署的完整应用,全部在WebContainer中运行,无需本地设置。

Bolt.new — 浏览器内AI全栈应用构建器 是什么?

Bolt.new是一款革命性的AI开发工具,由StackBlitz构建,完全在浏览器中运行。它允许开发者通过自然语言描述应用需求,自动生成完整的全栈项目(包括前端、后端、数据库和部署配置),并生成的应用可直接在WebContainer中实时运行。该工具支持快速原型设计,用户可通过后续提示迭代修改应用,无需重新开始。支持的框架包括React、Vue、Svelte、Astro等前端技术,以及Node.js、Hono、Express等后端技术。部署可一键完成到Netlify或Vercel。最佳实践包括在初始提示中明确技术栈和数据库需求,优先进行原型设计,并利用迭代开发保持上下文。Bolt还支持导出至GitHub,以便与Cursor等工具结合进行生产级完善。

兼容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/TerminalSkills/skills/tree/HEAD/skills/bolt

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Bolt.new — 浏览器内AI全栈应用构建器 是做什么的?

你是Bolt.new by StackBlitz的专家,这是一个完全运行在浏览器中的AI驱动全栈开发环境。你帮助开发者通过自然语言提示,在几分钟内将创意转化为已部署的应用——Bolt生成包含前端、后端、数据库和部署的完整应用,全部在WebContainer中运行,无需本地设置。

核心能力

从提示到应用

## Bolt工作原理

1. 用自然语言描述你的应用
2. Bolt生成完整代码库(前端 + 后端 + 数据库)
3. 应用在浏览器中实时运行(WebContainer)
4. 通过后续提示进行迭代
5. 一键部署到Netlify/Vercel

## 示例提示

### SaaS仪表板
"构建一个项目管理仪表板,具备:
- 用户身份验证(邮箱/密码)
- 支持拖放的看板
- 团队成员管理
- 活动动态
- 深色模式切换
使用React、Tailwind和SQLite作为数据库。"

### API + 着陆页
"创建一个URL缩短器,包含:
- 一个用于粘贴长URL的着陆页表单
- 生成短代码的API
- 重定向处理器
- 点击分析仪表板
- 速率限制(每个IP每小时10个URL)
使用Astro作为前端,Hono作为API。"

### 内部工具
"构建一个员工目录应用:
- 按姓名、部门或地点搜索
- 包含照片、角色、联系信息的个人资料卡片
- 部门过滤侧边栏
- CSV导入批量添加员工
- 用于编辑个人资料的管理面板"

迭代开发

## 后续提示(在生成的应用上迭代)

初始生成后:
- "添加一个带个人资料照片上传的设置页面"
- "使仪表板对移动端响应"
- "使用服务器发送事件添加实时通知"
- "连接到Supabase替代SQLite"
- "为高级计划添加Stripe结账"
- "为API端点编写测试"
- "修复移动端侧边栏无法关闭的bug"

Bolt理解生成的完整应用上下文。
每个提示修改现有代码库,而不是重新开始。

技术栈选项

## 支持的框架与工具

前端:React、Vue、Svelte、Astro、Next.js、Remix、Angular
样式:Tailwind CSS、shadcn/ui、DaisyUI、CSS Modules
后端:Node.js、Hono、Express、Fastify
数据库:SQLite(内置)、Supabase、Firebase、Prisma
身份验证:Clerk、Supabase Auth、自定义JWT
部署:Netlify、Vercel、Cloudflare Pages

## WebContainer
- 浏览器内完整的Node.js运行时
- npm install可以工作(大多数包)
- 文件系统、终端、包管理器
- 无需Docker、无需本地设置、无环境问题

安装

# 无需安装——在浏览器中运行
# https://bolt.new

# 免费层:有限生成次数
# Pro:每月20美元(无限生成次数)
# 团队:自定义定价

最佳实践

  1. 在提示中具体化 — “构建一个支持拖放、3个默认列和本地存储的看板”优于“构建一个项目工具”
  2. 迭代,不要重启 — 使用后续提示添加功能;Bolt保持生成应用的完整上下文
  3. 指定技术栈 — “使用React、Tailwind和Supabase”可防止Bolt做出意外选择
  4. 先做原型 — Bolt擅长原型设计;导出代码并在IDE中完善以用于生产环境
  5. 尽早考虑数据库 — 在初始提示中提及数据库需求;后续添加持久化需要更多重构
  6. 移动优先 — 在初始提示中要求响应式设计;后期改造更难
  7. 导出到GitHub — 将生成的代码导出到GitHub仓库;在你的常规工作流中继续开发
  8. 与Cursor结合 — 在Bolt中生成原型,导出,然后用Cursor完善以达到生产质量

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

TerminalSkills/skills

>- Run GitHub Actions locally with act. Use when a user asks to test GitHub Actions workflows locally, debug CI pipelines without pushing, or run workflows offline.

TerminalSkills/skills

>- You are an expert in AG2 (formerly AutoGen), the open-source multi-agent conversation framework. You help developers build systems where multiple AI agents collaborate through structured conversations — with tool use, human-in-the-loop, code execution, group chat orchestration, and nested conversations — for complex tasks like software development, research, and data analysis.

TerminalSkills/skills

>- Generate short-form videos with AI — script writing, text-to-speech narration, stock footage selection, subtitle generation, and video assembly. Use when: creating TikTok/YouTube Shorts/Reels content, automating video production, building content pipelines.

TerminalSkills/skills

>- Animate 3D objects and characters in Blender with Python. Use when the user wants to keyframe properties, create armatures and rigs, set up IK/FK chains, animate shape keys for facial animation, edit F-Curves, use the NLA editor to blend actions, add drivers for expression-based animation, or script any animation workflow in Blender.

TerminalSkills/skills

>- Automate motion capture and tracking workflows in Blender with Python. Use when the user wants to import BVH or FBX mocap data, retarget motion to armatures, track camera or object motion from video, solve camera motion, clean up motion capture data, or script any tracking pipeline in Blender.

TerminalSkills/skills

>- Assists with using Bun as an all-in-one JavaScript/TypeScript runtime, package manager, bundler, and test runner. Use when building HTTP servers, managing packages, running tests, or migrating from Node.js. Trigger words: bun, bun serve, bun install, bun test, bun build, javascript runtime, bun runtime.

TerminalSkills/skills

>- Self-host customer support with Chatwoot. Use when a user asks to set up open-source customer support, add live chat without SaaS costs, build a multi-channel inbox, or deploy a free Intercom alternative.

TerminalSkills/skills

>- You are an expert in Chi, the lightweight, idiomatic Go HTTP router built on `net/http`. You help developers build composable HTTP services using Chi's middleware stack, route groups, URL parameters, sub-routers, and context-based request scoping — providing Express-like ergonomics while staying 100% compatible with Go's standard library.

TerminalSkills/skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' or 'copy sweep.' This skill provides a systematic approach to editing marketing copy through multiple focused passes.

TerminalSkills/skills

>- Add live chat and customer support with Crisp. Use when a user asks to add a chat widget, implement live customer support, set up a help desk, create a knowledge base, or add a chatbot to a website.

TerminalSkills/skills

>- Assists with building custom interactive data visualizations using D3.js. Use when creating charts, graphs, maps, force layouts, or hierarchical diagrams that require fine-grained control beyond what charting libraries provide. Trigger words: d3, data visualization, chart, svg, scales, force graph, treemap, choropleth.

TerminalSkills/skills

dbt (data build tool) transforms data in your warehouse using SQL SELECT statements. Learn project setup, models, tests, documentation, incremental materializations, and integration with data warehouses like PostgreSQL, BigQuery, and Snowflake.

TerminalSkills/skills

>- You are an expert in dlt, the open-source Python library for building data pipelines. You help developers load data from any API, file, or database into warehouses and lakes using simple Python decorators — with automatic schema inference, incremental loading, and built-in data contracts. dlt is the "requests library for data pipelines.

TerminalSkills/skills

Data Version Control for ML projects. Track large datasets and models alongside Git, build reproducible ML pipelines, and run experiments with metric comparison. Works with any storage backend including S3, GCS, Azure, and local filesystems.

TerminalSkills/skills

>- You are an expert in E2B, the cloud platform for running AI-generated code in secure sandboxes. You help developers give AI agents the ability to execute code, install packages, read/write files, and run long processes in isolated cloud environments — each sandbox is a lightweight VM that boots in ~150ms with full Linux, filesystem, and networking.

TerminalSkills/skills

>- Transcode, convert, edit, and process audio and video with FFmpeg. Use when a user asks to convert video formats (webm to mp4, mkv to mp4), extract audio from video, compress video files, trim or cut clips, concatenate videos, add subtitles, create thumbnails, apply filters, change resolution or bitrate, re-encode media, create GIFs from video, add watermarks, normalize audio, stream media, or build automated media processing pipelines.

TerminalSkills/skills

>- Create advanced animations with GSAP. Use when building complex timelines, scroll-driven animations, SVG morphing, text animations, or high-performance web animations beyond CSS capabilities.

TerminalSkills/skills

>- Generate deterministic MP4 videos from HTML, CSS, media, and seekable animations using HeyGen's HyperFrames framework. Use when someone asks to "render HTML to video", "make a video with HyperFrames", "create a programmatic video", "turn an animation into MP4", "build a launch/product video from HTML", "render GSAP/Lottie/Three.js to video", or set up an agent-driven video pipeline. Covers init/preview/render/add/lint/inspect commands, data-* timing attributes, animation adapters, and the component catalog.

TerminalSkills/skills

When the user wants to perform load testing, stress testing, or performance testing of APIs and websites using k6. Also use when the user mentions "k6," "load test," "performance test," "stress test," "spike test," "soak test," "thresholds," "virtual users," or "VUs." For browser-based testing, see selenium.

TerminalSkills/skills

>- Lovable (formerly GPT Engineer) is a browser-based AI app builder that turns a natural-language description into a working full-stack web app with a built-in backend, authentication, database and one-click publishing. Use when the user wants to prototype or ship a web app with Lovable, write effective Lovable prompts, connect Supabase or GitHub, review generated security rules, or move a Lovable project into their own editor.

相关技能