agentsclimarketplace

Fan poker teaching skill

Skill Hubujiu/fan-poker-teaching-skill

Generate fully custom HTML card worlds inside the Fan Poker Deck Web Component.From its SKILL.md

Install
npx -y skills add Hubujiu/fan-poker-teaching-skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.9 KB, 461 tokens by cl100k_base, as published. Nobody here has run it

Fan Poker Deck Skill

Use the fixed v2 release:

<script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@hubujiu/[email protected]/dist/fan-poker.js">
</script>

Output contract

Generate one <fan-poker> containing one or more <fan-card> children.

Each <fan-card> must:

  1. Have a useful aria-label.
  2. Contain the complete card-face HTML.
  3. Include its own <style> when visual styling is required.
  4. Prefer :host for the world background, foreground, and typography.
  5. Give the main root min-width: 100% and min-height: 100%.
  6. Deliberately use a wider child only when horizontal scrolling is desired.

Do not generate the removed v1 template fields as a required structure. There is no mandatory cover, index, tag, title, body, footer, toolbar, counter, or progress bar.

Interaction rules

  • Vertical overflow scrolls inside the card.
  • Native scrollbars stay hidden.
  • Floating scrollbars appear near the right or bottom edge.
  • Horizontal overflow owns horizontal dragging.
  • Deck dragging is available when the current world does not overflow horizontally.
  • Add data-fan-interactive to custom drag controls that must never start deck navigation.
  • The component itself does not draw a focus indicator.

Minimal card

<fan-poker card-width="390px" card-height="520px" aria-label="Git lesson">
  <fan-card aria-label="Git working tree">
    <style>
      :host {
        display: block;
        min-height: 100%;
        background: #fff8ed;
        color: #171717;
        font-family: system-ui, sans-serif;
      }

      article {
        min-width: 100%;
        min-height: 100%;
        padding: 28px;
      }
    </style>

    <article>
      <h1>Working tree</h1>
      <p>Your uncommitted file changes live here.</p>
    </article>
  </fan-card>
</fan-poker>

What ships with it: 40 files

191.3 KB alongside SKILL.md, 8 of them executable

assets/

media/

references/

src/

types/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.