Repository navigation
feat: add uno-dev agent and uno-build-app workflow skill - #148
Conversation
|
Converting to draft: do not merge yet. The marketplace installs this plugin from Merging now would also be a partial release. The manifests are still at version This stays in draft until the team decides between two options:
The content is ready for review in the meantime. 🤖 Generated with Claude Code |
b6f44c8 to
6caef8f
Compare
6caef8f to
85b30f0
Compare
85b30f0 to
6344b22
Compare
Adds the entry layer the plugin was missing: a thin uno-dev agent that loads a new uno-build-app skill, which sequences discovery, a blueprint, one complete feature built and exercised before its pattern is repeated, and a completion report that separates what ran, failed, was not run or was waived. The 62 focused skills keep supplying the mechanics. - skills/uno-build-app: SKILL.md (mode routing table, eight phases, rules), eight references and four fill-in templates (blueprint, report, checkpoint, handoff). Mirrored byte-identical into the top-level skills/. - agents/uno-dev.agent.md: one file, name + description frontmatter only, loaded by Claude Code and Copilot CLI. - codex/uno-dev.toml: the same instructions for a hand-installed Codex custom agent, since Codex plugins cannot declare agents (openai/codex#18988). - README: agent selection per client, Codex install, direct skill use, and a note that installs track the default branch until releases are tagged. Grounding: the new-app command was generated with Uno.Templates 6.7.30; the output targets android/ios/browserwasm/desktop, builds for desktop with no warnings, and its unit test passes. The recommended preset adds no test project on its own, hence -tests unit. Uno.Themes 7.1.1 (pinned by Uno.Sdk 6.7.30) has PrimarySeed but not SeedColorMode, so design.md tells the agent to confirm theme attributes against the resolved version. Checked on real clients: Claude Code (--plugin-dir, --agent uno-platform-studio:uno-dev), Copilot CLI (same .agent.md from project folders, --agent uno-dev) and Codex (TOML from .codex/agents) each loaded the skill and routed a plain brief to New app mode without creating files. A typo fix through uno-dev on Claude Code changed one line, with no blueprint, checkpoint or report template. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LhAEa5xSKef1xVcGaN7ssX
With -tests unit, Uno.Templates 6.7.30 adds a plain net10.0 target to the app project so the test project can reference it: five target frameworks, not four. new-app.md listed four, so an agent following it could treat net10.0 as an unexpected target. Found in a clean skill-ab run, then confirmed by generating the command from that run's template store. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LhAEa5xSKef1xVcGaN7ssX
Every uno-dev run of the reading-tracker A/B lost calls to Hot Design's introduction overlay, which the template's UseStudio() opens over a new app on its first launch. The new-app step now sets launchHotDesignOnStart: false right after generating the app, so the first runtime check sees the app. In an existing app the same change alters how the developer's app starts, so existing-app.md treats it like a dependency change: ask first. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01M52Zbwc1bogvr49eRzFzJA
9dedce9 to
83a5a20
Compare
GitHub Issue (If applicable): Closes #168, closes #169; internal spec "Uno agent development experience" (004), Phase 2
PR Type
What is the current behavior?
With #157 the plugin ships six domain skills (
uno-platform,uno-mvux,uno-navigation,uno-toolkit,uno-themes,uno-testing) but no workflow. Nothing sequences discovery, architecture, implementation and verification, so an agent building an app picks snippets and never proves the feature works. An audit of an app built this way found a preference that never persisted, vote buttons with no command, a favourite indicator bound to a stale navigation snapshot, and light-theme text at 1.17:1 contrast.What is the new behavior?
skills/uno-build-app/: the workflow skill.SKILL.mdroutes the request to a mode (New app, Feature, Repair, Discovery, Diagnostic, Scoped visual, Trivial edit), then runs eight phases: inspect, blueprint (new apps only), feature contract, recipe and skill selection, one complete feature, build and exercise, recover, repeat and report. Eight references hold the detail (discovery, new-app defaults, architecture baseline, design and visual acceptance, existing apps, verification, recipes, checkpoints). Four templates inassets/produce the blueprint, completion report, checkpoint and handoff note. The report's closing line is one of three fixed sentences, so it cannot claim "complete" when a required check did not run. Mirrored byte-identical into the top-levelskills/.agents/uno-dev.agent.md: a thin agent (name and description frontmatter only) that loadsuno-build-app, then the domain skill a step needs and only the reference topic it calls for. One file serves Claude Code and Copilot CLI.codex/uno-dev.toml: the same instructions as a Codex custom agent. Codex plugins cannot declare agents yet (Allow plugins to bundle and register custom agents openai/codex#18988), so the README documents a manual copy into.codex/agents/or~/.codex/agents/.mainuntil the repo tags releases.Rebased onto #157
uno-navigationwithreferences/setup.mdandreferences/routes.md); no per-topic skill names remain. The plugin link check passes.when_to_useis folded intodescription, matching feat!: consolidate 62 per-topic skills into 6 domain hubs with references #157's rule that every host reads only the description.uno-build-approw.MainWindow.UseStudio(launchHotDesignOnStart: false), so Hot Design's introduction overlay no longer covers the first runtime check. In existing apps the workflow asks first, like a dependency change.A/B: hubs alone vs hubs driven by
uno-devreading-trackerscenario, 3 runs each, Opus, App MCP on, clean isolated sessions (skill-ab harness). A =skills/consolidate-hubswith no agent; B = this branch with--agent uno-platform-studio:uno-dev.uno-devImplementation complete; verification incomplete.with the unrun checks listedThree runs per side shows the direction, not a precise size. The harness verifies build and tests itself; runtime findings are the agent's own reports, backed by its App MCP screenshots.
PR Checklist
Additional Information
Grounding
dotnet new unoapp -preset recommended -presentation mvux -theme simple -tests unitwas generated with Uno.Templates 6.7.30. The output targets android, ios, browserwasm and desktop, builds fornet10.0-desktopwith no warnings, and its unit test passes. The recommended preset adds no test project by itself, hence-tests unit.PrimarySeedbut notSeedColorMode.design.mdtherefore tells the agent to confirm theme attributes against the resolved version rather than copy newer examples.SKILL.mdis 1,355 words.Checked on real clients before the rebase (Claude Code 2.1.282, Copilot CLI 1.0.35, Codex 0.156.1)
--plugin-dir+--agent uno-platform-studio:uno-dev.agent.mdfrom project.github/agents,--agent uno-dev.codex/agents, agent spawned/uno-platform-studio:uno-build-appNot yet verified: installing from the marketplace on each client, and Copilot CLI loading the agent from an installed plugin rather than project folders. Both are worth a quick check by a reviewer with a clean client profile.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LhAEa5xSKef1xVcGaN7ssX