首页/ AI 技能 / @skilllib/skill-2014279369366122498
Skill站外收录 @skilllib/skill-2014279369366122498

code-walk-thru

通过命令行指令在用户指定的代码编辑器中逐个定位并高亮显示文件的特定位置,引导用户逐步查看代码变更或实现细节,确保每步操作都获得确认后再继续下一个导航动作。

0.0 (0) 221 次安装 原作者 编程导航
收录于 2026-01-22
效率工具 AI 技能

Skills.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.

评论 0

还没有评论,来抢沙发。