rtk-ai/rtk

Add coverage for ssh, npm test, git checkout/merge/rebase, vercel, nslookup, gh workflow

Open

#2,073 创建于 2026年5月24日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Rust (2,914 fork)batch import
area:clienhancementhelp wantedpriority:medium

仓库指标

Star
 (48,085 star)
PR 合并指标
 (平均合并 11天 1小时) (30 天内合并 45 个 PR)

描述

Context

Ran rtk discover -a against ~24 Claude Code sessions (1522 Bash commands) and found a set of frequently-used commands that don't yet have RTK equivalents. Sharing in case they're useful additions.

Unhandled commands (by frequency)

Command Count in sample Example
ssh 41 ssh -i ~/.ssh/id_ed25519 -o ConnectTimeout=... user@host '...'
git checkout 22 git checkout main
npm test 14 npm test --silent
python (direct invocation) 12 python -m pyright app/routers/...
git merge 7 git merge --no-ff <branch>
git ls-files 5 git ls-files --error-unmatch <path>
npm install 4 npm install --silent
git rebase 4 git rebase origin/main
nslookup 3 nslookup -type=TXT <host>
vercel ls 3 vercel ls
gh workflow 3 gh workflow list
terraform version 2

Why these matter

In our context (Brazilian fiscal-validation platform, deploy to Magalu Cloud via SSH + Vercel for frontend):

  • ssh is the highest-value miss — long deploy/log output from remote VMs is exactly the kind of payload RTK already handles well for curl.
  • npm test / npm install would slot naturally alongside the existing rtk npm run coverage.
  • git checkout/merge/rebase/ls-files would complete the rtk git family (already covers push, status, commit, stash pop).
  • vercel ls and gh workflow produce verbose tabular output similar to already-covered gh pr and gh run list.

Environment

  • rtk 0.39.0 on Windows 11 (Git Bash)
  • Hook configured globally via PreToolUse → Bash → rtk hook claude

Happy to provide more sample outputs or run additional rtk discover slices if useful.

贡献者指南