feat: make suggest_fix token suggestions library-agnostic#159
Conversation
- Replace hardcoded --sl-* Shoelace tokens with prefix-aware generation - Add optional tokenPrefix parameter to SuggestFixInput and MCP tool schema - When tokenPrefix provided (e.g. '--hx-'), generates library-specific tokens - Without prefix, uses generic --your-* placeholders instead of --sl-* tokens - Applies to token-fallback and theme-compat fix types - 5 new tests covering prefix routing, generic fallback, and property-appropriate names Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
--sl-*Shoelace tokens fromsuggest_fix— violates CLAUDE.md's "no framework assumptions" mandatetokenPrefixparameter lets agents pass the library's token prefix (fromdiagnose_styling) so fix suggestions use the correct prefix (e.g.--hx-color-neutral-0,--fast-spacing-medium)--your-*placeholders instead of Shoelace-specific tokenstoken-fallbackandtheme-compatfix types including contrast-pair suggestionsTest plan
🤖 Generated with Claude Code