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.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aesthetic-reviewSkill
- app-developmentSkill
- codesizeSkill
- design-contractSkill
- device-operationsSkill
- esp32Skill
- lvgl-integrationSkill
- lvgl-ui-layoutSkill
- ui-reviewSkill
- ux-heuristicsSkill
- visual-designSkill
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
- Very specific: line 34
Write a motion plan with duration_ms, objects, property, loop, mechanism and trigger.
- Distinctive: line 49
Default to no animation for frequent actions: back, app switching, scrolling, keyboard/keypad, list navigation.
- Very specific: line 52
Do not animate layout properties (width, height, left, top).
- Distinctive: line 53
Do not animate blur, backdrop, shadow, large images, particles or decorative loops.
- Distinctive: line 55
Do not simulate spring physics on the MCU.
- Very specific: line 57
No infinite or looping animation.
- Distinctive: line 59
No scroll-linked choreography or staggered list entrances.
- Distinctive: line 61
If the target profile has no motion budget, all interactions are instant.
- Distinctive: line 77
Every interactive control needs a visible pressed state.
≈ “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.
Files
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-contractresolvesmotion_level,max_motion_ms,max_animated_objects,allow_blur,allow_shadowandallow_gradients.lvgl-integrationowns the display pipeline, flush handshake and display power transitions.lvgl-ui-layoutowns scroll ownership and touch propagation.ui-reviewowns simulator interaction evidence and gesture checks.references/inspiration.mdrecords provenance and scope.
Workflow
- Resolve the profile/target pair. Use
select --mode designfor a new interaction plan orselect --mode currentwhen auditing the current UI. - Inventory the interaction: trigger, frequency, purpose, what changes on screen, and whether the user can interrupt it.
- Apply the frequency gate in
references/motion-budget.md. - Choose the cheapest mechanism using
references/feedback-patterns.mdandreferences/gesture-semantics.md:- no animation;
- a style transition (colour, opacity);
lv_animfor a short, bounded transform.
- Write a motion plan with
duration_ms,objects,property,loop,mechanismandtrigger.propertymay be omitted for an instantmechanism: "none"item. Validate it:
python3 .agents/skills/motion-interaction/scripts/motion_budget.py \ --plan <motion-plan.json> --context <context.json> --check- 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
| Level | Use |
none | Unknown/constrained target, high-frequency actions, monochrome/keypad UI |
micro | Press, selection, small state change |
standard | Occasional page/sheet transition on a capable target |
rich | Not 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.
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
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.

