Docs/Skills updates from feedback & LLM benchmark run#5509
Open
bradleyshep wants to merge 9 commits into
Open
Conversation
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.
Description of Changes
Fixes stale and missing API guidance in the server skills and core-concepts docs, found by triaging the periodic LLM benchmark (C# and TypeScript both scored 0 passes while all golden answers publish) and cross-referenced against external developer feedback (SIMPLI FEEDBACK.md).
Key corrections:
typescript-server/SKILL.mdandtables.mdclaimedctx.dbaccessors are the camelCase form of the table name. Since Case conversion #4263 (2026-02-20) accessors are the literal key passed toschema({...}), verbatim. This was the single biggest TS benchmark failure and matches SIMPLI's casing complaint.[SpacetimeDB.Index.BTree](avoidsSystem.Indexambiguity, CS0104); tagged-enum declaration + variant construction (avoids CS8910); scheduled table and reducer kept in one class sonameof(...)resolves (CS0103).ReducerContextdoes not exist in TypeScript; models generated it 55x in the benchmark. Skill now names the real type:ReducerCtx<InferSchema<typeof spacetimedb>>.Entity { ..existing, name }does not parse;..existingmust come last.Net: the two server skills are ~74 lines smaller than before.
API and ABI breaking changes
None. Docs and skills only.
Expected complexity level and risk
crates/cli/build.rs) and sync todocs/static/.well-known/, so the only interaction is that these files are embedded at build time.Testing
ReducerCtxhelpers) againstcrates/bindings-typescriptat 2.7. The camelCase accessor spelling reproduces the exact CI error.crates/bindings-csharpsource or to CI-validated goldens.cd docs && pnpm generate-llmsbuilds clean (regeneratesllms.md, fails on broken links).