extract-interaction-patterns
Analyze HTML or a live interface and express its interactions as reusable, framework-neutral behavior contracts. Use when hover, focus, scroll, drag, reveal, navigation, canvas, or state transitions must be documented before implementation or testing.
- License 许可
- MIT
- 最近更新
- 2026-11-08
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- extract-interaction-patterns
- engines
- [ "AGNOSTIC" ]
- description
- Analyze HTML or a live interface and express its interactions as reusable, framework-neutral behavior contracts. Use when hover, focus, scroll, drag, reveal, navigation, canvas, or state transitions must be documented before implementation or testing.
02 资源文件 2
- 参考文档agents/openai.yaml254 B
- 参考文档references/guest-insights.md7.4 KB
03 SKILL.md 正文
Extract Interaction Patterns
When to use
- Turning an existing interface into interaction requirements.
- Discovering event, state, accessibility, and cleanup behavior.
- Creating a handoff for frontend development or browser QA.
Workflow
- Inspect semantic structure, interactive controls, stable states, and input modalities.
- Map each trigger to preconditions, state changes, visuals, duration, interruption, reversal, and completion.
- Document keyboard, touch, pointer, focus, reduced-motion, and failure behavior.
- Identify timers, animation loops, observers, listeners, and resources that require cleanup.
- Separate the essential interaction contract from the current library or framework.
- Define deterministic test states and observable acceptance criteria.
Output
- An interaction inventory and state-transition table.
- Framework-neutral implementation guidance.
- Accessibility, performance, cleanup, and browser test requirements.
Guardrails
- Do not copy page copy, branding, asset URLs, or implementation code.
- Do not infer server behavior from client presentation alone.
- Do not describe pointer-only behavior without an equivalent accessible path.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.