# teachable-code

The teachable-code Claude Code skill turns a codebase into an interactive page that traces how data moves through it. It starts when someone wants to understand a GitHub repo, reproduce a paper’s results, or change part of a system.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 72 repo stars
- Author: ywEdAi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ywEdAi/teachable-code/tree/HEAD/SKILL.md
- Updated: 2026-11-04
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/teachable-code

## What it does

teachable-code inspects a repository and maps its data flow, from inputs through transformations to outputs. Apps get a two-dimensional view; tensors and training loops get a three-dimensional one. The skill asks about the learner’s goal and background before building an interactive HTML page with a system map and a step-by-step lesson.

For research projects, it can connect claims in a paper to code and show interventions using real data. Python scripts scan the repo and check the page. For instance, `build.py` fails when a code reference points to a missing file or line range. The scan and checks use `git` and `python3`; publishing uses the Artifact tool.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ywEdAi/teachable-code --skill teachable-code -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/teachable-code/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/teachable-code/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ywEdAi/teachable-code --skill teachable-code -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/teachable-code/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ywEdAi/teachable-code --skill teachable-code -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/teachable-code/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ywEdAi/teachable-code teachable-code
```

2. **Manually: put the files in place**
- File: `.github/skills/teachable-code/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ywEdAi/teachable-code --skill teachable-code -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ywEdAi/teachable-code
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/teachable-code/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ywEdAi/teachable-code/tree/HEAD/SKILL.md

## When to use it
- trace data through a repository’s components
- match a research paper’s method to its implementation
- inspect how a change affects real data

## Example prompts
- Map this GitHub repository and show how data moves through the system.
- Help me reproduce the results described in this paper from its code.
- Show where to change the data flow and how that changes the output.

## Similar
- [teachable-figures](https://affpapa.org/en/nevibecode/skills/teachable-figures.md) — skill · ★ 333 repo stars
- [firebase-app-hosting-basics](https://affpapa.org/en/nevibecode/skills/firebase-app-hosting-basics.md) — skill · 180900 installs
- [design-doc-mermaid](https://affpapa.org/en/nevibecode/skills/design-doc-mermaid.md) — skill · 101800 installs
- [Nia](https://affpapa.org/en/nevibecode/skills/nia.md) — skill · 56300 installs
- [golang-stretchr-testify](https://affpapa.org/en/nevibecode/skills/golang-stretchr-testify.md) — skill · 41600 installs
- [golang-continuous-integration](https://affpapa.org/en/nevibecode/skills/golang-continuous-integration.md) — skill · 41500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
