YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Context Engineering Toolkit
A comprehensive demonstration of context engineering for AI code agents, covering all five units of the Hugging Face Context Course.
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
pip install mcp huggingface_hub
2. Run the MCP server
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:
# 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, following the official curriculum. Quiz answers sourced from the course repository.