microsoft / microsoft/rust-guidelines
guidelines.txt exceeds maximum allowed tokens with Claude Code
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 200
- Forks
- 25
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
Bonjour
I use Win11, Powershell and VSCode
I use Claude Code 2.0.54 with a Pro Plan
I created a skill for Claude Code so that it reads the guideline before modifying/writting any Rust code
This morning I see :
Read(~\.claude\skills\ms-rust\rust-guidelines.txt)
⎿ Error: File content (25630 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to
search for specific content.
It could be usefull to fit the guidelines withing 25_000 tokens or to provide a way to bypass this issue
Regards
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.
Research direction
Start by inspecting guidelines.txt and measuring its current token count against the 25,000-token Claude Code limit. Determine whether the intended outcome is to shorten the guidelines or document a way to read them in parts; the issue is done only when one of those outcomes is clearly defined and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100