android-permissions-editor

Guide Android runtime permission placement across multi-module Clean Architecture layers.

7|2|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/javiercamarenatriguero/android-skills --skill android-permissions-editor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-permissions-editor
Source: https://github.com/javiercamarenatriguero/android-skills/tree/main/android-permissions-editor
Command: npx skills add https://github.com/javiercamarenatriguero/android-skills --skill android-permissions-editor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to handling Android runtime permissions across a multi-module project, ensuring clarity on where permission-related logic resides and how different architectural layers interact.

Core Features & Use Cases

  • Layered Architecture: Defines clear responsibilities for permission handling across app, feature, and component layers.
  • State Management: Implements a robust PermissionState model for tracking permission status (Unknown, Granted, ShowRationale, PermanentlyDenied).
  • Clean Architecture Integration: Guides the implementation of permission requests following Clean Architecture principles.
  • Use Case: When developing a new feature that requires camera access, use this Skill to correctly implement the permission request flow, rationale display, and handling of permanently denied states, ensuring a seamless user experience and adherence to architectural best practices.

Quick Start

Use the android-permissions-editor skill to implement camera permission handling in a new feature module.

Frequently Asked Questions about android-permissions-editor

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

FAQPage Schema
How do I handle Android runtime permissions in a multi-module project?

Handling Android runtime permissions in a multi-module project requires separating logic across app, feature, and component layers. This approach places PermissionState tracking and PermissionManager logic in distinct modules to ensure proper separation of concerns and dependency management.

What is the best way to structure permission state management in Clean Architecture?

Permission state management in Clean Architecture uses a robust model tracking statuses like Unknown, Granted, ShowRationale, and PermanentlyDenied. This ensures clear responsibilities and proper separation of concerns when implementing permission requests across architectural layers.

How do I implement a camera permission request flow following Clean Architecture principles?

Implementing a camera permission request flow involves defining UI flows and permission logic across app, feature, and component layers. This ensures correct handling of permission requests, rationale display, and permanently denied states while adhering to architectural best practices.

When do I need to display a permission rationale in Android?

You need to display a permission rationale in Android when the PermissionState is marked as ShowRationale. This state tracking guides the implementation of UI flows to properly inform users before requesting access to features like the camera.

How do I handle permanently denied runtime permissions in Android?

Handling permanently denied runtime permissions involves checking the PermanentlyDenied state within your PermissionState model. The architecture guides the implementation of specific UI flows to handle this state, ensuring a seamless user experience when access is revoked.

Can I use Clean Architecture for Android permission requests across different feature modules?

Yes, you can use Clean Architecture for Android permission requests across feature modules. This approach defines clear placement of PermissionState and PermissionManager across app, feature, and component layers, ensuring proper dependency management and separation of concerns.