npx skills add ...
npx skills add posthog/skills --skill feature-flags-android
npx skills add posthog/skills --skill feature-flags-android
PostHog feature flags for Android applications
This skill helps you add PostHog feature flags to Android applications.
references/android.md - Android feature flags installation - docsreferences/adding-feature-flag-code.md - Adding feature flag code - docsreferences/best-practices.md - Feature flag best practices - docsConsult the documentation for API details and framework-specific patterns.
Check if a PostHog MCP server is connected. If available, look for tools related to feature flag management (creating, listing, updating, deleting flags). Use these tools to manage flags directly in PostHog rather than requiring the user to do it manually in the dashboard.
PostHogAndroid.setup() only once in the Application class's onCreate() method, so it's initialized as early as possible and only once.onCreate() methodandroid:label to accurately track screen views.