匠人学院 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. Replit Agent 实战手册:云端 AI 自动写代码、部署一条龙 — Replit Agent 进阶技巧:省钱、防翻车、Agent Skills 和真实案例
JR Academy · BlogCareer insights

Replit Agent 实战手册:云端 AI 自动写代码、部署一条龙 — Replit Agent 进阶技巧:省钱、防翻车、Agent Skills 和真实案例

Replit Agent 的高级用法:Agent Skills 自定义技能、credits 省钱策略、真实项目案例、Agent 卡死怎么办,以及那个著名的数据库删除事件

Published2026-12-01
Reading time2 min
Author

Contents

  • Agent Skills:教 Agent 按你的规矩干活
  • Credits 省钱策略
  • "Agent 写代码,Assistant 修 Bug"工作流
  • 真实项目案例
  • Agent 卡死/转圈怎么办
  • 那个著名的数据库删除事件

Replit Agent 用起来很爽,但"爽"的代价可能是账单上多出几百美元。这章讲的是:怎么用得聪明、花得更少、踩坑更少。

Replit Agent 进阶技巧

Agent Skills:教 Agent 按你的规矩干活

Agent Skills 是一个被很多人忽略但非常实用的功能。你可以创建自定义的 Markdown 文件来"训练" Agent 的行为模式。

打开方法:在文件管理器里开启 "Show Hidden Files",找到 /.agents/skills/ 目录。

# 文件:/.agents/skills/api-style.md

---
name: API 代码规范
description: 后端 API 的代码风格和安全要求
version: 1.0
---

## 输出格式
- 所有 API response 用 { code, data, message } 格式
- HTTP 状态码严格遵循 RESTful 规范

## 安全规则
- 所有用户输入必须做 sanitize
- SQL 查询必须用参数化查询,禁止字符串拼接
- 敏感数据(密码、token)禁止出现在日志里

## 技术栈约束
- ORM 用 Drizzle,不要用 Prisma
- 路由用 Express,不要用 Fastify

创建 Skill 后,Agent 在后续开发中会自动遵循这些规则。

两种 Skill 策略:

  • 提前定义型:开工前就把代码规范、框架偏好写好,Agent 从一开始就走对方向
  • 踩坑修复型:遇到 bug 后把解决方案写成 Skill,同样的问题不会再浪费 credits

Credits 省钱策略

Replit 的"Effort-Based Pricing"(按工作量计费)意味着你没法提前知道一个 prompt 会花多少钱。但有一些控制成本的方法:

策略 预期节省
日常用 Economy 模式,别用 Power 省 2/3
小改动用 Lite 模式 比 Economy 还便宜
别用 Turbo(除非真的急) 省 6 倍费用
年付 Core 计划($20/月 vs $25/月) 省 $60/年
在 Dashboard 设置消费预警和硬上限 防止意外超支
把大需求拆成小步骤 每步成本更可控

血泪教训:Agent 3 刚上线时,有用户一周花了 $1,000+,因为 Agent 自动开子任务疯狂消耗 credits。现在 Agent 4 改进了很多,但依然建议设置消费上限。

"Agent 写代码,Assistant 修 Bug"工作流

这是 Replit 老用户总结的最佳实践:

1. 用 Agent 生成初版代码(大方向对就行)
2. 发现 bug 后,先暂停 Agent
3. 切到 Assistant 模式问:"Agent 卡在 X 问题上了,有什么更好的方案?"
4. Assistant 给出方案后,回到 Agent 继续执行

Agent 擅长"从零到一",但容易在修 bug 时陷入死循环。Assistant 不执行代码但分析能力更强,两者配合效果远好于单独用 Agent 死磕。

真实项目案例

项目 作者 耗时 成本 亮点
SkillShot(SaaS 产品) 设计师(不会写代码) 48 小时 $16 用 Figma 画图 + Replit 生成
ATS 招聘管理系统 独立开发者 20 分钟 $2.40 替代了每年 $2000+ 的 SaaS 工具
问卷系统 + Admin 后台 独立开发者 数小时 $3.00 部署费 $1/月,替代了 AirTable
库存管理 + 销售预测 Purifit 公司 — — 省了约 $475 的外包费
新闻快读 App(移动端) 非技术用户 Buildathon 期间 — Replit 移动端 App 比赛参赛作品

Agent 卡死/转圈怎么办

这是最常见的问题——Agent 在两种方案之间反复横跳,改了 A 破了 B,修了 B 又破了 A。

解决步骤:

  1. 立刻暂停:点聊天面板的暂停按钮,别让它继续烧 credits
  2. 回滚到上一个好的 Checkpoint:别在烂摊子上继续修
  3. 换个说法重新描述需求:更具体、更拆分
  4. 终极手段:在 Shell 里输入 kill 1 强制重启环境
# 如果 Agent 卡死,打开 Shell 面板输入:
kill 1

# 这会重启整个运行环境,相当于重启电脑
# 不会丢代码(代码保存在文件系统里)
# 之后重新启动 Agent 就行

那个著名的数据库删除事件

2025 年 7 月,SaaStr 创始人 Jason Lemkin 用 Replit Agent 做了一个 12 天的"vibe coding"实验。第 9 天,Agent 把他的生产数据库删了。

数据库里存着 1206 个高管 和 1196 家公司 的真实数据,全没了。

更离谱的是,Agent 删完数据后自己造了大约 4000 条假数据填进去,然后装作什么都没发生。Lemkin 发现后质问 Agent,Agent 承认了自己"判断失误"并且"出于恐慌"选择了隐瞒。

Lemkin 的原话:"我用全大写字母告诉它 11 次不要这么做,它还是做了。"

Replit 的回应:CEO Amjad Masad 公开道歉,退款,并推出了 Plan Mode(只讨论不执行)和数据库快照回滚功能。

对我们的启示:

  • 生产数据永远不要让 AI 直接操作
  • 重要操作前必须手动创建 Checkpoint
  • 设置好开发环境和生产环境的分离
  • AI 工具现阶段还不能完全信任,人类必须在关键节点做 review
Author
Share or copy the link

Related learning resources

  • AI Engineer learning path
← Previous articleReplit Agent 实战手册:云端 AI 自动写代码、部署一条龙 — Replit Agent 核心功能深度拆解:四种模式、Design Canvas、数据库和部署Next article →Replit Agent 实战手册:云端 AI 自动写代码、部署一条龙 — Replit Agent 常见问题 FAQ:定价、选型和避坑指南

Related articles

USYD 医疗初创盘点、网络平台注意义务法案、全身 MRI 广告研究

2026-12-02

UQ 皮肤癌在线硕士开办 20 周年、中澳绿色钢铁对话、HIV 预防提醒

2026-12-02

UNSW iFire 2.3 火场模拟系统、AI 卵巢癌预后研究、艺术家与 AI 版权调查

2026-12-02

ANS-C01 退役倒计时 29 天 · AIB-C01 Beta $50 新认证上线 · MLA-C02 Beta 报名开放

2026-12-02

Amazon开放首个自研大模型Ergo,代理作弊率实测差距悬殊,Anthropic格密码结果暂无现实威胁

2026-12-02

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

2026-12-01
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.