Claude Code Context Exercises — AI skill for Claude Code
Context Engineering exercises for AI Native Development Chapter 4.
How to install Claude Code Context Exercises
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open panaversity/claude-code-context-exercises and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Context Exercises does
Context Engineering exercises for AI Native Development Chapter 4.
Alternatives in AI
- Context Engineering Agent Skills — Context engineering patterns for agent skills 13.9k ★
- Context Engineering Intro — GitHub Repo stars Context engineering - the new way of AI coding assistants Context engineering guide 12.8k ★
- SAP Skills - Project Context — Repository: https://github.com/secondsky/sap-skills Purpose: Production-ready skills for SAP development and A 207 ★
README
Context Engineering Exercises — Chapter 4
The Context Lab
These exercises accompany **Chapter 4: Context Engineering** of the Agent Factory textbook. Unlike standalone exercises, this is a **single evolving project**: you start with a broken "Contract Review Agent" and progressively engineer its context to production quality.
Each module applies one technique from the chapter and **measures the improvement** — so you can see exactly how context engineering affects agent behavior.
Prerequisites
- Claude Code installed and working (
claude --version) - Completed Chapter 4 reading (or working through it alongside these exercises)
- A text editor for reviewing and editing files
- Basic familiarity with CLAUDE.md, skills, and hooks concepts
Quick Start
- Clone or download this repository
- Open the
starter-agent/folder — this is your broken Contract Review Agent - Read
starter-agent/review-tasks.mdto understand the three standardized tasks - Read
starter-agent/scoring-rubric.mdto understand how you will measure quality - Open
EXERCISE-GUIDE.mdfor the full walkthrough - Begin with Module 1: Context Rot
Module Overview
| Module | Topic | Key Technique | Time |
|---|---|---|---|
| 1 | Context Rot | Identifying 4 rot types | 30 min |
| 2 | Signal vs Noise | 4-Question Audit Framework | 45 min |
| 3 | Architecture | Tool selection mapping | 45 min |
| 4 | Persistence | Tasks, knowledge, /clear survival | 45 min |
| 5 | Lifecycle | Zone monitoring, compaction | 60 min |
| 6 | Memory | Corpus design, drift measurement | 45 min |
| 7 | Isolation | Multi-agent pipelines | 60 min |
| A | Capstone: Your Domain | Full production agent | 90 min |
Related Skills
Claude Code Principles Exercises
Seven Principles of Agent Problem Solving exercises for Chapter 6 of the AI Native Development book
Bkit Codex
bkit Vibecoding Kit for OpenAI Codex - PDCA + Context Engineering for AI-native development
Agentic Sdlc Personas
Twenty-four persona kits for an AI-native software development lifecycle. Validated primitives for GitHub Copi
Ccjk
🚀 CCJK In the realm of AI-assisted development, Context Engineering and Cognitive Load Management are the dec
Devlyn CLI
AI development toolkit for Claude Code — ideate, auto-resolve, and ship with context engineering and agent orc
Okfy
Knowledge engineering for AI agents: distill corpora too big for any context window into small, verified, git-
Related Agents
Engineering Mobile App Builder
Specialized mobile application developer with expertise in native iOS/Android development and cross-platform f
Blind Fact Check
Zero-context blind review of a single chapter for factual errors and AI-template traces. Receives only the cha
Continuity Archivist
Keeps long-project memory bounded — compresses closed volumes into summaries and consolidates story-bible Fact