Browse the guide
Demos
Copilot CLI
Chat-driven development from the terminal using GitHub Copilot CLI.
What This Demonstrates
GitHub Copilot CLI is a first-party agentic coding tool for your terminal — install it with npm install -g @github/copilot, then run copilot. It runs interactive and autonomous sessions: answering questions about the codebase, proposing and applying changes, and showing diffs without leaving the command line.
Prerequisites
- Terminal open in the repository root
- GitHub Copilot CLI installed (
npm install -g @github/copilot) and authenticated
Prompts
Prompt A — Repository Tour
Explain this monorepo structure and list the top 5 places I should inspectbefore implementing a new backend service.What to look for:
- Accurate description of the monorepo structure
- Key files identified (tsconfig.base.json, shared types, Docker configs)
- Actionable guidance (not just a file listing)
Prompt B — Safe Automation
Generate commands to run lint + unit tests only for `services/product-service`,then explain likely failure categories and how to triage quickly.What to look for:
- Correct
--workspacesyntax for npm - Failure categories (type errors, missing mocks, database connection)
- Triage steps for each category
Prompt C — Change Proposal
Propose and apply a minimal change that improves developer experience in thisrepo (for example scripts, docs, or local workflow). Show the diff andrationale.What to look for:
- A practical, non-breaking improvement
- Clear rationale for the change
- Actual file modifications (not just suggestions)
Follow-Up Prompts
- “Run the tests and explain any failures.”
- “What would you change to make this repo easier for a new contributor?”
- “Generate a git commit message for the changes you just made.”