Skip to content
Discussion options

You must be logged in to vote

Short answer: The best approach is to call rtk directly inside your justfile recipe rather than wrapping the outer just command.

  1. Why just rsc loses rtk benefits
    rtk treats just as a generic command—it only applies a basic text truncation filter (max_lines = 50) rather than running native, smart summarizers for cargo test or clippy. As a result, important test failure details get cut off.

  2. The Fix: Put rtk inside the justfile
    Update your justfile so each individual command runs through its own native rtk filter:

Code snippet

rsc:
  rtk cargo clippy -- -D warnings
  rtk cargo fmt --check
  rtk cargo test

Now AGENTS.md still instructs the agent to run just rsc, but you get the full rtk…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@caibirdme
Comment options

Answer selected by caibirdme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants