Fan poker teaching skill
An Agent Skill for turning any topic into a dependency-free interactive HTML lesson with a single-sided fan poker deck animation.
npx -y skills add Hubujiu/fan-poker-teaching-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 20 days oldThe repository was created 20 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 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.
What its author says it does
Copied from the file, not written here
Generate fully custom HTML card worlds inside the Fan Poker Deck Web Component.
SKILL.md
1.9 KB, 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:
- Have a useful
aria-label. - Contain the complete card-face HTML.
- Include its own
<style>when visual styling is required. - Prefer
:hostfor the world background, foreground, and typography. - Give the main root
min-width: 100%andmin-height: 100%. - 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-interactiveto 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>
Gives 0 of the 12 instructions most slides presentations skills give
Counted across 568 of the 571 authors here whose files we hold, read 2026-08-06
- include a visual element on every slidein 52 of 568, across 21 files
- put one idea per slidein 50 of 568, across 42 files
- state the design approach before writing codein 38 of 568, across 8 files
- validate XML immediately after each editin 37 of 568, across 7 files
- rasterize gradients and icons as PNG images before referencing themin 37 of 568, across 7 files
- generate and inspect thumbnails to validate layoutin 37 of 568, across 7 files
- commit to a single visual motif across every slidein 37 of 568, across 12 files
- use web-safe fonts onlyin 36 of 568, across 7 files
- keep 0.5 inch minimum marginsin 35 of 568, across 9 files
- use two-column layout for slides with charts or tablesin 34 of 568, across 5 files
- save a template inventory analysis to a filein 33 of 568, across 4 files
- use subagents to visually inspect rendered slidesin 33 of 568, across 9 files
Said here and by no other author read
- include the fixed v2 script tag
- generate one fan-poker element
- add fan-card children to fan-poker
- give every fan-card an aria-label
- put complete card-face HTML inside fan-card
- add a style tag when visual styling is needed
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.