跳到正文
cccskills
免费在 GitHub 公开

bdbdesignpro

Use when choosing an animation engine, defining motion tokens, adding scroll effects or micro-interactions, or auditing motion for accessibility and performance. Covers engine selection (GSAP, Motion.dev, Anime.js, React-Spring, Three.js, CSS Native), DTCG motion tokens, and the anti-slop/a11y quality gate.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(23)

  • SKILL.md4.3 KB
  • evals/animejs-svg-morph/case.yaml1.2 KB
  • evals/animejs-version-gate/case.yaml3.1 KB
  • evals/brand-glassmorphism/case.yaml2.2 KB
  • evals/brand-mint-cyan/case.yaml2.2 KB
  • evals/cleanup-gsap/case.yaml1.5 KB
  • evals/css-hover-reveal/case.yaml1.1 KB
  • evals/css-scroll-view/case.yaml1.3 KB
  • evals/duration-ceiling/case.yaml2.0 KB
  • evals/gsap-scroll-pinning/case.yaml1.2 KB
  • evals/INDEX.md11.9 KB
  • evals/layout-thrashing-drawer/case.yaml1.5 KB
  • evals/modal-open-close/case.yaml1.1 KB
  • evals/motion-layout-transition/case.yaml1.1 KB
  • evals/react-spring-drag/case.yaml1.2 KB
  • evals/reduced-motion-stagger/case.yaml2.0 KB
  • evals/threejs-particles/case.yaml1.1 KB
  • integrations/bdbrainstorm-hook.md2.2 KB
  • integrations/startcycle-hook.md2.2 KB
  • references/antislop-gate.md2.4 KB
  • references/bdb-motion-tokens.md2.6 KB
  • references/css-native-patterns.md3.6 KB
  • references/engine-routing.md4.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/bdbdesignpro — Motion Engine Router & Anti-Slop Gate

Routes creative-motion decisions to the right engine and enforces motion quality policy (timing tokens, spring physics, accessibility, anti-slop). It does not teach any third-party library's API — that's the vendor's job, or an installed upstream skill's (see engine-routing.md).


🎯 When to Use

  • Choosing between GSAP, Motion.dev, Anime.js, React-Spring, Three.js, or CSS Native for a specific interaction.
  • Defining or applying DTCG motion tokens (durations, easing, spring curves).
  • Auditing existing motion for prefers-reduced-motion, layout thrashing, or cleanup leaks.
  • Scaffolding the Interaction & Motion Strategy section of a 01_frontend_spec.md during /startcycle.

🔄 The 4-Phase Flow

[1. Stack & Context Scan] ──▶ [2. Interaction Thesis] ──▶ [3. Engine Routing]
                                                                   │
                        [4. Anti-Slop & a11y Audit] ◀──────────────┘

Phase 1: Stack & Environment Scan

  1. Framework & runtime: React 19, Next.js App Router, Vite, Astro, Svelte, Vue, or vanilla.
  2. Check package.json for already-installed motion libraries (gsap, motion, framer-motion, animejs, @react-spring/web, three, @react-three/fiber) — and their exact version. Anime.js v3 and v4 are not API-compatible; never assume a version.
  3. For Next.js App Router, confirm animated components declare 'use client'.

Phase 2: The Interaction Thesis Gate

Never inject animation blindly. Before writing code, state:

  • Role & purpose: what does this motion communicate — spatial orientation, hierarchy, feedback, narrative?
  • Timing tier: micro (150ms), state transition (300ms, ceiling 400ms), or scroll-scrubbed (no fixed duration). See bdb-motion-tokens.md.
  • Reduced-motion fallback: the zero-motion alternative, defined now, not retrofitted later.

Phase 3: Engine Routing

Full routing table, decision flowchart, and anti-patterns: engine-routing.md. The only engine documented in this skill directly is CSS Native (css-native-patterns.md) — no vendor owns plain CSS. Every other engine's API detail is owned by its vendor docs or an installed upstream skill (e.g. greensock/gsap-skills for GSAP); this skill routes to it, it does not re-teach it.

Phase 4: Anti-Slop & a11y Audit

Four mechanically-checkable gates, with grep commands: antislop-gate.md.

  1. Zero layout thrashing (GPU-accelerated properties only)
  2. Deterministic cleanup (no leaked timelines/observers)
  3. prefers-reduced-motion honored — with a real fallback, not just a mention
  4. ≤400ms for standard UI transitions

🔗 Ecosystem Integrations

  • In /bdbrainstorm: runs the Interaction Thesis Interview during Pillar 5 before architectural sign-off. See bdbrainstorm-hook.md.
  • In /startcycle: feeds motion tokens, engine choice, and a11y fallback into 01_frontend_spec.md; Reviewer applies antislop-gate.md's four checks. See startcycle-hook.md.
  • Component routing: The project's own design system and sources file first (its components, tokens, DESIGN.md); the BDB library (@bdb registry; version-pinned unpkg entry https://unpkg.com/@hybridlabor-api/ui-motion-library@0.1.0/publish/registry/{name}.json in components.json) only when the project opts in; then the verified registries listed in the UI library's docs/sources.md (link-only entries are documentation links, never code sources).
  • Agent wiring: listed in godmode-ui-ux's skills: — verify this is still true after any agent-roster change; an unwired skill is a stale claim, not a feature.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Use when a hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Reference for how BDB structures autonomous software engineering work — the seven-node dispatcher graph (Architect, TechLead, UI/UX, Engineering, Media/EventTech, Reviewer, Shipping) that /startcycle-graph actually runs. Use when you need the high-level lifecycle framing without inventing your own process.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

Harness patterns for coding agents — memory, permissions, context engineering, delegation, skills, hooks, bootstrap.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

agenttrail: live map of a multi-agent build in the browser: which plan component is being worked on, by which agent or harness, what is done and what is stuck. Use when a multi-agent pipeline starts (/startcycle, /startcycle-graph, /teamwork-preview) or after a plan-canvas approve, when the user asks to see what the agents are doing ("live map", "build board", "who is running now"), or by yourself whenever a multi-agent run is under way — no user prompt needed.

中文简介正在准备中。当前显示原文说明。

hybridlabor-api/aos62026年10月16日 更新

查看 hybridlabor-api 的全部技能

报告此技能的问题