AGENT SKILL

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

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

  1. Inspect semantic structure, interactive controls, stable states, and input modalities.
  2. Map each trigger to preconditions, state changes, visuals, duration, interruption, reversal, and completion.
  3. Document keyboard, touch, pointer, focus, reduced-motion, and failure behavior.
  4. Identify timers, animation loops, observers, listeners, and resources that require cleanup.
  5. Separate the essential interaction contract from the current library or framework.
  6. 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

TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

integrate-game-wallets

Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4