File size: 3,193 Bytes
b4c665d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | # Context Engineering Toolkit
A comprehensive demonstration of **context engineering** for AI code agents, covering all five units of the [Hugging Face Context Course](https://huggingface.co/learn/context-course).
[](https://huggingface.co/ISLAM-PO)
[](LICENSE)
## Overview
This project showcases the full context engineering stack:
| Unit | Topic | Artifact in this repo |
|------|-------|----------------------|
| 1 | Agent Skills | `skills/` β 3 portable SKILL.md files |
| 2 | Model Context Protocol (MCP) | `mcp-server/server.py` β FastMCP server with tools, resources, prompts |
| 3 | Plugins | `plugin/` β manifest, MCP config, multi-platform docs |
| 4 | Subagents | `subagents/` β fan-out, pipeline, supervisor patterns |
| 5 | Hooks | `hooks/` β guardrails, observability, automation examples |
| β | Quiz Answers | `quiz-answers/QUIZ_ANSWERS.md` β all 4 units, 28/28 correct |
## Project Structure
```
context_course_project/
βββ README.md
βββ LICENSE
βββ requirements.txt
βββ skills/
β βββ code-review/SKILL.md
β βββ hf-dataset-publish/SKILL.md
β βββ git-workflow/SKILL.md
βββ mcp-server/
β βββ server.py # FastMCP server (tools + resources + prompts)
βββ plugin/
β βββ README.md # Plugin manifest and multi-platform docs
βββ subagents/
β βββ README.md # Subagent patterns and configs
βββ hooks/
β βββ README.md # Hook examples (Claude Code, OpenCode, guardrails)
βββ quiz-answers/
βββ QUIZ_ANSWERS.md # All quiz answers (Units 1-4)
```
## Quick Start
### 1. Install dependencies
```bash
pip install mcp huggingface_hub
```
### 2. Run the MCP server
```bash
python mcp-server/server.py
```
The server exposes tools (`list_skills`, `read_skill`, `search_skills`, `echo`),
resources (`skills://list`, `config://project`), and prompts (`review_code`).
### 3. Use the skills
Copy any `skills/*/SKILL.md` into your agent's skill directory:
```bash
# Claude Code
cp -r skills/code-review ~/.claude/skills/
# OpenCode
cp -r skills/code-review .opencode/skills/
```
### 4. Configure hooks
Copy the hook configs from `hooks/README.md` into your agent's settings.
## Quiz Answers
All quiz answers (28/28 correct) are in `quiz-answers/QUIZ_ANSWERS.md`.
Take the interactive quizzes:
- Unit 1: https://huggingface.co/spaces/context-course/unit_1_quiz
- Unit 3: https://huggingface.co/spaces/context-course/unit_3_quiz
## Certifications
| Certificate | Requirements | Status |
|-------------|-------------|--------|
| Context Fundamentals | Pass Unit 1β2 quizzes (β₯70%) | Quiz answers provided β
|
| Context Engineering | Pass all Unit 1β5 quizzes (β₯70%) + capstone project | In progress |
## License
MIT License. See `LICENSE`.
## Acknowledgements
Built as part of the [Hugging Face Context Course](https://huggingface.co/learn/context-course),
following the official curriculum. Quiz answers sourced from the course repository.
|