本文へ移動
cccskills
無料GitHub で公開

mobile-local-data

Use this skill when changing persisted local data, storage keys, caches, or any offline/sync behavior.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

mobile-local-data — Canonical Skill

Purpose

Constrain local persistence to the verified Preferences-only model and block invented offline architectures.

When to use

Storage keys, caches, logout cleanup, quota/expiry, or any SQLite/offline proposal (verify-first — none is implemented).

Required reading

  • skills/mobile/LOCAL_DATA.md

Relevant project locations

  • src/utils/StorageUtil.ts, src/composables/useAppStorage.ts
  • src/composables/useCache.ts, src/libs/constant.ts (keys)

Mandatory rules

  1. App persistence uses Capacitor Preferences. No app-managed SQLite/IndexedDB database or migration layer is present.
  2. clearStorage preserves locale/theme/FCM/device keys — keep that list.
  3. Any schema/key change must review existing data, upgrade path, Android/iOS parity, logout cleanup, and tests.
  4. Never claim encryption, offline-first sync, or conflict resolution — all NOT_FOUND.

Implementation workflow

  1. Inventory affected keys + readers/writers + logout path.
  2. Plan preserve-vs-migrate for existing user data.
  3. Implement with namespaced keys and cleanup.
  4. Verify per mobile-testing, incl. upgrade + logout scenarios.

Verification

Storage round-trip + preservation + logout-cleanup checks; sync claims need queue/conflict evidence.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use this skill when adding or changing REST API calls, HTTP client config, error handling, uploads/downloads, or network behavior.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

Use this skill when working on login, logout, session restore, tokens, route guards, or any authentication and authorization behavior.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

Use this skill when building, syncing Capacitor, or preparing Android/iOS releases and environment configuration.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

Use this skill when creating, modifying, or debugging Ionic Vue components, pages, forms, dialogs, or theme/safe-area UI behavior.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

Use this skill for any Ionic Vue + Capacitor mobile work: Vue architecture, Composition API, TypeScript, state, env config, shared conventions. Required for every implementation task alongside mobile-testing.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

Use this skill when handling inbound URLs, custom schemes, app links, universal links, or URL-bearing notification payloads.

日本語の概要は準備中です。原文の説明を表示しています。

bekaku/vue-ionic-example-app62026年10月5日 更新

bekaku のスキルをすべて見る

このスキルの問題を報告する