文本记录English

OpenCode + GSD: The Free AI Coding Workflow to Build Real Projects 10X Better

12m 6s1,960 字数309 segmentsEnglish

完整文本记录

0:00

So, if you have used any AI coding agent

0:03

for more than 15 minutes on a real

0:04

project, you already know the pain. The

0:07

agent starts strong. The first few

0:09

responses are clean, the code makes

0:11

sense, and then somewhere around turn 10

0:13

or 12, things fall apart. It forgets

0:15

what it already built. It starts

0:17

duplicating logic. It changes files it

0:20

should not touch. And before you know

0:21

it, you are spending more time fixing

0:23

the agent's mistakes than actually

0:24

building your feature. GSD, or Get

0:27

Done, is an open-source workflow system

0:29

that fixes this problem. It currently

0:31

sits at over 48,000 stars on GitHub, and

0:34

it is growing fast. So, what GSD

0:36

actually does is it sits on top of your

0:38

existing coding agent. It is not a new

0:40

IDE, it is not a new model. It is a

0:43

context engineering layer. You install

0:45

it, and it gives your agent a structured

0:47

process to follow, instead of just

0:49

dumping everything into one giant prompt

0:51

and hoping for the best. And the tool

0:53

now supports a bunch of different

0:54

runtimes: Claude Code, Codex, Gemini

0:57

CLI, Copilot, Cursor, WinSurf,

1:00

Anti-Gravity, and OpenCode, which is the

1:02

one we are focusing on today. Okay, so

1:05

OpenCode is an open-source AI coding

1:07

agent built primarily for the terminal.

1:09

It is written in Go, which means it

1:10

starts up fast and runs efficiently. You

1:13

can use it as a terminal TUI, a desktop

1:15

app, or an IDE extension. The main thing

1:17

that separates OpenCode from tools like

1:19

Cursor or Copilot is that it is

1:21

completely model agnostic. It supports

1:23

over 75 different LLM providers. So, you

1:26

can use Claude, GPT, Gemini, DeepSeek,

1:29

Mistral, local models through Ollama,

1:31

basically whatever you want. You can

1:33

even log in with your GitHub Copilot

1:34

account or your ChatGPT Plus

1:36

subscription and use those models

1:38

directly. And it is free. You only pay

1:40

for the API calls to whichever provider

1:42

you choose. OpenCode has some nice

1:44

built-in features. Plan mode, where the

1:46

agent analyzes code without modifying

1:49

anything. Build mode, where it writes

1:51

code and makes real changes. You switch

1:53

between them with the tab key. It

1:55

supports multi-session workflows, so you

1:57

can run multiple agents in parallel. And

2:00

it has LSP integration, so the model

2:02

gets better context about your code. But

2:04

even with all that, OpenCode still

2:06

suffers from the same context rot

2:08

problem every other agent has. The

2:10

longer the session, the worse the

2:12

output. And that is where GSD comes in.

2:15

Before I continue, let me tell you about

2:17

KeysOff. So, if you are setting up a new

2:20

PC, or maybe reinstalling your system,

2:23

you probably need a Windows key or an

2:25

Office license. And paying full retail

2:27

price for those is honestly just

2:29

throwing money away at this point.

2:31

KeysOff sells genuine OEM software keys

2:34

for different softwares, including

2:36

Windows and Microsoft Office, at way

2:38

lower prices. Everything activates

2:41

online. It is 100% legit, and they have

2:44

24/7 customer support if anything goes

2:46

wrong. You can see they have Windows 11

2:49

Pro, Office 2021 Pro, Office 2021 and

2:53

2024 bundles that include both Windows

2:56

and Office together. I have two

2:58

exclusive coupon codes for you. The

3:00

first one is AI50, that gets you 50% off

3:03

any Windows product. The second one is

3:05

AI62, that gets you 62% off on Office

3:09

and bundle deals. So, for example,

3:12

Windows 11 Pro drops to around $14.35

3:16

after the coupon. Office 2021 Pro Plus

3:19

comes down to about $34.37.

3:23

And if you grab the bundle with Windows

3:24

11 Pro Plus Office 2021 Pro together,

3:28

that is around $45 total. That is both

3:30

for less than what most people pay for

3:32

just Windows alone. You can pay with

3:34

PayPal or credit card, whatever works

3:36

for you. Takes about 30 seconds, and you

3:39

get your key right away by email. Link

3:41

is in the description below. All right,

3:43

back to the video. GSD adds a rigid,

3:46

repeatable structure on top of OpenCode.

3:48

It breaks your project into small

3:50

phases, and each phase gets its own

3:52

discuss, plan, execute, verify cycle.

3:55

Every task runs in a fresh context

3:57

window with clean state. So, the model

4:00

never has to hold your entire project

4:02

conversation in memory while also trying

4:04

to implement task 12 out of 20. The

4:07

context stays fresh. The quality stays

4:10

consistent. All right, so to install GSD

4:12

for OpenCode, run this NPX command in

4:15

your terminal. The installer will ask

4:17

you two things. First, which runtime you

4:19

want. You pick OpenCode from the list.

4:22

And second, whether you want a global

4:24

install or a local install. Global means

4:27

it applies to all your projects, and for

4:29

OpenCode, that installs to your home

4:30

directory under .config/opencod.

4:33

Local means just the current folder.

4:35

Once it is done, you can verify the

4:37

installation by typing /gsd-help

4:41

inside OpenCode, and it should show you

4:43

all available commands. If you want to

4:45

do it non-interactively, say for a

4:48

script or Docker setup, you can run NPX

4:50

command, and it will skip all the

4:52

prompts. GSD also works with Claude

4:55

Code, Gemini CLI, Codex, Copilot,

4:58

Cursor, WinSurf, and Anti-Gravity. So,

5:01

if you switch between tools, you can

5:03

install GSD for multiple runtimes in a

5:06

single session. Now, let me run the two

5:08

commands that are the foundation of any

5:10

GSD project. The /gsd-map-codebase

5:14

command. If you already have an existing

5:17

project with code in it, this is always

5:19

where you should start. What it does is

5:21

it spawns multiple agents in parallel to

5:24

analyze your entire codebase. It looks

5:27

at your architecture, your tech stack,

5:29

your naming conventions, and your folder

5:31

structure. The output becomes a

5:33

reference that GSD loads into every

5:35

future step. So, when you later ask GSD

5:38

to plan a new feature, it already knows

5:40

how your project is organized. This

5:42

prevents that really common problem

5:45

where the AI agent starts writing code

5:47

that clashes with what already exists.

5:50

When you run this command, it takes a

5:51

little bit because it is running

5:53

parallel analysis agents. When it

5:55

finishes, it stores the analysis files

5:58

in a .planning folder. And from now on,

6:01

every GSD command has context about how

6:03

this project works.

6:05

And the /gsd-new-project

6:08

command. This is how you kick off a

6:10

brand new project or a new milestone for

6:12

an existing one. When you run it, GSD

6:15

starts asking you questions about what

6:17

you want to build: goals, constraints,

6:19

tech preferences, edge cases. It keeps

6:21

asking until it has a complete picture.

6:24

Then it optionally spawns research

6:26

agents to investigate the domain. After

6:28

that, it separates your requirements

6:30

into version one, version two, and out

6:33

of scope. And finally, it generates a

6:36

roadmap with phases mapped to those

6:38

requirements. The files it creates are

6:40

project, requirements, roadmap, and

6:43

state.md.

6:45

These are all stored in the .planning

6:47

folder. And this is your project memory.

6:49

Every step from here reads from these

6:51

files, so the agent always has the right

6:54

context loaded. After new project, the

6:56

next step for each phase is

6:58

/gsd-discuss-phase.

7:02

You pass it the phase number. So, for

7:04

phase one, it would be

7:05

/gsd-discuss-phase-one.

7:09

This step is about surfacing all the

7:10

gray areas before any planning or coding

7:13

happens. If you are building a user

7:15

interface, it asks about layout,

7:17

spacing, interactions, empty states. The

7:20

output goes into a context.md

7:23

file that feeds directly into planning

7:25

and research. Next, you run

7:27

/gsd-plan-phase.

7:30

Again, with the phase number. This is

7:32

where GSD does domain research, creates

7:34

small atomic task plans, and then

7:37

verifies those plans against your

7:39

requirements. The plans are formatted in

7:41

XML, and they are deliberately small,

7:44

small enough to fit inside a fresh

7:45

context window. And that is the entire

解锁更多

免费注册以访问高级功能

互动查看器

观看带有同步字幕、可调节叠加层和完整播放控制的视频。

免费注册以解锁

AI 摘要

获取由 AI 立即生成的视频内容摘要、要点和结论。

免费注册以解锁

翻译

一键将字幕翻译成 100 多种语言。以任何格式下载。

免费注册以解锁

思维导图

将字幕可视化为交互式思维导图。一目了然地了解结构。

免费注册以解锁

与字幕聊天

提出关于视频内容的问题。直接从字幕中获取由 AI 驱动的答案。

免费注册以解锁

从您的字幕中获得更多

免费注册并解锁交互式查看器、AI 摘要、翻译、思维导图等。无需信用卡。

    OpenCode + GSD: The Free AI Cod… - 完整文字记录 | YouTubeTranscript.dev