The winui-design skill currently contains a hardcoded list of theme brushes. This list can drift from the canonical source and requires manual maintenance whenever the WinUI brush set changes.
Proposal
Replace the hardcoded brush list with a CLI command that fetches brushes.json directly from the WinUI Gallery repository.
Benefits
- Single source of truth (WinUI Gallery)
- No manual maintenance when brushes are added/removed/renamed
- Always up-to-date with the latest WinUI brush definitions
Considerations
- Pin to a known-good commit/ref (or allow override) for reproducibility
- Handle offline / network-failure scenarios with a cached fallback
- Decide whether to fetch at skill-invocation time or via an explicit refresh command
The
winui-designskill currently contains a hardcoded list of theme brushes. This list can drift from the canonical source and requires manual maintenance whenever the WinUI brush set changes.Proposal
Replace the hardcoded brush list with a CLI command that fetches
brushes.jsondirectly from the WinUI Gallery repository.Benefits
Considerations