Skip to content
Back to skills

Fieldworks Ui Wiring Review

ASecurity

Review or change FieldWorks UI wiring — app-setting and PropertyTable routing, mediator notifications, current-content switching, host replacement, preview-vs-product boundaries, and the global legacy-vs-Avalonia UI selection. Use whenever a change touches which UI host is active, how a setting reaches a screen, RecordEditView/currentContentControl routing, save/PrepareToGoAway paths, or fallback behavior — even if the diff looks like a one-line settings change.

  • 111 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
datago

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add sillsdev/FieldWorks --skill fieldworks-ui-wiring-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fieldworks Ui Wiring Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fieldworks Ui Wiring Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sillsdev-fieldworks-ui-wiring-review/badge)](https://www.skillsdirectory.com/skills/sillsdev-fieldworks-ui-wiring-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fieldworks-ui-wiring-review
description: "Review or change FieldWorks UI wiring — app-setting and PropertyTable routing, mediator notifications, current-content switching, host replacement, preview-vs-product boundaries, and the global legacy-vs-Avalonia UI selection. Use whenever a change touches which UI host is active, how a setting reaches a screen, RecordEditView/currentContentControl routing, save/PrepareToGoAway paths, or fallback behavior — even if the diff looks like a one-line settings change."
---

# FieldWorks UI Wiring Review

## Use This For

- Global or screen-level UI mode selection.
- `PropertyTable`, app-setting, mediator, or listener changes that affect
  which UI host is active.
- `RecordEditView`, `currentContentControl`, host replacement, save or
  `PrepareToGoAway()` routing, focus or command target routing, and
  preview-to-product promotion work.

## Canonical Wiring

The decided routing model is explicit per-host behavior — supported
Avalonia, explicit legacy fallback, or blocked — never silent fallback:

- Framework selection: `Src/Common/FwAvalonia/UIFrameworkSelectionService.cs`,
  `UIFrameworkResolver.cs` (behavior enum + routing logic)
- Approved legacy adapters: `Src/Common/FwAvalonia/Seams/ActiveHostContract.cs`
- Contract tests to imitate:
  `Src/xWorks/xWorksTests/Avalonia/Hosting/RecordEditViewActiveHostContractTests.cs`,
  `Src/Common/FwAvalonia/FwAvaloniaTests/UIFrameworkAndHostContractTests.cs`,
  `UIFrameworkResolverTests.cs`

## Required Checks

- Review scope against the branch-only diff (`main..HEAD`) and list every
  host or consumer affected.
- Trace the full wiring path end to end: setting source, persisted state,
  `PropertyTable` key, mediator or property broadcast, listener
  registration, host reload path, focus or command target routing, save or
  `PrepareToGoAway()` path, and fallback or blocked state.
- For global switches, verify each current consumer has an explicit
  contract: supported Avalonia view, explicit legacy fallback, or
  resource-backed unsupported state.
- The active Avalonia route must not instantiate or drive hidden legacy
  rendering or menu infrastructure except through `ActiveHostContract`
  approved adapters — and prove the negative with a contract test, not by
  inspection alone.
- Product wiring and preview wiring are reviewed separately; preview DTOs,
  preview hosts, and spike-only semantics do not satisfy product routing.
- Validation uses the normal repo build and test path (`./build.ps1`,
  `./test.ps1`) plus host-specific tests when wiring changes.

## Review Red Flags

- Tests manually call `OnPropertyChanged(...)`, `ShowRecord()`, or similar
  handlers instead of driving the real setting and broadcast path.
- A preview-only mapper or detached DTO model sits on a product-facing
  route.
- Hidden legacy `DataTree`, menu handler, or renderer is still initialized
  and driven while Avalonia is the active host.
- A global setting changes unrelated screens without a manifest or
  explicit fallback story.
- Build or test evidence relies mainly on branch-only optional build/test
  paths or ad hoc commands.

## Handoff

Report the setting source, listeners, affected hosts, per-host fallback
state, executable proof of the live wiring path, and any remaining hidden
legacy dependencies.

## Keep This Skill Current

When a new host type, routing pattern, or wiring failure mode appears in a
migration, add it here (and a red flag if it is a review smell) in the same
PR. Durable lessons also go through
`../fieldworks-winforms-to-avalonia-migration/references/lessons-learned.md`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.