Skip to content
Back to skills

Grid Cards

ASecurity

A square in a grid says what it is in a tooltip, and gets a hover card only where it offers more than one thing to do. Applies whenever adding a square to an item or candy tray, or giving one of those squares something to press.

  • 5 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added September 20, 2026
toolsgo

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add lxsmnsyc/overwander --skill grid-cards --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grid Cards?

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

Security grade badge for Grid Cards
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lxsmnsyc-grid-cards/badge)](https://www.skillsdirectory.com/skills/lxsmnsyc-grid-cards)

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: grid-cards
description: A square in a grid says what it is in a tooltip, and gets a hover card only where it offers more than one thing to do. Applies whenever adding a square to an item or candy tray, or giving one of those squares something to press.
---

**One action is a tooltip. Two is a hover card.**

A square in a tray is a picture. What it is has to be readable without
pressing anything, and a hover card is a window that covers the tray being read
from, so a square says its name and its line in a `TooltipHost`.

A card earns its place only when the square offers a **choice**. One thing to do
is the square's own press and needs no buttons; two have to be pressed
separately, and a tooltip cannot hold a button because it goes the moment the
pointer leaves the trigger.

## How a tray says which it wants

`ItemGrid` counts, so a caller never picks. An `ItemCell` lists what it offers in
`actions`:

```ts
{
  item: auction.item,
  actions: [
    { label: describeSeller(auction), onPress: () => game.setVisiting(auction.seller) },
    { label: 'Bid', tone: 'primary', onPress: () => setBidding(id) },
  ],
}
```

- **No actions**: a tooltip, and the tray's own `onPress` runs the square.
- **One action**: a tooltip, and pressing the square does that action.
- **Two or more**: a hover card, with the actions drawn as buttons in its foot.

A cell that lists `actions` has said what its square does, so the tray's
`onPress` and `cardOnly` no longer reach it.

## What this means for the card body

Anything pressable inside a card body is an action and has to be counted, or it
becomes unreachable the day the square drops to one action and turns into a
tooltip. The auction board's seller name used to be an inline link in the card;
it is an action now, which is what keeps that card a card.

## Where it does not apply

The pokemon box is not covered. A catch square carries a record rather than a
name, and its card is the record.

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 tools →

Comments

Loading comments…

Newsletter

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