📚
WritingPython

Programming Teacher

by chentao326

Programming Teacher is a Writing skill for Claude Code, published by chentao326 in teacher-skill.

40 stars10 forkson chentao326/teacher-skillAdded 2026/08/12Repository updated 2026/06/04
Install in seconds
Install Programming Teacher
Copy Programming Teacher into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/chentao326/teacher-skill/tree/main/subjects ~/.claude/skills/subjects

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/chentao326/teacher-skill.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
subjects/programming-teacher-SKILL.md in chentao326/teacher-skill
Installs to
~/.claude/skills/subjects
Collection
One of 12 skills cataloged from this repository
Category
Writing1012 skills

What Programming Teacher does

Programming Teacher gives strategies for teaching coding concepts, debugging, and project-based practice. Use it to explain syntax, build programming thinking, and guide learners from basics to real projects.

Programming Teacher is cataloged under Writing on DirSkills.

Documentation

README

编程教学策略

学科特点分析

  • 学科类型:实践为主 + 理论支撑
  • 核心难点:编程思维建立、调试能力、抽象能力
  • 前置知识:基础逻辑思维(不需要数学天才)
  • 学习路径:基础语法 → 编程思维 → 数据结构 → 项目实战

概念讲解策略

代码教学三步法

  1. 先讲意图:用自然语言描述"我们想让计算机做什么"
  2. 再写代码:将自然语言翻译成代码(逐行解释)
  3. 最后运行:展示运行结果,验证理解

核心概念讲解

变量与数据类型

  • "变量就像一个盒子,你给它贴个名字,里面放东西"
  • "数据类型就是盒子的形状,不同形状放不同的东西"

循环

  • "循环就像你每天早上起床后的一系列固定动作,重复做直到出门"
  • 先用伪代码/自然语言描述循环逻辑,再写代码

函数

  • "函数就像一个自动售货机:你投入参数(钱),它吐出结果(饮料)"
  • "写函数就像写菜谱:定义好步骤,以后照着做就行"

面向对象

  • "类就像饼干模具,对象就是用模具压出来的饼干"
  • "每个饼干(对象)都有相同的形状(属性),但可以有不同的装饰(状态)"

调试教学

  • 教用户"读错误信息":错误信息其实是在告诉你哪里出了什么问题
  • 二分法调试:注释掉一半代码,缩小问题范围
  • print 大法:在关键位置打印变量值,追踪程序执行流程

常见误解及纠正

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Programming Teacher

  • What else does chentao326 publish alongside Programming Teacher?

    Programming Teacher is one of 12 skills that DirSkills catalogs from chentao326/teacher-skill, the repository it ships in. Its siblings there include AI Teacher, AI Teaching Strategy and Biology Teacher. Each one is a separate skill with its own page in this directory, installs the same way Programming Teacher does, and is maintained by chentao326 in that same repository. The rest of the collection is listed on the chentao326/teacher-skill page.

  • How does Programming Teacher compare to other Writing skills?

    Programming Teacher ranks #904 by stars among the 1012 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Programming Teacher against them. Open each page to compare what they document and how they install.

More from chentao326/teacher-skill

Programming Teacher is one of 12 skills cataloged on DirSkills from chentao326/teacher-skill.

See all 12 skills
🎓
2026/07/16

AI Teacher

Acts as an AI teacher that, given study materials, diagnoses the learner's level and teaches step-by-step in easy-to-understand language, optionally mimicking famous teachers' styles. Use when requesting systematic learning or teaching, not for simple questions.
AI Engineering
4010
🧠
3w ago

AI Teaching Strategy

AI Teaching Strategy covers how to teach AI concepts, prompt engineering, agents, and tool use across beginner to advanced learners. It also includes common misconceptions, ethics, and how to keep lessons current as the field changes.
AI Engineering
4010
🧬
3w ago

Biology Teacher

Biology Teacher provides strategies for teaching biology concepts, memory methods, experiments, and common misconceptions. Use it when explaining life systems, classification and evolution, physiology, or ecology to learners.
Writing
4010
⚗️
3w ago

Chemistry Teacher

Chemistry Teacher explains chemistry concepts, reaction equations, lab operations, and basic calculations. It is used to teach or review topics like substance properties, reaction phenomena, equation balancing, and experiment design.
Writing
4010
📖
3w ago

Chinese Teacher

Chinese Teacher provides strategies for reading comprehension, classical Chinese translation, writing instruction, literary appreciation, and language use. Use it when planning Chinese lessons or explaining how to teach specific language tasks.
Writing
4010
📘
3w ago

English Teacher

English Teacher explains strategies for teaching English grammar, vocabulary, listening, speaking, reading, and writing. Use it for level-based instruction, practice design, and study guidance.
Writing
4010