“OpenSpec Changes Everything - No More Vibe Coding (Full Tutorial)”의 전체 스크립트입니다. 타임스탬프를 클릭하면 해당 장면부터 영상이 열려요. 다른 영상이 필요하다면 유튜브 스크립트 추출기를 이용하세요.
0:00 Hey everyone, how's it going? Welcome back with Minaden. In this video, I want to tell you about OpenSpec, a new library that can help you do specdriven development. So, OpenSpec is a new toolkit that helps you to use specdriven development for developing and maintaining your application. It helps humans and AI coding assistants to plan and agree on what to build before any code is written. It requires no API keys and it ensures your intent is locked before implementation. Basically, the process will give you a more deterministic and structured results instead of random AI fight coding output. It keeps everything aligned with proposals, tasks, as well as spec updates, making scope changes reviewable and transparent. Now, you might be asking, what's the difference between
0:46 this and specit? Well, open spec is basically a more lightweight version of speckit as it has less commands and more minimal setup. What's more, OpenSpack uses a two-folder model. There is the specs folder for the current state and then there is the changes folder for proposed updates. This model scales better when you modify existing features or touch multiple specs. On the other hand, specit works best for green field or brand new projects where you start from scratch. Once your code base evolves, managing updates and changes across specs become quite messy as there is less structure. It's not ideal for ongoing development. In short, OpenSpack promises to bring more control, clarity, and reliability as you use specdriven
1:31 development to build and maintain your application. Also, it's supported by many popular AI tools like cloud code, cursor, open code, kilo code, and many many others. So, next I will show you how to set up open spack in your app project. Now, before we jump into the exciting part, don't forget to subscribe to my YouTube channel so you won't miss new videos that can really help you level up your skills. Also, don't forget to click on the bell to get notified whenever a new video comes out. Thanks a lot for supporting the channel. You really help me make useful videos just like this one. First, you need to install the tool using npm, which means you have to have Node.js installed on your computer. If you don't have NodeJS already, then you can install it for free at no.js.org. Just click on the install button here to get it up and
2:17 running. Once you have NodeJS installed, copy the command here, open your terminal, paste the command, and press enter. It will take a few minutes to install, but once done, you can verify the installation by running the openspec- version command to see if it's installed. Okay, I have it available here. Now, we can initialize openspec in our project directory, and I'm going to do so inside VS Code. So on the screen here, I've gone ahead and created a sample application that I'm going to build with the help of openspec. Currently, this is a react app just generated using Vit. Uh we can try to run it using npm rundev. And here we can see there is nothing yet. So back in VS code, what we're going to do now is to initialize openspec in this project
3:03 directory. I'm going to expand the terminal window here so that you can view it better and then run the command opensp spec in it which will initialize openspec on this project. Now it says you need to configure openspec first. So just press enter and now you can select between different options available here. Openspec currently supports many popular extensions and idees like cloud code client cursor windsurf and so on. Right now I'm going to use Kila code as that's part of my daily tools but you can choose any other options. Select your tool and then press enter. Here you can undo the selection if somehow you choose the wrong tool but if not just press enter and that's it. Now open spec workflows and templates are added to the project directory. This is quite similar
3:48 to how specit works. So if you go to the project explorer here you can see the do.killode/workflows killer code/workflows folder and it has opensp spec custom/comands and if you open the opensp spec folder here there is the agents.mmd file for instructions as well as changes and specs directories where the technical documentations will be stored. All right, the next steps are presented by open spec on the terminal here. So the first thing to do is to populate the project markdown file with your project detail such as the summary, the text tag and conventions used. You can ask the AI to help with this. So just open your AI assistant. For me, it's killer code here and then just paste the prompt in the chat box. Press enter to send the prompt
4:34 and let Kilo code work on the request for a moment. It will scan the project to figure out a summary of what the project is about and then add technical details such as the text stack used, how to run it and so on. Okay, so Kilode has completed the first step. Here we can see the project description on the screen and then the next step is to prompt the AI for a new feature you want to add followed by this instruction to create an open spec change proposal for the feature. Now I already have my prompt and it's a bit long. So I'm just going to paste it here. Basically, this prompt describes the app I want to build, which is a Trello style canban board app for managing tasks. Here, I describe the spec such as what the columns can do and then the cards as well as persisting the data in local
5:20 storage to keep this app simple. I ask it to implement the UI and the JS logic exactly according to the spec above. Keep the code clean and easy to read. Below this prompt, just add create an open spec change proposal for this feature as hinted by openspec. Press enter and let the agent work on the request. Once ready, the agent will start by generating the proposal for this new feature. The proposal will list the reasons for this change as well as what will be changed on the project. After that, it will generate the tasks that can be executed step by step by AI agents before writing the spec document which outlines the scenarios that needs to be fulfilled by the change. This is actually quite convenient as it means you get the complete technical requirements with just a single command
6:06 or prompt. While in specit you have to generate them one by one and once it's all done you can go through the proposal, the tasks and the spec document to see if they are exactly how you want them to be. After that you can start implementing the tasks. But if this is your first time running openspec then you can also run the third step here which is to ask the AI to explain the opensp spec workflow. Basically you can create proposal for changes by running the previous command and then implement them by telling the agent to proceed or implement the spec. You don't have to run a custom command as open spack will provide the agent with the right context. And once the changes are done, you can archive the changes. So open spack can differentiate between past changes and what's current. For
6:53 more details, you can read the output of the third command here. But for now, let's proceed to implement the new feature. Just from the AI to let's implement this, and the agent will start working on the request. It will make changes to the app. as we can see here. And then it will also work on the app styling. And in kill it, it will also opens a browser in the background to test the app. And once all is finished, it will say task completed. And we can start exploring the app ourselves. Now, this will take a while. So I will skip a bit when it's finished. Okay, here it's all has been finished. So it's time to explore the result. I will open the browser here. And it seems the styling is a bit off. I think the board title
7:40 and the add column button can stretch to the right here. But let's just test the app for now. Let's create a new column. And for the name, maybe task. Okay, the column is now created. Let's create another one here for finish tasks. And then another one for backlogs. Now let's try to drag the columns around. Okay, they can switch places just fine. Now let's add a new card. I will call this explore open spec. For the description, let's leave it empty for now. And for the color, I will put blue here. Okay, the card is created. We can see the blue accent on the left side. Let's edit this for now. And then add a description. All right, we can add a description to the card. So nice. Let's move the card
8:28 around. Okay, it works. There is also a little animation there changing the angle of the boards when the card is moving around. Uh so that's a pretty nice touch. Now let's create a new card and the title will be marks back as archived. Give it red color. Okay, here's the second card and we can move it around as well. Finally, let's delete the first card here. All right, now delete a column. It works. So there seems to be no issue with the functionalities. Uh we can definitely improve this app further and adjust the styling to be more responsive. But for now let's go back to VS Code. And here I want to archive spec as the proposed changes have been implemented. So we're going to run the
9:13 open spec command here which is opensp spec archive the spec name and then add the yes option. This will mark the spec as archived and remove it from active changes. So go back to the chat box and press enter. We can see here that the agent wants to run the open spec command. So just allow it. And now the changes are archived. Now you can send a new proposal for changes. So I will do just that here. Let's prompt the agent to adjust the CSS styling of the canban board and make it responsive. After that just add the same instruction to create an open spec change proposal. Press enter and the agent will work on the new proposal request. It will
9:58 generate the proposal and then the tasses and the spec documents. If you like this video and would love to support the channel, you can consider donating to my channel through the super thanks option below. Or you can consider joining my YouTube membership where you can use this channel's emojis, get early access to new videos, plus a lot more. So that's how OpenSpack works in a nutshell. Overall, this is a pretty awesome tool that can turn prompts into a structured reviewable proposal and implementation plan that can guide your AI agent. You can also view all active proposals by running the open spec view command. Here you can see the summary of specifications, active changes, completed changes, and task progress.
10:46 This overview makes it easier to remember what have been done in the project. And one thing I definitely noticed is that open spec is indeed more lightweight when compared to specit because with just one command or prompt it can generate the proposal, the tasks and the spec of the new feature. While in specit is a command for each step and the markdown doc commands are also more precise and output less words when compared to specit's output which means less tokens are used in the long run. If you look at kilo code here, notice that it cost us just about $1 to generate one feature spec and implement it. While in spec kit, it will probably cost us more. Unlike specit, which aims to be as detailed and precise as possible, open spec doesn't try to fill in too much detail, but rather it generate mostly
11:32 enough context that you can review and revise as you see fit. So, if you're interested in trying it out, just head over to its GitHub repo as it's free and open source. I will leave a link to this in the description below. And [snorts] now we have come to the end of this video. So, what do you think about OpenSpec? I encourage you to try it out for yourself and let me know about your experiences. I hope you all enjoy today's video and get some value out of it. Let me know your thoughts and questions in the comments below. I'll join the conversation and reply as often as I can. Also, if you're new to the channel, my name is Nathan and I hope you'll learn how to code and use AI tools. Make sure you subscribe if that's something you find useful. Don't forget to like this video, turn on the notification bell, all the good stuff, as it really helps the channel to grow. With that being said, thanks so much for
12:17 watching until the end. I hope you have a great day, and I'll see you in other videos. Bye-bye. [music]