mcpField
A
android-platform-core

android-platform-core

github.com/fandhe-aiDevelopment449 installsUpdated 1d ago
Repository

About android-platform-core

android-platform-core is a reference skill for Android platform APIs, intended for Android developers. It organizes documentation on app components, manifests, permissions, notifications, system UI, and Glance widgets by task.

Key features

  1. 01Task-to-reference category mapping
  2. 02App component and manifest guidance
  3. 03Permission and notification references
  4. 04System UI and Glance widget references

Use cases

  1. 01Finding guidance on Activity lifecycle and intents
  2. 02Checking manifest, resource, or permission setup
  3. 03Implementing notification behavior
  4. 04Building and testing Glance widgets

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill android-platform-core

After installing, type/android-platform-corein Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/app-components/
activity-lifecycle.md
activity-result-contracts.md
activity.md
app-components-overview.md
app-process-priority.md
application-class.md
background-activity-launch.md
common-intents.md
component-activity-compose.md
configuration-changes.md
content-provider-basics.md
content-provider-creating.md
intent-filters.md
intent.md
package-visibility.md
parcelables-and-bundles.md
README.md
tasks-and-back-stack.md
references/glance-widgets/
actions.md
button.md
composition-locals.md
error-handling.md
generated-previews.md
glance-app-widget-receiver.md
glance-app-widget.md
glance-modifier.md
glance-theme.md
image.md
layout-containers.md
lazy-lists.md

Details

From the project README

Android Platform Core リファレンス

Android プラットフォーム公式ドキュメント(app components / manifest / permissions / notifications / system UI / Glance)の主要 API を網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

skills/android-platform-core/
  SKILL.md
  references/
    app-components/
      README.md
      activity-lifecycle.md
      activity-result-contracts.md
      activity.md
      app-components-overview.md
      app-process-priority.md
      application-class.md
      background-activity-launch.md
      common-intents.md
      component-activity-compose.md
      configuration-changes.md
      content-provider-basics.md
      content-provider-creating.md
      intent-filters.md
      intent.md
      package-visibility.md
      parcelables-and-bundles.md
      tasks-and-back-stack.md
    manifest-resources/
      README.md
      action-category-data-elements.md
      activity-alias-element.md
      activity-element.md
      adaptive-icons.md
      application-element.md
      compose-resource-access.md
      drawable-resources.md
      grant-uri-permission-element.md
      instrumentation-element.md
      localization-rtl.md
      manifest-element.md
      manifest-merging.md
      manifest-structure.md
      meta-data-element.md
      permission-element.md
      property-element.md
      provider-element.md
      queries-element.md
      receiver-element.md
      resource-directories.md
      resource-naming-compression.md
      resource-qualifiers.md
      service-element.md
      string-resources.md
      style-theme-resources.md
      supports-screens-element.md
      uri-relative-filter-group-element.md
      uses-feature-element.md
      uses-library-element.md
      uses-permission-element.md
      uses-sdk-element.md
      value-resources.md
    permissions-privacy/
      README.md
      permission-types-and-protection-levels.md
      declaring-permissions.md
      defining-custom-permissions.md
      requesting-runtime-permissions.md
      requesting-permissions-in-compose.md
      evaluating-permission-need.md
      explaining-permission-access.md
      permission-groups-and-one-time-permission.md
      default-handler-permissions.md
      automatic-permission-reset.md
      special-permissions-overview.md
      system-alert-window.md
      manage-external-storage.md
      post-notifications-permission.md
      location-permissions.md
      location-button.md
      media-permissions.md
      nearby-devices-permissions.md
      restrict-interactions-with-other-apps.md
      data-safety-and-privacy-policy.md
      advertising-and-app-set-id.md
    notifications/
      README.md
      bubbles.md
      call-style.md
      custom-notification.md
      expanded-notifications.md
      full-screen-intent.md
      live-update.md
      metric-style.md
      notification-actions.md
      notification-badges.md
      notification-builder.md
      notification-channels.md
      notification-groups.md
      notification-manager.md
      notification-navigation.md
      notification-permission.md
      notification-progress.md
      promoted-notifications.md
    system-ui/
      README.md
      window-insets.md
      window-insets-modifiers.md
      material3-insets.md
      edge-to-edge.md
      system-bar-appearance.md
      display-cutout.md
      picture-in-picture.md
      pip-setup.md
      app-shortcuts.md
      creating-shortcuts.md
      adaptive-icons.md
      splash-screen.md
      dark-theme.md
      keep-screen-on.md
    glance-widgets/
      README.md
      actions.md
      button.md
      composition-locals.md
      error-handling.md
      generated-previews.md
      glance-app-widget.md
      glance-app-widget-receiver.md
      glance-modifier.md
      glance-theme.md
      image.md
      layout-containers.md
      lazy-lists.md
      metrics.md
      multi-process-glance-app-widget.md
      pin-in-app.md
      progress-indicators.md
      remoteviews-interop.md
      remoteviews-legacy.md
      scaffold-titlebar.md
      size-modes.md
      state-management.md
      testing.md
      text.md
      toggle-controls.md
      widget-configuration.md
      widget-updates.md

glance-widgets は androidx.glance の API であり、モバイル Compose (androidx.compose) とは別 API 系統(同名の Text / Image / Button でもシグネチャが異なる)。

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
Activity のライフサイクル・生成/破棄を扱いたいapp-componentsreferences/app-components/README.md
Intent / IntentFilter / ActivityResultContracts で画面遷移・結果受け渡しをしたいapp-componentsreferences/app-components/README.md
タスクとバックスタック・構成変更・Application クラスを理解したいapp-componentsreferences/app-components/README.md
ContentProvider を実装・利用したいapp-componentsreferences/app-components/README.md
AndroidManifest.xml の要素・マニフェストマージを設定したいmanifest-resourcesreferences/manifest-resources/README.md
リソースディレクトリ・修飾子・strings/colors/styles/drawable を定義したいmanifest-resourcesreferences/manifest-resources/README.md
ローカライズ・RTL 対応をしたいmanifest-resourcesreferences/manifest-resources/README.md
ランタイム権限・特別な権限を要求したいpermissions-privacyreferences/permissions-privacy/README.md
位置情報・メディア・通知権限を扱いたいpermissions-privacyreferences/permissions-privacy/README.md
パッケージ可視性・プライバシーポリシー対応をしたいpermissions-privacyreferences/permissions-privacy/README.md
NotificationCompat / 通知チャンネルで通知を組み立てたいnotificationsreferences/notifications/README.md
通知アクション・展開スタイル・グループ化・フルスクリーンインテントを使いたいnotificationsreferences/notifications/README.md
バブル (BubbleMetadata) や CallStyle 通話通知を実装したいnotificationsreferences/notifications/README.md
WindowInsets・エッジツーエッジ・ディスプレイカットアウトに対応したいsystem-uireferences/system-ui/README.md
Picture-in-Picture・ショートカット・スプラッシュスクリーン・ダークテーマを扱いたいsystem-uireferences/system-ui/README.md
Glance でアプリウィジェットを作りたいglance-widgetsreferences/glance-widgets/README.md
ウィジェットの設定画面・状態保存・更新トリガーを実装したいglance-widgetsreferences/glance-widgets/README.md
Glance のテスト・プレビュー生成・エラー処理を扱いたいglance-widgetsreferences/glance-widgets/README.md

Service / BroadcastReceiver は android-background-work、ディープリンクと予測型戻るは android-navigation、ファイル/MediaStore は android-data、Compose の UI は android-compose-ui / android-compose-components の担当。

Comments

Markdown supported