The model read the rule. It moved on.
Instructions ask. Hooks enforce.
What you'll learn
- Why an instruction can be weighed and dropped by the model
- What a preToolUse hook is and where it runs
- How to write a guard script that exits 1 to deny
Share this passage
Drawing…
Understand it one step at a time
The short runs these in order in about 50 seconds. Here they are written out — pick any step to jump the short straight to it.
A tidy annotation
The agent adds a Flutter import to a domain entity to get @immutable.
Free app · no app store
These are built for a phone
Every short is drawn at full portrait height, the shape a phone already is. Installed, it opens full-bleed with no address bar across the top — and the whole library reads offline.
Read deeper on GitHub Copilot
Twenty seconds gets the shape of an idea across. These go into how it behaves in production.
-
GitHub Copilot Hooks for Beginners: Why You Need Them and What You Can Build
A beginner GitHub Copilot Hooks tutorial: what a hook is, why an AI agent needs deterministic guardrails, and how to write your first one in ten minutes.
-
Building a GitHub Copilot Security Agent for Legacy Systems (Honestly)
Learn what a GitHub Copilot security agent can find in a legacy system, what it can miss, and why scanners and people must still approve changes.
-
Making GitHub Copilot Understand a Legacy Codebase Nobody Documented
A repeatable method for legacy discovery: turning the business rules, workflows and history a codebase never documented into knowledge Copilot uses.
More shorts
-
GitHub Copilot
The 7 files Copilot reads
9 steps · 23s
-
GitHub Copilot
LLMs have no memory
9 steps · 28s
-
GitHub Copilot
Twenty messages. 91% of the month.
9 steps · 51s
Get new posts by email
New technical articles, Azure AI and GitHub Copilot updates, and upcoming events. No spam, unsubscribe anytime.