key-libraries

Select Android Jetpack and AniTrend libraries via the Gradle version catalog.

51|6|Updated Mar 10, 2019
One-click install
npx skills add https://github.com/AniTrend/anitrend-v2 --skill key-libraries
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: key-libraries
Source: https://github.com/AniTrend/anitrend-v2/tree/main/.agents/skills/key-libraries
Command: npx skills add https://github.com/AniTrend/anitrend-v2 --skill key-libraries

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams quickly choose the correct library stack and integration patterns in AniTrend so changes stay consistent with existing architecture and build practices.

Core Features & Use Cases

  • Centralized dependency guidance: Directs you to use gradle/libs.versions.toml and the generated libs.* accessors instead of hardcoded coordinates.
  • Framework and module alignment: Summarizes how key Android Jetpack components (Lifecycle/ViewModel, Room, Paging, WorkManager, Navigation Compose) are expected to be used within AniTrend’s feature/module structure.
  • Repo-specific in-house library usage: Provides practical pointers for AniTrend support libraries (e.g., support-arch, query builder, markdown rendering) and JitPack wrappers.
  • Integration-specific recommendations: Covers networking (Retrofit/OkHttp/GraphQL converter), image loading (Coil via Koin singleton), theming (Material3 + theme wrappers), DI (Koin), and testing (JUnit, MockK, Turbine, coroutines test).

Quick Start

Use the key-libraries skill to pick the correct Retrofit, GraphQL, Room, Paging, and theming approach for the feature you are about to implement in the AniTrend v2 codebase.

Frequently Asked Questions about key-libraries

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

FAQPage Schema
How do I manage Android Jetpack dependencies in the AniTrend codebase?

Manage Android Jetpack dependencies by using the centralized Gradle version catalog (`gradle/libs.versions.toml`) and the generated `libs.*` accessors instead of hardcoded coordinates to ensure consistent build practices.

What libraries should I use for networking and image loading in AniTrend?

Use Retrofit, OkHttp, and a GraphQL converter for networking, and load images with Coil configured via a Koin singleton, ensuring all module integrations align with the established repo patterns.

How do I configure Koin dependency injection for Android feature development?

Configure Koin dependency injection by following the established repo patterns for in-house support libraries and Koin wiring, ensuring all framework and module alignments match AniTrend's feature structure.

Which testing frameworks are recommended for Android Jetpack components?

Use JUnit, MockK, Turbine, and coroutines test for testing Android Jetpack components like Lifecycle/ViewModel, Room, Paging, and WorkManager within the AniTrend architecture.

Can I use hardcoded dependency coordinates instead of the Gradle version catalog?

Hardcoded dependency coordinates should not be used; you must use the centralized `gradle/libs.versions.toml` file with `libs.*` accessors to keep changes consistent with existing architecture and build practices.

What theming approach does AniTrend use for Jetpack Navigation Compose?

AniTrend uses Material3 combined with theme wrappers for Jetpack Navigation Compose, integrating theming and UI navigation consistently across the defined feature and module structure.