Add LLM-friendly developer support - #2764
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 716f7f495b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
A similar PR is proposed in react-map-gl. Would be good to align on the tooling and eventually upstream to the website template visgl/react-map-gl#2593 |
chrisgervang
left a comment
There was a problem hiding this comment.
I've been curious to see different ways of "testing" LLM tools for correctness and efficacy.
How does one run them and share that they passed?
|
Agreed. I compared this with visgl/react-map-gl#2593. The two sites currently need different generation strategies: luma.gl extracts rendered MDX/TypeDoc into per-route Markdown, while the react-map-gl proposal assembles custom Mapbox/MapLibre bundles. I don't think forcing one plugin in this PR would improve either use case. The useful common layer is the output contract, base-path handling, and build validation; once both implementations settle, we should upstream those shared pieces to |
|
|
||
| | Case | Baseline expected | Baseline forbidden | Baseline pass | With skill expected | With skill forbidden | With skill pass | Evidence | | ||
| | --- | ---: | ---: | --- | ---: | ---: | --- | --- | | ||
| | `case-id` | 2/4 | 1 | No | 4/4 | 0 | Yes | Transcript and artifact links | |
There was a problem hiding this comment.
What were the results for this PR?
Goals
Changes
@signalwire/docusaurus-plugin-llms-txt@^1.2.2, configured to generate:/llms.txtwith absolute luma.gl Markdown URLs and descriptions;llms-full.txt.llms-full.txtgeneration.skills/lumaglAgent Skill with focused references for architecture, backend portability, GPU debugging, and repository contribution.yaml@^2.8.1as a direct development dependency for frontmatter validation.Developer impact
Application developers can install the skill with:
Agents can start at
/llms.txt, fetch only task-relevant Markdown pages, inspect installed package versions and declarations, and follow an observable browser/GPU verification loop.No luma.gl runtime APIs change.
Verification
nvm useyarn installquick_validate.py: passedyarn lint fix: cleanyarn test-node: 197 passed, 2 skippedyarn website:build: passed(cd website && yarn build): passed/llms.txtand 412 raw documentation pages validatedyarn build: passed across all workspacesCI=1 yarn test: 197 Node tests passed with 2 skipped; 1,286 browser tests passed with 25 skippedyarn lintandyarn test-node): passedNotes
A native-GPU
yarn testrun on the development machine reports three DGGS/Arrow WebGPU failures (A5 coordinates becomeNaN, plus one storage-backed Arrow layer assertion). The same three tests pass in isolation and in the complete suite under the repository's configured CI SwiftShader mode. The changed files do not touch those GPU implementations or tests.