feat: enhance teach skill to prioritize reusable components from ./assets

This commit is contained in:
Matt Pocock 2026-06-17 22:26:34 +01:00
parent d20ee2684e
commit aa024cb195
2 changed files with 10 additions and 2 deletions

View file

@ -2,4 +2,4 @@
"mattpocock-skills": patch
---
Allow the **`teach`** skill to share code between lessons. Shared stylesheets, simulator code, and any code reused across lessons now live in `./assets/`.
Make the **`teach`** skill reuse-first. Lessons are now built from reusable **components** in `./assets/` — stylesheets, quiz widgets, simulators, diagram helpers. Reuse is the default: the agent reads `./assets/` before authoring a lesson, builds from what's there, and extracts anything new and reusable into a component rather than inlining it.