/new

Category: GitHub Copilot

/new

Chat slash command: scaffold a new file or project

Type /new followed by a description (e.g., '/new Express REST API with auth middleware') to scaffold a new file. Copilot generates the boilerplate structure based on your description and detected project context.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.