Skills for authoring themes and blocks

I’m just starting to mess around with this (without agentic coding).

I get the impression that it wouldn’t take too much to convert this into a Theme Component which controls just the Homepage of a site - for example, one already using the Horizon Theme. Would that be stupid?

Also, I’ve noticed a couple of issues:

Upcoming Events Block doesn’t sort topics

It simply dumps event topics by creation date; this is most unhelpful!!

ask.discourse.com suggests this type of change to fix this, which I can confirm works (forgive my lack of critical human thought):

@bind
async fetchEvents() {
  const count = this.args.count || 5;
  const results = await ajax("discourse-post-event/events");

  if (!results.events?.length) {
    return null;
  }

  const now = new Date();

  // Separate past and future events, then sort ascending by start date
  const upcoming = results.events
    .filter((e) => new Date(e.starts_at) >= now)
    .sort((a, b) => new Date(a.starts_at) - new Date(b.starts_at));

  return upcoming.slice(0, count);
}

Category Banners Block doesn’t respect the settings

It displays on all categories (not just the specified ones), and doesn’t seem to refresh on navigation (only on a page refresh).