跳转到内容

What RTK Optimizes

此内容尚不支持你的语言。

Once RTK is installed with a hook, these commands are automatically intercepted and filtered. You run them normally — the hook rewrites them transparently before execution.

CommandWhat changes
git statusCompact stat format, grouped by state
git logHash + author + subject only
git diffContext reduced, headers stripped
git showSame as diff
git stash listCompact one-line per entry
CommandWhat changes
gh pr viewRemoves ASCII art and verbose metadata
gh pr checksStatus + name only, failures highlighted
gh run listCompact workflow run summary
gh issue viewBody only, no decoration
CommandWhat changes
gt logStack summary only
gt statusCurrent branch context
CommandWhat changes
cargo testFailures only, passed tests suppressed
cargo nextestSame as test
cargo buildErrors and warnings only
cargo checkErrors and warnings only
cargo clippyLint warnings grouped by file
CommandWhat changes
jestFailures only
vitestFailures only
tscType errors grouped by file
eslintViolations grouped by rule
pnpm listCompact dependency tree
pnpm outdatedPackage + current + latest only
next buildRoute summary + errors only
prisma migrateMigration status only
playwright testFailures + trace links only
CommandWhat changes
pytestFailures only
ruff checkViolations grouped by file
mypyType errors grouped by file
pip installInstalled packages only, progress stripped
CommandWhat changes
go testFailures only
golangci-lint runViolations grouped by file
go buildErrors only
CommandWhat changes
rspecFailures only
rubocopOffenses grouped by file
rakeTask output, build errors highlighted
CommandWhat changes
dotnet buildErrors and warnings only
dotnet testFailures only
dotnet formatChanged files only
CommandWhat changes
docker psEssential columns (name, image, status, port)
docker imagesName + tag + size only
docker logsDeduplicated, last N lines
docker compose upService status, errors highlighted
kubectl get podsName + status + restarts only
kubectl logsDeduplicated entries
CommandWhat changes
lsTree format with file counts
findTree format
grepTruncated lines, grouped by file
ast-grepGrouped by file, capped overflow; --json passes through
diffContext reduced
wcCompact counts
cat / head / tail <file>Smart file reading via rtk read
rtk smart <file>2-line heuristic code summary (signatures only)
CommandWhat changes
awsJSON condensed, relevant fields only
psqlQuery results without decoration
curlResponse body only, headers stripped

These flags apply to all RTK commands and must come before the subcommand:

FlagDescription
-v / --verboseShow filtering details on stderr (-v, -vv, -vvv for increasing detail)
Terminal window
# Debug: see what RTK is doing
rtk -vvv git status

If a command isn’t in the list above, RTK runs it through passthrough — the output reaches the LLM unchanged. You can explicitly track unsupported commands:

Terminal window
rtk bypass make install # runs make install, tracks usage, no filtering

To check which commands were missed opportunities: rtk discover.