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 に表示されている付属ファイルをお読みください。