0:00.000–0:03.880
Today, I'll show you how to use Claude Code as a non-coder.
0:04.120–0:08.720
We'll start by clearing up the biggest misconception you probably have about Claude Code,
0:08.880–0:10.880
and then obviously we're going to build an app,
0:11.020–0:14.020
but we'll do it at the right level of complexity for you.
0:14.500–0:18.240
Along the way, I'll cover three reasons why you'd even want to use Claude Code,
0:18.360–0:20.580
and one big red flag why you shouldn't.
0:21.000–0:24.340
I'm David DeWinter. I partnered with Anthropic to bring you this one.
0:24.760–0:29.480
So the biggest misconception is that Claude Code is only for developers.
0:29.480–0:33.880
It's not. It's a general AI agent that happens to write code.
0:34.120–0:35.651
You choose a folder to work in and
0:35.651–0:37.580
describe what you want in plain English.
0:37.780–0:41.240
So if you know Claude Codework, you're most of the way there.
0:41.500–0:43.220
Tutorial for that in the top right, by the way.
0:43.880–0:46.120
Code runs on the same engine as Codework.
0:46.260–0:48.380
It's just that Codework has more guardrails,
0:48.480–0:50.440
so you don't end up shooting yourself in the foot.
0:50.840–0:54.100
That means that Codework can build apps too.
0:54.340–0:56.960
So let's actually see what's different about Code.
0:56.960–0:59.900
Here I'm running it inside of Visual Studio Code,
1:00.060–1:02.100
and there's a desktop app as well.
1:02.240–1:06.600
You don't have to use a scary-looking terminal window or a command prompt.
1:06.920–1:10.280
So with that, let's walk through the steps of building an app.
1:10.440–1:12.840
The first trick is picking the right thing to build.
1:13.120–1:16.360
Keep it small, keep it focused, and it sounds silly,
1:16.540–1:19.620
but make sure whatever you build will actually be useful to someone.
1:20.100–1:23.180
If you can't say out loud why it's worth building, don't build it.
1:23.180–1:25.087
And if you need some inspiration,
1:25.087–1:27.880
check out some of the many apps that you use at work
1:27.880–1:30.860
that are crammed into Excel or Google Sheets.
1:31.180–1:34.020
Some of those are ripe for turning into real software.
1:34.340–1:35.120
Here's an example.
1:35.440–1:37.260
I keep my sales pipeline in a spreadsheet.
1:37.600–1:40.920
It works, but every time a deal changes its stage,
1:41.200–1:43.180
I have to go do a handful of other things,
1:43.280–1:45.760
like reorganize folders on our shared drive,
1:46.040–1:48.600
gather new docs, research the account, and so on.
1:48.860–1:51.840
So I'm going to build an app that handles all of that for me.
1:51.840–1:55.360
To follow along, you can grab Claude Code right here.
1:55.580–1:58.400
I recommend also downloading Visual Studio Code
1:58.400–2:00.400
so you can see your files while you work.
2:00.760–2:03.820
When you start with VS Code, you'll want to do two things.
2:04.180–2:08.420
First, use the Open Folder link to open an empty folder on your computer.
2:08.700–2:10.820
I've got one here already called Sales Pipeline.
2:11.120–2:13.240
Second, to get Claude Code to show up,
2:13.360–2:15.440
click on the Extensions button in the sidebar,
2:15.740–2:18.240
then type in Claude to find the Claude Code extension.
2:18.640–2:20.840
You're looking for the official one made by Anthropic.
2:20.840–2:24.220
You should see a blue Install button here to install it.
2:24.460–2:27.720
Once the install completes, click here to open the secondary sidebar
2:27.720–2:29.340
and make sure Claude Code is selected.
2:29.560–2:31.100
You'll see this window down below.
2:31.460–2:33.300
You can go a little bananas with the customization,
2:33.700–2:35.100
so let's close the one in the middle
2:35.100–2:37.140
and then head back to the Explorer view.
2:37.440–2:39.900
The Explorer view shows everything in this folder.
2:40.260–2:42.100
I've got my pipeline spreadsheet here already.
2:42.300–2:44.800
There's a link in the description if you want to grab it too.
2:45.060–2:46.820
Let's start by telling Claude what we want.
2:47.120–2:48.920
Click in the prompt box and type this in.
2:48.920–2:50.040
I'm not a developer.
2:50.460–2:52.160
I track my pipeline inside
2:52.160–2:54.280
at sign salespipeline.xl.
2:54.560–2:55.680
And yes, that's a trick.
2:55.800–2:58.760
Use the at sign to refer to any file in this folder.
2:59.160–3:02.300
Continuing on, I want a simple app that shows my deals grouped by stage
3:02.300–3:03.920
that can read from this file,
3:04.040–3:06.760
where I can drag a deal from one stage to the next.
3:07.100–3:09.260
When I change stages, it updates the Excel.
3:09.600–3:11.700
Interview me about anything else you need to know.
3:12.040–3:14.500
Now, before you run this, switch over to plan mode.
3:14.840–3:17.440
Do that by clicking on this hand icon in the bottom right.
3:17.440–3:21.200
This makes Claude show me its plan before it touches anything,
3:21.400–3:25.240
so I can catch a wrong turn before it spends time building the wrong thing.
3:25.580–3:27.820
So when I build a new feature or a new app,
3:27.960–3:29.600
I turn this on from the very start.
3:29.960–3:33.040
Now, while this is working, here's a quick overview of all the modes.
3:33.340–3:35.840
We've got the manual mode where it's going to ask for approval
3:35.840–3:37.440
before making any changes.
3:38.080–3:41.780
Edit automatically will handle changes in files automatically,
3:42.100–3:45.360
but will still ask your permission to run any custom tools.
3:45.360–3:47.240
Plan mode, we've already covered.
3:47.680–3:50.620
And then auto mode, we'll try to auto-approve actions
3:50.620–3:53.380
as long as Claude doesn't think that they're risky.
3:53.780–3:56.860
Now, after about 30 seconds, it's going to ask us some questions.
3:57.300–4:00.080
Remember, in our prompt, we asked it to interview us
4:00.080–4:01.640
about what it needed to know.
4:01.980–4:03.640
That's a prompting trick you can use
4:03.640–4:05.720
when you're not sure which context is relevant.
4:06.100–4:08.200
Answer the questions based on what you want to see.
4:08.200–4:10.660
I want these three fields on every card.
4:11.100–4:13.560
I want the last updated column to be updated
4:13.560–4:15.500
when I move deals between stages.
4:16.000–4:18.160
For now, I just want dragging to work.
4:18.560–4:21.740
And I do want it to back up the Excel before I make changes.
4:22.120–4:23.560
Hit submit answers when you're done.
4:23.920–4:26.460
A couple seconds later, you'll get a plan to review.
4:26.860–4:28.460
Like I said, the plan is a great way
4:28.460–4:30.760
to make sure Claude doesn't steer off track.
4:31.120–4:33.120
Remember when we said I'm not a developer?
4:33.600–4:35.300
This is a great way to teach Claude
4:35.300–4:37.320
to keep it non-technical for us.
4:37.320–4:39.840
But if you have any questions or you want to make changes,
4:40.160–4:43.200
I like to use this tell Claude what to do instead box.
4:43.600–4:46.520
For example, if you don't know what OpenPi Excel is,
4:46.600–4:48.300
you could type in something like this.
4:48.600–4:50.740
You quote what it says and you ask, what does it mean?
4:51.040–4:52.180
It comes back pretty quickly,
4:52.340–4:54.660
even apologizing for the jargon that it's writing.
4:54.980–4:56.800
It tells you what OpenPi Excel is
4:56.800–4:59.140
and even offers to remove the rest of the jargon
4:59.140–4:59.780
from the plan.
5:00.160–5:02.480
If you want to rewrite the plan, go ahead and do so.
5:02.600–5:04.620
I'm going to keep things moving and type approved.
5:05.120–5:05.840
I'll press enter.
5:05.840–5:08.220
I'll click yes and auto accept edits
5:08.220–5:11.000
because I don't want it to bug me until it's done.
5:11.400–5:13.160
In fact, I'm going to make that even stronger
5:13.160–5:14.840
by clicking the modes button again
5:14.840–5:16.240
and then clicking auto.
5:16.700–5:18.040
That takes a few minutes to complete,
5:18.160–5:19.780
but let me show you the first reason
5:19.780–5:22.540
why you'd reach for Claude code over Cowork.
5:22.720–5:24.920
While it builds, you can see every file
5:24.920–5:26.480
that it creates right here.
5:26.880–5:30.020
Cowork doesn't offer that level of visibility inside the app.
5:30.240–5:32.700
Now that it's finished, it's also made this file
5:32.700–5:34.760
that we can double-click to open it.
5:35.020–5:36.860
To quickly get there, right-click on the file
5:36.860–5:38.980
and then select Reveal in File Explorer.
5:39.360–5:41.580
That opens the folder where we can double-click
5:41.580–5:44.200
on this .bat file to open the app.
5:44.480–5:46.760
Now remember, this app is linked to the spreadsheet,
5:47.020–5:49.520
which means if I drag a deal to a new stage,
5:49.640–5:50.980
it should be updated there.
5:50.980–5:53.380
We can verify this by opening the document
5:53.380–5:56.240
and seeing that Northwind Traders is in the active stage.
5:56.600–5:59.360
The last updated date was also marked as today.
5:59.360–6:01.640
Now Claude Codework could build this too,
6:01.820–6:03.460
but here's where it would get clunky.
6:03.720–6:05.740
I'm gonna ask Claude Code to reach out
6:05.740–6:07.440
to a different folder on my computer.
6:07.840–6:09.540
Here's the new feature we're going to build.
6:09.840–6:11.600
See, all those accounts in the spreadsheet
6:11.600–6:15.080
also have their own folder inside of our shared drive.
6:15.440–6:18.020
When an account moves from prospects to active,
6:18.340–6:21.480
we also want their folder to move into the active folder.
6:21.860–6:24.680
We also wanna make sure that all of these subfolders
6:24.680–6:26.000
are present in the account.
6:26.360–6:27.760
To do this, I'm gonna paste a prompt
6:27.760–6:28.980
from the resource guide.
6:29.080–6:30.560
That's also in the description.
6:30.960–6:32.300
Let's go through it step-by-step.
6:32.540–6:33.760
We're keeping it pretty simple.
6:33.920–6:35.160
When a deal moves to active,
6:35.340–6:37.760
it should change its location on the shared drive.
6:38.180–6:39.860
Here's the shared drive location.
6:40.380–6:42.400
Active accounts should be in the active folder
6:42.400–6:44.340
and should have subfolders created
6:44.340–6:45.800
if they don't already exist.
6:46.180–6:48.240
Remember, we switch this to plan mode first
6:48.240–6:49.500
before we make the change.
6:49.880–6:51.200
We can do that with this menu,
6:51.360–6:54.020
but the faster way is to hold shift and press tab
6:54.020–6:55.340
until you get the right mode.
6:55.340–6:57.520
While this is running, by the way,
6:57.640–6:59.700
this is reason number two to use code.
6:59.860–7:01.720
It can reach across your machine
7:01.720–7:03.460
to entirely different folders.
7:04.180–7:06.660
In Cowork, I'd have to stop and add that folder
7:06.660–7:08.440
to its permission list first.
7:08.840–7:11.340
That sandbox in Cowork can be useful
7:11.340–7:13.000
or it can really slow you down.
7:13.340–7:14.660
This is a case of the latter.
7:15.000–7:16.500
This plan I approved off camera.
7:16.780–7:17.800
Let's see what Claude did.
7:17.940–7:19.300
We've got the active folders
7:19.300–7:20.520
on the right side of the screen.
7:20.720–7:22.440
Let's see what happens when we move
7:22.440–7:25.060
the Contoso account from prospect to active.
7:25.460–7:27.020
We see the Contoso folder is added
7:27.020–7:29.100
and all of the new subfolders are there.
7:29.460–7:30.820
Now this worked on my machine,
7:30.980–7:32.680
but sometimes you might not like
7:32.680–7:34.100
the changes that Claude makes.
7:34.560–7:36.340
Reason number three to use Claude code
7:36.340–7:37.980
is just a better environment,
7:38.180–7:39.400
something we call a harness.
7:39.920–7:41.180
There are all sorts of commands
7:41.180–7:43.220
you can access using the slash key
7:43.220–7:44.940
that don't exist in Cowork.
7:45.340–7:47.280
One example is slash rewind.
7:47.760–7:49.860
Use this to roll back both your code
7:49.860–7:52.480
and your conversation to a point in the past.
7:52.860–7:55.640
Cowork also doesn't have an explicit plan mode.
7:55.940–7:58.060
Other cool commands include slash goal
7:58.060–7:59.880
where you can keep a prompt going
7:59.880–8:02.320
until it accomplishes exactly what you want.
8:02.700–8:04.000
And for fun, drop a comment
8:04.000–8:05.820
if you know what slash stickers does.
8:06.020–8:08.580
Now let's talk about how you share an app.
8:08.760–8:10.660
Today, it lives on your machine
8:10.660–8:12.640
and you can open it with a double click.
8:12.840–8:14.360
If a teammate wants it,
8:14.480–8:16.120
you can copy all of the files
8:16.120–8:18.140
that you just created over to their machine.
8:18.480–8:20.320
But if the whole team needs it,
8:20.520–8:22.780
that's likely a conversation with your IT team.
8:23.080–8:24.420
The problem you want to avoid
8:24.420–8:25.700
is that when there's an issue,
8:25.980–8:28.000
you'll have to fix it on everybody's machine.
8:28.400–8:30.080
There are better ways to build software.
8:30.560–8:32.080
Now, you remember that misconception
8:32.080–8:33.220
I told you earlier?
8:33.500–8:36.460
I said Cowork could do a lot of the same things.
8:36.540–8:38.200
So I actually built this app
8:38.200–8:40.740
with the same prompts in Claude Cowork.
8:41.160–8:43.100
The difference is all in the detail.
8:43.300–8:44.660
So instead of plan mode,
8:44.660–8:47.160
I had to ask it to write a plan.
8:47.600–8:49.380
I had to explicitly grant it permission
8:49.380–8:51.400
to reach that folder in our shared drive.
8:51.760–8:54.040
There's no file view to watch it work.
8:54.320–8:56.940
And there's no slash rewind if something breaks.
8:57.420–8:59.400
Code just makes those moments smoother.
8:59.840–9:01.120
Now, if you're still on the fence
9:01.120–9:02.200
about using Claude Code,
9:02.360–9:05.020
here's a big red flag not to use it.
9:05.500–9:08.380
Claude Code runs with close to full access to your machine
9:08.380–9:10.540
and certainly far fewer of the guardrails
9:10.540–9:11.860
than what Cowork gives you.
9:11.860–9:12.940
So for example,
9:13.340–9:15.460
if this permanent deletion question
9:15.460–9:16.980
in Cowork makes you nervous
9:16.980–9:19.300
and you don't know how to tell if it's safe or not,
9:19.660–9:21.420
then Claude Code isn't for you.
9:21.580–9:23.560
Now you know when to reach for Claude Code
9:23.560–9:25.820
and if Cowork is actually enough for you.
9:26.020–9:27.700
Remember, you can download Claude Code
9:27.700–9:29.460
using the link in the description below.
9:29.960–9:30.900
Let me know in the comments
9:30.900–9:32.480
what else you'd like to learn about Claude.
9:32.700–9:33.240
I'm David.
9:33.400–9:34.260
I'll see you in the next one.
9:34.260–9:35.000
I'll see you in the next one.
0:00.000–0:03.880
Today, I'll show you how to use Claude Code as a non-coder.
今天,我將示範非程式設計師如何使用 Claude Code。
0:04.120–0:08.720
We'll start by clearing up the biggest misconception you probably have about Claude Code,
我們將先釐清你對 Claude Code 可能存在的最大誤解,
0:08.880–0:10.880
and then obviously we're going to build an app,
接著顯然我們會建構一個應用程式,
0:11.020–0:14.020
but we'll do it at the right level of complexity for you.
但我們會以適合你的複雜度來進行。
0:14.500–0:18.240
Along the way, I'll cover three reasons why you'd even want to use Claude Code,
在此過程中,我將涵蓋三個你會想要使用 Claude Code 的理由,
0:18.360–0:20.580
and one big red flag why you shouldn't.
以及一個不應該使用它的重大警示。
0:21.000–0:24.340
I'm David DeWinter. I partnered with Anthropic to bring you this one.
我是 David DeWinter,我與 Anthropic 合作帶來這個內容。
0:24.760–0:29.480
So the biggest misconception is that Claude Code is only for developers.
所以最大的誤解是,Claude Code 僅限於開發人員使用。
0:29.480–0:33.880
It's not. It's a general AI agent that happens to write code.
並非如此。它是一個會撰寫程式碼的通用 AI 代理程式。
0:34.120–0:35.651
You choose a folder to work in and
你選擇一個要處理的資料夾,
0:35.651–0:37.580
describe what you want in plain English.
並用普通的英文描述你想要的內容。
0:37.780–0:41.240
So if you know Claude Codework, you're most of the way there.
所以如果你熟悉 Claude Codework,你就已經完成大部分工作了。
0:41.500–0:43.220
Tutorial for that in the top right, by the way.
順便一提,右上角有相關的教學影片。
0:43.880–0:46.120
Code runs on the same engine as Codework.
Code 運行於與 Codework 相同的引擎上。
0:46.260–0:48.380
It's just that Codework has more guardrails,
只是 Codework 有更多的防護機制,
0:48.480–0:50.440
so you don't end up shooting yourself in the foot.
這樣你就不會不小心傷到自己。
0:50.840–0:54.100
That means that Codework can build apps too.
這意味著 Codework 也能建構應用程式。
0:54.340–0:56.960
So let's actually see what's different about Code.
所以讓我們實際看看 Code 有什麼不同。
0:56.960–0:59.900
Here I'm running it inside of Visual Studio Code,
這裡我在 Visual Studio Code 內部執行它,
1:00.060–1:02.100
and there's a desktop app as well.
同時也有桌面版應用程式。
1:02.240–1:06.600
You don't have to use a scary-looking terminal window or a command prompt.
你不需要使用看起來令人畏懼的終端機視窗或命令提示字元。
1:06.920–1:10.280
So with that, let's walk through the steps of building an app.
有了這些,讓我們逐步 walkthrough 建構應用程式的步驟。
1:10.440–1:12.840
The first trick is picking the right thing to build.
第一個技巧是選擇正確的建構目標。
1:13.120–1:16.360
Keep it small, keep it focused, and it sounds silly,
保持小巧、保持專注,這聽起來很傻,
1:16.540–1:19.620
but make sure whatever you build will actually be useful to someone.
但請確保你所建構的任何東西對某人來說確實有用。
1:20.100–1:23.180
If you can't say out loud why it's worth building, don't build it.
如果你無法大聲說出建構它的理由,就不要建構它。
1:23.180–1:25.087
And if you need some inspiration,
如果你需要一些靈感,
1:25.087–1:27.880
check out some of the many apps that you use at work
查看一些你在工作中使用的應用程式,
1:27.880–1:30.860
that are crammed into Excel or Google Sheets.
它們被塞進 Excel 或 Google Sheets 中。
1:31.180–1:34.020
Some of those are ripe for turning into real software.
其中一些已經準備好轉化為真正的軟體。
1:34.340–1:35.120
Here's an example.
這裡有一個範例。
1:35.440–1:37.260
I keep my sales pipeline in a spreadsheet.
我將銷售漏斗保存在試算表中。
1:37.600–1:40.920
It works, but every time a deal changes its stage,
它運作良好,但每次交易變更階段時,
1:41.200–1:43.180
I have to go do a handful of other things,
我都必須去做其他幾件事,
1:43.280–1:45.760
like reorganize folders on our shared drive,
例如重新組織我們共用磁碟機上的資料夾,
1:46.040–1:48.600
gather new docs, research the account, and so on.
收集新文件、研究客戶帳戶,等等。
1:48.860–1:51.840
So I'm going to build an app that handles all of that for me.
所以我將建構一個幫我處理所有這些事項的應用程式。
1:51.840–1:55.360
To follow along, you can grab Claude Code right here.
若要跟隨操作,你可以在這裡取得 Claude Code。
1:55.580–1:58.400
I recommend also downloading Visual Studio Code
我也建議下載 Visual Studio Code,
1:58.400–2:00.400
so you can see your files while you work.
這樣你可以在工作時查看你的檔案。
2:00.760–2:03.820
When you start with VS Code, you'll want to do two things.
當你使用 VS Code 時,你需要做兩件事。
2:04.180–2:08.420
First, use the Open Folder link to open an empty folder on your computer.
首先,使用「開啟資料夾」連結,在你的電腦上開啟一個空的資料夾。
2:08.700–2:10.820
I've got one here already called Sales Pipeline.
我這裡已經有一個名為 Sales Pipeline 的資料夾。
2:11.120–2:13.240
Second, to get Claude Code to show up,
其次,為了讓 Claude Code 顯示出來,
2:13.360–2:15.440
click on the Extensions button in the sidebar,
點擊側邊欄的「擴充功能」按鈕,
2:15.740–2:18.240
then type in Claude to find the Claude Code extension.
然後輸入 Claude 來尋找 Claude Code 擴充功能。
2:18.640–2:20.840
You're looking for the official one made by Anthropic.
你要找的是 Anthropic 推出的官方版本。
2:20.840–2:24.220
You should see a blue Install button here to install it.
你應該會看到這裡有一個藍色的「安裝」按鈕來安裝它。
2:24.460–2:27.720
Once the install completes, click here to open the secondary sidebar
安裝完成後,點擊這裡開啟次要側邊欄,
2:27.720–2:29.340
and make sure Claude Code is selected.
並確保已選取 Claude Code。
2:29.560–2:31.100
You'll see this window down below.
你會在下方看到這個視窗。
2:31.460–2:33.300
You can go a little bananas with the customization,
你可以進行大量的客製化設定,
2:33.700–2:35.100
so let's close the one in the middle
所以讓我們先關閉中間的那個,
2:35.100–2:37.140
and then head back to the Explorer view.
然後回到「總管」檢視。
2:37.440–2:39.900
The Explorer view shows everything in this folder.
「總管」檢視會顯示這個資料夾中的所有內容。
2:40.260–2:42.100
I've got my pipeline spreadsheet here already.
我這裡已經有我的銷售漏斗試算表。
2:42.300–2:44.800
There's a link in the description if you want to grab it too.
如果也想下載,描述區有提供連結。
2:45.060–2:46.820
Let's start by telling Claude what we want.
讓我們先告訴 Claude 我們想要什麼。
2:47.120–2:48.920
Click in the prompt box and type this in.
點擊提示框並輸入以下內容。
2:48.920–2:50.040
I'm not a developer.
我不是開發人員。
2:50.460–2:52.160
I track my pipeline inside
我在
2:52.160–2:54.280
at sign salespipeline.xl.
@salespipeline.xl 裡追蹤我的銷售漏斗。
2:54.560–2:55.680
And yes, that's a trick.
沒錯,這是一個小技巧。
2:55.800–2:58.760
Use the at sign to refer to any file in this folder.
使用 at 符號(@)來指涉這個資料夾中的任何檔案。
2:59.160–3:02.300
Continuing on, I want a simple app that shows my deals grouped by stage
繼續往下,我想要一個簡單的應用程式,能將我的交易依階段分組顯示,
3:02.300–3:03.920
that can read from this file,
能夠讀取這個檔案,
3:04.040–3:06.760
where I can drag a deal from one stage to the next.
並且我可以將交易從一個階段拖曳到下一個階段。
3:07.100–3:09.260
When I change stages, it updates the Excel.
當我變更階段時,它會更新 Excel 檔案。
3:09.600–3:11.700
Interview me about anything else you need to know.
關於其他你需要知道的事,請向我提問。
3:12.040–3:14.500
Now, before you run this, switch over to plan mode.
現在,在執行之前,切換到「計畫模式」。
3:14.840–3:17.440
Do that by clicking on this hand icon in the bottom right.
點擊右下角的這個手形圖示即可做到。
3:17.440–3:21.200
This makes Claude show me its plan before it touches anything,
這會讓 Claude 在碰觸任何東西之前先顯示它的計畫,
3:21.400–3:25.240
so I can catch a wrong turn before it spends time building the wrong thing.
這樣我就能在它花費時間建構錯誤內容之前,發現錯誤的方向。
3:25.580–3:27.820
So when I build a new feature or a new app,
所以當我建構新功能或新應用程式時,
3:27.960–3:29.600
I turn this on from the very start.
我會從一開始就開啟這個功能。
3:29.960–3:33.040
Now, while this is working, here's a quick overview of all the modes.
現在,當它正在運作時,這裡是所有模式的快速概覽。
3:33.340–3:35.840
We've got the manual mode where it's going to ask for approval
我們有「手動模式」,它會在進行任何變更之前要求批准。
3:35.840–3:37.440
before making any changes.
「自動編輯」會自動處理檔案中的變更,
3:38.080–3:41.780
Edit automatically will handle changes in files automatically,
但仍會要求你批准執行任何自訂工具。
3:42.100–3:45.360
but will still ask your permission to run any custom tools.
「計畫模式」我們已經介紹過了。
3:45.360–3:47.240
Plan mode, we've already covered.
計劃模式我們已經介紹過了。
3:47.680–3:50.620
And then auto mode, we'll try to auto-approve actions
接著是自動模式,我們將嘗試自動批准操作
3:50.620–3:53.380
as long as Claude doesn't think that they're risky.
只要 Claude 認為這些操作沒有風險。
3:53.780–3:56.860
Now, after about 30 seconds, it's going to ask us some questions.
現在,大約 30 秒後,它會向我們提出一些問題。
3:57.300–4:00.080
Remember, in our prompt, we asked it to interview us
請記住,在我們的提示中,我們要求它對我們進行訪談
4:00.080–4:01.640
about what it needed to know.
了解它需要知道什麼。
4:01.980–4:03.640
That's a prompting trick you can use
這是一個你可以使用的提示技巧
4:03.640–4:05.720
when you're not sure which context is relevant.
當你不确定哪些上下文相關時。
4:06.100–4:08.200
Answer the questions based on what you want to see.
根據你想看到的內容來回答問題。
4:08.200–4:10.660
I want these three fields on every card.
我希望每張卡片上都有這三個欄位。
4:11.100–4:13.560
I want the last updated column to be updated
我希望在將交易在不同階段之間移動時
4:13.560–4:15.500
when I move deals between stages.
更新最後更新欄位。
4:16.000–4:18.160
For now, I just want dragging to work.
目前,我只希望拖曳功能能正常運作。
4:18.560–4:21.740
And I do want it to back up the Excel before I make changes.
並且我確實希望在進行更改之前備份 Excel 檔案。
4:22.120–4:23.560
Hit submit answers when you're done.
完成後點擊提交答案。
4:23.920–4:26.460
A couple seconds later, you'll get a plan to review.
幾秒鐘後,你將收到一份計劃供你審查。
4:26.860–4:28.460
Like I said, the plan is a great way
就像我說的,計劃是一個很好的方法
4:28.460–4:30.760
to make sure Claude doesn't steer off track.
確保 Claude 不會偏離軌道。
4:31.120–4:33.120
Remember when we said I'm not a developer?
請記住我們說過我不是開發人員嗎?
4:33.600–4:35.300
This is a great way to teach Claude
這是一個教導 Claude
4:35.300–4:37.320
to keep it non-technical for us.
為我們保持非技術性的好方法。
4:37.320–4:39.840
But if you have any questions or you want to make changes,
但如果你有任何問題或想進行更改,
4:40.160–4:43.200
I like to use this tell Claude what to do instead box.
我喜歡使用這個「告訴 Claude 該做什麼」的框。
4:43.600–4:46.520
For example, if you don't know what OpenPi Excel is,
例如,如果你不知道 OpenPi Excel 是什麼,
4:46.600–4:48.300
you could type in something like this.
你可以輸入類似這樣的內容。
4:48.600–4:50.740
You quote what it says and you ask, what does it mean?
你引用它說的話並詢問,這意味著什麼?
4:51.040–4:52.180
It comes back pretty quickly,
它回應得非常快,
4:52.340–4:54.660
even apologizing for the jargon that it's writing.
甚至為它使用的術語道歉。
4:54.980–4:56.800
It tells you what OpenPi Excel is
它告訴你 OpenPi Excel 是什麼
4:56.800–4:59.140
and even offers to remove the rest of the jargon
甚至建議從計劃中移除其餘的術語。
4:59.140–4:59.780
from the plan.
從計劃中。
5:00.160–5:02.480
If you want to rewrite the plan, go ahead and do so.
如果你想重寫計劃,請隨意進行。
5:02.600–5:04.620
I'm going to keep things moving and type approved.
我將繼續進行並輸入已批准。
5:05.120–5:05.840
I'll press enter.
我會按下 Enter 鍵。
5:05.840–5:08.220
I'll click yes and auto accept edits
我會點擊是並自動接受編輯
5:08.220–5:11.000
because I don't want it to bug me until it's done.
因為我不希望它在完成之前一直打擾我。
5:11.400–5:13.160
In fact, I'm going to make that even stronger
事實上,我將通過再次點擊模式按鈕
5:13.160–5:14.840
by clicking the modes button again
來使這變得更加強烈
5:14.840–5:16.240
and then clicking auto.
然後點擊自動。
5:16.700–5:18.040
That takes a few minutes to complete,
這需要幾分鐘才能完成,
5:18.160–5:19.780
but let me show you the first reason
但讓我先告訴你第一個原因
5:19.780–5:22.540
why you'd reach for Claude code over Cowork.
為什麼你會選擇 Claude Code 而不是 Cowork。
5:22.720–5:24.920
While it builds, you can see every file
在構建過程中,你可以在這裡看到它創建的每個文件。
5:24.920–5:26.480
that it creates right here.
Cowork 在應用程式內不提供這種程度的可見性。
5:26.880–5:30.020
Cowork doesn't offer that level of visibility inside the app.
現在構建已完成,它還創建了這個文件,
5:30.240–5:32.700
Now that it's finished, it's also made this file
我們可以雙擊打開它。
5:32.700–5:34.760
that we can double-click to open it.
要快速到達該位置,請在文件上按右鍵,
5:35.020–5:36.860
To quickly get there, right-click on the file
然後選擇「在檔案總管中顯示」。
5:36.860–5:38.980
and then select Reveal in File Explorer.
這會打開資料夾,我們可以雙擊
5:39.360–5:41.580
That opens the folder where we can double-click
這個 .bat 文件來打開應用程式。
5:41.580–5:44.200
on this .bat file to open the app.
現在請記住,這個應用程式已連結到試算表,
5:44.480–5:46.760
Now remember, this app is linked to the spreadsheet,
這意味著如果我將交易拖曳到新的階段,
5:47.020–5:49.520
which means if I drag a deal to a new stage,
它應該會在那裡更新。
5:49.640–5:50.980
it should be updated there.
我們可以透過打開文件來驗證這一點,
5:50.980–5:53.380
We can verify this by opening the document
並看到 Northwind Traders 處於活躍階段。
5:53.380–5:56.240
and seeing that Northwind Traders is in the active stage.
最後更新日期也標記為今天。
5:56.600–5:59.360
The last updated date was also marked as today.
現在 Claude Code 也能構建這個,
5:59.360–6:01.640
Now Claude Codework could build this too,
但這裡會變得相當笨拙。
6:01.820–6:03.460
but here's where it would get clunky.
我將要求 Claude Code 存取
6:03.720–6:05.740
I'm gonna ask Claude Code to reach out
我電腦上的另一個資料夾。
6:05.740–6:07.440
to a different folder on my computer.
這是我們即將構建的新功能。
6:07.840–6:09.540
Here's the new feature we're going to build.
請看,試算表中的所有帳戶
6:09.840–6:11.600
See, all those accounts in the spreadsheet
在我們的共用磁碟機中也有各自的資料夾。
6:11.600–6:15.080
also have their own folder inside of our shared drive.
當帳戶從潛在客戶變為活躍客戶時,
6:15.440–6:18.020
When an account moves from prospects to active,
我們也希望他們的資料夾移動到活躍資料夾中。
6:18.340–6:21.480
we also want their folder to move into the active folder.
我們還希望確保這些子資料夾
6:21.860–6:24.680
We also wanna make sure that all of these subfolders
在帳戶中全部存在。
6:24.680–6:26.000
are present in the account.
為此,我將貼上一段
6:26.360–6:27.760
To do this, I'm gonna paste a prompt
來自資源指南的提示詞。
6:27.760–6:28.980
from the resource guide.
這也在描述中。
6:29.080–6:30.560
That's also in the description.
讓我們一步步來進行。
6:30.960–6:32.300
Let's go through it step-by-step.
我們保持相當簡單。
6:32.540–6:33.760
We're keeping it pretty simple.
當交易變為活躍時,
6:33.920–6:35.160
When a deal moves to active,
它應該更改其在共用磁碟機上的位置。
6:35.340–6:37.760
it should change its location on the shared drive.
這是共用磁碟機的位置。
6:38.180–6:39.860
Here's the shared drive location.
活躍帳戶應位於活躍資料夾中,
6:40.380–6:42.400
Active accounts should be in the active folder
並且如果尚不存在,應建立子資料夾。
6:42.400–6:44.340
and should have subfolders created
請記住,我們首先將其切換為計畫模式
6:44.340–6:45.800
if they don't already exist.
在進行更改之前。
6:46.180–6:48.240
Remember, we switch this to plan mode first
我們可以透過此選單來做到這一點,
6:48.240–6:49.500
before we make the change.
在進行變更之前。
6:49.880–6:51.200
We can do that with this menu,
我們可以透過這個選單來操作,
6:51.360–6:54.020
but the faster way is to hold shift and press tab
但更快的方式是按住 Shift 鍵並按下 Tab 鍵
6:54.020–6:55.340
until you get the right mode.
直到切換到正確的模式。
6:55.340–6:57.520
While this is running, by the way,
順便一提,在執行這段程式碼時,
6:57.640–6:59.700
this is reason number two to use code.
這是使用 Code 的第二個理由。
6:59.860–7:01.720
It can reach across your machine
它可以跨過你的機器
7:01.720–7:03.460
to entirely different folders.
存取完全不同的資料夾。
7:04.180–7:06.660
In Cowork, I'd have to stop and add that folder
在 Cowork 中,我必須先停止並將該資料夾
7:06.660–7:08.440
to its permission list first.
新增到其權限清單中。
7:08.840–7:11.340
That sandbox in Cowork can be useful
Cowork 中的這個沙盒環境可能很有用
7:11.340–7:13.000
or it can really slow you down.
但也可能會嚴重拖慢你的進度。
7:13.340–7:14.660
This is a case of the latter.
這就屬於後者的情況。
7:15.000–7:16.500
This plan I approved off camera.
這個計畫是我在鏡頭外核准的。
7:16.780–7:17.800
Let's see what Claude did.
讓我們看看 Claude 做了什麼。
7:17.940–7:19.300
We've got the active folders
我們可以看到螢幕右側的
7:19.300–7:20.520
on the right side of the screen.
已啟用資料夾。
7:20.720–7:22.440
Let's see what happens when we move
讓我們看看當我們移動
7:22.440–7:25.060
the Contoso account from prospect to active.
將 Contoso 帳戶從「預案」移至「已啟用」時會發生什麼。
7:25.460–7:27.020
We see the Contoso folder is added
我們會看到 Contoso 資料夾被新增
7:27.020–7:29.100
and all of the new subfolders are there.
且所有新的子資料夾都已存在。
7:29.460–7:30.820
Now this worked on my machine,
現在這在我的機器上運作正常,
7:30.980–7:32.680
but sometimes you might not like
但有時你可能不喜歡
7:32.680–7:34.100
the changes that Claude makes.
Claude 所做的變更。
7:34.560–7:36.340
Reason number three to use Claude code
使用 Claude Code 的第三個理由
7:36.340–7:37.980
is just a better environment,
是擁有更好的環境,
7:38.180–7:39.400
something we call a harness.
我們稱之為「容器」(harness)。
7:39.920–7:41.180
There are all sorts of commands
你可以使用斜線鍵存取
7:41.180–7:43.220
you can access using the slash key
各種命令,
7:43.220–7:44.940
that don't exist in Cowork.
這些命令在 Cowork 中並不存在。
7:45.340–7:47.280
One example is slash rewind.
其中一個範例是 /rewind(倒轉)。
7:47.760–7:49.860
Use this to roll back both your code
使用此功能可將你的程式碼
7:49.860–7:52.480
and your conversation to a point in the past.
和對話內容回滾到過去的某個時間點。
7:52.860–7:55.640
Cowork also doesn't have an explicit plan mode.
Cowork 也沒有明確的計畫模式。
7:55.940–7:58.060
Other cool commands include slash goal
其他酷炫的命令包括 /goal(目標),
7:58.060–7:59.880
where you can keep a prompt going
你可以持續提供提示
7:59.880–8:02.320
until it accomplishes exactly what you want.
直到它精確完成你想要的任務。
8:02.700–8:04.000
And for fun, drop a comment
為了增加趣味性,如果你知道 /stickers(貼圖)是做什麼的,
8:04.000–8:05.820
if you know what slash stickers does.
請在留言區留言。
8:06.020–8:08.580
Now let's talk about how you share an app.
現在讓我們來談談如何分享應用程式。
8:08.760–8:10.660
Today, it lives on your machine
今天,它運行在你的機器上
8:10.660–8:12.640
and you can open it with a double click.
你可以雙擊打開它。
8:12.840–8:14.360
If a teammate wants it,
如果隊友需要它,
8:14.480–8:16.120
you can copy all of the files
你可以複製所有檔案
8:16.120–8:18.140
that you just created over to their machine.
將你剛剛建立的檔案複製到他們的機器上。
8:18.480–8:20.320
But if the whole team needs it,
但如果整個團隊都需要它,
8:20.520–8:22.780
that's likely a conversation with your IT team.
這很可能需要與你的 IT 團隊進行溝通。
8:23.080–8:24.420
The problem you want to avoid
你想要避免的問題
8:24.420–8:25.700
is that when there's an issue,
是當出現問題時,
8:25.980–8:28.000
you'll have to fix it on everybody's machine.
你必須在每個人的機器上修復它。
8:28.400–8:30.080
There are better ways to build software.
有更好的軟體開發方式。
8:30.560–8:32.080
Now, you remember that misconception
現在,你還記得我剛才提到的那個誤解嗎?
8:32.080–8:33.220
I told you earlier?
我說 Cowork 可以完成許多相同的事情。
8:33.500–8:36.460
I said Cowork could do a lot of the same things.
所以我實際上是用相同的提示
8:36.540–8:38.200
So I actually built this app
在 Claude Cowork 中構建了這個應用程式。
8:38.200–8:40.740
with the same prompts in Claude Cowork.
差異全在於細節。
8:41.160–8:43.100
The difference is all in the detail.
因此,與其使用計劃模式,
8:43.300–8:44.660
So instead of plan mode,
我必須要求它撰寫計劃。
8:44.660–8:47.160
I had to ask it to write a plan.
我必須明確授予它權限
8:47.600–8:49.380
I had to explicitly grant it permission
以訪問我們共享驅動器中的那個資料夾。
8:49.380–8:51.400
to reach that folder in our shared drive.
沒有檔案檢視功能來觀察它的運作。
8:51.760–8:54.040
There's no file view to watch it work.
如果出現錯誤,也沒有 /slash rewind 功能。
8:54.320–8:56.940
And there's no slash rewind if something breaks.
Code 讓這些時刻更加順暢。
8:57.420–8:59.400
Code just makes those moments smoother.
現在,如果你還在猶豫
8:59.840–9:01.120
Now, if you're still on the fence
是否使用 Claude Code,
9:01.120–9:02.200
about using Claude Code,
這裡有一個不建議使用它的重大警示。
9:02.360–9:05.020
here's a big red flag not to use it.
Claude Code 運行時幾乎擁有對你機器的完全存取權限
9:05.500–9:08.380
Claude Code runs with close to full access to your machine
並且肯定比 Cowork 提供的防護措施少得多。
9:08.380–9:10.540
and certainly far fewer of the guardrails
所以舉例來說,
9:10.540–9:11.860
than what Cowork gives you.
如果 Cowork 中的永久刪除提示
9:11.860–9:12.940
So for example,
讓你感到不安
9:13.340–9:15.460
if this permanent deletion question
而你不知道如何判斷它是否安全,
9:15.460–9:16.980
in Cowork makes you nervous
那麼 Claude Code 就不適合你。
9:16.980–9:19.300
and you don't know how to tell if it's safe or not,
現在你知道何時該使用 Claude Code
9:19.660–9:21.420
then Claude Code isn't for you.
以及 Cowork 是否對你來說已經足夠。
9:21.580–9:23.560
Now you know when to reach for Claude Code
記住,你可以使用下方描述中的連結
9:23.560–9:25.820
and if Cowork is actually enough for you.
下載 Claude Code。
9:26.020–9:27.700
Remember, you can download Claude Code
請在評論中告訴我
9:27.700–9:29.460
using the link in the description below.
使用下方描述中的連結進行下載。
9:29.960–9:30.900
Let me know in the comments
歡迎在留言區告訴我
9:30.900–9:32.480
what else you'd like to learn about Claude.
關於 Claude 你還想了解什麼,歡迎在留言區告訴我。
9:32.700–9:33.240
I'm David.
我是 David。
9:33.400–9:34.260
I'll see you in the next one.
我們下一部影片見。
9:34.260–9:35.000
I'll see you in the next one.
我們下一部影片見。