Five Building Blocks for Agentic Works: Skills, Prompts, Instructions, MCP and Sub-Agents GitHub's Copilot documentation outlines five building blocks for reliable agentic systems: project instructions, prompts, MCP, skills, and sub-agents, each addressing distinct problems in safety, usability, accuracy, discipline, and scalability. The stack is illustrated with an incident investigation assistant that uses telemetry MCP servers and structured workflows to enforce mandatory checkpoints and prevent hallucinations. TL;DR — Key Takeaways - Reliable agentic systems require five distinct layers working as a stack. - Project instructions enforce permanent safety rules and non-negotiable constraints. - Prompts give users a simple, predictable way to start a task. - MCP connects the agent to live systems and real operational data. - Skills enforce repeatable workflows, checkpoints and documentation requirements. - Sub-agents perform complex or parallel work without cluttering the main conversation. - Removing any layer creates gaps in safety, usability, accuracy, discipline or scalability. You have built an agentic system. It works at times. Sometimes it forgets steps. Sometimes it hallucinates conclusions. Sometimes it gets lost in 47 subprocess threads, and your user is drowning in noise. You knew something was off, but you couldn’t name it. It is because you were trying to solve five different problems with one tool. The Five Building Blocks: a Stack, Not Options Each layer solves a different problem. Each solution depends on the layers below. Project: the Incident Investigation Assistant Picture this: It’s 2 a.m. Production is down. Your DRI opens a chat window and types an app name. What should happen next? Not chaos, not 47 tabs opening, not jumping to conclusions based on stale data. Instead, a calm, structured walkthrough. One step at a time. Real data. Mandatory checkpoints. Parallel exploration that stays invisible. A root cause that actually holds up. This is what great incident investigation systems do, and to build one, you need all five building blocks. Let’s walk through it. Layer 1: Project Instructions — the Rules That Never Bend Before you write anything else, establish what is sacred. For an incident system: .github/copilot-instructions.md- NEVER conclude root cause without the full checklist- NEVER push directly to main- NEVER skip a diagnostic step, ever- NEVER create a ticket without human sign-off These are not suggestions. They are non-negotiable rules that apply to every single interaction. That is why they live in instructions, not in a skill. They are the foundation. your-project/ .github/ copilot-instructions.md The rules. Always active. README.md … No exceptions. No working around them. The system enforces them from day one. Layer 2: Prompts — the Clean Front Door Your DRI should never have to think about what to ask. Prompts are the answer. A prompt is one focused thing. One clean request. One predictable result. /investigate-incident