One wrong prompt wastes 10,000 tokens. Here’s how to make every conversation count.
This is Episode 2 of the complete 12-episode course. We learn how Copilot reads your codebase, how to control context with @ references, how to pick the right model, and the 4 prompt patterns that consistently get better results. Plus we build the TaskFlow CRUD API.
⏱ Timestamps
0:00 — Welcome & what we’re building
0:25 — The context window explained
0:47 — How Copilot gathers context automatically
1:11 — @ references: point at exact files and folders
1:37 — Available models: Claude, GPT-4o, Gemini, o3
2:10 — Today’s goals
2:34 — Chapter 1: Context & Models Demo
2:48 — Asking about project structure
3:07 — @file: reference a single file
3:26 — @folder: reference an entire directory
3:45 — Multiple @ references in one prompt
4:06 — /context: see what Copilot sees
4:27 — Understanding token usage
4:49 — /model: switch AI models
5:09 — Model tips: when to use which
5:54 — Chapter 2: Prompt Patterns
5:59 — Bad prompts vs good prompts
6:24 — Pattern 1: Be specific with constraints
6:47 — Pattern 2: Ask, then implement (two-step)
7:57 — Pattern 3: Reference before requesting
8:20 — Pattern 4: Verify with test criteria
8:46 — Prompt cheatsheet
9:04 — Chapter 3: Build the CRUD API
9:10 — What we’re implementing
9:34 — Starting Copilot in TaskFlow
9:43 — Database schema with sql.js
10:03 — REST routes: GET, POST, PUT, DELETE
10:26 — Registering routes in Express
10:42 — Testing with curl
11:09 — Fixing issues with Copilot
11:27 — Final API review
11:45 — Running automated tests
12:05 — Git commit
12:19 — Recap & what’s next
📺 Prev / Next
← EP01: Getting Started → • GitHub Copilot CLI Course — Getting Starte...
→ EP03: Plan Mode → • GitHub Copilot CLI — Plan Before You Code:...
📋 Full Course
EP01: Getting Started — Install & First Session → • GitHub Copilot CLI Course — Getting Starte...
EP02: Talk to Your Codebase — Context, Models & Prompts (this video)
EP03: Plan Mode — Design Features Before You Code → • GitHub Copilot CLI — Plan Before You Code:...
EP04: Custom Instructions — Teach Copilot Your Rules → • GitHub Copilot CLI — Custom Instructions: ...
EP05: Autopilot & Delegation — Let AI Build Features → • GitHub Copilot CLI — Autopilot & Delegatio...
EP06: Parallel Power — Build 5 Features with /fleet → • GitHub Copilot CLI — Parallel Power: Build...
EP07: Code Review — Catch Bugs from Terminal
EP08: Hooks — Automate Testing & Safety
EP09: Skills & Custom Agents — Extend Copilot
EP10: MCP Servers — Connect to Browsers, Databases & APIs
EP11: Automation & CI/CD — Auto-Review Every PR
EP12: Mastering the Workflow — The Complete Sprint
🔗 Links
Full playlist: • GitHub Copilot CLI — Complete Course: From...
Copilot CLI docs: https://docs.github.com/en/copilot/ho...
#GitHubCopilot #CopilotCLI #Context #Prompts #AI #CodingTools #Terminal #Tutorial #ClaudeCode
Auf dieser Seite können Sie das Online-Video GitHub Copilot CLI — Talk to Your Codebase: Context, Models & Prompt Patterns (EP02/12) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer AI Terminal 06 April 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 210 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!