polymath-void/ai-agents-skills-workspace/piuu-compose-launcher-ui

Claude Code and agent skill by polymath-void/ai-agents-skills-workspace

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Jetpack Compose 4-column Android standard grid, 2D matrix widget resizing, raw wallpaper background view, status bar padding fit, and responsive visual theme palettes.

Install

npx vskill@latest install polymath-void/ai-agents-skills-workspace/piuu-compose-launcher-ui

SKILL.md

The same SKILL.md was published earlier as polymath-void/ai-agents-skills-workspace/piuu-compose-launcher-ui.

📱 Piuu Compose Launcher UI Skill (piuu-compose-launcher-ui)

This skill documents modern Jetpack Compose UI architecture for building 60fps Android launcher interfaces, 2D grid matrix resizing, status bar margins, and raw wallpaper background rendering.


📐 1. Standard 4-Column Android Launcher Grid

Android homescreen layouts align to a 4-column grid (GridCells.Fixed(4)) with dynamic 1–4 column span mapping:

kotlin
LazyVerticalGrid(
columns = GridCells.Fixed(4),
modifier = Modifier.fillMaxSize().padding(horizontal = 12.dp),
horizontalArrangement = Arrangement.spacedBy(8.dp),
verticalArrangement = Arrangement.spacedBy(10.dp)
) {
items(
items = page.elements,
key = { it.element_id },
span = { elem ->
val requestedWidth = elem.style_props.w ?: 2
val spanWidth = requestedWidth.coerceIn(1, 4)
GridItemSpan(spanWidth)
}
) { elem ->
// Widget Card Rendering
}
}

🖼️ 2. Raw Wallpaper Background View & Status Bar Padding Fit

To ensure the homescreen displays raw device wallpaper without forcing dark dimming masks:

kotlin
// Default raw wallpaper background
val activeBgColor = LauncherBackground.copy(
alpha = if (config.enableWallpaperMask) config.backgroundTransparency else 0.0f
)
Box(
modifier = Modifier
.fillMaxSize()
.background(activeBgColor)
.statusBarsPadding()
.navigationBarsPadding()
)

Enforcing .statusBarsPadding() and .navigationBarsPadding() directly on the outer container Box guarantees the app drawer card and widgets respect Android system status bar and gesture navigation margins.


📐 3. Text Overflow & Ellipsis Protection

All card titles, app shortcut names, and widget headers must enforce strict single-line bounds:

kotlin
Text(
text = app.name,
fontSize = 11.sp,
fontWeight = FontWeight.Medium,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
textAlign = TextAlign.Center
)

🛠️ Required & Associated Agent Workspace Tools

When scaffolding or refactoring Jetpack Compose launcher interfaces, activate these tools from `AI-Agents-Workspace-Tools-Library`:

  • `wc-scaffold` (`docs`): Generates boilerplate Jetpack Compose @Composable component files and StateFlow repositories.
  • `wc-code-mod` (`docs`): Performs safe multi-file Kotlin batch replacements (e.g. updating grid span logic).
  • `wc-analyze` (`docs`): Profiles cyclomatic complexity and function metrics of Compose screens.
  • `wc-json-query` (`docs`): Extracts widget configuration values and dimensions from theme definitions.
  • Upcoming Tool Note: wc-compose-preview (CLI Compose AST syntax validator) is tracked for subsequent implementation.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/polymath-void/ai-agents-skills-workspace/piuu-compose-launcher-ui/badge)](https://verified-skill.com/skills/polymath-void/ai-agents-skills-workspace/piuu-compose-launcher-ui)

Something wrong with this skill or its page? Tell us.