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.
Planning features
From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI
Planning features
- [Narrator] All right, in this video, I'm going to show how /plan helps you go from a vague idea to working code. And I'm going to keep it really simple. I'm going to tell Copilot implement this plan, and let it drive. I'm at the repo root in my terminal. Right now, the app is just an express server serving static files from the public folder. No API routes, no git parsing, no UI wiring. So first I'm going to open Copilot CLI in interactive mode. And now I'm going to run the /plan. And I'm going to give Copilot the requirements and constraints so it doesn't overbuild. The constraints matter a lot here, because I want this to say beginner-friendly and local only. So I'm gonna paste in this prompt, and it says, "Plan adding git parsing and UI to this app." We want local-only git parsing from a user-provided repo path using git log, no GitHub APIs. Simple UI repo path input and generate button and show yesterday…