匠人学院 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. Cline 实战手册:开源免费的 VS Code AI 编程 Agent — 核心功能深度解析
JR Academy · BlogCareer insights

Cline 实战手册:开源免费的 VS Code AI 编程 Agent — 核心功能深度解析

Plan/Act 双模式、MCP 工具市场、Browser 自动化、Context 上下文管理全面拆解

Published2026-12-01
Reading time1 min
Author

Contents

  • Plan 模式:先想清楚再动手
  • Act 模式:自主执行任务
  • MCP 集成:给 Agent 装外挂
  • Browser 自动化
  • Context 上下文管理

Plan 模式:先想清楚再动手

Plan 模式是 Cline 区别于大多数 AI 编程工具的设计。开启后 Cline 只做分析、不改代码——它会读文件、梳理依赖、列出修改方案,但一行代码也不碰。

适合这些场景:

  • 接手陌生项目,先让 Cline 跑一遍了解结构
  • 做复杂重构前,让它列出所有受影响的文件和修改顺序
  • 评估某个需求的实现方案——给它需求描述,它会分析技术可行性
# Plan 模式 prompt 示例
我想给这个 Next.js 项目加 i18n 支持(中文和英文)。
请分析目前的项目结构,列出需要改哪些文件、用什么库、大概分几步实现。
先不要动代码。

Plan 模式输出会是一份结构化的执行计划——文件列表、修改顺序、潜在风险。你觉得计划合理了,再切到 Act 模式让它执行。

Act 模式:自主执行任务

Act 模式下 Cline 会真正动手:创建文件、修改代码、跑终端命令、读报错、自动修复。它的 Agent 循环会持续运行,直到任务完成或遇到需要你决策的地方。

Cline Act 模式执行任务流程

Act 模式能做的事:

能力 说明
创建/编辑文件 展示 diff 预览,你确认后才写入
运行终端命令 npm install、git commit、pytest 等
读取命令输出 看 build 报错、test 结果、lint 警告
自我修复 发现报错自动分析原因、改代码、重试
搜索代码库 按语义找相关文件,不只是文本搜索

一个真实的工作流:

# 给你的 React 项目加暗黑模式
给这个 React 项目加 dark mode 支持:
1. 用 CSS 变量定义亮色/暗色主题
2. 加一个切换按钮在右上角
3. 用 localStorage 记住用户选择
4. 默认跟随系统设置
做完跑一下 dev server 看看效果

Cline 会分多轮执行:先创建 CSS 变量文件,再改布局组件加切换按钮,然后加 localStorage 逻辑,最后跑 npm run dev 并用内置浏览器截图验证效果。

MCP 集成:给 Agent 装外挂

MCP(Model Context Protocol)是 Anthropic 推出的开放协议,让 AI Agent 能调用外部工具。Cline 内置了 MCP 市场,一键安装各种 server:

┌─ MCP 市场热门工具 ────────────────────────┐
│                                           │
│  🗄  Postgres / Supabase   → 查数据库     │
│  📋  Jira / Linear         → 管理任务     │
│  ☁️  AWS / Azure           → 操作云资源   │
│  🧪  Playwright            → 端到端测试   │
│  📊  GitHub                → 管理仓库     │
│  📝  Notion                → 读写文档     │
│  🔍  Brave Search          → 联网搜索     │
│                                           │
└───────────────────────────────────────────┘

安装方式:打开 Cline 侧边栏顶部的 MCP 图标,浏览市场,点 Install。或者直接在对话里说「帮我装一个 Postgres MCP server」,Cline 会自动配置。

更厉害的是,你可以让 Cline 自己创建 MCP server:

我需要一个 MCP 工具,能查询我们公司的 Confluence wiki。
用 Confluence REST API,支持按关键词搜索和获取页面内容。
帮我从头搭建这个 MCP server。

Cline 会生成脚手架代码、写工具定义、配置连接、安装到本地,全自动。

Browser 自动化

Cline 内置浏览器控制能力,能在开发过程中直接验证 UI:

  • 打开页面:localhost:3000 或任意 URL
  • 截图:对当前页面截图分析
  • 交互:点击按钮、填写表单、滚动页面
  • 读取控制台:捕获 console.log 和报错信息

这意味着 Cline 做完前端改动后能自己开浏览器看效果,如果 UI 不对还能自动调整。不用你手动刷新页面截图发给 AI。

# 让 Cline 自己验证前端效果
加完 dark mode 后,帮我打开 http://localhost:3000,
截个图看看亮色和暗色模式的效果对不对。
如果有 UI 问题就直接修。

Context 上下文管理

Cline 用 @ 引用来精准控制上下文:

引用方式 作用 示例
@file 把某个文件加入上下文 @src/utils/auth.ts 这个鉴权逻辑有 bug
@folder 把整个文件夹加入 @src/components/ 帮我重构这些组件
@url 爬取网页内容 @https://docs.stripe.com/api 参考这个文档接 Stripe
@problems VS Code 问题面板 @problems 帮我修这些 lint 错误

最佳实践:不要一次给太多上下文。精准 @ 两三个关键文件,比让 Cline 自己搜索全项目更快更准。上下文越精准,生成的代码越靠谱,token 消耗也越少。

Author
Share or copy the link
← Previous articleCline 实战手册:开源免费的 VS Code AI 编程 Agent — 安装配置与第一个项目Next article →Cline 实战手册:开源免费的 VS Code AI 编程 Agent — 进阶技巧与实战案例

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.