Skip to content

Refresh README onboarding and doctor fix coverage#315

Open
jfversluis wants to merge 2 commits into
mainfrom
jfversluis/readme-strategy
Open

Refresh README onboarding and doctor fix coverage#315
jfversluis wants to merge 2 commits into
mainfrom
jfversluis/readme-strategy

Conversation

@jfversluis
Copy link
Copy Markdown
Member

@jfversluis jfversluis commented Jun 8, 2026

Summary

  • Put MAUI CLI and DevFlow front and center as the primary entry points
  • Recommend maui doctor --fix as the easiest MAUI environment setup path
  • Keep other products discoverable through a concise catalog and linked product READMEs
  • Clarify DevFlow CLI vs DevFlow Agent, local agent skills, MCP behavior, and first-run expectations
  • Add command-level unit coverage for maui doctor --fix auto-fix selection, post-fix reruns, platform-scoped checks, and exit-code behavior

Validation

  • ./.dotnet/dotnet test src/Cli/Microsoft.Maui.Cli.UnitTests/ --logger "console;verbosity=minimal"
  • Verified changed README local links resolve

Follow-up

  • Add clean-machine smoke validation for maui doctor --fix on macOS and Windows to prove it can be documented as the recommended cross-platform setup path

Prioritize MAUI CLI and DevFlow as the primary entry points, clarify doctor --fix as the setup path, and improve product discovery for consumers and agents.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refreshes the repository onboarding docs to emphasize the MAUI CLI and DevFlow as the primary entry points, while keeping other products discoverable via a concise catalog and clarifying agent/MCP/skills expectations.

Changes:

  • Reworks the repo-root README to lead with maui doctor --fix, DevFlow onboarding, and an explicit product catalog.
  • Adds clearer guidance for DevFlow CLI vs DevFlow Agent, local agent skills, and MCP server usage.
  • Updates the CLI README quick start to install the prerelease global tool.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Cli/README.md Updates quick start install command to include --prerelease.
README.md Reorganizes onboarding around MAUI CLI + DevFlow, adds product catalog and AI-agent guidance.

Comment thread README.md
/plugin install dotnet-maui@dotnet-maui-labs
maui devflow init
maui devflow ui tree
maui devflow ui screenshot -o screenshot.png
Cover the doctor --fix command path with a fake doctor service so auto-fix selection, post-fix reruns, platform-scoped checks, and final exit codes are verified without mutating the host machine.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jfversluis jfversluis changed the title Refresh repository README onboarding Refresh README onboarding and doctor fix coverage Jun 8, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 8, 2026

Expert Code Review — PR #315

Methodology: 3 independent reviewers with adversarial consensus

4 findings posted as inline comments (3 moderate, 1 minor)

# Severity Consensus Summary
1 🟡 Moderate 2/3 initial -o flag doesn't exist on screenshot command — use --output
2 🟡 Moderate 3/3 (follow-up validated) ui screenshot / recording start in one cell implies shared parent command
3 🟡 Moderate 3/3 (follow-up validated) maui devflow init positioned as prerequisite for agent commands
4 🟢 Minor 2/3 (follow-up validated) AIExtensions sample link removed — discoverability regression

CI status: license/cla ✅ passed · build (macos-latest) 🔄 in progress · build (windows-latest) 🔄 in progress

Test coverage: N/A — documentation-only change, no tests needed.

No findings were discarded — all initially disputed findings (2–4) achieved consensus via follow-up evaluation.

Generated by Expert Code Review · 3 independent reviewers with adversarial consensus

Generated by Expert Code Review (auto) for issue #315 · ● 8M ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Code Review: 4 findings posted inline (3 moderate, 1 minor). See the lean summary comment for full details and methodology.

Generated by Expert Code Review (auto) for issue #315 · ● 8M

Comment thread README.md
| **Comet** | Experimental MVU UI framework for .NET MAUI: an alternative to XAML using C# fluent UI and reactive state | [`src/Comet/README.md`](src/Comet/README.md) |
| **Go** | Single-file Comet app prototyping with a server and companion app | [`src/Go/README.md`](src/Go/README.md) |
| **Essentials.AI** | On-device AI APIs for MAUI via `Microsoft.Extensions.AI` abstractions | [`src/AI/README.md`](src/AI/README.md) |
| **AI Extensions** | Source-generated AI tool bindings from decorated C# methods and property accessors | [`src/AIExtensions/README.md`](src/AIExtensions/README.md) |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 MINOR · Consensus: 2/3 reviewers (validated via follow-up)

The old README linked directly to samples/AIExtensions.Sample.Garden/README.md for runnable usage examples. This restructure removes that direct link — users must now navigate through src/AIExtensions/README.md to find samples, adding a discoverability hop.

Suggestion: Consider adding a sample link in src/AIExtensions/README.md if not already present, or appending , [sample](samples/AIExtensions.Sample.Garden/README.md) to this row's "Start here" column.

Comment thread README.md
/plugin install dotnet-maui@dotnet-maui-labs
maui devflow init
maui devflow ui tree
maui devflow ui screenshot -o screenshot.png
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MODERATE · Consensus: 2/3 reviewers

The -o shorthand does not exist on the screenshot command. The CLI only registers --output (no -o alias) in DevFlowCommands.cs. Copy-pasting this example will produce an "unrecognized option" error.

Suggestion: maui devflow ui screenshot --output screenshot.png

Comment thread README.md
| --- | --- |
| Inspect the MAUI visual tree | `maui devflow ui tree` |
| Tap, fill, scroll, resize, and assert UI state | `maui devflow ui --help` |
| Capture screenshots or recordings | `maui devflow ui screenshot` / `maui devflow recording start` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MODERATE · Consensus: 3/3 reviewers (validated via follow-up)

Slash-separating maui devflow ui screenshot / maui devflow recording start in one table cell implies both share the maui devflow ui prefix. A user may try maui devflow ui recording start, which will fail — recording is a direct subcommand of maui devflow, not maui devflow ui.

Suggestion: Split into two table rows to avoid implying a shared command hierarchy.

Comment thread README.md
Comment on lines 59 to +60
```bash
# Install via Copilot CLI
/plugin marketplace add dotnet/maui-labs
/plugin install dotnet-maui@dotnet-maui-labs
maui devflow init
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MODERATE · Consensus: 3/3 reviewers (validated via follow-up)

Placing maui devflow init first in this sequence implies it is a prerequisite for ui tree, ui screenshot, and mcp. In reality, init installs local workspace/IDE skills and is independent of the in-app DevFlow Agent that the other commands require. The preceding paragraph says "Run your app with the DevFlow Agent registered," but the code block conflates an optional skill-install step with runtime agent commands.

Suggestion: Either reorder so init comes last (it's optional/independent), or separate the block into "one-time setup" vs. "agent workflow" with a brief note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants