Now, as a next step, I wanna give Claude Code
a more complex task. And for that, I'll clear my context
here again with slash clear to start a new session and I
want to give Claude Code this task here in the end.
I want it to implement authentication and database access.
Now, I got all the details for that in my SpecMD file, of course,
able to find that file because I also reference it in the Claude
MD file, which is always included, and there I point at that
file. So it should automatically detect this
Of course, if you wanna be sure, you can add an extra point or
edit and say, "As described in
SpecMD," for example. That never hurts since I
know that it will need to reach out to that. But it should work without that.
But even with that added, this prompt isn't
ideal. I do give it some extra
information that I want the lib folder and how these files should be
named, but chances are high or at
least exist that it doesn't set up these files
properly. Because I know as a developer, that it will
have to follow certain rules when implementing
authentication with that BetterAuth package I'm using,
and the same is true for implementing database access with help of
Bun's built-in SQLite feature. There is an official documentation
article about interacting with SQLite from inside Bun,
and in the end, I want it to follow the instructions from
course. And when it comes to BetterAuth, there also are installation
instructions also for working with different database types and
so on. And without providing more information
are that DEI gets something wrong.
So we got two main options here. The first
option would be to explicitly provide all the context we know
it needs, and that is a good option, don't get me wrong.
If I know that this article here will be important, I can copy it and say
something like, "Here's the official guide on using Bun
it. That would be one way. Another way would be to
include links to these articles and tell it to access those
webpages, because Claude Code can do that. It can visit websites.
So we could do something like say, "Visit the official docs websites,"
those different sites, then hope that it does that.
We could also add an instruction like this and tell it to use web
search to find the relevant documentation for the things it needs to
look up. Because Claude Code also can do web
It has that capability. But there also is another
thing we can do in addition, and that is using an MCP
server.