Skip to main content
ClaudeWave
Skill1.9k repo starsupdated today

code-walk-thru

The code-walk-thru skill guides users through code files in their preferred editor by opening specific files and line numbers one at a time. Use this when explaining how code works, demonstrating changes you've made, or reviewing code sections with a user who wants to follow along in their own editor. The skill supports VSCode, PyCharm, IntelliJ, Zed, Vim, and Neovim with appropriate CLI commands for each.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/pchalasani/claude-code-tools /tmp/code-walk-thru && cp -r /tmp/code-walk-thru/plugins/workflow/skills/code-walk-thru ~/.claude/skills/code-walk-thru
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# code-walk-thru

## Instructions

Depending on which EDITOR the user says they are using, you will use a different
"show-file" cli command that shows (in the EDITOR) a specific file, optionally at 
specific line-number, as in examples below. If no editor specified, you must
ask the user which editor they are using.

IMPORTANT: you must walk thru the files ONE BY ONE, and you MUST wait for the user to say something before moving on to the next file, or to same file different line.

- VSCode:

```
code --goto <file_path>:<line_number>
```

- PyCharm:

```
pycharm --line <line_number> <file_path>
```

- IntelliJ:

```
intellij --line <line_number> <file_path>
```

- Zed:

```
zed path/to/file.md:43
```

- Vim/Neovim:

```
vim +42 blah.py
nvim +42 blah.py
```

If any of these fail tell the user to install the corresponding CLI tool for their editor.