lesson-screen
하는 일
이 스킬은 튜터가 터미널에서 가르치는 동안 로컬 수업 페이지를 브라우저에 엽니다. 글만 읽는 것보다 보고 클릭하며 배울 때 더 잘 이해하는 학습자를 위한 스킬입니다.
사용하는 경우
- ✓과정 튜터가 수업을 가르치고 시각 화면을 수락했을 때.
- ✓개념을 그림, 구조, 또는 3D 모델로 보고 싶을 때.
- ✓흐름이나 값이 변하는 개념이라 그림이 도움이 될 때.
스킬 링크
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/lesson-screen/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“요청이 시스템을 거쳐 이동하는 모습을 그림으로 보여 주는 수업 페이지를 브라우저에 띄워 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 작은 로컬 웹 페이지를 실행하고 가장 최근 화면을 브라우저에 보여 줍니다. 클릭 기록은 남아서, 튜터가 읽고 터미널에서 응답할 수 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Lesson screen
The lesson screen is a small local web server and one browser tab. The tutor keeps teaching in the terminal. At each step it writes one screen into a folder, and the browser shows the newest screen. The learner can press options and click parts. Those clicks go to an event log that the tutor reads before its next reply.
Use this skill with Claude, Cursor, Codex, OpenClaw, Hermes, or any agent that reads SKILL.md. It needs Node.js 20 or later and a browser on the same machine. It installs no packages.
When to use
- A course tutor teaches a lesson, and the learner accepts the screen. The tutors are learn, learn-mcp, learn-agent-skills, learn-reverse-engineering, claude-certification, and mcpa-certification.
- The learner asks to see a lesson, a concept, or a system: "show me", "draw it", "in 3D".
- A concept has a structure, a flow, or a number that changes. Seeing it helps more than reading it.
When not to use
- The learner declined the screen. Do not offer it again this session.
- The learner cannot reach a browser page from the host: a chat app, or a remote machine without port forwarding. Give the lesson page on aiengineeringfromscratch.com.
references/hosts.mdlists the cases. - The step is words only: a clarifying question, a tradeoff, or a definition. Keep it in the terminal and show the waiting screen.
- You need a permanent figure for a lesson file. Use the figure skills directly. This skill makes screens for one learner.
Paths
SKILL_ROOT is the folder that holds this SKILL.md. In this file, CLI means node "$SKILL_ROOT/scripts/lesson-screen.mjs".
Run every command from the learner's working folder. Screens go to .lesson-screen/screens/, and builds go to .lesson-screen/builds/. If the folder is a git repository, ask the learner to add .lesson-screen/ to .gitignore.
Start
- Run
CLI start --open. It prints one JSON line withurl,screens,state, andnext. - Give the learner the full
urlwith its query string. The key in it protects the page. - Run
CLI startagain at any time. It reuses a running server and keeps the same port. - If the start fails, say so in one line. Give the lesson page link and keep teaching.
Some hosts end background processes when a command returns. Those hosts need --foreground and their own background shell option. See references/hosts.md.
The teaching loop
- Before each reply, run
CLI events. It prints the clicks since the last call. Treat them as hints. - Write the next screen to
<screens>/<next>-<slug>.html. TakenextfromstartorCLI status. - Never reuse a file name. The browser shows the newest file.
- Tell the learner in one line what the screen shows. Ask for the answer in the terminal.
- When the next step is words only, write a waiting screen.
Write screens with your file tool. Do not print them to the terminal with cat or a heredoc.
What to show at each step
| Tutor step | Screen | Source of truth |
|---|---|---|
| Frame the problem | a step rail and a card with the lesson question | docs/en.md |
| Core concept | the lesson's registered figure, set to the example you discuss | the figure fences in docs/en.md |
| Build it | a code trace: the chunk, the active line, the variables | a real run of the lesson code |
| Use it | the library call beside the scratch call, with the same output | the lesson code and its output |
| See it | the figure that you built for this lesson | the figure skills, the lesson text, and the real run |
| Prediction or quiz | the question and its options as buttons | quiz.json, without the answer |
references/screens.md lists every class, with a full example of each screen.
Registered figures first
Most lessons already have interactive figures. Look for them before you build anything new.
- Search the lesson's
docs/en.mdfor fenced blocks with the languagefigure. - Put the first line of the fence in a host element:
<div class="lesson-figure" data-figure="kv-cache-sizer"></div>. - Keep the JSON config of the fence if it has one, as in
data-figure='iso-machine {"machine":"kv-cache"}'. - Change a config value only with a key that the fence already uses.
The screen loads the course figure runtime and mounts the figure. The figure looks and works as it does on the lesson page.
Build a figure on the fly
The best figure for a lesson is one made for that lesson. Build it while you teach, so that it is ready at the See it st
자주 묻는 질문
무엇이 필요한가요?
Node.js 20 이상과 같은 컴퓨터의 브라우저가 필요합니다.
패키지를 설치하나요?
아니요. 이 스킬은 어떤 패키지도 설치하지 않습니다.
언제 건너뛰는 것이 좋나요?
브라우저 페이지를 원하지 않거나, 정의처럼 단계가 말로만 된 경우에는 건너뛰는 것이 좋습니다.
상세 정보
작성자의 원본 설명
Opens a lesson screen in the browser next to the terminal while a course tutor teaches. It shows the lesson's registered figures, code traces with real values, and clickable predictions. It also builds a figure for the lesson on the fly with the course figure skills and any figure skill the host has installed: a blueprint, a mechanism, an isometric machine, or a 3D model. Clicks return to the tutor as events. Trigger phrases: "open the lesson screen", "show me this visually", "show this in 3D", "draw the architecture", "visualize this lesson", "build a figure for this lesson", "lesson screen".
인기도
- GitHub 스타
- 76k
- 순위
- #2623
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
blueprint-figure
76k강의, README, 매뉴얼을 위해 시스템의 실제 부분들이 어떻게 연결되는지 보여 주는 정적 SVG 도표를 명확하게 그리도록 돕습니다.
build-project
76k한 번에 한 단계씩 AI 실습 프로젝트를 안내하는 튜터입니다. 힌트와 채점을 제공하지만 정답 전체는 주지 않습니다.
check-understanding
76k완료한 단계에 대해 퀴즈를 내어, 다음으로 넘어가기 전에 무엇을 배웠는지 확인하도록 돕습니다.
claude-certification
76kAI Engineering from Scratch 과정의 Claude 자격증 트랙을 위한 단계별 튜터입니다. 강의, 실습, 모의고사를 제공합니다.