Agent programming uses AI agents to analyze your code, editing fragments and performing tests with you. In this practical course Tom Chant from Scrimba will show you how to get reliable results from tools like Codex, managing context, scheduling tasks, and checking every change. You will master prompting, agents.md settings, test-driven development (TDD), security in Git, secret management and connecting tools via MCP. Course designed for both experienced developers adding AI to their workflow, as well as for beginners who create software from scratch. Previously, developers had to write code themselves, and if they needed it help, they turned to colleagues or on resources like Stack Overflow, where could usually be obtained quickly answer, although experience itself often left wish for the best. But by the end of 2022, AI had become mainstream , and developers were given the opportunity generate individual code fragments in ChatGPT and paste them into editors. Agent programming is the next paradigm shift. This is an approach to software development where the AI system works directly in the editor, having a certain autonomy to perform various tasks: reading and editing files, writing code, command execution, testing, iterations to a successful outcome and using tools—it's all us We will consider it in the course. The word "agent" means the ability make decisions and adapt to based on feedback from the results of one's own actions. In essence, this is closing the loop between writing code and testing it working capacity. If the code doesn't work, the agent tries again. an attempt, and if everything goes well—a task done. Task completed. So, is Has the human developer become unnecessary? Of course not. Firstly, because AI can be wrong, and secondly—agents are complex tools that, if used incorrectly, may be dangerous to use. They can reveal secrets, data customers or create broken applications . They can produce mediocre code. Such code can be confusing, difficult to support, poorly documented and difficult to scale. Or are they can create great code. He clean, well documented, easy to support and expansion. This is exactly what This course is dedicated to: how to get maximum from agents regardless of your programming level, as well as how do it safely and effectively. And in the process you will see that the developer- the person remains the main element systems, because from the creation of an idea to development and deployment human input is not just desirable, but necessary. Now let's talk briefly about agent options available. Currently two the most famous names among agents for coding is Codex by OpenAI and Claude Code from Anthropic, but it's far from the only options. There are also such tools like GitHub Copilot, Devin, Windsurf and Cursor. And, of course, there is more many others. It is important to understand that encoding agents become a category tools, not something tied to one company or model. Various agents have their own conventions and files configuration, but now observed movement towards common standards, and we We will see this during the course. This means that although this course focused on Codex, knowledge gained will be useful for work throughout industry. Now it's time to talk about different ways of using agents that are generally divided into three categories. IN we have CLI-based agents, i.e. command line interface. They work via the command line and especially popular among developers, who are comfortable working in the terminal. Further IDE-based agents are coming. They integrated directly into your editor code, like VS Code, offering visual interface and elements control without needing to know commands terminal. In addition, there are desktop or web-based agents. They have a graphical interface that hides the details of the workflow that makes them more convenient for people who don't are used to working with code directly. In addition to this, we also have mobile and cloud capabilities. Worth it note that these categories are often intersect, and the same agent often available in multiple forms. In fact, both for Claude Code and for Codex, there is a desktop tool, IDE extension and CLI tool. In this course, we choose an agent for IDE-based because it combines convenience of the graphical interface with closeness to the code, which is ideal for the web -development. So, it's time to learn how to use agents. Agent Scrimba is ready to work right here. So in the next We will test it in practice later. Let's dive into the agency programming. This is your own agent. coding from Scrimba, and it works very similar to Codex. Therefore, everything you master on this course, will also be relevant for working with Codex and other agents platforms like Claude Code. We built this agent into Scrimba so that you could gain practical experience directly during lessons, and, in fact, it will start right now. I just created this target page for a manufacturing company flavored mineral water, or it's better to say that the agent did it for me, because I only needed write one short query. And I think , you will agree that the result is quite decent. But now we are going make an addition under this main banner. So, about here, let's add sales section where we offer five bottles of mineral water for $10. This will be your first task. In a moment this scream will automatically stop, and this will happen exactly when you reach that little Pac-Man-style ghost on the timeline. When this happens, you you will be able to take on the task, by entering your request here and sending it with this button or simply by pressing Enter. We will take a closer look. the art of creating queries later in course, but for now just ask for what you want. I warn you, agents sometimes it takes time, so don't worry if the agent will think for 20 or 30 seconds. He will get to work as soon as possible finished. And when you are satisfied with that that he gave you, press the green the "Submit Solution" button, which you you will see from above. And if you are successful coped with the task, you will see confetti, and if not, you will get a hint that will guide you in the right direction direction, and you can try again . So, to summarize: your task— add a sales section with an offer five bottles for $10. And here it is ghost. Try it now. I hope your first request was successful and you now have a sales section with an offer of five bottles for $10 . I'll just type my query right here. I will write: add a sales section under main banner, offer five bottles for $10. Let's send this and let's see how the agent takes to work. And it's already working. We see in in the background if you close the mini- browser that it works on HTML, and now adds styles to the styles.css file. Let's let's see what happens in the mini- browser. If I scroll down, there it is. . It just appeared. Special Offer: five bottles for $10. And the agent finished the job. In fact, it is It was very fast, only 26 seconds. And this beautifully decorated, just what we asked for . While we are testing the agent for the first time, I want to to introduce you to a rather important a function called "diffs". « "Diffs" is an abbreviation for "differences", that is, "differences", or what changed. You can view these changes by clicking on the colored numbers next to files that have been changed. If we click on index.html, we we will see red lines—this is the deleted code , and the green lines are the new code added. If you are not a programmer, this is for you now it's not very important, and you don't need to worry about it to worry But for developers it is very useful, because it is important to remember that The person remains key in the agency programming, and it's a great way detect errors and monitor actions agent. This was just a first glimpse of agent and basic query, but within We will learn much more in this course. We will take a closer look at art drafting requests (prompting). We let's talk about how to provide an agent memory. We will review the permissions so that you could control everything, and also Let's learn to create our own skills. In addition, we will discuss contextual window, testing, git and version control , as well as MCP. If you don't know what this is like this, or you don't understand any of it at all these terms, don't worry. Everything will be fine. explained, and we will move step by step step by step. During your studies you will have many practical tasks to get real experience working with agents. This brings us to the question of who this course. Firstly, for developers who want to learn agent programming and , in particular, Codex. But it will also fit for those who are not involved in programming professionally, but works in related fields , for example, designers or managers products. In addition, the course will be useful for anyone interested in creating apps with the help of agents. And that's fair. regardless of skill level programming. Everyone will benefit from this course, and you don't have to understand the code we will be working with. I I will always provide an overview of what What's going on? Okay, enough chatter. . If you are ready to find out how agents like Codex speed up the process development, let's start. When talking about quality prompting, you can often hear that it is just a request what you want, right? And this true to some extent. Actually, just to ask for what you want, will help in many ways, but it is not complete picture, and if that's all you do, your results will stop there. Let's test this in practice. Here an application that I modeled. He is very simple, but it will help a little demonstrate. With this application used by delivery drivers. When they make a delivery, they click " register the parcel", and he just shows: package number one delivered. They make a second shipment, again click "register parcel". Parcel number two has been delivered. So, this is very simple app with very simple code. We only have this HTML and a little JavaScript in the script.js file. Well, it's time for a challenge. Sometimes parcels get lost. So yours The task is to add a second button. This second one the button will register lost parcels, and it should reflect, for example, "parcel number four "lost." It should be pretty simple, truth? The agent is open. Forward, Get to work. Okay, the easiest way to solve this is the task for you was probably just copy and paste. Let's let's send this and I'll just open it index.html, because I expect that's where we We'll see...yes, exactly. We have appeared second button. And in script.js we have updated code JavaScript. Let's check if this is works. So, we have "register" parcel" and "register a lost "parcel". Okay, that's pretty cool, but look at this code. Even if you know little about programming, you probably see that the logic here is basically the same as here . In fact, the only real difference between them is that here we have the word "delivered", but here it is "lost". Rest the same. So this code is overly repetitive. You , you've probably heard the acronym DRY—"don't repeat yourself" (don't repeat yourself). Yes here, this code is not DRY, and it is common the problem of code generated by agents. The agent prefers to add more code than refactor the existing one, and this can lead to a bloated, inelegant code that is later more difficult to maintain. Then How can we better compose requests (prompts)? The main idea is as follows. Poor results occur due to ambiguity, so your job— reduce it in three areas. What is the agent's task, what is the agent's context? should use and what it should look like result. So, if in doubt, you You can structure your queries like this: task, context, result. Now you try to do it yourself, but before that I will revert the code to the original state. So, we'll remove the extra button, and then in script.js we just insert the original JavaScript. Okay, now we're back to where we were. What did they start? Let's go back to challenge.md, and we will think about task, context and outcome. That which we have at the moment, it's actually first part. This is the task. Below I will create headings for context and the result. And then it's your turn. I want you to create a better query, using this structure. I will not. much to say, I will just say that the context should indicate which parts of the code the agent should review, but the result is not must be too technical. You don't need to know many languages programming to make a good query . You just need to describe which one the result you expect based on that what I said about the repetition that we seen in the code before. I will leave you to You have thought about this yourself. Get started to work. I hope you created a great query, and the agent gave you a more elegant code. Let's free up some space here. Therefore , I'll insert the context I'm going to use. I suggest investigating the existing code and if possible use common logic. I added "avoid" "duplication of event handlers." This is not strictly necessary. I said you can do without technical language, but if we go back to script.js, we will see the event listener and function that is triggered when it is activation. This is called an event handler, and I simply as accurate as possible, indicating avoid duplicating them. Now about result: again, no need be too technical. I'll just say: make the code concise and easy to expansion if we add more buttons later. I don't have to pass it on. agent these headlines, so I just I will copy and paste them separately. Okay, let's send this and see what happens. will work out. And let's open index.js again. I expect we'll see another button. This cannot be avoided. Yes, here is the second button. Let's open the mini- browser and go to script.js. Good , and now he writes the logic completely differently . And he says everything is ready. Let's we protest. So, we have a "log package" " and "log lost package" and it works. AND now we see that the code has become much more elegant. Now we only have one event listener and one function to process them. So, our code is now concise, and The main conclusion here is this: it should demand quality code, not just interface result. This was our a mistake last time. We only thought about the result and ease of use programs. We didn't think about quality code. Therefore, if you care about quality code and structure your queries correctly, overall agent performance and the resulting code will be much better. Codex actually imitates better than interprets. So if style is important to you, structure or templates of your code, it is better to show, than to explain. Instead of describing how to write function, just show one or two sample features and ask the agent follow this style. I want to do There is an important caveat here. AI is capable a lot of things to understand intuitively, as we already seen. Therefore, it is not always necessary use models, even vice versa, but it can be very useful. It a great tool to have on hand by hand, and it really saves time. And we Now let's see an example of this. Here, in api.js, I have a script that gets JSON via the JSON placeholder API. On Currently I have two functions: get post by ID and get user by ID. Get post by ID uses the syntax async await is more modern, and get user by ID uses operator chains then. You don't have to understand this at all. code. All you need to know is that these functions perform very similar tasks, but they do it differently. Here is the more modern syntax, and here is the older one traditional. Now I want the second function to be rewritten using syntax async await. I could turn to agent and ask for it, but rather do this through a comment prompt. Let me explain what I mean. Codex pays a lot of attention to local context. This applies to comments that located next to the code snippet. Here is a function whose style I like . Therefore, I will add a comment above it: exemplary function. Your task is to write a comment- hint. I want you to be as concise as possible. asked the agent to redesign this feature, using modern async syntax await, as in this first function. In this challenge.md file I added a few reminders. Because it is important show, not tell, you don't nothing needs to be specified. Write your request as a comment above the function. It the function you need to change is simply tell the agent to read your comment. That's all you need to do. Now I I'll give you a starting point from which you can refer to during agent briefing. I'll write "to do" and add "AI" in brackets . Now it's your turn, you can write your comment-tip right here. You have there are hints in challenge.md if they will be useful. I hope you managed to do it without special problems. All I'm going to say here is: "rework this" function to match the style "model function". Let's keep it that way. This was probably faster than explaining the difference to the agent between async await and chained call . We just gave a sample and told them to act. behind him. So, let's give the request to the agent . I'll just say: "do the task in API.js" and it will be done in 20 seconds . And we see that the copy turned out to be very accurate. . It uses not only syntax async await, but also the same processing errors. Now, having this model function, we have we can scale and replicate this template throughout the codebase. This is really very useful. I want to briefly talk about the comment that I used: "to do" and in brackets "AI". This is not a Codex feature, no a feature of some other agent or strict programming rule. It just became a kind of agreement. You mark the comment as "to do" with "AI" in in brackets, and this is a signal to the person reading code that this is a task for AI, and also this makes it easier for agents to search for sections of code, which need to be worked on. For example, you can give a query: " "do all the tasks in index.js", and he will find them in these comments. The "to do" style with "AI" in brackets is common, but you may encounter others comment options. This is just one of examples. Well, that was short. immersion in working with prompts. Let's Let's consider a few conclusions. Firstly, it is worth reducing ambiguity. Second, avoid excess, and thirdly, where appropriate, give examples. Therefore, Let's move on. I have an expense tracking app. , which I just created using agent, and I will use it to illustrate two problems inherent in agent programming. The first problem more about development teams, and the second is also relevant for programmers- singles. This app works really well. I already added a few expenses. Let's add one more. Let's say I bought painkillers. Let it costs 10 dollars, and the category will be "health". Click "add", and that's it appears on the list of expenses, and we can select emoji here to view expenses by category. Here's to food, travel, and health. Okay, so for now it's just an interface, and now I want to share it with a colleague, which will add a database, visualization data and probably a bunch of other features. And that creates our number one problem. . My colleague, when he gets this code record, will not have access to my history conversations. This is not very convenient, because now everything, what I indicated in this conversation history will be lost. For example, here I asked for the color palette use soft shades of green. Of course, this is not Van Gogh's level of design. , but this is what I have determined. And even lower I asked to refactor the HTML and CSS using the BEM methodology. And if you haven't encountered BEM before, it's naming convention for HTML, which makes CSS much easier to read. So we have two things that I pointed out, that my colleague won't know about when I I will share the code with him. Of course, my colleague's agent will be able to view all the code, but it won't know , which aspects of this code were conscious developer decisions, and which ones are simply by the choice of the agent himself. This makes it difficult for the team to maintain the code. developers because they won't know , which was in the minds of other developers. I said there was a second problem, and with it you encounter even when working alone , because every time we write to the agent , we send a huge amount data. I've narrowed it down to two key points: moments. We send a preliminary conversation. This is what you see right here, and we also send the relevant parts code base. And there is much more, besides that, but for now it's two the most important points, because as you you can imagine, as it develops programs and the growth of dialogue with the agent , in the end we will send the agent this much information that the model will be overloaded . We will actually send more information than the model can process . Later in the course we will go into more detail. let's talk about the problem of large dialogues and how to work with them. But Now I want you to understand: if this the dialogue will become too large, the information in it will be circumcised, part of it will be lost, and this may lead to misunderstandings in the future. So we need a way to define the basics of this program, its basic specifications. We may want to list how build an application: what technology stack to use, which libraries, which coding patterns, such as BEM. We may need to specify certain style aspects such as layout, fonts, color palette, and also, since everything it gets complicated how it should be structured program, how the code is organized and what there should be a common architecture. And we need to specify this to the agent separately from these common queries because we we know that these requests in this dialogue are not are spread among colleagues and not necessarily remain intact if the dialogue becomes too big. So ideally we need a way to provide all this information to the agent in a certain format that he knows how to use. And fortunately, most agents, like Codex, provide us with a way to do exactly that it. So in the next scrim we let's talk about a special file under called agents.md. Slash commands exist on most agent platforms for coding. If we focus on the agent and press the slash , a list of commands available to us will appear . For your task in this scrim you will use the init command, and it says here : "create or improve agents.md". It looks like this is exactly what we need. All what you need to do is press the slash to open the menu. I'll close for now. him, I'll choose the init command, I'll send it agent, and you follow the file tree and See what happens. Then we will discuss it. Good, Get to work. Okay, let's try. I'll press slash, select init and send agent. And it creates for us the agents.md file, which appeared in our root right here. Let's check what we have here. IN we have a program name that is simply " expense tracker. It says here that this a pure JavaScript project. There is here commands to launch the project. There is a technology stack, a project structure , which is quite simple, and a few key code templates. So, in essence, a lot useful information about how this app works . But what does this file actually do? Well, we've seen this diagram before. We we know we are sending the previous one conversation and relevant parts of the code from with each request to the agent. And we we are going to add to this list agents.md. This file is now being sent from with each request and has a special priority . So whatever the agent does, he will take all these specifications into account. And the coolest thing is that when we share this code with a colleague or co-author, this the agents.md file will be available to it and his agent. And every time they turn to the agent, the information here will have priority. So, there will be continuity between developers. And again, if the conversation is interrupted and the information is lost, everything, What is here will be preserved. It will remain unchanged. Therefore very it is important to always maintain a file agents.md is up to date. It means that if you make big changes in addition, they should be displayed here. When we ran the init command, there it was written "create or improve". So you can use this again command to update the agents.md file. AND this is something that should be done periodically. First than to end this sreem, I want to say a few words about cross-platform compatibility. Although agents.md is closely related to Codex , this concept actually originated as common standard among the first tools. So you will see that the agents.md file read and supported by many agents, including Devin, Cursor, Windsurfing and others. So with any agent you did not work, knowledge about agents.md would be very appropriate. Okay, there's a little more information about the files. agents.md. In the next video we will look at , how to have multiple agents.md files and why might this be needed? In both Scrimba Agent and Codex, you you can have more than one file agents.md. We currently have the agents.md file in the root folder of the project, and it affects to the agent's decision regarding all files and folders in this project. We can also place such a file in a subfolder to set specific instructions for everyone files in it. So if I create a folder backend, I can place the file agents.md right there. And this will only apply to those specifications that which are relevant for files in the backend folder . There is another use case in the Codex agents.md—at the global level. It means that it will affect everyone a project in Codex that you are working on. That is, one agents.md file for many projects. This global file agents.md stored in a special Codex folder, which you will find in your home directory your computer. Exact location the location will of course vary depending on whether you use Windows, Mac or Linux. When you find .codex folder, you can create in it agents.md file or assign it yourself agent. The global agents.md file can seem like a strange idea. Why apply the same specifications to many projects? This can be very useful if you want, for example, implement certain coding standards or style in all your projects. If we have there will be several agents.md files, we should discuss hierarchy, as they may conflicts arise. The agent will read agents.md files in this order. First it will read the global level , then the project level, and then the level folders. Priority will be given to that file agents.md, which is located closest to the corresponding code. So if it arises conflict between global file agents.md and a file in the backend folder, settings with backend will have priority for everything code in this folder. Okay, that's all for now. agents.md. Let's move on. If the task is complex, ambiguous, or it is difficult to describe it clearly to the agent, we we can use the planning mode ( plan mode), which prompts the agent to think and perhaps to put clarifying questions before providing plan. In planning mode, the agent will not change or add code. This means, that you can offer ideas, not afraid of breaking anything. I want it right away. to warn you about an important nuance. Most users have planning mode needed infrequently. When the task is easy describe and it has clear boundaries, mode planning is simply not needed, and it will only waste your time and money. But you will encounter situations where everything is much more complicated, and that's when planning mode becomes indispensable. Therefore, let's see how it works. I have there is a blog where about 20 scientists popular articles. Implementation is quite simple. Each article is placed on a card , and you click "read" to open full article. Since this is just a test site, the articles are quite short. The application is built on TypeScript and React , and data for articles is stored in the folder data, in the articles.ts file. This is an array that contains all the articles that we displayed on the blog. Okay, I'm fine. happy with how this app works. I want to add a "recently" feature viewed" so that when the user opens the article, after returning to the main thing he could quickly see was that read last. This is a great example for planning mode (plan mode), because this is a significant change. Here there are many nuances and there are several ways implementation. Actually, I don't know for sure, how would I do it if I were developing alone. So if I just approached an agent with requesting to implement this function, he could lead me astray, and I would build an app on shaky. foundation, and later it would have to be added huge changes to the entire code. So, instead, let's switch to mode planning; this can be done in two ways. We can use command /plan and select it. This will work, or there is an option through the interface. If click on this plus, we can enable planning mode, and we we'll see it here. Okay, let's give the request to the agent. I'm just writing: add a "recently" section "reviewed articles." We send a request and monitor the file system here. Actually, I probably I'll quickly close the mini browser. You see, the .agent folder just appeared, and inside—the plans folder and the current file plan.md. In the agent we also see this plan. It's a little easier to read in a file. , and below it says: ready to execute plan, yes or no, to continue planning? Well, let's see what we have. First, he summarizes that what is going to do, and here it becomes interesting. It suggests storing data in local storage, and this actually very useful. So, the agent informs us of the decision he made is going to take over for us. We want, so that these recently viewed articles persisted after the browser update. Therefore, we need to store the data somewhere. We don't want to configure the entire database data for this, only local storage. So a very small amount of data on The user's PC is ideal for this task. If we move on, then we will see more solutions that he accepted for us. He says that will show the last five viewed articles. We didn't specify the number five. Maybe five of us are fine, or we we want a different number, but this again a question we didn't think about beginning. So it's good that all this is being clarified now before we write any code. Moving on, he tells us the files we need create or change. So, we have new files and three edits to existing files. This information is more useful the more you understand the code and structure of programs . In general, we want the changes to be as light as possible. It is always better not to overthink and complicate things unnecessarily. OK, this all looks pretty useful, but is it Did we miss something? Some borderline cases? Let's just scroll up. . He says it will be on the main page. page, but does not indicate where exactly. Or Will it be right at the top? Is it between articles and title? Is it at the very bottom of the page? This is what we could ask him to be included in the plan, but, on the other hand, we might be okay with it if the agent makes this decision for us. In the end, it's just a stylistic decision, which is easy to change later. Perhaps the more interesting question is: what will happen if the user reads article, and then it will be deleted? Will the deleted article remain in the section? recently viewed? Such extreme cases are not taken into account. And this puts before We have a task. I want you to choose " no", continued planning, and then asked the agent to sort out the situation when the article is deleted. He will complement your plan, check what he did. If everything suits you, you can let him implement the plan, and then test it. And to check this edge case, you just need to go to this file and delete one of the articles that you have already viewed and which displayed in the recent section viewed. Then update the minibrowser and see if it was worked out. Okay, now it's your turn. Act, click "no", continue planning and instruct the agent to deal with it extreme case. I hope you have everything worked out and you took this limit into account case. Let's try. So I'll click "no", continue planning, and I will say to process the limit case where the article was deleted after , as it was reviewed. Let's send this. If we go back to current plan, we'll see what it is now is being copied. Much of this is likely , will be very similar to what we had earlier. Again, we have the latest five articles, as well as files that will be changed and edited. And here, he actually specifically worked out this limiting case. This is this sentence right here, about what this is will be processed correctly. He just will skip identifiers that are not do not match any article in the current arrays of articles. That is, if there is a local repository an article that is not in the array, then it will be ignored. Okay, now this one The plan looks pretty good. Let's just click "yes", implement it, and let the agent start working. AND now it will work quite quickly, because he has already done everything. And now he will work quite quickly, because it is already did most of the planning. Okay, he reports that it's ready. Let's open the mini browser and I I'll click on this article about the environment. Let's go back to the home page, and in I have a recently viewed section, and there's the article I just clicked on. Let's take another one. Let's take an article about space. Return to the home page . And now in the recently viewed I have these two articles. Of course, you can here do many other things. Perhaps, it is worth changing the style so that it occupies much less space. I think that would be good to do. But right now the priority is borderline case check. So let's remember this article: "Return Mars to Earth". If we close minibrowser and let's move on to the articles, here they. We have "Mars Returns to Earth" ". Let's delete it. Let's save it, open the minibrowser, and it disappeared from recently viewed articles. So, this one the limiting case works. Maybe it will be interesting to see what happens if we let's turn it back. Again, let's save, open the minibrowser, and here it is We are here. He added it back for us. Okay, that was the planning mode that useful when you have an idea about what you want, but don't know how realize. It's hard for you to describe clearly what what do you want. There are several ways implementation of the idea, many questions that must be put, decisions that must be made to accept, and things you don't know about thought. So the planning mode is really helps to eliminate ambiguity and creates a space for you and the agent to think before acting. Take a look at this e-mail site commerce that just created for me agent. It's called Stylist and has wide range of practical products for everyday life. Things like bags, drinkware, light bulbs. It's practically nowhere else. Let's just Let's check out some of the features. So, I can log in, then add some products to your basket. I think three will be enough. . Let's move on to the basket. And if I scroll down, I can place an order through fictitious payment gateway and get to this order history page. OK, This app is the real thing. He works. based on the database. It's quite complicated here. code base with a separate interface and backend. The interface runs on port 3000. , backend—on port 4000. So, in general There's a lot going on here, and we let's use this app to study the main function of agent coding— skills. What is a skill? Essentially, a skill is a reusable wrapper around prompts that provide consistent and reproducible workflow. That show what I mean, I already have a very basic skill is set up. If we let's check this .agent folder, inside we have we have a folder skills, and in it—a folder file tree. This skill creates a tree of code files bases. Let's quickly review the files that are in There are us. So, we have generate tree.js. It's just a script that runs a skill. to create a file tree when it is call. And skill.md contains general instructions for the skill. This, in essence, is hint. And this is a description of what this does habit. Generate the database file tree code and save it to tree.md. So when we invoke this skill, we we will get a new file called tree.md with our file tree. So, call The skill is quite simple. Let's open agent, and if I press the slash, it will appear a list of commands, and at the bottom I have skills . And we see the file tree skill right here. There is another way to get to her access. You can also use the sign dollar. This only unlocks skills, not the rest of the commands with a slash. Okay, just select "file tree" and click " send". So he asks our JavaScript execution permission from this skills. We click "yes" and we see, that the tree.md file appeared. Let's open it. , and we can already see how the tree is generated . And it looks like everything is ready. It says, that the project contains 29 directories and 66 files, and here is a tree of all of them. It can actually be quite useful if you need to quickly understand the structure your application. But, to be honest, this skill is quite simple. This is nothing more than a mini tool for saving time so that I don't have to write the same query every time I I want an agent to create a tree for me. files. Essentially, all this skill is— this is an instruction. And instructions are important part of the skills. Every skill requires them, but the real power of skills manifests itself when you give the skill not only instructions, but also knowledge and opinion . Because then you give the skill what it the AI model cannot know. The agent does a great job with general tasks, but he does absolutely nothing knows about the specific decisions made your team. There are many things he doesn't can intuitively understand. He doesn't know. about your team's perceptions of best practices. He doesn't know yours. internal coding style and comment. He knows no limits, in within which you work. He doesn't know. your policy on legacy code and when to update it, and there's more much more. Now you could throw in all this information in the request, but as we already discussed before, we can't assume that the information provided to the agent in the request, will always be available to him. AND that's why skills are so useful. They live in the file system. They can be transfer between projects, share online, give to colleagues. They are completely portable and provide reliable reproducible workflow. Therefore, now we have the basics of what is skills and how they are triggered. IN next scrim we will go through the process creating something truly useful specialized skill, and after that I I will give you the task of creating your own. Here's the problem. Code in this codebase quite high quality and written according to the interior style. But there is one exception—it is the service.ts file in payments fake folder. This file is just weird. It's all here: for loops, while loops, and, To be honest, I don't understand that at all. this is it. In fact, almost all the code in this file absolutely impossible to understand. This kind of code is a nightmare to maintain and expansion. So in this scrim we will bring it to internal style, and for this we Let's create a special school. We can create a skill in the agent, using the built-in constructor skills. If we press the slash, a list of commands will appear, and at the very bottom there will be a skills designer. We need provide instructions specifying what exactly should do this skill. Every skill unique, so I can't give you one template for creating quality skills, but as a rule, we have to cover four points. If I open prompt.md, then I will see that these four points are already there. described. Let's start with the task and goal. I I would say: create a skill that refactors code in the specified file according to interior style. Now the second the category I called "verification or "passion" is very important. Here we are we will give him information that he does not have could have known. I indicated: to study internal style, see admin, auth, basket, catalog, orders in server/ src/modules. If we take a quick look at the tree files, here it is: server, src, and then all these modules except payments fake, and I I say—look at them. This is what we consider quality code. It our inner style. Regarding restrictions, I I'll just say: don't change the code in any way. any other files besides those specified. Actually, I'm going to change it to plural because, in relation to call, I noted that the skill called via /house style and path to one or more files. Okay, this is our prompt. Let's let's just copy all of this. Honestly, we don't really need these headlines, but they won't hurt anything. So, I just I will call the skill constructor and pass it on. this request. Let's send it and open the file dot agent, where we will see the creation our new skill. We see that the agent checks module files to determine corporate identity templates. This is exactly what that we asked him. This is really good. Here is the skill, we see that it analyzed all five modules. Therefore, all this knowledge is now encoded into a skill . Okay, looks like everything is ready. We have only one file in the corporate identity skill . This is skill.md. This is an instruction. In it contains a huge amount of information . We want to test it, and remember that for this you need to summon a skill, by passing it the path to the file. Small tip: to quickly get the path to file, right-click on one of the tabs and select "path" from the menu to the file". Let's rewrite this service.ts file into corporate style. I hope you saw this skill in action. Let's try. Right-click mouse, copy the path to the file, and then I use the slash and scroll to the very bottom. We have a knack for corporate identity. Select it, insert the path to the file and we send. The agent gets to work, there's a lot in the file activity. Looks like he finished and provided a bunch of details about the work done. You can open other files and compare if you want. I already know this code and am happy with it. it is written in the same style. However, it is worth testing the application. Of course, in real life we would have thorough testing, but we see that everything looks good. We can enter system. Everything works great. We created a really useful skill. By giving her knowledge about our corporate identity and specifying what we consider to be quality code, we got a tool that effectively refactor old, strange and confusing code. Okay, good job. In the next In Scream you will create your own skill. I ran into a problem. I performed general site maintenance and hacked its. Nothing in the mini browser is displayed. If you look at console, we will see errors, but nothing , which would give me an instant clue as to how it to fix. I have a feeling that somewhere this code has documentation on specifications, limitations and usefulness information that could help agent to find the problem and avoid it future bug fixes. So I want you to use this information as a knowledge base for specialized development skills for our codebase. And this is exactly the skill that you are going to create. The purpose of this skills—tell the agent what exactly need to check during debugging application or making complex changes. It will help the agent work safely with code base. I made a short list of what this skill should know. She must be aware of design limitations, platform specifics, fixed versions dependencies, debugging strategies, and anything that the agent should avoid changing. I also want to make it clear what this It's not a skill, because it's definitely not a common one. checklist for debugging. The agent is already doing a great job with general tuning. We don't need it. There is a special skill for this. Remember , a good skill contains knowledge and expert opinion that the model cannot know for yourself. In this case, these are specific rules, restrictions and features of this repository. The creator of the skill can find it's in various comments and README files , which are already in our codebase. On- second, this skill is not limited to the current the problem we faced. This has be a universal skill that can be use anytime during work over the application. So, in the prompt.md file I left you the same template that we used before. You don't at all be sure to follow it strictly. Don't be afraid to act on your own discretion. Use Skills Creator to creating a skill. Remember when you type a slash, it will be right there, at the bottom . And when you create a skill, you should see it on this list. As soon as you If you reach this stage, try fix the site and force the app to run again work. Okay, I'll leave you with this. slide. Onward to work. I hope you have gained a very useful the skill that fixed the site, and a great Well done to you if you succeeded, because the work there were a lot. In the next video I will show your approach. So, let me show you how I created this developer skill. Moving on to clues, we have a task and a goal. I said to create a developer skill, specific to this project's repository . Its goal is to help the agent safely work with this codebase during correcting errors, checking changes, or service. Now about checking and fixation, this is the most important part. I noted that during creation it is necessary analyze the repository for the presence project-specific constraints, known features of the platform, fixed dependencies and everything that the agent should be avoided. So the skill creator will review everything in code base and find information that will fill the skill with knowledge. I also added a few restrictions. This does not have be a general checklist for set-up. He has to fix specific rules and features of this repository so that the developer can call him later when something breaks. It just clarifying the purpose of this skills. And finally, to summon it, you need use the /stylist-dev command with a description of the error or problem. Okay, let's keep it. I'll copy this, open the agent, call skill creator, just put this in and I will send. Open the .agent folder and the skills folder, and we need to see how it is created right here. Okay, the skill is being created, and , it seems everything is ready. Let's see what we received. She reports that fixed a bunch of specific rules and features of the repository, and if we let's check the skill itself, then we'll see instructions. There is a section here about platform dependencies, architecture, legacy code, things that not worth touching, and also a large list known features, warnings about changes in certain areas and a section about debugging for quick reference. All of this seems pretty comprehensive. I think , it's worth checking it out in action. So let's let's use this skill. If we we will put a dollar sign, in this case we will use stylist dev, and we need provide a description of the problem. We could insert, for example, a message about mistakes, but in this case I just I will write that the browser does not display anything . We are sending. And here it says that the package SQLite 3, which we use for database, gives an error. And he explains the reason for this. The current version is 6.0.1, but The project requires exactly 5.1.7. So it looks like this package has been updated, and now it is incompatible with the rest of the code. The system offers to set the desired package version. Let's agree. And here it is , it reports that the problem has been fixed . Let's open the mini browser and just click "run" to reboot it. That's all. Website It's working again. This is extremely useful. habit. He knows the specifics of this repository and how to run the application on this platform with all the nuances. It makes it a very effective tool for debugging. If it were a worker project, we would constantly use this skill. Look, he decided. problem in 1 minute and 4 seconds. It really very fast. Okay, that's it. It's all about skills. Now is the time to do it. take a break and then continue when you will feel fresh. Testing is a huge part of development , and with agent programming it is not is changing. In fact, agents allow write and run tests faster than anytime. This offers many advantages, but has its pitfalls. In the following tasks, we will move on to practical testing. We will use VTest framework, which works great with our JavaScript system. And if you new to testing, don't worry. You you don't need to know the syntax of the tests. All what you need to understand: the test runs code with certain input data and checks whether the result matches expected. The test may or may not pass. succeed or fail. So, what we will solve the problem by through testing? I have a widget. from dentistry "Mr. Smile", which allows you to book free appointments. Users can choose the day, service , such as a 15-minute review, and see available slots for that day. The widget looks simple, but in reality has many nuances in its work. On Sunday Dentistry is not working. Ordinary weekdays— Monday to Thursday, 9:00 a.m. to 5:00 p.m. The working day ends on Friday. earlier. On Saturdays the clinic is open only in the morning. There is no lunch break on Saturday. Slots are generated at intervals of 15 minutes from the opening time. Slots, time the beginning of which precedes the current one, are excluded, as are any slots that overlap with the lunch break, not only those that fall completely into it. Now you can safely experiment with this widget and see it all in action. But, honestly, , I think you're asking yourself now: Tom , why? Why all this? Why just Why don't you show me something simple? This is very good question, and I have a very good one respond. This is an imitation of the real world. Over time, the staff of this dental clinic clinic contacted the developer with requests: add work on Saturday in the morning. Add early closing in Friday, etc. And if we just open this file, scheduler.js, we'll see what's here There's a lot going on. In fact, most of the business logic is here concentrated inside this function, get available slots, which gets a lot input data. So it so happened that over time this code became quite messy and difficult to read, and this makes it difficult to expand or refactoring. So, the problem is twofold. words is as follows. We have an app with the functionality we want save, but the confusing code through which It's easy to break something. Now that we combine agent coding with testing, we get really a sophisticated solution called characteristic test. In general levels, what you need to understand about characteristic test, this is what we we use it for protection the nature or behavior of the function, so that it did not change during the refactoring or adding new features. And that's all the characteristics we want to protect. That would be a real nightmare. do it manually, but agent coding makes it very simple. And the workflow for the characteristic test it looks like this . First you select the working function that you want to protect. The word "working" » is underlined because we don't want protect this feature until we absolutely sure that it works like this, as we need. If it contains mistakes, then we definitely don't want these to defend mistakes. I tested this feature. . I know it works. Secondly, we ask the agent to create a test that passes and records the current behavior functions. I say "a test that passes", because this feature already works, so tests , which the agent creates, will be successful. We capture the behavior of the function because when the test fixes how a certain input signal leads to the expected result, we can run this test and see if we accidentally changed something they didn't want. Now, for this to be effective, we need you need to make sure that the agent is running test after each task that affects to this code. And this is important because from now on, every time we approaching the code in the file scheduler.js, after finishing work we we want to check if the functions are protected remained intact. So, once we set up automatic test start after each changes to this code, we can safely develop a new function for the same widget or refactor the code. And then the characterization will start test. This will lead to one of two things: results. Or the tests will pass, and that means that refactoring or addition is not changed the characteristics we wanted protect, and we're done. We have achieved success. The test may, of course, fail, and this means that we have changed the characteristic they wanted to protect, and the agent must repeat actions until the task is completed will not be completed successfully with passing test, or roll back to the old code. Okay, that's the theory. Let's apply it. in practice in the following scenario. So we have this widget from Mr. Smiles with all his various functions. What we're going to do now is we will protect these functions using characterization test. I prepared your request right here, at prompt.md. Let's take a look at it. So, I indicated: write a characterization test for get available slots in scheduler.js using Vitest. Now, regarding get available slots: if we let's go down to scheduler.js and take a look on line 116, we will see this function right here, and right in this big function the widget's business logic is coming together . Next, I have this strange line that I I want to explain to you. I wrote: use the future tense week for all test dates to the logic of time that has already passed never worked. I did this because, when I tried, the agent usually took today's date, and then discovered that a lot of time doesn't work because it was already in past. So I told him use the coming week and gave an example of a week that, as it turned out, , will come in two years, and this will allow agent to write tests more smoothly. And below that, I described what exactly the code does. And again, when creating characterization test is very useful register. Okay, let's take it all. We will send this to the agent. By the way, we ask the agent to make a rather complicated thing, so he'll probably ask us permission, which he is doing now. He wants install the V test package, which, of course, , okay. It can also be assumed errors or have certain problems. So let's see what happens. OK , now we see that writing tests in process. And now he wants to run tests, so we will agree. And, as expected, the tests failed, so there were several problems. Let's see if he can. solve them yourself. Okay, he reports that he found six errors, all due to incorrect assumptions in test expectations and time error belt. And now he's going to rewrite these expectations for tests. It definitely won't change our code, because we clearly stated that we want to keep this behavior. Let's run these tests again, and now they all pass. We could review these tests and analyze what exactly they are checking , but since they simply record what what the code already does, we don't need carefully study each meaning. So the benefit of this test will be evident later, when he signals about any changes. Okay, let's get back to the flowchart we looked at on last lesson. We chose a function that we want to protect, and now we have created tests , passing through and fixing the current behavior of this function. What's next? To us you need to make sure that the agent is running test after each task that affects on the code, and that brings me to the task for you—it's here in the file. I want you to made sure this test runs every time scheduler.js changes. It very important. Remember, the main goal of this exercise—to protect a function that, as we know works, from random changes in future. Think about how it's better. make; I gave a hint in the hint.md file. You can review it if you need to. Okay, time to think and get to work. . I hope you understand that the answer is is hidden in the agents.md file. We have it. not yet, so let's use the slash command "init" to create it. In the prompt I mentioned that if necessary you can edit this file manually. Well, maybe this will be needed. Let's Let's see what we got. Here is the file agents.md. We have testing rules here, and they say: run npm test after any changes to scheduler.js. It it's already there, so we don't need to add it no manual changes. Okay, second. task for you. I want you to asked the agent to refactor the code into scheduler.js for improvement readability. He has to refactor the code, and then run tests to make sure that existing characteristics and behavior saved. So feel free to ask him to refactor this code. I hope you saw the test on characteristic in action. Let's see what will happen. I just said refactor. code in scheduler.js for better readability. Nothing more is needed. speak. Let's send this. After thinking, he said he would refactor this code, while maintaining the exact behavior. And now he says he wants to launch tests. Of course we will say "yes". And he says that all 35 tests have been passed. So, it worked. We refactored the code in scheduler.js, but preserved all existing behavior, and the test automatically checked it. I want to clarify the workflows testing, because we have set up agent to run tests exactly when the code in scheduler.js changes. We did not ask the agent to run tests after each task, because it would add unnecessary time and expense on this development stage. Finally, a small change of style in the basement site will not affect the operation of the code, so running the test would be a waste. But later, before the code merge and deployment, a wide a range of tests as a final check. So, the workflow looks like this. Narrow specific tests during development , if the protected behavior changes, and extensive pre-merger tests or deployment. We are not finished yet with testing. We have another technique for consideration. Let's consider it in the following scrums. In this scrum we will talk about adding new features and tests for them . But first, let me draw your attention on several changes that the agent made to the code, which we worked on before. First, for order, I moved the tests in the "tests" folder, and in agents.md I added this this line. I wanted to make instructions to run tests after any changes in scheduler.js more prominent. And in the file itself I also added a comment for the same purpose. I did this because during testing the agent did not always run tests reliably. Perhaps this is a feature of the model we we use here at Scrimba agent. This probably wouldn't have happened to Claude. Code or Codex. But the big change I contributed, that's what. I added an additional function. Now when you choose a meeting and click "Book Now", you go to the payment page, because Mr. Smiles hasn't finished earning money yet. clients. So when booking an appointment you are suggested to add some additional services. So, here we have the summary. Here we have an updated total. We will add all the options, and the amount will be updated. When I click "Confirm and pay" », we receive a booking confirmation with date, time and final price. This The function works, but to increase sales I want to add a field for discount. You know how it goes. You enter the code, in this case smile 15. You press "Apply discount" and get a discount 15% of the total amount. And, of course, by adding this function I want to add a test, to make sure it works. So let's ask for it. And I have just there is a ready request. Add an option for the code discounts. When the user enters smile 15 , apply a 15% discount. And then create tests with Vitest to check if it works. Looks like quite well. Let's open the agent, insert We'll send it there. Okay, looks like everything is ready. Let's Let's check if all tests have been run. Let's run the testing command. It shows that all 43 tests passed. successfully, including eight new discount calculation tests. So, this is means the function should work. Let's open the mini browser and try it. I I'll choose my meeting, and here we have a field for a discount code. I will select all options. I'll enter smile 15, click "Apply" , the discount has been applied, and this reduces total amount up to 235.42. So everything is fine, isn't that right? Well, not exactly. I have a problem. a small problem. Our amount before discount was 276.97. After applying the discount it is 235.4245. Of course, we don't we issue invoices with four digits after the comma, so how much is it really? Does the client pay? They pay 235.43 or 235.42? According to the app, they pay 235.42. Another question: should apply discounts to each item separately? Are discounts taken into account separately? are summed up at the end and then rounded, or discount applied to the total amount of the basket with one rounding at the end? These elections can give different final prices, sometimes with difference of a cent, and a cent that is not coincides—this is a real mistake in a real store. If Mr. Smiles scaled to the scale of Amazon, we would operated with millions of dollars, and this We left the decision to the agent. Moreover, the agent fixed this decision in test. So this figure looks plausible, and tests add solidity. But in reality this is an agent looking in the mirror. He is not coded the wrong answer. He encoded the answer to the question we never put. You may think, that I'm getting hung up on little things here because some cents, but these are the solutions we have We, the people, accept. We don't want pass it on to the agent and let him to dictate policy. So the conclusion is this: don't ask the agent to write code and create tests for it in one go . In the worst case, the agent himself will check their work by simply writing tests that are passed for just the code he created. And at its best case you still risk that the agent will take political action for you solution, as we just saw. It the real problem, and in the next episode we will consider a more appropriate way to do it. I rolled back the code we added in last episode, where there was a field for discounts. So, now we're back to to where they were. When I press " Book now", I see additional options and total amount, but fields for There is no discount. And what you will do in this episode as a task—you will add this function back, but we'll do it much smarter, more logical and in a safer way. And we will do it for using the so-called spec test. By using spec-test we determine the feature we want to add. So, in in this case it is a field for discount where the code smile15 gives you 15% discount. Then we we create a spec test that describes the behavior we want to see. And in In this case, I want you to ask agent to calculate the discount based on total amount. That is, do not add discounts line by line, and take the total and apply 15% discount. In addition to this, I want the discount to be rounded up to two decimal places. Okay, these are the ones the behavioral outcomes we want see. Next, we check the test to make sure it tests exactly what we need. You can do this, by looking at the test file or simply by interviewing the agent, which is a little easier. Just ask the agent to explain what This test is what checks. When we satisfied with the test, we can entrust to the agent write a code to add functions, and then run the test to check its work. If all tests passed, then we are finished. We added function, and since the tests pass, we we know that it meets the criteria, which we have set in the specifications. If test fails, agent can do iterations until tests are successful . So, the main idea is that we create a test that fails. This test fails because we still have there is no code for this function, and then passing this test becomes a goal for agent. So when an agent writes code that makes this test successful, we can be sure that the function is complete and will work as we expected. AND the opportunity to review the test before allow the agent to develop a function, means that we can control any -what decisions are being made, and make sure these are our decisions. Remember, an agent thrives in conditions uncertainty. If you leave uncertainty, the agent will fill this gap and make the decision for you. This is exactly why we are trying prevent. So, let me remind you: 15% discount applies to the total amount of rounding to two decimal places. The agent is ready to work. You have a lot work. So get to work. Okay, I really hope you have everything. it worked and you saw how much this kind of thing can be effective testing. Let me just insert your request here. I said create a failing test for a function that does not yet exist —code options discounts. When the user enters smile15 , apply a 15% discount. The discount has apply to the final amount from rounding to two decimal places. Let's take this and give it to the agent. Now if we open the tests folder , we will see that a new file has been created, and he asks if we want to run testing team. Let's say "yes". And here it says the test fails, as does expected, since the code is actually still no. And this is what is called a classic " "red" phase TDD. TDD means test-driven development development), and that's exactly what we're doing now we do. We create a test and conduct it development so that this test is successful passed. Now we could go into detail, understand the syntax of the test and understand what is happening, but we already provided a summary right here. Smile15 applies a 15% discount to various amounts. Rounding to two decimal places, for example, 87.125 will become 87.13 . This looks good. Unknown invalid the code returns the original amount unchanged. Case-sensitive, smile15 from small The letters do not match. This is quite normally. Limiting cases: zero, negative and fractional input data. Good, that we paid attention to this, because about some things we obviously didn't think of in advance. He did it for us. It absolutely normal and correct. Therefore, the test looks quite valid. Let's Let's move on to adding a new feature. I I'll just tell you to write the code to pass. tests, and of course, let's run them. If we scroll up a little, we will see that all 51 tests passed. This is good news. Let's open the mini browser and test it out . I will choose my own time to record. I will press "Book", and if you apply everything, we get 276.97. Add smile15, apply—and discount taken into account. This time the penny is rounded. in the larger direction. So this process was much better because we wrote a test that accurately described desired code operation, and then the agent worked towards this goal. At the beginning of the course I said that in queries There is a lot you can do with artificial intelligence. achieved by simple requests, and it's true —careless and quick queries often are triggered. But when it comes to testing, only careful inquiries as part of a thoughtful workflow will give you quality tests that you can rely on. There must be some independence between writing tests and writing code, which is being tested. Otherwise, without good faith, the agent just write a test for the finished code, and that's it known problem. Agents generate a bunch of useless tests that are worthless, and running such tests— it's mostly a waste of time. But if you know about this problem and you understand a little about development because testing, where you create a specification , and the agent writes code for it, testing will significantly increase the reliability of your code . As a coder agent, you must use a version control system . Version control allows you to make changes and experiment without losing the working state of your application. When you refactor the code and add new features in your application, sooner or later you encounter strange behavior or breakdowns, and you want to return to previous working version. We will not delve into control in detail versions in this course, but I will give you some tips on how to best use it when working with agents. Git is the most widely used system version control, and GitHub— the most popular hosting platform Git repositories. If you are a beginner, I recommend taking this course on Scrimba, which will help you get started quickly. And if you don't feel confident in the terminal, the course includes a section on the GitHub client Desktop, which is an easier way enter the world of version control. OK, Let's start with Git hygiene. As we have already seen in this course, agents love to write code . You can give them very broad tasks. with minimal restrictions, and they are will happily give out 500 or 1000 lines code. Before this code gets into the real world application, someone has to check it, and this person must be the one who understands. It could be you, a colleague or co-author. In Git, every change you commit to repository, is called a commit, and each commit is accompanied by message. So, a commit is a change in code base, and the message describes these changes. Now put yourself in that person's shoes. who checks the code. You can get a commit of 800 lines code where the message says anything . Update hover state on panel navigation, align footer to center, resize the main image for mobile devices, implement the option same day delivery. This list can be infinite, and all in one committee. This is categorically unacceptable, because trying to figure out a lot of new code extremely difficult and long. So the main thing the rule is: keep commits small and well described. Why not do it? a commit of four lines of code for update hover state on panel navigation? Maybe one line of code enough to align the footer, and more six lines to change size mobile main image screens. Of course, commits can't always to be so small. They will be bigger, but most importantly—limit the agent, give him clear, coherent tasks and treat each task as a separate one commit The one who checks is much better will accept a bunch of small purposeful commits than one tangled web of code . Okay, we have a few more questions about version control, so in the next sprint let's talk about files configurations. Let's talk about version control and files configurations. In this codebase we have agents.md file, and it can also there may be other configuration files, such as readme etc. So, this information belongs to the codebase, not to you personally . If you specified specific versions packages or policies for working with outdated code, your colleagues—and you too themselves in the future—should know about it . Therefore, we must always make sure that that we send configuration files to repository when they are updated. True, this may have some drawbacks. difficulties. If different project participants using different agents, you have For example, a file may also appear Claude.md. So if a colleague uses Claude code, he can add his file Claude.md to the repository, and the following the next time you work on a project , you will potentially have two conflicting files. The Claude.md file is actually very similar to agents.md, but it is specific for the Claude code ecosystem. That is, this Claude code command line tool , IDE and desktop extensions application. If this happens, you will be in trouble. , since agents.md is a recognized standard for many platforms, while Claude.md only applies to Claude. In teamwork, this conflict has to be decided by the owner of the code base, because in the extent of the project's development between these files configurations will inevitably arise disagreements. Even if Codex does not takes into account the default Claude.md file , nothing prevents you from asking the Codex or any other agent manually compare multiple configuration files and check them for conflicts. If they yes, you will at least learn about it and you will be able to find out everything in your team. So for the sake of continuity, make sure that conflicts are resolved by the person in charge code base. The main conclusion from this —be sure to send files configurations to the repository and exclude only those that are purely personal, contain your personal opinions and do not have values for colleagues. Of course, there are others. things to exclude from the repository, and in the next sprint we will talk about secrets. Applications often have sensitive data, and we must protect them. To such secrets may include API keys, passwords, URLs database addresses and any other critical credentials that must be kept secret. Common a way to store secret data, needed by our application during development, is to use the .env system. With .env you store secrets and other configuration data of a specific environments in a special .env file, like this one, and reference them in the code where it necessary. So if we take a quick look on server.js, I get the port exactly from this .env file. It says PORT in capital letters. It is installed on 8000, and in server.js we get up to It is accessed via process.env.PORT. So, it is process.env that gives us access to the data from the .env file. And I have to quickly to note that we usually do not we use the .env system in Scrimba, since we have our own, but it's a working one .env file, and you can take a look at this codebase, by the way, which we not previously considered. You don't need to know nothing about her at all. We barely let's look at the code. I just wanted to use this to give you some real examples of how we can protect secrets. Okay, let's get back to this .env file. He allows us keep secrets in one place, and that's useful because one of most popular ways to reveal secrets—is to send them to the repository GitHub. And since even private GitHub repositories cannot be considered safe, any secret revealed thus, is compromised and is subject to deletion. So, to avoid sending this file with our secrets on GitHub, we have a file .gitignore, where all files are listed and folders that we don't want to see in our GitHub repositories, perhaps because they contain secrets or to avoid excessive load. So, any file or folder listed here, will be ignored during commits and will not will be sent to GitHub. This system serves us well in normal development, but when you code with an agent, Keeping secrets a secret is getting a bit difficult. more difficult. And that's the problem. This the .env file is in our codebase base. So by default agents like- here is Codex and Claude Code, have to it access. This means that the agent can read your secrets and use them elsewhere in your codebase. Classic example: agent reads a file .env, hardcodes the secret into the file, and remember that the agent is only concerned with the job application, so agents sometimes go to compromises and takes risks. Now, if we we will not notice this, we will happily send our code on GitHub, not realizing that we have an API key in one of our files, which are not ignored. Someone then steals this API key, says "thank you very much", and then destroys our site or wastes our AI- loans. Now I want to show you more one risk. If we go back to the code in server.js, right here on line 12, we we see something very familiar—console.log. IN In this case, we only write down the number port. This is quite innocent information, but It is worth remembering that depending on your application settings, files logs may be stored, accidentally to get on GitHub or be reckless made public and compromised. If I I'll look at this log file and see what port 8000 was added to it along with a bunch of errors, warnings and information messages. Completely innocent things, but we definitely wouldn't want to add an API key to this list. So let's do it quickly. Let's look at a list of tips that are worth What not to do with an agent programming. And the first one is quite obvious. Never enter secret data in the chat. You never know where they are. may be. So, rule number one: just don't share secrets with agent intentionally. Number two: no add secrets to logs. We just talked about they said that. Number three: I mean, if you have there is, for example, an API key that gives access to a service (like the OpenAI API), and you have paid AI credits, it's worth to set a short validity period for such a token. It is also worth setting a hard limit expenses. In general, you should always think about limiting possible losses. Then, if your API key is compromised, and you won't notice it , he is at least quite fast will end, and if someone will use it, it will quickly reach spending limit and you won't lose too much money. And last, but certainly not least important: check for changes (diffs) independently. Remember that every time When an agent edits a file, it tells you exactly what was deleted and what added. You can also allow the agent commit and push code to GitHub, and that's it goes beyond our course, but whatever didn't happen, you should always check these changes and make sure that on GitHub only those files that you reviewed. This is the best way. to ensure that no keys will be compromised. Okay, before in conclusion let's do a quick research challenge. I want you to look at these four opened files and tried to find three potential security issues, and then eliminated them. You can ask an agent to help you , but this task is designed to you did it manually. These are all things, which we discussed in this course. You no need to understand the code base at all , and you don't need to have deep knowledge in programming. Everything from you required—is to quickly review these four files, find three vulnerabilities and eliminate them. Okay, let's get started. So, I hope you have fixed these issues. security. Let's take a quick look. IN this file, products controllers, we have there are several problems. Let's start with line 33. . Here we have console.log, and look, what exactly are we deducing. We derive secret key from the .env file. We are definitely shouldn't do this, so let's we will remove it. If we scroll up , then we will see commented code, but it is also taken into account. Agent anyway can read it. What are we doing here? We strictly prescribe the secret key. Maybe the agent did it for us. Perhaps , we did it ourselves. This happens. The best solution in this situation is not leave a bunch of commented code. Just get rid of it. So, two Security issues fixed. Let's find one more. If we switch to git ignore , then we will see that the .env file is ignored . And we also have the .env file itself. We him ignore, so all these secrets are safe . But what do we see here? We have .env.local. This is another configuration file environment. And if you look closely, it's almost a complete copy of the .env file. So all these secrets can get out GitHub. We need to add this file to ignore list. We can simply add .env.local. Okay, that's all. security problems. Congratulations if you found them all. I hope this course will teach you to monitor your actions, be vigilant about confidential data and make sure that the agent does not compromises. If you have already done this a certain time, it's time to take a break. When you get back, we'll look into it. installing the VS Code Codex extension. At this stage we will use Codex extension in VS Code to explore a few concepts that are not so easy to test in the Scrimba environment. First, let's get everything set up. You you can click on this screenshot to go to the ChatGPT registration page, if you don't have an account yet. There are a number of pricing plans, but you actually you can to a limited extent use Codex on free tariff. And if you're just experimenting , why not choose the free option and not see what will come of it. AND if you reach the limits, you always you can update the plan later. Limitation free plan—this is, in fact, the number of credits you receive. So you may find yourself in a situation where have exhausted their credits and are forced to wait to update the limit. Besides, the latest features and best models may not be available on this free level. So try it, and options always remain, and you can increase the tariff at any time. Therefore when you created an account, open VS Code, and if you have it no, you can download it free. Just search online the required version for your operating system systems. When you open it, click on this icon right here, and this will open the extension. Search here Codex and make sure you select official extension. Click on it , then click Install. When this will be done, open the folder, with which you want to work with, and press the Codex icon, which you will see directly here. This will open the Codex window, and on this At this stage you will need to go through the process login to bind the Codex instance to your OpenAI account. Now you are fully set up and can start agent programming with Codex. Codex works with a folder or workspace the area currently open in VS Code. So, everything you see here is what how Codex will work. Let's quickly explore and get acquainted with some Codex features, many of which we are already familiar with. Remember that the agent Scrimba is similar to Codex, but it is not exactly the same. Now, if I I'll click right here, it'll open up a few options. First, considerations. We have levels from "easy" to "ultra". You you can adjust this depending on the complexity of the task. For many tasks are fairly easy or medium level, but for more complex problems or if the results do not satisfy you, you you can always increase it. Remember that a higher level of effort requires more tokens, and therefore it is more expensive. You can choose models that are usually located in descending order of their capabilities. Selecting an option just below the list will help save money, and you are unlikely to you will notice a decrease in performance if Don't perform very difficult tasks. So this might be a good way to do a little to save money. But again, that's the question trial and error to understand which models are suitable for the tasks you entrust it to an agent. Finally, we have speed parameter. I almost didn't I touch. You can increase the speed, but higher speed means higher price, and you , it's probably not worth changing this if You are not too impatient. Clicking here will take you to permissions, which we will talk about soon. AND if I type a slash, the usual menu will appear with teams and skills. There are things here, which we have already talked about. We have initialization and scheduling mode. If I scrolled down, I would also see skill builder. There are other things here, too. which we will talk about in the following lessons. Oh, there's one thing I have show, and it's a little different from Scrimba agent, is a context-sensitive icon window, which is now in the Codex a little hidden. They are constantly changing their approach before that in the Codex, so until the moment watching the video everything can change again . But for now, if we focus on agent and enter "/compact", it will appear a context menu icon that will show percentage of space used. This is useful to know. Right now in Codex it's a little hidden. That's all for this. quick overview of the Codex extension for VS Code. You should reach this stage, configure Codex in VS Code to better understand further topics: permissions and MCP. I have already mentioned several times that it is too a long conversation with an agent can cause problems. In this lesson, we will dive deeper into this problem and consider several solutions. First, let's talk about context. You've seen charts like this before. Every time we give a request to an agent, we we send a lot of information, including previous conversation, current request, system instructions, parts of code , agents.md file and others. And this is the context. So, context is everything. information available to the agent for forming a response. And this previous conversation is significant part of such a context. There is limitation on the scope of the context, which is often called a context window. Size This window depends on the model that is used. At the time of video recording decent models can handle context volume of 1 million tokens or more. AND A token, roughly speaking, is approximately four characters. So a million tokens is a lot of text or code. Okay, what happens when your the context becomes too large for the contextual windows? Theoretically, the model should produce error, but agents don't let me get to it until this moment. Let's say you worked on some tasks with your agent. You started by creating landing page, added a database and authentication, then made changes to styles, and now you're approaching the limit context window. And even before the context window will be filled, the agent will reach its own the limit that we see here. So, you are now in the danger zone. When you reach this point, the agent is undertaken to reduce the volume of context, and does this in two ways: either compresses context, reducing everything discussed to a concise summary. We still have all the same topics, but now many appeared in the context window free space. Another common method Reducing the scope of context is pruning. In this example, the agent deleted the initial part of the conversation about the landing page, leaving the rest unchanged. I want to clarify: this is just an illustration. Everything won't be as neat as it is simple deleting the topic, but trimming the context really means the loss of the early parts conversations. All this happens automatically, you don't have to you don't need to do anything, besides, different agents can act in different ways. But you should know that this process is destructive, that is, a certain information or nuances of the conversation that may lead to strange agent behavior. So, in the next video we'll look at how manage context and why it might be necessary. Let's look at management context. How to find out how much What context did you use? I have the same one. the code base we worked with when creating skills, and in the Scrimba agent you You see a round icon here. This is actually a counter that is missing a little space, and it shows how much context has already been used. But don't worry, for a more accurate picture you can click on the icon and it will open panel where you can see that the context window 4% filled and 38,000 used tokens out of a million. This also reminds us that the agent automatically compresses context, and we'll talk about that a little bit subsequently. The Codex extension for VS Code has a little bit of everything more difficult. Previously they showed this the icon itself right here, but in one of the updates have hidden it by default. However, you can enable it: click on settings icon, go to Codex Settings, and here in the Composer section enable Show Context Window Usage. Activate this option, close settings, but the icon will appear only after you start writing requests. Let's enter something and see what happens. The icon appeared. Now it works the opposite way than Scrimba : at first it is an almost imperceptible circle, and the outline of the circle is filled as using context. And again, you can click on it to see statistics of the context used. So What are the rules for context management? On- First, don't panic. The agent is developed so that you can handle it on your own, so you can just let it work and intervene only when it arises problem. This doesn't really cause many problems, and what is in the Codex now hide the context counter, indicates that most users do not is it worth worrying about? As we see in Scrimba, we created a bunch of skills with this code base, and only used 4% context windows. This gives you an idea of how little is actually needed to worry about this problem. Good practice—use one session for one task, and I mean sessions Codex. If you, for example, add a new navigation element, after completion you can close the session and start a new one for next task. Scrimba has it for this there is a special command through the slash. All clear, just type the slash clear and send a command. This will completely clean context, and you can start over with a new context window. I will not. run this command now, because it's a little I'll show you the compact command later, but in VS Code you can close the session and start new one using Command or Control— depending on whether you have a Mac or Windows— plus Shift and P, and select the option developer reload window. You will see something like this. This will appear in the command palette at the top. When you press for this, you will get a new Codex session, and when you make a request, you will see how the counter icon is working, and if click on it, you will see what has started from a new context window. If the task is too large for the session, and you're in the middle of work, and the context window almost full, make a request to the agent about that, and although it's not universal request, but a request to agent to summarize these things should provide the next Codex session all the information, necessary to continue working with a clean context window. So literally put that in the agent. He will give you a bunch of text. You can paste this text into a new Codex session and continue development. I said that Scrimba has its own compact team, which will do it for you. Codex Extension for VS Code it used to do exactly the same thing . I'll just show you this quickly, because, honestly, Codex is constantly is changing, so I wouldn't be surprised if this feature or something like it is back. So, in the Scrimba agent, it's just a slash compact. You choose him, and he will report that it compresses the context, and if remember, the context is currently filled by 4% from 38 thousand. We'll check in a moment. this is when the status changes to "compressed" context". That's all. The context was compressed. We won't see changes right away. We will need to make a request to agent, we can write anything. For example, I can update the agents.md file . Okay, the agent did the job. Let's click on this icon, and now occupancy is 3%, used 34,000 tokens. As you can see, our window context was almost empty, so compression did not produce significant results, but it's just a function that's in the agent Scrimba, and which you may well encounter in the future in other agents that use. So, that's all about it. context. The main conclusion—you probably , don't worry too much about it. AT, agents just overwrote agents.md. It normally. So, you shouldn't be too to worry about, but for each task it's better to start a new session. And if everything it gets harder, now you at least understand what's going on "under the hood" ", and you have certain options for action. Whichever agent you choose, the question permissions remains important, and you you should keep it under control. In the agent Scrimba we have three settings permissions: request approval, approve automatically and full access . If we open VS Code, we can click on this icon to call permission settings. Actually I I'll just zoom in on this panel. So, we we see that the Scrimba agent copies VS Code settings. We have: to ask for approval, to approve automatically and full access. They arranged in order of increasing freedom , which you provide to the agent. First settings, request approval, allows the agent to read and create files, but it will ask permission before deleting files, installing packages or by running terminal commands. The middle option provides a smoother work. The agent will better analyze what really needs your approval, so there will be fewer interruptions. This is probably the best option for most developers. The agent will only bother you when changes need to be made outside your work area or to do something potentially destructive, for example, delete large amounts of data whether to perform risky Git operations. Here this option, full access, is not recommended. Don't give it away. full control of the agent, unless you are one hundred percent confident in their actions. Now in the Scrimba agent we have recorded permissions at the "request approval" level . We do not allow users use the other two options, but in VS Code gives you that freedom. So be a little careful. Below we see that there is another option " user", and in brackets it is indicated config.toml. Tom. If you choose this option, you can go into more detail configure access rights by editing config.toml file. Config.toml is what you should know, so let's take a look it on the next screen. Config.toml is a human readable file configurations for users access rights settings and others Codex behavioral aspects. Just like with the file agents.md, this file can be stored in your project and be specific to him, and in that case it will be in its own .codex folder, which I modeled it here. But by default Codex creates and reads a global file config.toml, which means that it is in the usual place—a folder .codex in your home directory, where you can also have a global file agents.md. And to be clear, you don't must have your own settings, so if you look in this .codex folder and you won't find config.toml there, it's completely normally. You can create it manually. Okay, let's take a look at example that I have here in Scrimba, but keep in mind that in Scrimba with our He will not work as an agent. You need port this to VS Code and use there. I'm only using this here for convenient real-time editing. Let's look at it in more detail. On- first, we have the permissions settings, and these lines with hashtags at the beginning—this is just comments. They explain that makes every adjustment. So, let's begin. from the "on request" approval policy request), which controls when Codex will ask your permission before performing an action. So "on request" means ask permission before taking action with a superior risk, while allowing for normal agent's work. So, mostly Codex will work without asking for permissions, but for some risky actions your permission will be needed. Another policy option approval is "untrusted", which means a prompt before commands that are not are considered safe. That is, Codex will perform some simple tasks, not asking you, but will ask for permission much more often. Another option that we have—it's a "never" approval policy( never), which means never to ask approval. So, the agent will do whatever will consider it necessary, but, of course, in within other permission settings. Good , I will return this setting to the value default—"on request". Second the settings here are sandbox mode, which controls which files and folders on your PC has Codex access. By The default is "workspace", and this means that Codex can edit files in the current workspace, but not in other places on your computer. Regardless of whether your config.toml in the root of the project, or in the global .codex folder in your home directory directories, current workspace here means the folder of the project you are working on working. In addition, we have other options . Setting sandbox mode "read only" does exactly what you expect. Codex can view files, but not can edit them. This is approximately corresponds to the planning mode. And on On the other side of the scale we have a mode Sandboxes—unsafe full access. Codex can access files outside the current workspace and change them. This potentially gives the agent access to your entire PC, and that, of course , not recommended. That is why they used the word "danger", but this the option is available to you if you want it use. Now let's move on, we postpone the permissions and move on to default models. This is enough. okay, but we'll talk about it more details in the next scrim. AND finally, we have style settings considerations and answers. So, efforts set to medium level, verbosity is average, and style is pragmatic. If you want experiment with them and find out, what other settings are available, I have provided you the link right here, on this screenshot. Just click on it. It will take you directly to the page configurations in the documentation. Importantly know about config.toml, but mostly interface settings will be completely enough for your needs. Okay, in next scrim let's try solve the problem and eliminate some typical problems. Let's see the custom ones settings in action using a task in VS Code. Now every time you open a Codex session, it is defaults to a specific model. Let's zoom in on this part of the panel. Codex, and we will see that at the moment The default entry is 5.6 SOL. If you don't do anything too complicated , you can save money by reducing version of the model, but it's annoying every time remember this, because each new session Codex returns to the parameters for default. So, your task is It's actually very simple. I want you to edited the global file config.toml and changed the model to default to a cheaper one. When I do this I'm doing it, I'm downgrading from 5.6 to 5.4, but you can choose any model, available to you in the Codex, as they will eventually are changing. If you click on the model , other options will appear, and these are the ones that were available to me at the time of recording. When you edit the global config.toml, you can do it directly here, in Scrimba, copy it or edit directly in VS Code—it doesn't have to value. When you do, open project in VS Code, and your new model is default should be displayed in interface. I added "restart" here Codex session if needed" because changes to config.toml will not take effect until the Codex session is restarted . If the Codex was not open when you edited the global config.toml file, that's perfectly normal, but if he was open, you will have to restart, and there is a small procedure. You need to press Command or Control, depending on Do you have a Mac or Windows, plus Shift and P. This will open the command palette and the option " "developer reload window". This will look like something like this. When you choose this point, Codex will restart and you you will see the new model in your interface . Okay, let's get started on this. task. I hope you chose the cheaper model for default. So, here's what I did. I moved to its global config.toml, which is located in the home directory directories of my PC, and made changes specifically here: downgraded the version to 5.4. I saved this, then performed the restart procedure, and after reboot version 5.6 by The default has changed to 5.4. This is a bit saves time, but don't forget that you they did this because if in the future you will want to use a more powerful model, you will have to cancel these settings in config.toml. OK, let's talk briefly about elimination malfunctions. If you notice that your changes to config.toml are not do not give any effect, there are several points which are worth checking out. First, you are not you can override the settings of your organizations. So if your Codex account OpenAI is part of an organization, that is, for example, you have a work account, this the organization can set policies management that you cannot change. If you want to change something, you you need to contact the person who owns by this organization or administers it. The second common problem is that Is your repository trusted? It usually occurs because of something you have contributed changes to config.toml at the project level, but you don't see any results. When you open a new codebase in VS Code, you will most likely see something similar. This is essentially a question of whether do you trust the code and do you trust the source from which it came. If so, then your config.toml file is at the project level should be taken into account. But if from some the reasons this doesn't happen, and VS Code considers your codebase untrusted, you you can forcefully add it to your trusted list , moving to its global config.toml and adding this at the beginning. AND it should be at the very top. This should be the first one read in config.toml. So, everything you need is there in these square brackets, we have projects. And then we have a way to yours project. Of course, it is important to point out that correctly, then set the level trusts to "trusted", and this will do scope config.toml configuration, which is located in your project folder, visible to Codex. So when you restart the Codex session, this file config.toml within the project should to earn money. Okay, that was the review. user permissions and settings. I I will leave you a link to the documentation, if you want to study this issue more details. Agents have the option to use external tools for execution certain tasks, and it's very useful, because only reasoning itself not enough because the agent cannot see the outside world. Tools allow agents to receive up-to-date information , make database queries, use third-party services, send emails and many more another. Now using the tools with artificial intelligence it has become much easier thanks to MCP. MCP stands for Model Context Protocol, and it was created as USB-C standard for AI, enabling AI- assistants can securely connect to external tools and data sources. So, the main idea of MCP is to the presence of a standardized protocol, which simplifies the interaction between agents and AI- assistants with external tools. Let's see how we can use MCP in agent programming, which means understanding MCP cycle. So, the MCP cycle starts with that the user gives the task, for example, fix a broken interface . The agent thinks about what he needs, and decides to call the tool. Challenge tool is sent via the MCP to the corresponding server that performs real action. Results are returned agent and are added to the context, and the agent evaluates the result and or causes another tool, or issues a final respond. And this is where the cycle begins, since these steps can be repeated, until the agent decides that the task is completed, or will not reach some limit . In the end, if everything went well, the result is returned to the user. IN In the next video we will see MCP in action, working on this app that I created. This is a Kanban board for startups product, and at first glance it looks normal, but if you look closely , you can see quite serious interface problems. Many of these cards have inconsistent borders. Look, there's a lot going on here: different frame radiuses. Some frames are dotted, others are solid lines. Here we have completely different buttons sizes, and something strange is happening with a shadow effect that is applied quite chaotically. In fact, if you look closely, all of this looks like a mess, and it's immediately obvious that it was assembled in parts without any holistic strategy. But, fortunately, on Shadcn comes to the rescue. Shadcn is a collection of ready-made UI- components for React applications, and because this Kanban board is built on React, it will fit perfectly. But even better is that Shadcn has MCP- server, so Codex can access to its UI components and use them for refactoring our application. It a great example of using MCP, because agent using set Shadcn tools, there will be much more effective than an agent who invents own ideas for the interface. Besides, this will be much faster, and the results— more unified. Okay, let's move on. to the next screen and see it in action . So, let's use Shadcn MCP to fix the interface of this application . It needs some tweaking, but Codex will take on all the difficult work. First, click on the gear icon bottom right, download the ZIP archive and Move the code to VS Code. To check , if everything works, open a terminal and run npm install and npm run dev. After that you will be able to see the app that works locally. Now I'll just give Codex request configure Shadcn server MCP. The Code now has a lot of work ahead of it, but the main thing is to download and run Shadcn package that will be available to him every time he uses MCP- server. When everything is ready, in your file config.toml you will see this. You don't be sure to understand what exactly this does code block. It is enough to know that in config.toml needs to register all MCPs -servers that the agent wants to use . By the way, I'm looking at the global one right now. config.toml file. It is located in the .codex folder in my home directory . Maybe this will appear in the file config.toml within the project, but from my experience, Codex by default registers MCP servers in global config.toml. The change you will notice in the codebase project, is the appearance of the components.json file . Again, we don't need to delve into in everything that happens there. You just you need to know that this is an integral part settings. So, as Codex will use Shadcn? Well, through MCP -server he will get access to the library Shadcn components and will be able to choose which of them to apply in our application. So to check and to make sure that Shadcn MCP is configured correctly, let's ask: show me all available components in the Shadcn registry. When I typed this, I got the following in response here it is—a long list of 61 UI- component. And it only took 26 seconds. This indicates that the agent is not I just went and looked it up somewhere. He takes this straight from Shadcn via MCP- server. Okay, it's time to ask for the Codex refactor the interface of our application. The prompt I finally composed is quite long. I chatted with the agent for a bit. to understand how to make everything better to formulate. So, here's the prompt I used. I don't expect you to be rewrite it manually. I have provided you copy right here in the prompt.md file. So you can just copy and paste its. When I took it, I put it in the Codex and sent it, it took a long time. It lasted about 6 minutes, but the result successful. Codex provided a brief report on all the files he updated. And, of course, everything is known in comparison. So when I I open the app, now it looks like That's it, and it's much better. As a reminder, let's compare the old interface with its strange frame radius issues, shadows and weird dotted lines everywhere with this much cleaner and more uniform layout. Remember, if you look closely at prompt, we clearly instructed him to work with UI components. We do nothing. mentioned colors. That is why this quite a bizarre color scheme and preserved. In doing so, we provided the agent quite a lot of freedom. We told him, what tool to use, but it I decided for myself how to do it. Therefore, you shouldn't treat this as a one-time thing action. You can continue, give new ones agent prompts, request changes, and work hard until you get it desired result. So, this is MCP. It a whole world of tool challenges for agents. I recommend that you familiarize yourself with other MCP servers and see what else can be done with them. I would recommend such as: GitHub, Playwright, which allows agent to open the site, interact with interface and check the operation of the functions in the browser, as well as File System for controlled access to selected folders and files. And there are more on the Internet thousands. So feel free to look for tools that can be used, and see what will be able to create.
Generated algorithmically for Search Engine
Indexing.