トランスクリプトEnglish

Convex projects just got a BIG AI upgrade!

9m 28s1,746 単語251 segmentsEnglish

全トランスクリプト

0:00

So, you want to level up your Vibe

0:02

coding sessions, but can't be bothered

0:04

to go out and find out whatever the

0:06

current best practices are when working

0:08

with Convex projects. Well,

0:10

>> good news everyone.

0:11

>> Those Convex best practices now

0:13

automatically come to you when you run

0:15

Convex Dev. That's right. As of Convex

0:18

1.34, if you have a new ComX project and

0:21

you run Convex Dev to set up your new

0:23

deployment, you're now given this new

0:25

prompt to install the AI files. These AI

0:29

files are both the guidelines which we

0:32

have painstakingly refined uh from our

0:34

hard one bottles in the convex evals

0:36

repo and our newly minted agent skills.

0:40

Then once you have the AI files

0:42

installed, it'll go ahead and prompt you

0:44

whenever there's a new version of those

0:46

files so you always have the latest

0:48

greatest AI enhancements. But you want

0:51

more details or just have no idea what

0:53

I'm talking about? then stick around as

0:56

I want you to grab yourself a lovely cup

0:57

of tea, drop me a like and sub, then

0:59

we're gonna get into it.

1:02

So, for the longest time now, we've been

1:04

automatically shipping our cursor rules

1:07

files into your Convex projects when we

1:08

detect you're running inside a cursor.

1:11

Now, this may have been all well and

1:13

good back in the dark ages of 2025, but

1:17

you might have noticed things have moved

1:18

on a little bit since then. Now, we have

1:21

many different kinds of agents running a

1:23

host of different models that could all

1:25

do with the guidance provided by our AI

1:27

guidelines. If you aren't familiar with

1:29

our AI guidelines, then I've done a

1:31

number of videos on this already, but

1:33

the TLDDW is that models are really good

1:36

at convex, but not absolutely perfect.

1:39

So, what we did is we designed a series

1:41

of test cases called evals that poke the

1:44

model to see what it does and doesn't

1:46

know about convex. Then if the model

1:49

fails at one of these tests, we add a

1:51

guideline to plug in this gap in the

1:53

model's knowledge. Now, this has been

1:55

really successful because not only do we

1:57

get a really useful set of guidelines

1:59

that we can pass to a model to improve

2:00

it, it also allows us to generate this

2:03

LLM leaderboard which we can use to see

2:05

which models currently do best and worst

2:08

[music] at convex both with and without

2:11

the guidelines. And also the big AI labs

2:14

absolutely love eval sets like this as

2:16

it allows them to continually refine

2:18

their models so that in theory over time

2:22

we might just be able to remove these

2:23

guidelines because the models already

2:25

score perfect on convex. Anyways, back

2:28

to the point. So we were shipping these

2:30

cursor rules into your projects

2:33

automatically which are basically just

2:35

the guidelines with a bunch of cursor

2:37

specific fluff at the top. But these

2:39

would obviously only apply to tools that

2:41

would pick up these cursor rules files.

2:43

So tools for example like claude code

2:45

wouldn't pick these up. So now we

2:47

changed it. So when you run

2:48

npxconvexdev,

2:50

you select yes from the menu. We add the

2:53

rules as a markdown document to

2:55

underscore generated/ai/guidelines.mmd.

2:59

But the question is how do models know

3:01

to look there and read that? Well,

3:04

that's why we also inject this little

3:06

snippet into your agents.mmd file and

3:09

your claw.md file which basically covers

3:13

the vast majority of agents and it will

3:16

encourage the models to always read

3:18

those guidelines first when working on

3:20

convex code. So I guess naturally at

3:22

this point you probably have lots of

3:23

questions. Why do we do it this way? Why

3:26

don't we just simply dump the entire

3:28

guidelines into your agents.mmd file?

3:31

Why don't we do an index of the convex

3:33

docs like Versel does? Why do we put the

3:36

generated files in /generated AAI and

3:39

why they not get ignored? Well, these

3:41

are all really good questions and we

3:44

thought long and hard about each of

3:45

these, but I think this video would take

3:47

forever if I went to details about each

3:49

of them. So, drop me a comment down

3:50

below if you're interested and I will

3:53

happily give the reasoning for them.

3:55

Okay, so this feature is called AI files

3:57

and not simply AI guidelines. That's

4:00

because we also ship our newly minted

4:02

agent skills into your project, too. So,

4:05

if you aren't familiar with skills,

4:07

they're like little bundles of knowledge

4:08

that can assist a model with a

4:10

particular action you're trying to

4:11

undertake. Now, I chose my words

4:14

carefully there because, as mentioned in

4:17

the philosophy section of the readme, we

4:19

want skills to be laser focused on a

4:21

particular action you want to take. So

4:24

basically skills are not a place for

4:26

simply repeating what is already in the

4:28

convex docs or filling in gaps in the

4:31

model's knowledge. That's what the eval

4:34

guidelines are for as previously

4:35

previously mentioned. So with that in

4:37

[music] mind, let's take a look at what

4:39

skills we have in here currently. So

4:41

convex setup orth walks you through

4:42

choosing an orth provider, then the

4:44

steps required to get that particular

4:46

orth provider working. Be it convex or

4:49

works, clerk or zero. Convex performance

4:52

audit is a really handy skill that

4:54

encourages the models to go out, gather

4:56

a bunch of signals such as the newly

4:58

minted NPX convex insights command. Man,

5:01

I need to do a video on that one soon, I

5:03

think. And the convex doctor. Uh, I

5:07

should probably do a video on this one

5:08

as well, thinking about it. Before

5:10

highlighting potential issues for you,

5:12

we've also provided a number of

5:13

reference documents that have been

5:15

carefully gleamed from our knowledge and

5:17

even some recent learnings from Seth's

5:19

optimizations of Clawhub. You should go

5:22

out and read that article by the way.

5:23

It's very interesting. We also added a

5:25

skill to help with migrations,

5:28

uh, one to help with creating components

5:31

and one to help kickstart Convex

5:33

projects from scratch. Now, as mentioned

5:35

before, these skills are automatically

5:37

installed for you when you run npx

5:39

convex dev and select yes to AI files or

5:42

if you run npx convex AI files [music]

5:45

install. More on these various CLI

5:47

commands a little bit later. But I

5:49

should just note that this AI files

5:52

feature just leverages our agent skills

5:54

which are in a separate repo. So you

5:56

aren't required to use this feature to

5:58

be able to use the skills. that you

6:00

could just simply copy them into your

6:02

directory if you want or you can

6:03

leverage the npx skills tool to add them

6:06

yourself. And fun fact, we actually use

6:09

npx skills ourselves underneath the hood

6:11

when we install them into your repo. We

6:14

decided to do this so that we could

6:15

leverage this tool rather than write our

6:17

own because unfortunately installing

6:19

agent skills at the moment is a little

6:21

bit of an art than a science and it's

6:24

constantly changing mainly thanks to the

6:27

fact that the various IDs tools or

6:30

whatever just can't seem to agree on a

6:32

on a correct standard. So for now, we

6:35

decided just to let the NPX skills CLI

6:37

worry about what where the best place to

6:39

install these things given on somebody's

6:41

setup, and we'll just carry on doing

6:43

what we do instead.

6:46

So, one thing I was keen on getting

6:48

right from the start was the update

6:50

story. These skills are going to change

6:53

over time as Convex and AI evolves. So,

6:57

I didn't want this to be like a a

6:58

oneshot install and then it goes stale.

7:01

So after the initial setup of your

7:03

project, every subsequent time that you

7:05

run npx convex dev, it's going to go out

7:07

and check to see whether there's any

7:08

updates to the guidelines or the agent

7:10

skills. And if there is, it's going to

7:12

drop this little warning in your in your

7:14

terminal to let you know. Then you can

7:17

just run npx convex AI files update to

7:20

get the latest versions. We purposely

7:22

chose not to automatically update those

7:24

files for you for now at least as we

7:27

didn't want to create surprise

7:29

unexpected changes to your repo when

7:32

running npxdev.

さらにアンロック

無料でサインアップしてプレミアム機能にアクセス

インタラクティブビューア

字幕を同期させ、オーバーレイを調整し、完全な再生コントロールでビデオを視聴できます。

無料でサインアップしてアンロック

AI要約

動画コンテンツ、キーポイント、および重要なポイントのAI生成された要約を即座に取得します。

無料でサインアップしてアンロック

翻訳

ワンクリックでトランスクリプトを100以上の言語に翻訳します。任意の形式でダウンロードできます。

無料でサインアップしてアンロック

マインドマップ

トランスクリプトをインタラクティブなマインドマップとして視覚化します。構造を一目で理解できます。

無料でサインアップしてアンロック

トランスクリプトとチャット

動画コンテンツについて質問します。AIを利用してトランスクリプトから直接回答を得られます。

無料でサインアップしてアンロック

トランスクリプトをもっと活用する

無料でサインアップして、インタラクティブビューア、AI要約、翻訳、マインドマップなどをアンロックしてください。クレジットカードは不要です。

    Convex projects just got a BIG… - 全文書き起こし | YouTubeTranscript.dev