匠人学院 JR Academy
  • Position

    Where am I now, and where should I go?

    How your job is changing, where your experience can take you and what you still need for a target role, worked out from what you have actually done. Free, and the full result needs no sign-up.

    Analyse my career and skills

    Look up a career

    Will AI replace my job?AI impact and transition paths for common careersNew jobs in the AI eraWhat they do, what they need, how to move in

    Focused tools

    AI Engineer interview readiness30 timed questions on what you still need before interviewsCareer personality testDirections that suit how you workReturning to China checkJob prospects in China by school, major and graduation date

    AI coach

    Talk to your AI coachStill unsure after your result? Talk through what is holding you back
  • Core courses

    AI Engineer BootcampEngineering bootcamp from LLM apps to agentsAI Engineer Full-Stack Project Class16 weeks · RAG and full-stack AI projectsVibe Coding Masterclass8 weeks · direct agents to build and ship a productAI Essentials10 hours · use AI for email, reports, data and copyAI Office Automation Course8 weeks · help a whole company adopt AIOne-Person Company (OPC) Bootcamp15 weeks in person · build a one-person company with AIAll courses →

    AI engineering

    Machine Learning & Data Engineering Full-Stack ClassAI Agent & MCP Project BootcampAI Engineer Core TechniquesAI Engineer FoundationsAI Engineer Advanced: RAG to Agents and TuningClaude Code TasterAll AI engineering courses →

    AI at work

    AI Coding for everyoneClaude Code One-Day Masterclass (Non-Technical)Enterprise AI Automation BootcampAI Marketing BootcampAI Risk, Governance and Audit CourseOpenClaw 4-Week Personal AI Assistant BootcampAll AI-at-work courses →

    Career development

    AI Product Manager (BA) Bootcamp + InternshipAustralia IT Interview BootcampAustralia IT Technical Interview BootcampAustralia IT Resume BootcampAustralia Big Tech Job Search BootcampAustralia IT Career Planning BootcampAll career courses →

    Learn free first

    Vibe CodingAI for office workPrompt MasterAI EngineerAI data analysisResource centerInstructorsAll learning paths →
  • Evidence

    What will convince an employer?

    Certifications, projects, team work and competition entries, collected into one portfolio.

    See the portfolio

    Certifications

    Cert Master · all certificationsPrep and mock exams for AWS, Azure, GCP, Claude and moreAWS CLF-C02Entry-level AWS cloud certificationAWS SAA-C03Entry certification for cloud architectsClaude certificationsAnthropic Claude certification seriesAll certifications →

    Projects and team work

    P3 team projectsBuild a project with real teammates in a simulated team workflowP3 project experienceThe parts of a P3 project that go on your resumeDemo DayProject showcaseP3 certificatesProof once a project is completeAll of P3 →

    Competitions and work

    HackathonsBuild something against the clockSubmit your workAdd your project to the showcaseCareerOS portfolioDo tasks in the desktop app; your results become portfolio pieces
    Cert MasterBrowser extension, app and mini programScreenshot a question for analysis and practise anywhereAbout Cert Master
  • Connect

    How do I get myself in front of employers?

    Resume, interviews, referrals and mentors. See how far you are from the target role first, then decide what to fix.

    Start with Jobpin

    Resume and openings

    Graduate careersGraduate preparation across Australia, China, Malaysia, Singapore, the US and UKJobpinAI job search workspace: resume, roles, applicationsAI resumeRewrite your resume against a job descriptionReferralsRoles shared by students and mentorsOpportunitiesInternships, projects and collaborationsOffer boardOffers students have received

    Interviews

    AI Engineer interview guideSeven areas, with worked examplesFDE interview guideFive rounds, from scoping to the customer roundAI mock interviewPractise by text or voice and see the gapsInterview storiesReal interview experiencesSystem Design handbookPrepare for system design interviewsAll interview prep →

    Mentors

    1:1 mentorsBook AI, career and technical mentors by the hourGroup tutoringShare a tutor with a few others and pay less eachCareer coachingResume, interview and direction packages
    Jobpin desktopOne workspace for the whole job searchOrganise real experience and refine resume versions for target roles on macOS or Windows.About Jobpin
BusinessMembershipDownload CareerOS
0
匠人学院 JR Academy

Follow Us

linkedinfacebooktwitterinstagramyoutube

We Accept

/image/layout/pay-paypal.png/image/layout/pay-visa.png/image/layout/pay-master-card.png/image/layout/pay-airwallex.png/image/layout/pay-alipay.png
Airbotix · AI learning & creation for kids Another Life · AI story game
Products46

CareerOS and tools

  • CareerOS
  • Cert Master
  • Jobpin
  • Jobpin web
  • Jobpin report
  • Jobpin desktop download
  • My job search reports
  • Buy report credits
  • Jobpin billing
  • AI Toolbox
  • AI Skill Marketplace

Membership

  • Membership
  • AI membership

Courses

  • Bootcamps
  • Training Camp
  • Kanban learning
  • AI Builder course
  • MCP course
  • NotebookLM workshop
  • Business Analyst course
  • Web Full-Stack Bootcamp
  • DevOps Bootcamp
  • Data Engineering Bootcamp
  • Data Analysis Bootcamp
  • Coding for Beginners
  • Algorithm Bootcamp

Career services

  • Graduate careers
  • Graduate careers in Australia
  • Graduate careers in China
  • Graduate careers in Malaysia
  • Graduate careers in Singapore
  • Graduate careers in the US
  • Graduate careers in the UK
  • 1:1 coaching
  • Career coaching
  • AI Engineer VIP
  • BA & PM Internship
  • Data Science Internship
  • Data Analysis Internship
  • Marketing Internship
  • Resume Review
  • Interview Coaching
  • Job Application Service
  • Job Monitoring
  • LinkedIn Management
  • LinkedIn Networking
Library57

Learning paths

  • All Learning Paths
  • AI Engineer
  • Context Engineering
  • Vibe Coding
  • Prompt Master
  • AI Builder
  • AI Product Manager
  • Python Basics
  • AI Productivity
  • AI Data Analysis
  • AI Finance
  • AI Content Creation
  • AI Image Creation
  • Frontend Development
  • Hermes Agent
  • OpenClaw Local Agent

Interactive labs

  • Prompt Lab
  • Frontend Lab
  • JavaScript Lab
  • Python Lab
  • AWS Lab
  • Azure Lab
  • LLM Lab
  • Git Lab

Reference and guides

  • Resources
  • Wiki
  • Cheat sheets
  • Roadmaps
  • AI roadmaps
  • Videos
  • Ebooks
  • Blog
  • Interview handbook
  • Mock exams
  • Free resources

Cities

  • Sydney
  • Melbourne
  • Brisbane
  • Adelaide
  • Singapore
  • Kuala Lumpur
  • London
  • New York
  • San Francisco
  • Los Angeles
  • Seattle
  • Toronto
  • Vancouver

Immigration

  • Australia Immigration
  • Skilled Visa 189/190/491
  • Employer Sponsored 482/186/494
  • Business Visa 188/888
  • UK Immigration
  • US Immigration
  • Canada Immigration
  • Singapore immigration
  • Malaysia immigration
Business20

For business

  • AI for Business
  • Business portal sign-in
  • Corporate Training
  • Internship Partnership
  • Recruitment Partnership
  • Enterprise (EN)

Metatree AI Lab

  • Metatree AI Lab (Chinese)
  • AI solutions (Chinese)
  • Digital employees (Chinese)
  • Case studies (Chinese)
  • Metatree AI Lab
  • AI services
  • Digital employees
  • Case studies

AI education for kids

  • Airbotix — AI Learning & Creation for Kids
  • AU Family Resource Hub
  • NAPLAN Report Guide
  • My School Data Guide
  • Sydney Private School Fees 2026
  • Kids Coding Programs
About15

Company

  • About Us
  • Our Mentors
  • Become a Mentor
  • Metaverse Classroom
  • JR Careers
  • Another Life — AI Story Game
  • Contact Us

Help and policies

  • FAQs
  • Terms & Conditions
  • Privacy Policy
  • Cancellation & Refund Policy
  • Site map

Friend links

  • CS Browser

Contact

  • hello@jiangren.com.au
  • 0421-672-555

Offices

Level 10b, 144 Edward Street, Brisbane CBD (Headquarter)
Level 2, 171 La Trobe St, Melbourne VIC 3000
45A13, Block B, Oriental Hope Tianxiang Plaza, 500 Tianfu Avenue Middle Section, Wuhou District, Chengdu, Sichuan, China
Business Hub, 155 Waymouth St, Adelaide SA 5000
Disclaimer
footer-disclaimerfooter-disclaimer

JR Academy acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders past and present. Aboriginal and Torres Strait Islander peoples should be aware that this website may contain images or names of people who have since passed away.

All content on the JR Academy website, including course materials, logos, and information provided, is protected under Australian intellectual property laws. Unauthorized use, sale, distribution, reproduction, or modification is strictly prohibited. Violations may result in legal action. By accessing our website, you agree to respect our intellectual property. JR Academy Pty Ltd reserves all rights, including patents, trademarks, and copyrights. Any infringement will be subject to legal prosecution. View Terms of Service

© 2017-2026 JR Academy Pty Ltd. All rights reserved.

ABN 26621887572

HomeLearnCoursesCerts
  1. Home
  2. Learn
  3. Blog
  4. Bolt.new 实战手册:浏览器里用 AI 搭全栈应用 — Bolt.new 进阶技巧:省 token、少踩坑、出活快
JR Academy · BlogCareer insights

Bolt.new 实战手册:浏览器里用 AI 搭全栈应用 — Bolt.new 进阶技巧:省 token、少踩坑、出活快

掌握 Bolt.new 高级 prompt 技巧、token 节约策略、三阶段开发法和常见坑的解决方案

Published2026-11-30
Reading time1 min
Author

Contents

  • Prompt 写法的核心原则
  • 一次只改一件事
  • 用专业词汇代替模糊描述
  • 指定文件和组件
  • 三阶段开发法
  • Phase 1:搭骨架
  • Phase 2:接数据库 + 用户系统
  • Phase 3:打磨和高级功能
  • Token 省着用
  • 常见坑和解决方案
  • 生成的代码报错,AI 改了好几轮还是报错
  • 浏览器加载慢、403/404 错误
  • Supabase 权限错误(403)
  • 实战案例:从零搭一个 AI 工具导航站

用 Bolt.new 一段时间后你会发现,同样的需求,会写 prompt 的人可能 3 条消息就搞定,不会写的人 20 条消息还在绕圈子——而且每条消息都在烧 token。这一章讲的就是怎么更高效地用 Bolt.new。

Bolt.new prompting tips

Prompt 写法的核心原则

一次只改一件事

这是最重要的一条。不要在一个 prompt 里塞五六个需求:

别这么写:

改一下 UI 风格,加个搜索功能,修复那个 bug,把数据库换成 Supabase,还有加个深色模式

应该这么写:

第 1 条:修复点击"删除"按钮后列表没有刷新的 bug
第 2 条:添加搜索框,输入时实时过滤列表
第 3 条:把主题切换成深色模式

一次改一件事,出了问题好定位,想回滚也精准。

用专业词汇代替模糊描述

❌ "把文字弄大一点、粗一点"
✅ "标题字体改成 28px,font-weight 设为 700"

❌ "按钮之间太挤了"
✅ "按钮之间加 16px 的 gap"

❌ "这个页面不好看"
✅ "参考 Linear 的设计风格,用 slate 色系,卡片加 1px border 和 8px 圆角"

指定文件和组件

项目大了以后,告诉 AI 改哪个文件能大幅减少 token 消耗:

只修改 src/components/TaskList.tsx 里的排序逻辑,
把默认排序从按创建时间改成按优先级降序。
不要动其他文件。

三阶段开发法

Bolt.new 社区里流行一套 Mega Prompt 模板,把项目开发分成三个阶段。我觉得这个思路很实用:

Phase 1:搭骨架

创建一个 SaaS 仪表盘应用:
- 技术栈:React + Vite + Tailwind + shadcn/ui
- 页面:Landing Page、Dashboard、Settings
- 响应式布局,手机端适配
- 侧边栏导航 + 顶部搜索栏
- 数据先用 mock 数据,后面再接数据库

这一步的重点是把架构和导航确定下来,不急着加功能。

Phase 2:接数据库 + 用户系统

现在把 mock 数据换成 Supabase 数据库:
1. 创建 users、projects、tasks 三张表
2. 加上邮箱注册/登录
3. 用 Row Level Security 确保用户只能看自己的数据
4. Dashboard 页面从数据库读取真实数据

Phase 3:打磨和高级功能

1. 添加 Stripe 订阅支付(月付 $9.99)
2. 任务支持拖拽排序(用 @dnd-kit/core)
3. 添加实时通知功能
4. 性能优化:大列表用虚拟滚动

分阶段做的好处:每个阶段结束后你都有一个能跑的版本,随时可以停下来部署。

Token 省着用

Bolt.new 的 token 消耗有个坑:项目越大,每条 prompt 消耗的 token 越多。因为 AI 每次回复都要读一遍整个项目代码。

一些数据参考:

  • 新项目:每条 prompt 大约消耗 ~10,000 tokens
  • 20 个组件的项目:每条 prompt 大约消耗 ~100,000 tokens

省 token 的几个技巧:

  1. 第一条 prompt 写详细:把核心功能一次说清楚,比后面一点一点加要省
  2. 指定操作范围:说明改哪个文件/组件,AI 就不需要扫描整个项目
  3. 用 Haiku 做小改动:改文案、调颜色这种事不需要 Sonnet
  4. 让 AI 生成 README:生成一份 README.md,总结项目结构和每个组件的作用——下次开发时引用 README 可以减少 AI 的"理解成本"

常见坑和解决方案

生成的代码报错,AI 改了好几轮还是报错

这种"错误循环"是 AI 编辑器的通病。Bolt V2 的自动 debug 功能已经把这个问题减少了 98%,但复杂场景还是会遇到。

解决方案:

把完整的错误信息粘贴过来(包括文件名和行号),然后说:
"请只关注这个错误,不要改其他任何代码"

如果 3 轮还没解决,直接回滚到出错前的版本,换个思路重新描述需求。

浏览器加载慢、403/404 错误

# 检查清单:
# 1. 用 Chrome 或 Chromium 浏览器(Safari/Firefox 兼容性差)
# 2. 关掉广告拦截器(会拦截 WebContainers 资源)
# 3. 关掉 VPN(某些 VPN 会阻断 StackBlitz 的连接)
# 4. 终端里跑一下 build 试试:
npm run build

Supabase 权限错误(403)

99% 的原因是 Row Level Security (RLS) 没配好。在对话里说:

帮我检查 todos 表的 RLS 策略,
确保登录用户可以增删改查自己的数据

实战案例:从零搭一个 AI 工具导航站

这是一个我觉得很适合用 Bolt.new 做的项目类型——内容展示 + 简单交互,不需要复杂后端。

Prompt 1:

用 React + Tailwind + shadcn/ui 创建一个 AI 工具导航站:
- 首页网格展示工具卡片(logo、名称、一句话描述、标签、链接)
- 顶部搜索框 + 标签筛选(生成类、编程类、设计类、写作类)
- 点击卡片跳转到工具官网(新标签页打开)
- 支持提交新工具(表单 + localStorage)
- 深色主题,参考 futurepedia.io 风格

Prompt 2:

接 Supabase 数据库,把工具数据从 mock 迁移到 DB。
加一个 admin 页面(/admin),可以审核用户提交的工具。

两条 prompt,大约 10 分钟,一个实用的 AI 工具导航站就出来了。

Author
Share or copy the link
← Previous articleBolt.new 实战手册:浏览器里用 AI 搭全栈应用 — Bolt.new 核心功能详解:从 prompt 到生产级全栈应用Next article →Bolt.new 实战手册:浏览器里用 AI 搭全栈应用 — Bolt.new 常见问题 FAQ:定价、踩坑和选型建议

Related articles

🇦🇺测一下:袋鼠国码农能当FDE吗?

2026-12-01

Monash 研究:肠道酸度是膳食纤维降血压的关键;AI 搬运新闻冲击维州选举信息;MPAC 公布 2027 演出季

2026-12-01

Adelaide 物理学家获 $250,000 总理科学奖;全球葡萄酒消费六十年降四分之一;残障师范生实习障碍研究

2026-12-01

DVA-C03今日上线首发 · Google Cloud AI Agent认证完整解析 · AZ-401本月GA替代AZ-400

2026-12-01

Anthropic推迟下一代模型并调百人做安全,AWS推出AI办公三件套,Google让用户单独关掉AI训练

2026-12-01

GitHub Copilot 实战指南 — Copilot AI Code Review:30 秒让 AI 帮你审 PR,三档深度随需切换

2026-11-30
View all articles →

Done reading? Next steps

Not sure what to learn next? Tell us where you are

Tell us what you do now and where you want to go. See your gaps in skills, evidence, experience, expression and positioning, and what to work on first. No sign-in needed.

Compare with my situation
  • SkillAI Coding for EveryoneShip real products with Cursor + AI, no coding background needed. The 6-week Foundation track builds 4 deliverables; the 8-week Advanced track adds an Admin CMS, a chatbot and a data dashboard.See the program →
  • PositioningLearning roadmaps by roleFrontend, backend, data, AI and more, laid out stage by stage in the order to learn them.All roadmaps →
  • ExpressionTry an AI mock interviewPick a role and run a mock interview to practise explaining your experience and projects.Practise now →

Not sure what to do next?

Take this page's topic with you and see where your gaps are.

Compare with my situation
JR Academy
AI learning for the global Chinese community
BootcampsFree resourcesLearn AICareer coaching
精选推荐
AI Career Impact Map
Assess career exposure and explore transition paths and learning options
Popular tool
AI & Data Bootcamps
Build your skills through structured courses and hands-on projects
Popular courses
1:1 Career Coaching
Work with an experienced mentor on your resume and interview preparation
Career coaching
Custom Corporate Training
AI training tailored to your team
Business services
Popular tags
Vibe CodingAI codingCursorClaudeJob searchPromptFrontend developmentBackend development
Subscribe to updates

Receive AI learning resources, technical tutorials and career advice by email.

We respect your privacy and do not send spam.