context-aware-ui-design
Skill2 starsChanged 5 months agoMITView on GitHub
Use for Android and Compose UI design decisions that must adapt to app domain, target users, data sensitivity, environment, accessibility, performance and platform context after build/tests pass.
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- super-android-kotlin-firebaseSkill
- accessibilitySkill
- agp9-kotlin-migrationSkill
- android-architectureSkill
- android-coreSkill
- android-navigation-3Skill
- code-review-refactorSkill
- compose-contextual-design-systemSkill
- compose-performanceSkill
- debuggingSkill
- dependency-injectionSkill
- dependency-upgrade-safetySkill
- design-test-gateSkill
- edge-to-edge-adaptive-uiSkill
- firebase-ai-logicSkill
- firebase-authSkill
- firebase-cloud-functionsSkill
- firebase-coreSkill
- firebase-crashlytics-analyticsSkill
- firebase-emulator-ciSkill
- firebase-messagingSkill
- firestore-costs-quotasSkill
- firestoreSkill
- gradle-buildSkill
- jetpack-composeSkill
- kotlin-coreSkill
- macrobenchmark-baseline-profilesSkill
- networking-retrofit-ktorSkill
- play-store-releaseSkill
- r8-proguard-optimizationSkill
- room-datastoreSkill
- screen-ux-auditSkill
- security-privacySkill
- testingSkill
- ui-state-designSkill
- workmanager-background-syncSkill
- xml-to-compose-migrationSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Never skip build/tests for visual redesign work.
- Distinctive: line 39
Do not change business logic, data ownership, Firebase rules or navigation semantics for aesthetics.
- Distinctive: line 40
Use Material 3 tokens and platform conventions unless the product context justifies a different pattern.
- Distinctive: line 42
Prefer incremental design changes that can be reviewed and tested.
- Distinctive: line 57
Do not assume these companion skills are installed.
- Distinctive: line 99
Use $super-android-kotlin-firebase to design this medication reminder screen for older adults after tests pass.
- Distinctive: line 100
Use $super-android-kotlin-firebase to review whether this AI-generated app UI matches its domain and users.
- Distinctive: line 101
Use $super-android-kotlin-firebase to propose a context-aware redesign without changing Firebase or ViewModels.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Purpose
Design Android UI according to the app context, not generic aesthetics.
When to use
- Designing or improving an Android screen after build/tests have passed.
- Choosing UI structure for a domain such as health, finance, education, productivity, maps or social features.
- Reviewing an AI-generated app for context mismatch, unclear hierarchy or risky interaction design.
- Adapting Compose UI for sensitive data, older adults, outdoor use, low connectivity or multi-device workflows.
Inputs to inspect
- Gate result from
design-test-gate. - App domain, target user, primary journey and business goal.
- Sensitivity of displayed data and privacy/security implications.
- Environment of use: mobility, lighting, one-handed use, network quality and device class.
- Existing navigation, ViewModels, state models, Firebase/local data and permissions.
- Existing theme, typography, content density, accessibility and performance constraints.
Required workflow
- Confirm the design-test gate has passed or document why design cannot proceed.
- Identify domain, user type, primary flow, data sensitivity, environment and risks.
- Preserve existing architecture, ViewModels, repositories, Firebase behavior and navigation contracts.
- Choose a UI direction that supports the user's task, not just visual novelty.
- Route implementation details to related existing skills.
- Recommend tests, previews and accessibility checks for the redesigned flow.
Rules
- Never skip build/tests for visual redesign work.
- Design choices must name the context they serve.
- Do not change business logic, data ownership, Firebase rules or navigation semantics for aesthetics.
- Use Material 3 tokens and platform conventions unless the product context justifies a different pattern.
- Include accessibility, performance and security/privacy implications in the design plan.
- Prefer incremental design changes that can be reviewed and tested.
Related existing skills
Local skills to invoke
- jetpack-compose
- accessibility
- edge-to-edge-adaptive-ui
- compose-performance
- security-privacy
- design-test-gate
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- aldefy/compose-skill — use for deeper Jetpack Compose, Material 3, design-to-code, theming or Compose architecture guidance.
- skydoves/compose-performance-skills — use for deeper Compose performance, recomposition, stability or release-mode measurement guidance.
Files commonly touched
- Compose screen and route files
ui/theme/*- Design system components
- Navigation route files
- Preview files
- Compose UI tests
Commands to validate
./gradlew assembleDebug
./gradlew test
./gradlew connectedDebugAndroidTest
./gradlew lintCommon mistakes to avoid
- Applying a trendy layout without checking the app's real workflow.
- Treating all user groups as equally technical, patient or visually able.
- Increasing content density for sensitive or stressful tasks.
- Breaking navigation, state restoration or Firebase sync while polishing UI.
- Forgetting empty, loading, error, offline and permission-denied states.
Checklist
- Build/tests gate passed.
- Domain and target user identified.
- Primary flow and risk level named.
- Data sensitivity considered.
- Environment and device constraints considered.
- Existing architecture preserved.
- Related skills selected for implementation details.
Example prompts
- Use $super-android-kotlin-firebase to design this medication reminder screen for older adults after tests pass.
- Use $super-android-kotlin-firebase to review whether this AI-generated app UI matches its domain and users.
- Use $super-android-kotlin-firebase to propose a context-aware redesign without changing Firebase or ViewModels.
Expected response style
Respond with: gate status, context diagnosis, design direction, preserved contracts, related skills to invoke, validation commands, and risks. If the gate failed, stop at failure analysis.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/context-discovery-notes.md
- templates/context-aware-design-brief-template.md
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.

