Ai/ProgramLoop

Skills

  1. /GrillMe

  2. /WritePRD

Flow

  1. Idea + /GrillMe

  2. /WritePRD
  3. Kanban tasks , want vertical tracer bullet slices
    • Prompt: The first task/slice is to horizontal
  4. Use prd skill to write local markdown plans/issues .md tasks
  5. Let ai loose in containers to exploit kanban parallelism using TDD red/green
  6. Want deep modules not lots of shallow modules
  7. Sandcastle - typescript parallel runner using GitHub workspaces and containers

Grill me skill

It ensures the user and the AI have a shared design concept before any coding begins (16:23).

Summarise the video

Vertical slicing: Break down large tasks into "tracer bullet" vertical slices—thin pieces of functionality that cross all layers (schema, service, front end) rather than horizontal slices that only focus on one layer at a time (43:32 - 45:15). TDD (Test-Driven Development): Utilize the AI to write tests first, implement the code, and then run feedback loops to ensure the system is integrated and working correctly (56:15 - 57:30). Agent Management & Optimization:

The Smart Zone: Maintain a lean system prompt to keep your context window optimized; avoid overloading the AI with unnecessary data that pushes it into the "dumb zone" (7:50 - 8:15). Human-in-the-loop vs. AFK: Start with a human-in-the-loop approach to refine prompts and workflows, then gradually move toward autonomous (AFK) runs once you have a reliable backlog and clear definitions of done (52:26 - 55:35). Sandboxing: Run agents in isolated environments (e.g., Docker sandboxes) to safely test code commits without compromising the local development environment (55:20 - 55:35). Architecting for AI Effectiveness:

Deep Modules: Design codebases with deep, well-defined modules. Complicated or fragmented architectures make it difficult for both human developers and AI agents to work effectively (113:42 - 120:00). Avoid Documentation Rot: Do not over-index on maintaining legacy PRDs. Once a task is complete, it is often better to archive or close the associated documentation to prevent future agents from being misled by outdated plans (123:30 - 125:05).

What is the "dumb zone"? Why does Matt prefer human-led PRD creation? How should code reviews be handled with agents? Give me the GrillMe skill text The Grill Me skill text, as described by Matt Pocock in the video (16:17), is designed to be a short, direct prompt for the AI to ensure alignment during the planning phase.

Based on the walkthrough provided in the video, here are the key strategies and workflows for developers leveraging AI agents like GitHub Copilot (and similar coding agents) to ship production features effectively:

Core Development Lifecycle:

Stress-test requirements: Instead of just writing code from vague briefs, start by turning ambiguous requirements into structured Product Requirements Documents (PRDs) using interviewing techniques like the "Grill Me" skill to ensure alignment between the human and the AI (12:17 - 17:35). Vertical slicing: Break down large tasks into "tracer bullet" vertical slices—thin pieces of functionality that cross all layers (schema, service, front end) rather than horizontal slices that only focus on one layer at a time (43:32 - 45:15). TDD (Test-Driven Development): Utilize the AI to write tests first, implement the code, and then run feedback loops to ensure the system is integrated and working correctly (56:15 - 57:30). Agent Management & Optimization:

The Smart Zone: Maintain a lean system prompt to keep your context window optimized; avoid overloading the AI with unnecessary data that pushes it into the "dumb zone" (7:50 - 8:15). Human-in-the-loop vs. AFK: Start with a human-in-the-loop approach to refine prompts and workflows, then gradually move toward autonomous (AFK) runs once you have a reliable backlog and clear definitions of done (52:26 - 55:35). Sandboxing: Run agents in isolated environments (e.g., Docker sandboxes) to safely test code commits without compromising the local development environment (55:20 - 55:35). Architecting for AI Effectiveness:

Deep Modules: Design codebases with deep, well-defined modules. Complicated or fragmented architectures make it difficult for both human developers and AI agents to work effectively (113:42 - 120:00). Avoid Documentation Rot: Do not over-index on maintaining legacy PRDs. Once a task is complete, it is often better to archive or close the associated documentation to prevent future agents from being misled by outdated plans (123:30 - 125:05).

Ai/ProgramLoop (last edited 2026-05-03 09:05:36 by PieterSmit)