スキル一覧に戻る
pluginagentmarketplace

data

by pluginagentmarketplace

Android development plugin for Claude Code

1🍴 0📅 2026年1月7日
GitHubで見るManusで実行

SKILL.md


name: data description: Room ORM, SQLite, SharedPreferences, DataStore, encryption. version: "2.0.0" sasmp_version: "1.3.0"

Agent Binding

bonded_agent: 04-data-management bond_type: PRIMARY_BOND

Skill Configuration

atomic: true single_responsibility: Data persistence & storage

Parameter Validation

parameters: storage_type: type: string enum: [room, datastore, preferences, encrypted] required: false operation: type: string enum: [create, read, update, delete, migrate] required: false

Retry Configuration

retry: max_attempts: 2 backoff: exponential on_failure: suggest_transaction_rollback

Observability

logging: level: info include: [query, storage_type, security_level]

Data Persistence Skill

Quick Start

Room Entity & DAO

@Entity
data class User(@PrimaryKey val id: Int, val name: String)

@Dao
interface UserDao {
    @Query("SELECT * FROM User")
    suspend fun getAllUsers(): List<User>
    
    @Insert
    suspend fun insert(user: User)
}

EncryptedSharedPreferences

val prefs = EncryptedSharedPreferences.create(context, "secret",
    MasterKey.Builder(context).setKeyScheme(AES256_GCM).build(),
    AES256_SIV, AES256_GCM)

prefs.edit { putString("token", value) }

DataStore

val dataStore = context.createDataStore("settings")
val preferences = dataStore.data.map { it[KEY] ?: "" }

Key Concepts

Room Advantages

  • Type-safe queries
  • Compile-time checks
  • Suspend/Flow support
  • Migration management

SharedPreferences

  • Simple key-value store
  • Use Encrypted version for sensitive data
  • Limited to small data

DataStore

  • Modern SharedPreferences
  • Coroutine-native
  • Type-safe
  • ACID transactions

Best Practices

✅ Use Room for complex data ✅ Encrypt sensitive data ✅ Implement proper migrations ✅ Handle database errors ✅ Test database operations

Resources

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です