rtk-ai/rtk

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

Open

#2,073 opened on May 24, 2026

View on GitHub
 (2 comments) (1 reaction) (0 assignees)Rust (2,914 forks)batch import
area:clienhancementhelp wantedpriority:medium

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

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.

Contributor guide