jetpack

Resolves AndroidX/Jetpack library information including version lookup, package-to-Maven-coordinate conversion, and source code downloading. Provides tools for inspecting Jetpack library implementations. Use when working with androidx libraries, resolving Maven coordinates, downloading Jetpack source code, checking library versions (alpha/beta/stable/snapshot), or inspecting AndroidX class implementations. Triggers: androidx, jetpack, maven coordinate, jetpack source, library version, snapshot, alpha, beta.

47 stars

Best use case

jetpack is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Resolves AndroidX/Jetpack library information including version lookup, package-to-Maven-coordinate conversion, and source code downloading. Provides tools for inspecting Jetpack library implementations. Use when working with androidx libraries, resolving Maven coordinates, downloading Jetpack source code, checking library versions (alpha/beta/stable/snapshot), or inspecting AndroidX class implementations. Triggers: androidx, jetpack, maven coordinate, jetpack source, library version, snapshot, alpha, beta.

Teams using jetpack should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/jetpack/SKILL.md --create-dirs "https://raw.githubusercontent.com/ithinkihaveacat/dotfiles/main/skills/jetpack/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/jetpack/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How jetpack Compares

Feature / AgentjetpackStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Resolves AndroidX/Jetpack library information including version lookup, package-to-Maven-coordinate conversion, and source code downloading. Provides tools for inspecting Jetpack library implementations. Use when working with androidx libraries, resolving Maven coordinates, downloading Jetpack source code, checking library versions (alpha/beta/stable/snapshot), or inspecting AndroidX class implementations. Triggers: androidx, jetpack, maven coordinate, jetpack source, library version, snapshot, alpha, beta.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Jetpack Library Utilities

## Important: Use Script First

**ALWAYS use `scripts/jetpack` over raw `curl` and `xmllint` commands.** The
script is located in the `scripts/` subdirectory of this skill's folder. It
provides features that raw commands do not:

- Package-to-coordinate resolution with exceptions table
- Code search integration for finding artifacts by class name
- Version type handling (ALPHA, BETA, STABLE, SNAPSHOT)
- Kotlin Multiplatform platform-specific source detection
- Build ID resolution for pinned snapshots

**When to read the script source:** If the script doesn't do exactly what you
need, or fails due to missing dependencies, read the script source. It encodes
Maven repository URL patterns, version filtering logic, and package naming
heuristics—use it as reference when building similar functionality.

## Quick Start

**Requirements:** `curl`, `xmllint` (libxml2-utils), `jar` (JDK), `jq`, `perl`.

### Highest-Value Commands

- **Inspect a class (most common):**
  `scripts/jetpack inspect androidx.wear.tiles.TileService`
- **Search for a library:** `scripts/jetpack search androidx.wear.compose`
- **Check stable version:**
  `scripts/jetpack version androidx.wear.tiles:tiles STABLE`
- **Resolve package to Maven coordinate:**
  `scripts/jetpack resolve androidx.lifecycle.ViewModel`
- **Download bleeding-edge source:**
  `scripts/jetpack source androidx.compose.ui:ui SNAPSHOT`
- **Download reference sample code:**
  `scripts/jetpack-samples androidx.compose.remote:remote-creation-compose`

## Subcommand Overview

### `version`

**Purpose**: Get specific version type (ALPHA, BETA, SNAPSHOT, etc.) for a
package. **Usage**: `scripts/jetpack version PACKAGE [TYPE] [REPO]` **Options**:
`ALPHA`, `BETA`, `RC`, `STABLE`, `LATEST`, `SNAPSHOT`.

### `versions`

**Purpose**: List all available versions for a package. **Usage**:
`scripts/jetpack versions PACKAGE [REPO]`

### `resolve`

**Purpose**: Convert Android package/class name to Maven coordinate. **Usage**:
`scripts/jetpack resolve PACKAGE_OR_CLASS` **Note**: Uses heuristic rules and an
exceptions table.

### `search`

**Purpose**: Search for artifacts by package or class name. **Usage**:
`scripts/jetpack search [OPTIONS] QUERY` **Options**: `--index` (package names),
`--code` (class names), `--force` (rebuild cache).

### `source`

**Purpose**: Download and extract source JARs. **Usage**:
`scripts/jetpack source PACKAGE... [VERSION]` **Options**: `--output DIR` to
specify destination, `--find PATTERN` to locate specific files.

### `inspect`

**Purpose**: Convenience wrapper combining `search`/`resolve` + `source`.
**Usage**: `scripts/jetpack inspect CLASS_NAME [VERSION]` **Note**: Best for
quickly checking implementation details; uses code search if direct resolution
fails.

### `dependencies`

**Purpose**: List direct Maven dependencies for an artifact. **Usage**:
`scripts/jetpack dependencies ARTIFACT [VERSION]`

### `resolve-exceptions`

**Purpose**: Find missing exceptions for the `resolve` command. **Usage**:
`scripts/jetpack resolve-exceptions COORDINATE [VERSION]`

## Standalone Scripts

### `scripts/jetpack-samples`

**Purpose**: Download non-published reference samples and integration tests.
**Usage**: `scripts/jetpack-samples ARTIFACT [--output DIR]`
**Details**: Locates files from the AOSP source structure and aggregates into readable components locally.

## Version Types

### Symbolic (Floating)

Resolves to the latest matching version at runtime.

- **ALPHA**: Latest alpha (e.g., `1.2.0-alpha05`)
- **BETA**: Latest beta (e.g., `1.2.0-beta02`)
- **RC**: Latest release candidate (e.g., `1.2.0-rc01`)
- **STABLE**: Latest stable release (e.g., `1.1.0`)
- **LATEST**: Latest version of any kind.
- **SNAPSHOT**: Latest build from `androidx.dev`.

### Pinned (Immutable)

Always resolve to the exact same code.

- **Version String**: Specific version (e.g., `1.6.0-alpha01`).
- **Build ID**: Specific snapshot build (e.g., `14710011` from
  `androidx.dev/snapshots/builds`).

## Common Workflows

### Inspecting a Class Implementation

```bash
cd "$(scripts/jetpack inspect androidx.wear.tiles.TileService)"
# Browse source files...
```

### Finding a Library

```bash
# Find libraries related to 'wear.compose'
scripts/jetpack search androidx.wear.compose

# Find which artifact contains 'RemoteImage'
scripts/jetpack search RemoteImage
```

### Checking Available Versions

```bash
# List all versions
scripts/jetpack versions androidx.wear.tiles:tiles

# Check specific version types
scripts/jetpack version androidx.wear.tiles:tiles ALPHA
scripts/jetpack version androidx.wear.tiles:tiles SNAPSHOT
```

### Working with Bleeding-Edge Code

```bash
scripts/jetpack source androidx.compose.remote:remote-creation-compose SNAPSHOT
```

### Finding Maven Coordinate

```bash
scripts/jetpack resolve androidx.core.splashscreen.SplashScreen
# Output: androidx.core:core-splashscreen
```

## Safety Notes

- **Network Access**: Requires access to `dl.google.com`, `androidx.dev`, and
  `cs.android.com`.
- **SNAPSHOTs**: Change frequently; use pinned versions or Build IDs for
  reproducibility.
- **Kotlin Multiplatform**: `source` and `inspect` automatically download
  platform-specific sources (e.g., `-android`, `-desktop`) if detected in the
  POM.

## Reference Material

- **Command Reference**: Detailed usage, arguments, and raw commands for all
  subcommands. See [references/command-index.md](references/command-index.md).
- **Troubleshooting**: Solutions for network errors, missing dependencies, and
  search failures. See
  [references/troubleshooting.md](references/troubleshooting.md).

Related Skills

wear-testing

47
from ithinkihaveacat/dotfiles

Provides a guide and ADB commands for testing Wear OS applications. Focuses on triggering system state changes, simulating edge cases, and interacting with Wear-specific surfaces (tiles, complications, watchfaces). Triggers: wear os, testing, wear os testing, test wear os app, adb, pixel watch, galaxy watch.

technical-writing-style

47
from ithinkihaveacat/dotfiles

Use this skill when authoring, reviewing, or editing technical documents, including bug reports, known issues, friction logs, PR descriptions, and the structural content and tone of commit messages. Use to ensure engineering content maintains a clear, factual, and constructive tone. Triggers: technical writing, bug report, known issue, friction log, PR description, pull request, commit message tone, review document.

emumanager

47
from ithinkihaveacat/dotfiles

Manages Android SDK, emulators, and AVDs. Use when bootstrapping Android SDK, creating/starting/stopping AVDs, downloading system images, or troubleshooting emulator issues. Supports mobile, Wear OS, TV, and Automotive devices. Covers sdkmanager, avdmanager, emulator CLI. Triggers: android emulator, android virtual device, avd, system image, wear os emulator, tv emulator, automotive emulator, bootstrap android sdk.

coding-standards

47
from ithinkihaveacat/dotfiles

Use this skill when writing, reviewing, or validating code (shell scripts, Python, Markdown) or CLI tools to ensure they follow repository coding standards and conventions. Also use when formatting git commit messages (Conventional Commits syntax, line wrapping) or checking code for style compliance. Triggers: coding standards, style guide, validate change, review conventions, shellcheck, shfmt, markdown format, python, ruff, uvx, lint, commit message format, CLI design, code review, formatting.

ai-tools

47
from ithinkihaveacat/dotfiles

Command-line tools that delegate analysis tasks to AI models. Includes image description, screenshot comparison, smart cropping around people, token counting, essay generation from text, boolean condition evaluation, context gathering, and Android UI interaction via popper. Use for describing images, comparing UI states, cropping photos around faces, counting tokens, generating reports, evaluating conditions, gathering context for analysis, automating Android apps, testing Wear OS, or any task requiring AI inference. Triggers: ai analysis, describe image, compare screenshots, smart crop, crop around people, face crop, count tokens, token count, generate essay, evaluate condition, alt text, image description, UI comparison, visual diff, satisfies condition, boolean evaluation, gemini, context, gather context, research topic, android ui, adb, uiautomator2, popper, automate app, test wear os.

adb

47
from ithinkihaveacat/dotfiles

Manipulates Android devices via ADB with emphasis on Wear OS. Provides scripts for screenshots, screen recording, tile management, WearableService inspection, package operations, and device configuration. Use when working with adb, Android devices, Wear OS watches, tiles, wearable data layer, dumpsys, or device debugging. Triggers: adb, android device, wear os, wearable, tile, screenshot, screen recording, dumpsys, logcat.

expo-ui-jetpack-compose

31392
from sickn33/antigravity-awesome-skills

expo-ui-jetpack-compose

android-jetpack-compose-expert

31392
from sickn33/antigravity-awesome-skills

Expert guidance for building modern Android UIs with Jetpack Compose, covering state management, navigation, performance, and Material Design 3.

Expo UI Jetpack Compose

1864
from LeoYeAI/openclaw-master-skills

`@expo/ui/jetpack-compose` package lets you use Jetpack Compose Views and modifiers in your app.

Kotlin/Jetpack Compose Development

509
from a5c-ai/babysitter

Expert skill for native Android development with Kotlin and Jetpack Compose

android-jetpack-compose-expert

242
from aiskillstore/marketplace

Expert guidance for building modern Android UIs with Jetpack Compose, covering state management, navigation, performance, and Material Design 3.

expo-ui-jetpack-compose

38
from lingxling/awesome-skills-cn

expo-ui-jetpack-compose