Repository navigation
v2.6.0 — Uno Platform 7 with latest Uno Studio skills, .NET 11 with latest dotnet/skills, backward-compatible renames
This release makes dna check install the Uno Platform Studio skills that are written for your Uno.Sdk version: a repository on Uno Platform 7 gets the current Studio skills, and one on an earlier version keeps the skills written for it.
The same goes for .NET 10 and .NET 11: the new .NET 11 specific skills are installed when a repo targets .NET 11.
This release also adds a directive and a skill that keep stored data and other clients working when agents rename code, and it selects a directive together with the skill it uses.
Package: Agentic.Check 2.6.0 (InnoWvate.Agentic 2.4.0 and InnoWvate.Dna 1.0.0 are unchanged).
Get started
See Get started
What's new
Uno Platform Studio skills that match your Uno.Sdk. Uno Platform Studio 7.0 replaced its per-topic skills by hubs written for Uno.Sdk 7, and since then installing the Studio skills on the stable channel failed. A check now reads the Uno.Sdk version of your Uno projects, from the project's Sdk or the nearest global.json, and offers the Studio skills written for it. From Uno.Sdk 7.0 on those are the current skills, now with uno-authentication and uno-kiota. On an earlier Uno.Sdk they are the per-topic skills from the last Studio release that has them, on the stable and the preview channel alike. When you move a repository to Uno.Sdk 7, the next dna check offers to replace the earlier skills with the current ones. When the check cannot find the version, it says so and offers the current skills.
New directive dotnet-backward-compatible-renames and new skill dotnet-refactoring. The directive has agents keep every name that leaves the repository working when they rename or restructure: serialized names, database names, configuration keys, routes and other public contracts. To allow a breaking rename for one change, name the directive in your request: "skip backward-compatible renames for this change". While nothing outside the repository depends on the project yet, deselect the directive in dna check. The skill covers what a green build does not check when C# code is refactored: names read at runtime, edits to text that only looks like a reference, behavior drift while deduplicating, generated and partial code, and targets the default build skips. Both are offered for .NET repositories.
A directive is selected together with the skill it uses. Selecting the directive selects the skill, and deselecting the skill deselects the directive. This holds for dotnet-backward-compatible-renames with dotnet-refactoring, for dotnet-build-errors-and-warnings with dotnet-modern-csharp-editorconfig, and for uno-build-and-run with uno-agentic-support. With folder specialization the two are installed in the same folder.
The Uno Platform directive builds the other targets. After a change to code that only some targets compile, such as a *.Android.cs file or code inside #if with a platform symbol, the agent also builds each affected target that the machine can build, and reports the ones it could not build.
Skills for .NET 11 from dotnet/skills. migrate-dotnet10-to-dotnet11 is offered when a project still targets net10.0. With --preview, process-api-net11 and system-text-json-net11 are offered when a project targets net11.0 or later, dotnet-breaking-changes when a project is a published library, and test-value-evidence with the other test skills.
Improvements and fixes
mtmattei/UnoPlatformSkillsis nownoknowscode/UnoPlatformSkills. A skill installed under the old name counts as installed from the new one, so nothing is installed again. Theuno-mvvmanduno-xamlskills name the new repository as a source.- A replacement that the check leaves unselected stays unselected. When another repository offers a skill under an installed name, the install and the removal are unselected, for you to decide. In 2.5.0 both could be applied anyway when a selected skill depended on the replacement, also in a
--yesrun. - Turning folder specialization off with
Tabbrings a directive back together with its skill. - The action list shows directives from specific to general: Uno Platform, .NET, foundation.
Upgrading from 2.5.0
Run dna check as usual; it runs the newest Agentic.Check by itself. The first run after upgrading offers:
- .NET repositories: the
dotnet-backward-compatible-renamesdirective with thedotnet-refactoringskill, andmigrate-dotnet10-to-dotnet11when a project targetsnet10.0. - Uno Platform repositories: an update of the
uno-build-and-rundirective, and of theuno-mvvmanduno-xamlskills where they are installed. On Uno.Sdk 7.0 or later, the per-topic Studio skills make way for the current ones. On an earlier Uno.Sdk with--preview, the Studio skills that 2.5.0 installed make way for the per-topic ones.
Review the list before you confirm. A --yes run applies the selected actions and leaves the unselected rows alone. InnoWvate.Agentic stays at 2.4.0.
Known issue
On a machine that has only .NET 11, dna and dnx agentic.check do not start, because they target .NET 10. Install the .NET 10 runtime next to .NET 11. A fix is planned for the next release.
Requirements
.NET 10 SDK and the GitHub CLI (gh). A GitHub login is optional.
Full Changelog: v2.5.0...v2.6.0
Commits in this release
- 43a1936 Pick Studio skills by Uno.Sdk, ask for the project phase, and take in the reviewed upstream skills; release 2.6.0
- 3d61c57 Replace the project-phase choice with one backward-compatible-renames directive, and list directives from Uno to foundation
- 34264b5 Let the package scenarios accept the framework gate and a renamed source repository
- 854ce4a Select a directive together with the skill it names, and let a request skip backward-compatible renames by name
- 389efc4 Never apply an unselected skill replacement, bring a directive back with its skill, and bump the dotnet plugin
- 8aa2a6a Use the renamed UnoPlatformSkills repository name in the skills and docs that still cited the old one