adaptive-interface
Skill0 starsChanged 3 months agoMITView on GitHub
Adapt one interface across space, input, content pressure, text scaling, orientation, localization, and reduced motion. Use when designing or reviewing responsive behavior, touch and keyboard support, or layouts that break under real content.
In this repository10 other files it gives its agents.
- interaction-engineSkill
- interface-architectureSkill
- interface-craftSkill
- interface-criticSkill
- interface-forensicsSkill
- interface-intelligenceSkill
- interface-labSkill
- interface-reviewSkill
- interface-shipSkill
- state-forgeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Consider available width/height, pointer precision, touch, keyboard, orientation, text size, zoom, localization, content length, …
- Distinctive: line 18
Before adapting, define what must remain true: primary task, important content, current location, feedback, essential actions, and keyboard …
- Distinctive: line 24
Do not let CSS accidentally decide product hierarchy.
- Distinctive: line 36
Test long labels, translations, large values, long names, multiline content, missing metadata, and user-generated content.
- Distinctive: line 42
Check clipping, overlap, hidden controls, fixed heights, modal overflow, and navigation collapse.
- Distinctive: line 46
Consider task continuity, reading order, media, split views, and gesture regions rather than treating orientation as a simple resize.
- Distinctive: line 58
Avoid shrunk desktop layouts, hidden functionality without replacement, breakpoint patchwork, hover-dependent touch behavior, and layouts …
- Distinctive: line 62
Test meaningful combinations of space, input, content, and settings rather than only named devices.
- Very specific: line 66
Use references/adaptation-matrix.md to state adaptation invariants and verify high-risk combinations of space, input, content, and settings.
- Distinctive: line 76
Before changing anything, identify the actual user outcome, the existing system, the relevant constraints, and the evidence available.
- Distinctive: line 78
Do not begin by choosing a visual treatment.
- Distinctive: line 95
Do not review only the happy path.
- Distinctive: line 112
Use only scenarios that are relevant to the surface.
- Distinctive: line 116
When code exists, verify that the implementation preserves the interface decision.
- Distinctive: line 158
If a change improves none of these and only adds decoration, treat it as suspect.
- Distinctive: line 174
Do not claim a check that did not occur.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Adaptive Interface
Mission
Design one product that behaves appropriately across changing contexts. Responsive design is contextual adaptation, not merely resizing.
Context model
Consider available width/height, pointer precision, touch, keyboard, orientation, text size, zoom, localization, content length, performance constraints, reduced motion, and platform conventions.
Invariants
Before adapting, define what must remain true: primary task, important content, current location, feedback, essential actions, and keyboard operation where applicable.
Priority under pressure
Classify elements as must remain, should remain, can collapse, can move, can defer, or can disappear.
Do not let CSS accidentally decide product hierarchy.
Behavioral breakpoints
A breakpoint exists because behavior changes. Possible changes include sidebar to contextual navigation, toolbar to overflow, columns to stacked groups, persistent controls to contextual controls, or hover affordance to explicit touch affordance.
Input adaptation
Touch needs tolerant targets and little hover dependence. Pointer can support denser interaction. Keyboard needs visible focus and predictable traversal. Do not create separate products unless the interaction model truly differs.
Content pressure
Test long labels, translations, large values, long names, multiline content, missing metadata, and user-generated content.
Choose intentionally between wrapping, truncation, scrolling, collapsing, expansion, or resizing.
Zoom and text scaling
Check clipping, overlap, hidden controls, fixed heights, modal overflow, and navigation collapse.
Orientation
Consider task continuity, reading order, media, split views, and gesture regions rather than treating orientation as a simple resize.
Performance adaptation
Where needed, reduce expensive effects or non-critical work on constrained devices without removing important information.
Reduced motion
Adapt movement while preserving state communication.
Failure modes
Avoid shrunk desktop layouts, hidden functionality without replacement, breakpoint patchwork, hover-dependent touch behavior, and layouts that only work with ideal content.
Verification
Test meaningful combinations of space, input, content, and settings rather than only named devices.
Reference artifact
Use references/adaptation-matrix.md to state adaptation invariants and verify high-risk combinations of space, input, content, and settings.
Completion criteria
The interface preserves its important intent across realistic combinations of space, input, content, and accessibility settings.
Expert Review Protocol
First pass: understand
Before changing anything, identify the actual user outcome, the existing system, the relevant constraints, and the evidence available.
Do not begin by choosing a visual treatment.
Second pass: compare
Ask:
- What is the simplest credible solution?
- What is the strongest alternative?
- What does the current solution cost?
- What behavior does each option teach the user?
- Which decision is easiest to reverse?
- Which failure would be most expensive?
Choose deliberately.
Third pass: stress
Do not review only the happy path.
Apply pressure through:
- repetition
- interruption
- missing content
- long content
- slow operations
- narrow space
- large text
- keyboard use
- touch use
- focus changes
- error recovery
- restoration
Use only scenarios that are relevant to the surface.
Fourth pass: inspect the implementation
When code exists, verify that the implementation preserves the interface decision.
Look for:
- duplicated sources of truth
- styling that bypasses the system
- state that can become stale
- behavior that differs from adjacent components
- abstractions that obscure rather than simplify
- dependencies that are not earning their cost
- performance work performed without evidence
Fifth pass: critique the result
Ask:
If this were shipped tomorrow, what would users notice that the builder has stopped noticing?
Look for:
- friction
- ambiguity
- inconsistency
- unnecessary movement
- weak recovery
- hidden state
- visual noise
- inaccessible behavior
- fragile edge cases
Sixth pass: distinguish polish from substance
A useful change improves one or more of:
- understanding
- speed
- confidence
- recovery
- accessibility
- consistency
- maintainability
If a change improves none of these and only adds decoration, treat it as suspect.
Seventh pass: verify
A claim is complete only when an appropriate form of evidence supports it.
Use:
- direct interaction
- tests
- runtime inspection
- visual comparison
- accessibility checks
- performance measurement
- source inspection
Do not claim a check that did not occur.
Completion standard
Stop when:
- the intended outcome is achieved
- important states are handled
- meaningful failure modes were considered
- the interface fits its surrounding system
- important claims are verified
- remaining imperfections are lower-value than the risk of further change
The goal is not maximal polish.
The goal is a result that is difficult to improve without changing the underlying decision.
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.

