rtk-ai / rtk-ai/rtk

[Feature]: diffsitter instead of diff

Open
#441 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:cli effort-large enhancement help wanted priority:low
Dominant language
Rust
Stars
81k
Forks
5.1k
Avg merge
4d 21h
Merged PRs (30d)
35

Description

Reduces semantically meaningless information that only consumes tokens using diffsitter.

So instead of using diff, we can return diffsitter's reduced output
https://github.com/afnanenayet/diffsitter

Only for supported languages:
Bash
C#
C++
CSS
Go
Java
OCaml
PHP
Python
Ruby
Rust
Typescript/TSX
HCL

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing diff command implementation and checking how external tools are integrated. Review diffsitter's supported-language behavior, then verify that the command returns its reduced output for Bash, C#, C++, CSS, Go, Java, OCaml, PHP, Python, Ruby, Rust, TypeScript/TSX, and HCL.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.