AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Compose Component Expert

skill-josephsanjaya-skills-compose-component-expert · by JosephSanjaya

Expert guide for designing, building, and optimizing reusable Jetpack Compose components. Applies 2026 best practices, Style API, slot APIs, Modifier.Node, strong skipping mode, recomposition optimization, and Detekt/Ktlint rules validation. Trigger this skill whenever the user asks about Jetpack Compose component design, custom modifiers, skippability, derivedStateOf, modifier parameter order, c…

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-josephsanjaya-skills-compose-component-expert

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-josephsanjaya-skills-compose-component-expert)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Compose Component Expert? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Compose Component Expert

Design + optimize reusable Jetpack Compose components. 2026 standards.

Use smart caveman mode prose. Maintain token efficiency. Code snippets must be type-safe. Refer to specific markdown files in references/ for deep details.

1. Quick Decision Matrix

| Target | Tool / Standard | Details | | :--- | :--- | :--- | | API Design | Slot APIs, stateless/stateful splits | [best-practices.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/best-practices.md) | | Performance | Strong skipping, derivedStateOf, stability | [performance.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/performance.md) | | New APIs | Modifier.Node, Style API, SharedElement | [new-apis-2026.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/new-apis-2026.md) | | Static Rules | Detekt / Ktlint compose rules | [detekt-rules.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/detekt-rules.md) |

2. Directory Structure

  • References:
  • [best-practices.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/best-practices.md) — API design rules, param ordering, naming.
  • [performance.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/performance.md) — Stability, recomposition scopes, derivedStateOf, AOT profiles.
  • [new-apis-2026.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/new-apis-2026.md) — Modifier.Node, Style API, Predictive Back.
  • [detekt-rules.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/detekt-rules.md) — Detekt/Ktlint rules index.
  • Samples:
  • [SlotApiComponent.kt](file:///Users/jsanjaya/Projects/skills/compose-component-expert/samples/SlotApiComponent.kt) — Slot pattern + scope constraints.
  • [ModifierNodeComponent.kt](file:///Users/jsanjaya/Projects/skills/compose-component-expert/samples/ModifierNodeComponent.kt) — Modifier.Node element + state update.
  • [StyleApiComponent.kt](file:///Users/jsanjaya/Projects/skills/compose-component-expert/samples/StyleApiComponent.kt) — Style API presses & transitions.

3. Related Compose Skills

Jump to specialized skills:

  • android-jetpack-compose-adaptive — Adaptive/multi-pane UI layouts.
  • android-jetpack-compose-migration-migrate-xml-views-to-jetpack-compose — Legacy XML migration.
  • android-jetpack-compose-theming-styles — Component styles API integration.
  • android-navigation-navigation-3 — Navigation 3 Scenes & backstacks.
  • android-system-edge-to-edge — System bar margins, IME insets.
  • compose-lists-optimizing-lazy-layouts — Lazy layout scroll performance.
  • compose-m3-theme-expert — Material 3 custom theming.
  • compose-modifiers-migrating-to-modifier-node — Modifier.Node custom modifier optimization.
  • compose-recomposition-choosing-derivedstateof — derivedStateOf usage rules.
  • compose-recomposition-deferring-state-reads — Deferring state reads.
  • compose-side-effects-collecting-flows-safely — Lifecycle-aware flow collection.
  • compose-stability-stabilizing-compose-types — Parameter stability optimization.
  • Expose stateless Slot APIs; trailing lambda last; first optional param MUST be modifier: Modifier = Modifier.
  • Use primitive State holders (mutableIntStateOf) to avoid autoboxing.
  • Use Modifier.Node instead of composed {}.
  • Style API transitions must run in layout/draw phases using pressed(Style { animate(Style { ... }) }) structures.
  • Code should be clean, type-safe, and conform to the schema required in [detekt-rules.md](file:///Users/jsanjaya/Projects/skills/compose-component-expert/references/detekt-rules.md) to pass CI audits.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.