jetpack

Resolve AndroidX library versions, Maven coordinates, and download sources.

48|11|Updated Jun 12, 2010
One-click install
npx skills add https://github.com/ithinkihaveacat/dotfiles --skill jetpack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jetpack
Source: https://github.com/ithinkihaveacat/dotfiles/tree/main/etc/skills/jetpack
Command: npx skills add https://github.com/ithinkihaveacat/dotfiles --skill jetpack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill resolves AndroidX/Jetpack library information including version lookup, package-to-Maven-coordinate conversion, and source code downloading. It also offers utilities to inspect Jetpack class implementations and to download Jetpack sources for analysis.

Core Features & Use Cases

  • Version resolution: Determine the latest or pinned versions for Jetpack libraries (ALPHA/BETA/STABLE/SNAPSHOT) to support builds and audits.
  • Coordinate conversion: Map AndroidX packages to Maven coordinates for dependency declarations.
  • Source access & inspection: Download and inspect Jetpack source code to understand implementations or troubleshoot issues.
  • Use Case: When integrating an androidx library, use this skill to resolve its Maven coordinate, check a stable version, and fetch the corresponding sources for review.

Quick Start

Run a quick check for a class: scripts/jetpack inspect androidx.core.splashscreen.SplashScreen

Frequently Asked Questions about jetpack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the Maven coordinate for an AndroidX package?

To find the Maven coordinate for an AndroidX package, you can use this skill to map the package name to its corresponding Maven coordinate for dependency declarations. It resolves the exact coordinate required for your Gradle build files.

How do I check the latest stable or beta version of a Jetpack library?

To check the latest stable or beta version of a Jetpack library, this skill performs version lookups across ALPHA, BETA, STABLE, and SNAPSHOT channels. It queries the Google and AndroidX repositories to return the correct version string for your builds.

How can I download AndroidX source code for inspecting class implementations?

You can download AndroidX source code for inspecting class implementations by using this skill's source access and inspection utilities. It fetches the relevant Jetpack sources so you can review the implementation details of specific classes.

Do I need specific tools or network access to resolve AndroidX library information?

Yes, resolving AndroidX library information requires curl, xmllint, and jar (JDK) installed locally. You also need network access to the Google and AndroidX repositories to perform version lookups and source downloads.

Can I inspect a specific Jetpack class directly from the command line?

Yes, you can inspect a specific Jetpack class directly from the command line by running the skill's inspect command. For example, running `scripts/jetpack inspect androidx.core.splashscreen.SplashScreen` retrieves and displays the class implementation.