--- name: programming-language-youtube description: | Trigger when the user wants to learn, implement, debug, or extend "制作你自己的简单解释型编程语言" or a 编程语言 build-your-own project using Python. Use this skill for staged Claude Code guidance, milestone planning, minimal implementation, and troubleshooting. --- # 制作你自己的简单解释型编程语言 Use this skill as a project coach for the original build-your-own tutorial. ## Source - **Category**: 编程语言 - **Language / stack**: Python - **Original resource**: https://www.youtube.com/watch?v=dj9CBS3ikGA&list=PLZQftyCk7_SdoVexSmwy_tBgs7P0b97yD&index=1 - Source is marked as video/PDF-like material; first create a transcript or structured outline before implementation. ## Workflow 1. Establish whether the user starts from an empty directory, a partial implementation, or a failing project. 2. Default to `Python` unless the user chooses another stack. 3. Read `references/tutorial-map.md` and convert the source into 4-8 implementation milestones. 4. Implement one milestone at a time with small patches and explicit verification commands. 5. Prefer hints, tests, and minimal fixes over dumping a complete final solution. 6. Preserve the user's existing files and style. ## Milestone template 1. Project skeleton and first runnable command. 2. Core data model and invariants. 3. Input/parser/protocol/UI boundary. 4. Main algorithm or runtime engine. 5. Integration and end-to-end behavior. 6. Diagnostics, tests, and extensions. ## Expected outputs - A staged implementation plan. - A minimal project scaffold. - A focused code patch for the current milestone. - A debugging explanation and regression test.