WEBVTT

00:00:00.080 --> 00:00:03.980
Now, as a next step,
I wanna give Claude Code

00:00:04.080 --> 00:00:08.039
a more complex task. And for that,
I'll clear my context

00:00:08.080 --> 00:00:11.970
here again with slash clear to start a new
session and I

00:00:12.020 --> 00:00:15.670
want to give Claude Code this task here in
the end.

00:00:15.840 --> 00:00:19.690
I want it to implement authentication
and database access.

00:00:20.460 --> 00:00:24.380
Now, I got all the details for
that in my SpecMD file, of course,

00:00:24.420 --> 00:00:28.140
able to find that file because I also
reference it in the Claude

00:00:28.200 --> 00:00:31.500
MD file, which is always included,
and there I point at that

00:00:31.560 --> 00:00:35.250
file.
So it should automatically detect this

00:00:35.280 --> 00:00:39.150
Of course, if you wanna be sure,
you can add an extra point or

00:00:39.280 --> 00:00:42.880
edit and say, "As described in

00:00:42.920 --> 00:00:46.690
SpecMD," for example.
That never hurts since I

00:00:46.740 --> 00:00:50.370
know that it will need to reach out to
that. But it should work without that.

00:00:50.380 --> 00:00:53.110
But even with that added,
this prompt isn't

00:00:53.160 --> 00:00:57.040
ideal. I do give it some extra

00:00:57.080 --> 00:01:00.020
information that I want the lib folder
and how these files should be

00:01:00.080 --> 00:01:03.820
named, but chances are high or at

00:01:03.860 --> 00:01:07.120
least exist that it doesn't set up these
files

00:01:07.180 --> 00:01:11.060
properly. Because I know as a developer,
that it will

00:01:11.160 --> 00:01:14.320
have to follow certain rules
when implementing

00:01:14.400 --> 00:01:17.800
authentication with
that BetterAuth package I'm using,

00:01:17.920 --> 00:01:21.820
and the same is true for implementing
database access with help of

00:01:21.960 --> 00:01:25.820
Bun's built-in SQLite feature. There
is an official documentation

00:01:25.920 --> 00:01:29.500
article about interacting with SQLite from
inside Bun,

00:01:29.900 --> 00:01:33.680
and in the end,
I want it to follow the instructions from

00:01:33.760 --> 00:01:37.700
course. And when it comes to BetterAuth,
there also are installation

00:01:37.740 --> 00:01:41.680
instructions also for working with
different database types and

00:01:41.760 --> 00:01:45.620
so on.
And without providing more information

00:01:45.720 --> 00:01:48.180
are that DEI gets something wrong.

00:01:48.300 --> 00:01:52.240
So we got two main options here. The first

00:01:52.300 --> 00:01:56.290
option would be to explicitly provide all
the context we know

00:01:56.320 --> 00:01:59.280
it needs, and that is a good option,
don't get me wrong.

00:01:59.320 --> 00:02:03.140
If I know that this article here will be
important, I can copy it and say

00:02:03.200 --> 00:02:07.120
something like,
"Here's the official guide on using Bun

00:02:07.200 --> 00:02:11.180
it. That would be one way.
Another way would be to

00:02:11.220 --> 00:02:14.960
include links to these articles
and tell it to access those

00:02:15.000 --> 00:02:18.800
webpages, because Claude Code can do that.
It can visit websites.

00:02:18.840 --> 00:02:22.800
So we could do something like say,
"Visit the official docs websites,"

00:02:22.920 --> 00:02:26.380
those different sites, then hope
that it does that.

00:02:26.450 --> 00:02:30.140
We could also add an instruction like this
and tell it to use web

00:02:30.180 --> 00:02:34.160
search to find the relevant documentation
for the things it needs to

00:02:34.200 --> 00:02:37.560
look up.
Because Claude Code also can do web

00:02:37.620 --> 00:02:41.600
It has that capability. But there also
is another

00:02:41.660 --> 00:02:44.900
thing we can do in addition, and that
is using an MCP

00:02:44.920 --> 00:02:45.900
server.
