You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@necolas Would you consider having this file also be sent alongside the rsd npm node module? I added the link to llms.txt you show in your docs to my claude code skills, and it works great, but it occurred to me this approach has 2 disadvantages:
Possible version missmatch, the llms doc in https://facebook.github.io/react-strict-dom/llms.txt I assume will point to the latest version of rsd, but the one I have locally installed, and that claude should code for, may be older. Having it be tied to my installed node package would ensure they always match.
It would be a bit faster, being a local file and all.
The implementation user side would be simple, I could just tell my claude code skill to learn how to use rsd by looking at node_modules/react-strict-dom/blah/blah/llms.txt.
Yes for sure, I think we should add a skill to the npm package. I've been advocating for React to ship skills in the npm package too - help with migrations and use modern patterns instead of whatever is the default tendency of LLMs
Thats great! I'm absolutely in love with rsd btw, moving our stack to it atm, thanks for finally solving rn + web 👏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an initial LLM context to help bootstrap LLM-based development. We've had success with this approach internally