Categories
Tags
Agent Mode Astro Auto Accept Automation Camping changelog Chat clear CLI Code Actions Codex compact Component Design Configuration context Context Copilot copy Ctrl+S CUDA Cursor Day Trip delegate diff Dynamic Routing Editor Error Error Fix Error Handling experimental Gemini git GitHub GitHub Copilot Google Hiking Hot Springs init Installation Iwate Prefecture Kobe Linux Localization Mac Mention Meteor Shower Mode Switching model Nara Prefecture NES NoAdapterInstalled Node.js nvm OpenAI params plan PowerShell Prompt props Public Key Authentication Python Redirect Reference Rename research rewind SEO Settings share Shell Execution Shift+Tab Shortcut SSH SSH config ssh-copy-id Stargazing Static Site streamer-mode Student undo Update usage Visual Studio VS Code VS2026 Windows WSL
132 words
1 minutes
How to Plan Before Coding in GitHub Copilot CLI【/plan】
Overview
Ever told Copilot “build this feature” and it immediately started writing code that was… not what you had in mind?
Jumping straight into code — whether you’re human or AI — tends to go sideways. Plan first. That’s what /plan does.
Usage
Run this in Copilot CLI:
/copilot> /plan implement JWT authenticationInstead of writing code immediately, Copilot creates an implementation plan. You can review and adjust the plan before moving to implementation.
Shift+Tab Also Works
Press Shift+Tab to cycle through modes. In “plan” mode, Copilot will always present a plan before taking action.
When to Use It
| Scenario | Benefit |
|---|---|
| Adding a large feature | Understand the big picture first |
| Changes spanning multiple files | Know which files will be touched beforehand |
| Unsure about the design approach | Get options laid out clearly |
Related Posts
How to Plan Before Coding in GitHub Copilot CLI【/plan】
https://naonao-na.com/en/posts/github-copilot-cli-plan/
