Skip to content
cccskills
FreePublished on GitHub

android-ui-design

Design, implement, review, and audit Android Jetpack Compose UI/UX for phone interfaces. Use when a request concerns concrete Compose layout, components, interaction, accessibility, or visual behavior. Do not activate for framework or dependency presence alone; non-UI Android work is excluded.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md6.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Android UI design

Apply this specialized guidance to Android phone interfaces built with Jetpack Compose. Keep the active cc-feature, cc-fix, cc-review, or cc-openspec workflow and its gates; this skill contributes UI/UX criteria, not a separate workflow. Use the general android skill for architecture, dependency injection, Media3, performance, testing, and other non-UI Android engineering.

Intake and boundaries

Identify the user goal, phone surface, affected interaction, supported Android versions, and observable outcomes. Inspect the existing Compose components, design tokens, navigation conventions, installed versions, tests, previews, and available emulator or device tooling before proposing changes.

Preserve the established product visual system, including its components, color, type, shape, spacing, and motion tokens. Material 3 is advisory guidance, not a mandate to replace a deliberate product language. Suggest Material 3 changes with their accessibility or usability benefit and wait for scope approval when they would alter the visual direction.

The initial scope is phones. Do not invent tablet, foldable, desktop, or wearable layouts. Still account for phone portrait and landscape orientation, window size changes, display cutouts, system bars, and the soft keyboard or IME.

Design mode

Turn the request into a small interaction contract before implementation:

  • Define hierarchy, content, spacing, phone layout, scroll and overflow behavior, navigation, focus entry and return, gestures, and predictive back behavior.
  • Specify applicable default, pressed, focused, disabled, pending or loading, empty, success, error or failure, and offline states. State what changes and what the user can do next; never imply success before it is known.
  • Name the state owner. Prefer state hoisting, a single source of truth, and unidirectional data flow (UDF); keep transient visual state local only when no external owner needs to observe or control it.
  • Design edge-to-edge intentionally with WindowInsets and system bars. Define IME resize, pan, focus, dismissal, and restoration behavior for editable surfaces.
  • Require at least 48dp touch targets, meaningful semantics, TalkBack labels and actions, logical traversal or focus order, sufficient contrast, and usable font scaling without clipped or hidden actions.
  • Add motion only when it has a purpose such as continuity, spatial orientation, feedback, or state change. Define start/end state, interruption, cancellation or reversal, repeated or rapid input, and reduced-motion or reduced-animation behavior that preserves essential information.

Use existing components and platform/Compose primitives before adding code or a dependency. When alternatives are requested, compare only scoped options and make the product-system and Material 3 tradeoffs explicit.

Implementation mode

Implement the accepted contract without expanding the visual language. Keep composables focused, pass immutable UI state and event callbacks, and preserve unidirectional data flow. Hoist state to the lowest common owner that needs to read or write it. Do not duplicate navigation, loading, or failure truth across the composition.

Prefer semantic Material/Compose controls over raw pointer input. When a custom gesture is necessary, preserve accessible actions, minimum touch targets, visual feedback, cancellation, and interoperability with scrolling. Consume insets once at the correct boundary and verify that edge-to-edge content and IME transitions do not obscure controls.

Write tests for observable behavior and state outcomes rather than modifier or implementation details. Cover the relevant state transition, duplicate or rapid input, disabled behavior, semantics, navigation/back behavior, and state restoration. Use previews as design aids, not as proof of runtime interaction.

Review mode

Review the agreed surface against the interaction contract and existing Review Report rules. Each finding needs a location, reproduction or evidence, user impact, and proposed resolution. Treat contract and accessibility failures as defects; classify unsupported aesthetic preferences as suggestions. Do not create a new review axis or elevate a Material 3 preference over the product system.

Check state completeness, TalkBack semantics and traversal, 48dp touch targets, contrast and font scaling, focus/IME behavior, edge-to-edge insets, gestures, predictive back, orientation changes, state ownership/UDF, motion interruption, reduced animation, and rapid repeated interaction as applicable.

Audit mode

A requested audit is read-only. Inspect only the agreed Compose phone surface and report prioritized, evidence-backed findings; an audit is not permission to edit, implement, modify, or automatically fix the UI. Keep out-of-scope improvements as suggestions and create backlog work only when requested through the existing workflow.

Distinguish code inspection, semantics tests, screenshots, and live emulator or device interaction because they prove different things. If required visual, emulator, or device evidence is unavailable, mark that validation pending with the surface, steps, expected result, and limitation. Do not claim visual validation or a completed acceptance criterion without executing the check.

Evidence and delivery

Report the observable outcomes checked, commands or tools used, results, and limitations. A screenshot cannot prove TalkBack traversal, gesture interruption, IME recovery, predictive back, or repeated-input behavior. Prefer a real phone or phone emulator for those checks; otherwise leave precise pending verification.

Primary Android references: Compose semantics, accessibility defaults, state and hoisting, window insets, predictive back, and Compose accessibility testing.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when adding monitoring, metrics, logging, or tracing to Spring AI or LLM integration code. Covers token tracking, latency measurement, cost estimation, and prompt/response logging. Use when user mentions AI monitoring, token costs, or LLM observability.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

Provides expert knowledge for designing, implementing, and managing REST API versioning strategies with deprecation workflows.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

astro

Free

Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

Audits token storage mechanisms to prevent XSS-based JWT theft.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

Provides patterns to configure AWS RDS (Aurora, MySQL, PostgreSQL) with Spring Boot applications. Configures HikariCP connection pools, implements read/write splitting, sets up IAM database authentication, enables SSL connections, and integrates with AWS Secrets Manager. Use when setting up RDS connections in Spring Boot, configuring connection pooling, or managing database credentials securely.

The English summary is being prepared. Showing the original description.

lgzarturo/springboot-course3Updated Oct 17, 2026

See all skills by lgzarturo

Report a problem with this skill