Serve AI-Friendly Markdown Docs (llms.txt) from the Docs Site#343
Merged
Jeremy-Walton merged 5 commits intoJul 15, 2026
Merged
Conversation
Member
|
I'm more inclined to go down the context7 path along with utilizing or enhancing https://github.com/RoleModel/rolemodel-skills/tree/main/skills/optics-context Potentially also move that skill into here so it lives alongside Optics code and could grow or expand with other skills specific to Optics. I could see a world were we build out version migration skills, etc. Something similar to how impeccable has a top level skill with sub commands https://impeccable.style/ |
f809bff to
8106366
Compare
Jeremy-Walton
approved these changes
Jul 15, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Task
OP-240
Why?
The documentation site is a Storybook app, so AI coding assistants can't read it. Asking an assistant to look up a component's markup, token values, or customization patterns comes back empty. Serving the same documentation as plain markdown (the llms.txt convention) makes it readable by those tools without changing how the docs are written.
What Changed
Quality Assurance
Have you updated any usage of changed tokens?Did you add a component?Have you added it to the dependency graph?Have you added it to the docs?Did you update a component?Have you updated the dependency graph?Have you updated the docs?Do you need to update the package version?Did you update the example pages in.storybook/assets?Were any changes made to the top level optics.css file?Were those changes reflected in the other top level files?Screenshots
N/A, no UI changes. Sample generated output: https://docs.optics.rolemodel.design/llms.txt (live after the next docs deploy).