Skip to content

Replace hardcoded brushes in design skill with CLI command fetching brushes.json from WinUI Gallery #103

@niels9001

Description

@niels9001

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions