mcpField
C
code-walk-thru

code-walk-thru

github.com/pchalasaniDevelopment2.0k46 installsUpdated today
Repository

About code-walk-thru

code-walk-thru is a skill for guiding users through source files one at a time in their chosen editor. It uses the editor's CLI to open a file or line and pauses for the user before proceeding.

Key features

  1. 01Editor-specific file navigation commands
  2. 02Open files at selected lines
  3. 03One-file-at-a-time walkthrough
  4. 04Wait for user confirmation between steps

Use cases

  1. 01Reviewing a codebase file by file
  2. 02Inspecting a specific source line in an editor

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pchalasani/claude-code-tools --skill code-walk-thru

After installing, type/code-walk-thruin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported