comet-go

Develop and debug single-file Comet Go .NET MAUI apps with live reload.

209|27|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/dotnet/maui-labs --skill comet-go
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: comet-go
Source: https://github.com/dotnet/maui-labs/tree/main/.github/skills/comet-go
Command: npx skills add https://github.com/dotnet/maui-labs --skill comet-go

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the friction of setting up and iterating on .NET MAUI UI code by providing a streamlined, single-file Comet Go workflow with live reload.

Core Features & Use Cases

  • Create and iterate single-file Comet Go apps: write one .cs file and run it via the Go-dev server for hot reload onto a companion app.
  • Provide required Comet Go structure: enforce the correct package directive, imports, and MainPage : View pattern to avoid common compile/runtime issues.
  • Prevent common hot-reload pitfalls: highlight constraints like spacing overload ambiguity (VStack(0, ...)), Signal<T> vs Reactive<T> usage for TextField, and restart-required structural edits.
  • Use case: rapidly prototype a UI like a calculator or dashboard by editing method bodies and lambdas while the UI updates live on-device.

Quick Start

Use the comet-go skill to help you draft a minimal Comet Go MainPage : View file using #:package Comet and maui go for live-reloading on your device.

Frequently Asked Questions about comet-go

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a single-file .NET MAUI app with live reload?

To build a single-file .NET MAUI app with live reload, author a C# file with the `#:package Comet` directive and run it via the `maui go` dev server to hot-reload UI updates onto a companion app.

What is the correct file structure for a Comet Go app?

A correct Comet Go app file structure requires a package directive, necessary imports, and a `MainPage : View` class pattern to avoid common compile and runtime issues during reactive UI development.

Why does my Comet Go hot reload break when editing a TextField?

Hot reload issues with TextField controls often occur from incorrect state binding; use `Signal<T>` instead of `Reactive<T>` for TextField inputs to ensure proper reactive state updates during live iteration.

Can I prototype a .NET MAUI calculator UI without a full project setup?

Yes, you can prototype a .NET MAUI calculator UI by writing a single C# file using Comet controls and reactive state, then running it with the `maui go` server for on-device live updates without a full project setup.

What causes ambiguous control overloads in Comet Go single-file apps?

Ambiguous control overloads in Comet Go apps are frequently caused by spacing syntax like `VStack(0, ...)`, which creates parsing conflicts that can disrupt the hot-reload process.

When do I need to restart the maui go dev server during UI development?

You must restart the `maui go` dev server when making structural edits to your Comet Go file, as these changes exceed the limitations of hot-reload and require a full application restart.