Describe the failure and let Copilot inspect the repo.

Section: High-value workflows

Ask Copilot to fix a failing test

bash
bash
copilot -p "A test is failing after the last merge. Inspect the codebase, identify the likely cause, and propose the smallest safe fix."
Explanation

A practical starting point for debugging flows.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing High-value workflows
Scaffold a feature from the terminal
Ask for a small feature implementation plan and changes.
OpenIn sheetbashsame section
Generate docs for a module
Ask Copilot to document unfamiliar code.
OpenIn sheetbashsame section
Review current repository changes
Ask for a human-readable review of local modifications.
OpenIn sheetbashsame section
Onboard to an unfamiliar repository
Ask Copilot for an architecture tour.
OpenIn sheetbashsame section
Summarize a file from the command line
Run Copilot non-interactively with a prompt.
OpenIn sheetbash1 tag match
Inject a file into the prompt context
Reference a file inline inside the interactive UI.
OpenIn sheettext1 tag match