Skip to main content

corvus-builder-context-threading

Build a generated Corvus model (response body, array, nested object) from UTF-8 spans inside a hot loop with NO closure and NO managed-string round-trip, using the generated Build<TContext> / CreateBuilder<TContext> context-threading form (static lambdas + a ref-struct context that `allows ref struct`, so it can carry ReadOnlySpan<byte>). The context is a RefTuple<…> (the span-capable ValueTuple companion, .NET 9+) instead of a bespoke context struct. Hand the context-threaded body to the generic boundary overload — a server result factory's Ok<TContext>(Source<TContext>, ws), or a client operation's ...Async<TContext>(Source<TContext>) for a REQUEST body — for a single closure-free materialization (NOT CreateBuilder<TContext>().RootElement + non-generic Ok, which re-materializes). Covers the array Build<TContext> / AddItem<TContext> nesting, the implicit ReadOnlySpan<byte> -> JsonString.Source / enum Source operators, RefTuple, and the ref-safety gotchas. USE FOR: projecting a list/page of bytes-backed value

설치로 이동

소스 정보

저장소
corvus-dotnet/Corvus.JsonSchema
최근 소스 활동
2026년 8월 5일 11:36
감지된 SKILL.md 언어
영어
스타
198
포크
24

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.