/apk-skills-jeiler:cameraxfrom apk-skills-jeiler
Guides Android camera development with CameraX, covering recording lifecycles, Camera2 interop, migration from Camera1/Camera2, and ML Kit/Media3 integration.
Ships in apk-skills-jeiler. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill provides procedural guidance and standard patterns for building
camera applications on Android, with a focus on CameraX, including its
Camera2Interop utilities, and Media3 integrations.
Various Android camera and media APIs, especially CameraX VideoCapture, use a
fluent, immutable builder-like pattern where methods return a new instance.
Failing to reassign these results in settings, such as audio, being ignored.
Pattern: Reassignment is required
// WRONG
run {
val pending = recorder.prepareRecording(context, opts)
pending.withAudioEnabled() // This returns a new instance which is ignored
val active = pending.start(exec, listener)
}
// CORRECT
run {
val pending = recorder.prepareRecording(context, opts)
.withAudioEnabled() // Chaining works
val active = pending.start(exec, listener)
}
// ALSO CORRECT
run {
var pending = recorder.prepareRecording(context, opts)
pending = pending.withAudioEnabled() // Reassignment
val active = pending.start(exec, listener)
}
See immutability for a list of affected classes.
When migrating legacy camera codebases to the CameraX Jetpack library:
android.hardware.Camera implementations, surface handling, and manual lifecycles, see the Camera1 migration guide.android.hardware.camera2 implementations, session state callbacks, and interop patterns, see the Camera2 migration guide.For multi-step features that involve multiple files and hardware-level wiring, follow the Structural Blueprinting approach to avoid system timeouts. Such complex features include:
ViewModel state, the controller layer, and the Camera2Interop wiring in the session.Media3Effect or SurfaceProcessor over manual OpenGL pipelines unless absolute performance is required.StreamUseCase optimizations and PowerManager thermal states.FakeCameraConfig, handling asynchronous lifecycles, and validating analysis pipelines.See expert-blueprints for step-by-step guides.
Always use higher-level abstractions instead of low-level manual wiring:
MlKitAnalyzer instead of manual ImageAnalysis.Analyzer.Media3Effect for standard post-processing.ConcurrentCamera APIs for dual-stream setups.See modern-apis for current recommendations.
Adhere to the following Android ecosystem standard patterns when building your camera implementations:
Mockito, especially for multi-step CameraX interfaces like ImageProxy. Build "Fakes" to verify state rather than unreliable implementation details.assertThat over standard JUnit assertions like assertEquals for improved readability.@RunWith for test classes to ensure the CI environment executes them correctly.Icon and Text, use semantics { mergeDescendants = true } to ensure screen readers announce them as a single, coherent unit.Camera apps run on a wide variety of hardware, from mobile phones and foldables to tablets, laptops, and even smart appliances. Have consideration for the specific hardware the app is running on.
isRecording state before attempting to stop or pause. Handle VideoRecordEvent.Start for UI state updates, not just the initial call.CAMERA permission; check for RECORD_AUDIO specifically when enabling audio in VideoCapture.references/camera1-to-camerax.md (opens in a new tab)references/camera2-to-camerax.md (opens in a new tab)references/expert-blueprints.md (opens in a new tab)references/foldables.md (opens in a new tab)references/immutability.md (opens in a new tab)references/low-light.md (opens in a new tab)references/mlkit-spatial.md (opens in a new tab)references/modern-apis.md (opens in a new tab)references/testing.md (opens in a new tab)references/thermals.md (opens in a new tab)references/wear-os.md (opens in a new tab)references/xr.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
apk-skills-jeiler@plugins-jeiler is listed by jrivadeneiramejia1-source/plugins-jeiler — review the source before installing
npx claudepluginhub jrivadeneiramejia1-source/plugins-jeiler --plugin apk-skills-jeiler37 skills in this plugin
/adaptiveInstructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs. It also covers desktop experiences with keyboard shortcuts, tooltips and custom cursors./android-intent-securityBest practices for Android Intent security. Use this skill when auditing component configurations in AndroidManifest.xml activities, services, receivers) or source code handling incoming Intents (getIntent, getParcelableExtra) to prevent Intent Redirection and unauthorized access./android-patternsDefines all implementation patterns for Android features: Unidirectional Data Flow (UDF), ViewModel design, Flow composition, error handling, repository pattern, domain UseCases, and Compose UI patterns. Use this skill whenever implementing a ViewModel, designing state or action models, writing a repository or UseCase, composing Flows, handling errors, building Compose screens or components, or reviewing code for correctness of reactive patterns or state management./android-permissions-securityAudits, detects gaps, and remediates Android permissions and IPC component security vulnerabilities. Use when reviewing AndroidManifest.xml, defining custom permissions, securing Services, Receivers, and Providers, verifying caller signatures and UID using Binder, or implementing runtime permission flows./android-testingDefines testing standards for Android projects, including JUnit 5, Turbine, Mockito or MockK, descriptive backtick test names, parameterized tests, and flow testing patterns. Use this skill when creating, reviewing, or refactoring unit tests for ViewModels, use cases, mappers, calculators, repositories, or other pure Kotlin Android components./anr-audit-and-fixAudits Android codebases for ANR risks and diagnoses ANR stack dumps. Use this skill when scanning Android code for ANR risks or triaging ANR stack dumps. Don't use for non-ANR crashes, dropped frames, general CPU profiling, or Perfetto system traces.5 plugins ship this exact skill · first indexed Jul 27, 2026
Other plugins' skills for the same job