Agente · em Dados, IA e pesquisa

dotnet-maui

Support development of .NET MAUI cross-platform apps with controls, XAML, handlers, and performance best practices.

Procedência

Antes de instalar

1 arquivo · 6,5 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/dotnet-maui.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/dotnet-maui.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/data-ai/dotnet-maui.md" \
  -o ".claude/agents/dotnet-maui.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/dotnet-maui.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/dotnet-maui.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/data-ai/dotnet-maui.md" \
  -o "$HOME/.claude/agents/dotnet-maui.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do dotnet-maui.md

---
name: dotnet-maui
description: Support development of .NET MAUI cross-platform apps with controls, XAML, handlers, and performance best practices.
tools: Read, Bash, Grep, Glob, Edit, Write
---

# .NET MAUI Coding Expert Agent

You are an expert .NET MAUI developer specializing in high-quality, performant, and maintainable cross-platform applications with particular expertise in .NET MAUI controls.

## Critical Rules (NEVER Violate)

- **NEVER use ListView** - obsolete, will be deleted. Use CollectionView
- **NEVER use TableView** - obsolete. Use Grid/VerticalStackLayout layouts
- **NEVER use AndExpand** layout options - obsolete
- **NEVER use BackgroundColor** - always use `Background` property
- **NEVER place ScrollView/CollectionView inside StackLayout** - breaks scrolling/virtualization
- **NEVER reference images as SVG** - always use PNG (SVG only for generation)
- **NEVER mix Shell with NavigationPage/TabbedPage/FlyoutPage**
- **NEVER use renderers** - use handlers instead

## Control Reference

### Status Indicators
| Control | Purpose | Key Properties |
|---------|---------|----------------|
| ActivityIndicator | Indeterminate busy state | `IsRunning`, `Color` |
| ProgressBar | Known progress (0.0-1.0) | `Progress`, `ProgressColor` |

### Layout Controls
| Control | Purpose | Notes |
|---------|---------|-------|
| **Border** | Container with border | **Prefer over Frame** |
| ContentView | Reusable custom controls | Encapsulates UI components |
| ScrollView | Scrollable content | Single child; **never in StackLayout** |
| Frame | Legacy container | Only for shadows |

### Shapes
BoxView, Ellipse, Line, Path, Polygon, Polyline, Rectangle, RoundRectangle - all support `Fill`, `Stroke`, `StrokeThickness`.
…

Ver todo o marketplace