Repository navigation
feat(skills): add uno-kiota hub - #215
Merged
Merged
Conversation
Adds a hub skill for Uno.Extensions.Http.Kiota with four references (generate, register, calling, content-types) and registers it in the router, uno-build-app, the uno-dev agent, the READMEs, the plugin manifests and the marketplace descriptions. The uno-authentication http.md points to it for Kiota details. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls3q7cwW8sSEg5YgWHF
…d covers design-first contracts Fixes from building the Uno.Samples Http.KiotaExtensionsDemo from the skill alone: - content-types.md: the all-serializers registration also attaches Kiota's middleware, so the 503 retry survives the workaround. - testing.md (new): service tests through the app's registration against WebApplicationFactory, and the icuuc77 failure of the template's test. - generate.md: Kiota as a local tool, code-first vs design-first documents, map schemas and the MessageEscaped rename. - calling.md: reading additionalProperties maps (Untyped* nodes); the error model's Message is the server's text when the schema has a message property. - register.md: the API address per head (WebAssembly origin, Android 10.0.2.2, iOS local networking). - SKILL.md: the full template command, the DataContracts gap, a pointer to the sample. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls3q7cwW8sSEg5YgWHF
kazo0
requested review from
agneszitte,
carldebilly,
ebariche and
jeromelaban
as code owners
October 31, 2026 00:16
3 of 6 tasks
9 of 12 tasks
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.
GitHub Issue (If applicable): none (follows the
uno-authenticationhub, #182)PR Type
What is the current behavior?
No skill covers Uno.Extensions.Http.Kiota, which the recommended template uses for every API call.
uno-authentication/references/http.mdonly touches Kiota where tokens are concerned.What is the new behavior?
Adds
uno-kiota, a hub skill with a shortSKILL.mdand five references, each under the 6,000-character budget:generate.mdkiota generate/kiota updatefromkiota-lock.json, code-first vs design-first documents, what the generator emits (maps, theMessageEscapedrename)register.mdAddKiotaClientinsideUseHttp, the handler chain, the base URL per environment and per head,optionsvs configuration section, default headers, several APIscalling.mdadditionalPropertiesmaps, errors, retriescontent-types.mdAddKiotaClientand a registration that keeps every serializer and Kiota's middlewaretesting.mdWebApplicationFactory, and the template test'sicuuc77failureIt registers the hub everywhere the others are listed: the
uno-platformrouter and its new-app section,uno-build-app(with a-servernote innew-app.md), theuno-devagent in both its Markdown and Codex files, the READMEs,plugin.jsonand the marketplace descriptions.uno-authentication/references/http.mdnow points to it instead of repeating Kiota details.What the rules are grounded in
Checked against Uno.Extensions 8.0.0-dev.150 (Uno.Sdk 7.0.0-dev.115, Microsoft.Kiota.* 1.22.2), Uno.Templates 7.0.0-dev.115/120 output, and clients generated by Kiota 1.16 and 1.37, with a console harness over
AddKiotaClientand a generated client. The main ones:serversURL. The template setsApiClient:Urlonly inappsettings.development.json, so a Release build callshttps://localhost:5002.options. A section bound byAddKiotaClientloses itsUrlin trimmed builds ([Http] AddRefitClient and AddKiotaClient lose the endpoint Url in trimmed builds ("BaseAddress must be set on the HttpClient instance") uno.extensions#3266).text/plainresponses, form and multipart bodies andapplication/problem+jsonerrors throwArgumentOutOfRangeException: expected a application/json content type, which hides the status code.Retry-After;RetryHandlerOption { MaxRetry = 0 }turns it off per request.ApiExceptionwithResponseStatusCode.AddKiotaClientlives inUno.Extensions.Http.Kiota, notUno.Extensions; code from Kiota 1.37 builds against the 1.22.2 runtime the feature brings.How it was tested
.github/scripts/Test-Plugin.ps1passes;claude plugin validate --strictpasses for the plugin and the marketplace.UI/Http.KiotaExtensionsDemo) from the skills alone, from a hand-written OpenAPI contract, and log every place the skill was wrong. That pass is the second commit: the workaround incontent-types.mddropped Kiota's retry handler (now kept), the error model'sMessageclaim was wrong for schemas with amessageproperty, andtesting.md, design-first documents, map reading, the local tool and the per-head base URL were added. The sample's 21 headless tests pass, its desktop head runs in Debug and Release, and its "Change the API" steps (edit the contract,dotnet kiota update, test) were run end to end.Not done:
agentskills validatewas not run (not installed here).register.mdis not yet confirmed on those heads.Uno.WinUI.Lottieand theicuuc77test failure belong inuno-build-app; aFeed.Combine(...).SelectAsyncfeed ignores refresh signals (uno-mvux);commands.mdshould nameIDispatcher.PR Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_013G4Ls3q7cwW8sSEg5YgWHF