Skip to content

feat: add uno-dev agent and uno-build-app workflow skill - #148

Merged
kazo0 merged 6 commits into
mainfrom
dev/steve/uno-build-app
Sep 28, 2026
Merged

kazo0 merged 6 commits into
mainfrom
dev/steve/uno-build-app

Conversation

@kazo0

@kazo0 kazo0 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): Closes #168, closes #169; internal spec "Uno agent development experience" (004), Phase 2

Stacked on #157 (the domain-hub consolidation). This PR targets skills/consolidate-hubs, so the diff shows only the agent and workflow. Merge #157 first, then retarget this PR to main.

PR Type

  • Feature
  • Documentation content changes

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.md routes 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 in assets/ 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-level skills/.
  • agents/uno-dev.agent.md: a thin agent (name and description frontmatter only) that loads uno-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/.
  • README: agent selection per client, the Codex install, direct skill use, and a note that installs track main until the repo tags releases.

Rebased onto #157

A/B: hubs alone vs hubs driven by uno-dev

reading-tracker scenario, 3 runs each, Opus, App MCP on, clean isolated sessions (skill-ab harness). A = skills/consolidate-hubs with no agent; B = this branch with --agent uno-platform-studio:uno-dev.

A: hubs B: uno-dev
App builds (harness) 3/3 3/3
Tests written and passing (harness) none written 3/3 (31, 32, 24 tests)
Runtime responses from the App MCP 5 to 6 per run 14 to 26 per run
Defects found by exercising the app, then fixed none reported every run (goal not persisted; Escape deleted a book; Remove did nothing; Try again did nothing)
Closing line none Implementation complete; verification incomplete. with the unrun checks listed
Median cost / time $2.60 / 5.8 min $7.30 / 15.6 min

Three 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

  • Documentation has been added/updated
  • Associated with an issue (GitHub or internal)

Additional Information

Grounding

  • The new-app command dotnet new unoapp -preset recommended -presentation mvux -theme simple -tests unit was generated with Uno.Templates 6.7.30. The output targets android, ios, browserwasm and desktop, builds for net10.0-desktop with no warnings, and its unit test passes. The recommended preset adds no test project by itself, hence -tests unit.
  • Uno.Themes 7.1.1, which Uno.Sdk 6.7.30 pins, contains PrimarySeed but not SeedColorMode. design.md therefore tells the agent to confirm theme attributes against the resolved version rather than copy newer examples.
  • Scanned for host-only operations, model names and private paths: none. All 34 relative links resolve. SKILL.md is 1,355 words.

Checked on real clients before the rebase (Claude Code 2.1.282, Copilot CLI 1.0.35, Codex 0.156.1)

Check Claude Code Copilot CLI Codex
Agent loads and runs --plugin-dir + --agent uno-platform-studio:uno-dev same .agent.md from project .github/agents, --agent uno-dev TOML from project .codex/agents, agent spawned
Plain brief routes to New app mode, no files created yes yes yes
Direct skill invocation, no agent /uno-platform-studio:uno-build-app not tried not tried
Typo fix: one-line diff, no blueprint, checkpoint or report template yes not tried not tried

Not 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

@kazo0
kazo0 marked this pull request as draft September 24, 2026 21:12
@kazo0

kazo0 commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Converting to draft: do not merge yet.

The marketplace installs this plugin from main, and the repo has no release tags, so merging this PR publishes the uno-dev agent and the uno-build-app skill to every new install immediately. The internal spec treats this work as a preview increment of a larger first release that also includes the review agent, the setup skill and tested recipes. It does not yet define how a preview is distributed separately from a release.

Merging now would also be a partial release. The manifests are still at version 1.0.0, and Claude Code only updates an installed plugin when the version changes. New installs would get the agent, while existing ones would not.

This stays in draft until the team decides between two options:

  • Hold it until the full package is ready.
  • Ship a preview through a separate channel, or on main with a version bump and a preview label.

The content is ready for review in the meantime.

🤖 Generated with Claude Code

@kazo0
kazo0 force-pushed the dev/steve/uno-build-app branch from b6f44c8 to 6caef8f Compare September 27, 2026 15:33
@kazo0
kazo0 changed the base branch from main to skills/consolidate-hubs September 27, 2026 15:33
@kazo0
kazo0 force-pushed the dev/steve/uno-build-app branch from 6caef8f to 85b30f0 Compare September 27, 2026 18:30
@kazo0
kazo0 marked this pull request as ready for review September 27, 2026 22:29
@kazo0
kazo0 force-pushed the dev/steve/uno-build-app branch from 85b30f0 to 6344b22 Compare September 27, 2026 22:35
@kazo0
kazo0 added this pull request to stack #158 September 28, 2026 17:23
Base automatically changed from skills/consolidate-hubs to main September 28, 2026 19:46
kazo0 and others added 5 commits September 28, 2026 15:50
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
@kazo0
kazo0 force-pushed the dev/steve/uno-build-app branch from 9dedce9 to 83a5a20 Compare September 28, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant