android-aidl

Define, review, and debug Android AIDL interface files for cross-process IPC.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Binh230199/ai --skill android-aidl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-aidl
Source: https://github.com/Binh230199/ai/tree/main/.github/skills/android-aidl
Command: npx skills add https://github.com/Binh230199/ai --skill android-aidl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you define, review, and debug Android AIDL interfaces so cross-process communication stays correct, versioned, and buildable.

Core Features & Use Cases

  • Interface Design: Create AIDL files with the right package structure, supported types, and method signatures for app services or HALs.
  • IPC Safety Checks: Validate one-way methods, directional parameters, Parcelable usage, and other rules that commonly break binder contracts.
  • Build and Versioning Guidance: Apply the right Gradle or AOSP Soong setup, generated stub expectations, and stability rules for frozen interfaces.
  • Use Case: You can use this Skill when preparing an Android service API, reviewing a HAL interface for VINTF compatibility, or debugging AIDL build errors.

Quick Start

Use the android-aidl skill to review the attached AIDL interface for syntax, binder rules, versioning, and Android build integration.

Frequently Asked Questions about android-aidl

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

FAQPage Schema
How do I define an Android AIDL interface for cross-process IPC?

To define an Android AIDL interface for cross-process IPC, you create an .aidl file with the correct package structure, supported data types, and method signatures. This Skill validates your interface design to ensure binder contracts remain stable and buildable.

What are the common rules for one-way methods and directional parameters in AIDL?

AIDL directional parameters like 'in', 'out', and 'inout' dictate data flow across the binder. This Skill enforces one-way method rules and directional parameter usage to prevent common IPC safety issues and broken contracts.

How do I set up Gradle or AOSP Soong builds for generated AIDL binder stubs?

You set up Gradle or AOSP Soong builds for generated AIDL binder stubs by applying the correct build configuration. This Skill provides build guidance to ensure Java or C++ stubs are generated properly for your app services or HALs.

Can I use AIDL for HAL interface design and VINTF stability checks?

Yes, you can use AIDL for HAL interface design with VINTF stability checks. This Skill reviews your HAL interfaces against VINTF compatibility requirements and enforces versioning rules for frozen interfaces.

Why does my AIDL build fail when using Parcelable data transfer?

AIDL builds often fail during Parcelable data transfer due to syntax errors or unsupported types. This Skill debugs AIDL build errors by validating Parcelable usage, supported types, and syntax rules.

When do I need versioning for frozen AIDL interfaces in Android?

You need versioning for frozen AIDL interfaces in Android when maintaining stable cross-process communication across updates. This Skill enforces versioning and stability rules to ensure your binder contracts remain backward compatible.