Improve Cline-rules init
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 64/100
Research direction
Start at the rtk init --agent cline entry point and trace how it handles the .clinerules path. Verify the existing file and missing-path behavior, then cover the directory case by checking that rules are placed in .clinerules/rtk.md and the command no longer fails.
Written by the indexing model from the issue text.
Description
Support for Cline is done through .clinerules -- run rtk init --agent cline at the root of your project and RTK rights a new .clinerules file.
Cline rules can be placed in a single (text) file .clinerules or across multiple files inside a directory .clinerules/.
Issue
When configuring RTK (rtk init --agent cline) in the repo, it fails if .clinerules/ is a directory. RTK works fine if there is no .clinerules or .clinerules is a file (appending new content to the existing).
Proposal
When configuring RTK, check if .clinerules is a directory, if so create place rules in .clinerules/rtk.md, otherwise keep current behaviour.
Contributing
I would be glad to provide a PR on this, as well as an improved version of the .clinerules content. For that, I'd appreciate pointers where to dig into.
- Dominant language
- Rust
- Stars
- 81.1k
- Forks
- 5.1k
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 42
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rtk-ai/rtk
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
bug core output-formatting
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
uv_cmd discards print_with_hint's return value, so the tee hint is not counted and savings read 100% Openanalytics bug python
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
area:cli bug good first issue platform:windows priority:medium resolved-pending-close
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
area:cli bug good first issue priority:high
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100