---
title: "Compose Slot API Pattern - Air Market"
description: "You built one Compose component and now every caller wants a slightly different look, so it keeps growing extra content parameters and true/false switches. That is the moment this is for. It is guida…"
canonical: "https://airmarket.ai/app/compose-slot-api-pattern"
---

[Air Market](/) / [Developer Tools](/category/devtools) / Compose Slot API Pattern

Skill by [Vitor Pamplona](/@vitorpamplona)

# Compose Slot API Pattern

When a component grows boolean flags, reshape it into slots

## What this does

You built one Compose component and now every caller wants a slightly different look, so it keeps growing extra content parameters and true/false switches. That is the moment this is for. It is guidance for designing and reviewing components whose visual parts vary by caller.

### Top 3 things it does for you

- Design a component callers can fill in themselves
- Review a reusable component before others depend on it
- Untangle a component sprouting boolean shape flags

## Information

**Compose Slot API Pattern at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Vitor Pamplona](/@vitorpamplona) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 12 KB |
| Licence | MIT |
| Repository | [vitorpamplona/amethyst](https://github.com/vitorpamplona/amethyst/tree/6cd4de51aa74398d973a36f777968d9d01c75a21/.claude/skills/compose-slot-api-pattern) |
| GitHub stars | 1,590 (as of Nov 2026) |
| Installs | 10, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Compose Slot API Pattern and flagged nothing. AIR's verdict: **safe**.

**What Compose Slot API Pattern's check was run against**

|  |  |
| --- | --- |
| Commit | 6cd4de51aa74398d973a36f777968d9d01c75a21 |
| Content hash | d78515677448c411fb6f30e67031c03ec42c5fdf9463c7ab76df35305ef25330 |
| Files read | [Browse the files at this exact commit](https://github.com/vitorpamplona/amethyst/blob/6cd4de51aa74398d973a36f777968d9d01c75a21/.claude/skills/compose-slot-api-pattern/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Compose Slot API Pattern](/security/compose-slot-api-pattern)

## About Compose Slot API Pattern

This is about designing reusable Jetpack Compose components whose visual regions differ depending on who calls them, and reviewing components that are heading that way - the tell being primitive content parameters and boolean shape flags piling up.

It is a technique-layer skill, complementing the codebase-specific compose-expert.

## What's inside

- SKILL.md - instructions

## Questions

### Is Compose Slot API Pattern safe to install?

AIR scanned this exact version of Compose Slot API Pattern and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 6cd4de51aa74, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/compose-slot-api-pattern.

### How do I install Compose Slot API Pattern?

Open https://airmarket.ai/app/compose-slot-api-pattern on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/vitorpamplona/amethyst/tree/6cd4de51aa74398d973a36f777968d9d01c75a21/.claude/skills/compose-slot-api-pattern. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by Vitor Pamplona](/@vitorpamplona)

---

Canonical URL: <https://airmarket.ai/app/compose-slot-api-pattern>
