learn-by-typing: Using Skills to Constrain Agents for "Type-It-Yourself" Programming Lessons

learn-by-typing is an education-category skill (v1.0.1, @user_2aa4a621/learn-by-typing) in the SkillHub community that requires no API Key. It codifies the practice of "typing code by hand, the student restating their understanding, and confirming before proceeding" into Agent behavior: in Mode A, the AI delivers code in chunks; in Mode B, the student writes the code and receives a review. Code chunk size adapts dynamically to learning performance, ranging from 5 to 20 lines. Spaced-repetition review data is stored at ~/.learn-by-typing/review-progress.json with intervals of 1, 3, and 7 days. Install it into the skills directory of Cursor or similar editors via `skillhub install`, and configure note and progress paths within a project using `.learn-config-pro.md`. It is well suited for self-study and mentoring scenarios that benefit from structured teaching discipline.

Read More