agentleFS
MingYuan0415MingYuan0415/MicroTech/.agents/skills/motion-interaction/SKILL.md

motion-interaction

Skill1 starsChanged 7 days agoMITView on GitHub

Plan and review press feedback, transitions, gestures and loading-state motion for MicroTech within an embedded resource budget. Use whenever a UI change adds or changes animation, interaction feedback, sheets, page transitions or gesture behavior.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write a motion plan with duration_ms, objects, property, loop, mechanism and trigger.

    line 34
  2. Distinctive:

    Default to no animation for frequent actions: back, app switching, scrolling, keyboard/keypad, list navigation.

    line 49
  3. Very specific:

    Do not animate layout properties (width, height, left, top).

    line 52
  4. Distinctive:

    Do not animate blur, backdrop, shadow, large images, particles or decorative loops.

    line 53
  5. Distinctive:

    Do not simulate spring physics on the MCU.

    line 55
  6. Very specific:

    No infinite or looping animation.

    line 57
  7. Distinctive:

    No scroll-linked choreography or staggered list entrances.

    line 59
  8. Distinctive:

    If the target profile has no motion budget, all interactions are instant.

    line 61
  9. Distinctive:

    Every interactive control needs a visible pressed state.

    line 77

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MicroTech Motion and Interaction

Motion is a state signal, not decoration. The target profile sets the budget; the style profile sets the ambition; the resolved result is the lower of the two.

Sources of Truth

  • design-contract resolves motion_level, max_motion_ms, max_animated_objects, allow_blur, allow_shadow and allow_gradients.
  • lvgl-integration owns the display pipeline, flush handshake and display power transitions.
  • lvgl-ui-layout owns scroll ownership and touch propagation.
  • ui-review owns simulator interaction evidence and gesture checks.
  • references/inspiration.md records provenance and scope.

Workflow

  1. Resolve the profile/target pair. Use select --mode design for a new interaction plan or select --mode current when auditing the current UI.
  2. Inventory the interaction: trigger, frequency, purpose, what changes on screen, and whether the user can interrupt it.
  3. Apply the frequency gate in references/motion-budget.md.
  4. Choose the cheapest mechanism using references/feedback-patterns.md and references/gesture-semantics.md:
    • no animation;
    • a style transition (colour, opacity);
    • lv_anim for a short, bounded transform.
  5. Write a motion plan with duration_ms, objects, property, loop, mechanism and trigger. property may be omitted for an instant mechanism: "none" item.
  6. Validate it:

    python3 .agents/skills/motion-interaction/scripts/motion_budget.py \
        --plan <motion-plan.json> --context <context.json> --check
  7. Implement only the approved plan; verify with ui-review. State whether the evidence is simulator-only or hardware-measured.

Embedded Rules

  • Default to no animation for frequent actions: back, app switching, scrolling, keyboard/keypad, list navigation.
  • Press feedback must be immediate; a colour/opacity change is usually enough.
  • Do not animate layout properties (width, height, left, top).
  • Do not animate blur, backdrop, shadow, large images, particles or decorative loops.
  • Do not simulate spring physics on the MCU. If a gesture needs momentum, use the platform's scroll behavior, not a custom spring.
  • No infinite or looping animation. It burns power, prevents idle, and breaks sim.wait_idle.
  • No scroll-linked choreography or staggered list entrances.
  • A transition must not block input or delay the next action.
  • If the target profile has no motion budget, all interactions are instant.

Motion Levels

LevelUse
noneUnknown/constrained target, high-frequency actions, monochrome/keypad UI
microPress, selection, small state change
standardOccasional page/sheet transition on a capable target
richNot a default; only a specific, approved, high-capability case

The style profile may ask for more; the target cap wins. Record MOTION_DOWNGRADED when this happens.

Required States

Every interactive control needs a visible pressed state. Toggles, selection and disabled states must be distinguishable without relying on motion. A loading state must preserve the geometry of the content it replaces.

Handoff

Report the resolved motion level, the chosen mechanism per interaction, the budget check result, and what could not be measured. Never claim a frame rate or touch latency from a static screenshot.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.