From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Using skills: Reusable workflows in Copilot CLI

Using skills: Reusable workflows in Copilot CLI

- [Instructor] In this video, we're talking about skills in Copilot CLI. What they are, how to add them, and how to use them. A skill is basically a reusable playbook, a named set of instructions Copilot can apply whenever you're working on a certain kind of task. It's how you make Copilot consistent, so you're not re-explaining the same preferences and patterns every time. Now, let's ground this in a real problem in our app. Right now, I can paste my local repo path, click Generate, and everything works. But the moment I refresh the page, the repo is gone. And that's annoying because the repo path is the one thing I have to reenter constantly. So our goal is simple, remember the repo path across refreshes. We could just ask Copilot add local storage, but preference code tends to get messy fast. So this is the perfect use case for a skill. We'll encode the rules once and then Copilot will follow them every time. So…

Contents