In this lecture, we're going to put windsurf to the test by asking it to work on an existing project.
And that existing project is an app that I've built using lovable.
So it's a Kanban board which has tasks you can easily add tasks or move them around or delete them all
together.
Part of the functionality has been already built.
Part of the functionality has not been built.
This repository is stored on GitHub, so you should have access there.
And currently we have here a product requirements document and also a to do list for this project.
So this is what we're going to do next.
We're going to start here with this repository.
But let's see exactly how can we clone this repository locally and start working on it.
So what we're going to do here from the menu we're going to select git.
And we're going to go with clone repository.
So this is going to be from GitHub.
And we're going to use the GitHub extension which is going to make our work of integrating with GitHub
just a bit better.
So I'm going to copy this and go to GitHub.
I'm going to select here continue.
And we need the code that has been displayed inside windsurf.
So this is the one time code.
Let's paste it here.
And we are now authorizing windsurf confirming again with a password.
And we are all set.
So that's already great.
We can go ahead and close this tab.
Go back to windsurf.
And we're going to see here the repositories that are available.
I'm going to select this quick board go as an option I'm going to save it inside Cascade Project and
set as repository destination.
And we're going to go ahead and open this.
And also trust all the files that are inside Cascade projects okay.
So we're going to see here on the left hand side the code that we have.
So what can we do with this.
Well first of all windsurf doesn't know anything about this code.
So it doesn't really make a lot of sense initially to just start doing things.
And there's one important thing that is missing and that is the project requirements and the to do's.
So let's add them as well.
And I'll go ahead and create a new folder here.
I'm going to call it docs.
And we're going to have inside a requirements.md.
And another file also inside docs which is going to be todo dot from lovable.
We're going to go here to settings and copy this information.
But everything that I'm using in this lecture is also going to be available as a resource.
So don't worry about that.
I'm going to go ahead and first copy the to do list, because this is probably one of the most important
ones.
And put it here inside todo.
And the rest is going to be part of the requirements.
I'm going to put it here in the requirements.
So now we already have this.
Now comes the fun part.
We're going to use a prompt to ask windsurf to analyze this particular code base so that we can better
understand what has been built and what hasn't been built.
So the instruction is going to be analyze the current code base, identify which features have already
been implemented and which are still pending update.
To do that empty file accordingly by making the completed task as done.
Apart from this, we want to change the model.
We want to use something better.
I'm going to go here by provider and choose here Gemini 2.5 Pro.
Apart from this, we also want to reference these files just to make sure that they are indeed understood
by windsurf so that know exactly where to look for.
It's going to go here in terms of files.
I'm going to select here to do that MD.
And also again through the files.
I'm going to select the requirements MD.
We can simply start typing and we're going to get the name of the desired file.
So I think we already have everything in place.
Let's send it off and try to understand exactly what this project is all about.
I'm going to see now that there have been changes made to the Todo file.
So we can already go through this and see exactly what has happened.
We also have this diff just in case it's harder to understand what is in red has been removed and what
is now in this.
Let's say green is what has been added or changed.
So every line that has been changed, you're going to see here this axis being added to a lot of the
tasks.
So we already know that we have worked on the first item that we have here the setup.
We also have the database here on the database.
See the initial data.
It's obviously not clear if this has been implemented or not.
We also have the basic functionality which we know works.
It seems that also column management has been implemented.
So there are a lot of things that have been added.
I'm not going to say that this is now perfect, but it does look that a lot of things have been implemented.
This is something that needs to be decided by looking at this particular code.
Now, I would say it's already a good starting point.
Now, windsurf already knows what this is all about, and we can start working on the rest of the features.