[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72XAQDAMMXKS4M0NHSZ1A4K":3,"skill-same:01M72XAQDAMMXKS4M0NHSZ1A4K":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M72XAQDAMMXKS4M0NHSZ1A4K","compose-multiplatform-patterns",null,"KMP项目中的Compose Multiplatform和Jetpack Compose模式——状态管理、导航、主题化、性能优化和平台特定UI。","SriramGandhiS\u002FSkills","SriramGandhiS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211849986?v=4","01M72WQCW12BYX71C6WN584TTA","Sriram S","01M72WQCWTJ2RD0ET1X31AF1RC",1,"MIT","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fcompose-multiplatform-patterns\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: compose-multiplatform-patterns\ndescription: KMP项目中的Compose Multiplatform和Jetpack Compose模式——状态管理、导航、主题化、性能优化和平台特定UI。\norigin: ECC\n---\n\n# Compose 多平台模式\n\n使用 Compose Multiplatform 和 Jetpack Compose 构建跨 Android、iOS、桌面和 Web 的共享 UI 的模式。涵盖状态管理、导航、主题和性能。\n\n## 何时启用\n\n* 构建 Compose UI（Jetpack Compose 或 Compose Multiplatform）\n* 使用 ViewModel 和 Compose 状态管理 UI 状态\n* 在 KMP 或 Android 项目中实现导航\n* 设计可复用的可组合项和设计系统\n* 优化重组和渲染性能\n\n## 状态管理\n\n### ViewModel + 单一状态对象\n\n使用单个数据类表示屏幕状态。将其暴露为 `StateFlow` 并在 Compose 中收集：\n\n```kotlin\ndata class ItemListState(\n    val items: List\u003CItem> = emptyList(),\n    val isLoading: Boolean = false,\n    val error: String? = null,\n    val searchQuery: String = \"\"\n)\n\nclass ItemListViewModel(\n    private val getItems: GetItemsUseCase\n) : ViewModel() {\n    private val _state = MutableStateFlow(ItemListState())\n    val state: StateFlow\u003CItemListState> = _state.asStateFlow()\n\n    fun onSearch(query: String) {\n        _state.update { it.copy(searchQuery = query) }\n        loadItems(query)\n    }\n\n    private fun loadItems(query: String) {\n        viewModelScope.launch {\n            _state.update { it.copy(isLoading = true) }\n            getItems(query).fold(\n                onSuccess = { items -> _state.update { it.copy(items = items, isLoading = false) } },\n                onFailure = { e -> _state.update { it.copy(error = e.message, isLoading = false) } }\n            )\n        }\n    }\n}\n```\n\n### 在 Compose 中收集状态\n\n```kotlin\n@Composable\nfun ItemListScreen(viewModel: ItemListViewModel = koinViewModel()) {\n    val state by viewModel.state.collectAsStateWithLifecycle()\n\n    ItemListContent(\n        state = state,\n        onSearch = viewModel::onSearch\n    )\n}\n\n@Composable\nprivate fun ItemListContent(\n    state: ItemListState,\n    onSearch: (String) -> Unit\n) {\n    \u002F\u002F Stateless composable — easy to preview and test\n}\n```\n\n### 事件接收器模式\n\n对于复杂屏幕，使用密封接口表示事件，而非多个回调 lambda：\n\n```kotlin\nsealed interface ItemListEvent {\n    data class Search(val query: String) : ItemListEvent\n    data class Delete(val itemId: String) : ItemListEvent\n    data object Refresh : ItemListEvent\n}\n\n\u002F\u002F In ViewModel\nfun onEvent(event: ItemListEvent) {\n    when (event) {\n        is ItemListEvent.Search -> onSearch(event.query)\n        is ItemListEvent.Delete -> deleteItem(event.itemId)\n        is ItemListEvent.Refresh -> loadItems(_state.value.searchQuery)\n    }\n}\n\n\u002F\u002F In Composable — single lambda instead of many\nItemListContent(\n    state = state,\n    onEvent = viewModel::onEvent\n)\n```\n\n## 导航\n\n### 类型安全导航（Compose Navigation 2.8+）\n\n将路由定义为 `@Serializable` 对象：\n\n```kotlin\n@Serializable data object HomeRoute\n@Serializable data class DetailRoute(val id: String)\n@Serializable data object SettingsRoute\n\n@Composable\nfun AppNavHost(navController: NavHostController = rememberNavController()) {\n    NavHost(navController, startDestination = HomeRoute) {\n        composable\u003CHomeRoute> {\n            HomeScreen(onNavigateToDetail = { id -> navController.navigate(DetailRoute(id)) })\n        }\n        composable\u003CDetailRoute> { backStackEntry ->\n            val route = backStackEntry.toRoute\u003CDetailRoute>()\n            DetailScreen(id = route.id)\n        }\n        composable\u003CSettingsRoute> { SettingsScreen() }\n    }\n}\n```\n\n### 对话框和底部抽屉导航\n\n使用 `dialog()` 和覆盖层模式，而非命令式的显示\u002F隐藏：\n\n```kotlin\nNavHost(navController, startDestination = HomeRoute) {\n    composable\u003CHomeRoute> { \u002F* ... *\u002F }\n    dialog\u003CConfirmDeleteRoute> { backStackEntry ->\n        val route = backStackEntry.toRoute\u003CConfirmDeleteRoute>()\n        ConfirmDeleteDialog(\n            itemId = route.itemId,\n            onConfirm = { navController.popBackStack() },\n            onDismiss = { navController.popBackStack() }\n        )\n    }\n}\n```\n\n## 可组合项设计\n\n### 基于槽位的 API\n\n使用槽位参数设计可组合项以获得灵活性：\n\n```kotlin\n@Composable\nfun AppCard(\n    modifier: Modifier = Modifier,\n    header: @Composable () -> Unit = {},\n    content: @Composable ColumnScope.() -> Unit,\n    actions: @Composable RowScope.() -> Unit = {}\n) {\n    Card(modifier = modifier) {\n        Column {\n            header()\n            Column(content = content)\n            Row(horizontalArrangement = Arrangement.End, content = actions)\n        }\n    }\n}\n```\n\n### 修饰符顺序\n\n修饰符顺序很重要 —— 按此顺序应用：\n\n```kotlin\nText(\n    text = \"Hello\",\n    modifier = Modifier\n        .padding(16.dp)          \u002F\u002F 1. Layout (padding, size)\n        .clip(RoundedCornerShape(8.dp))  \u002F\u002F 2. Shape\n        .background(Color.White) \u002F\u002F 3. Drawing (background, border)\n        .clickable { }           \u002F\u002F 4. Interaction\n)\n```\n\n## KMP 平台特定 UI\n\n### 平台可组合项的 expect\u002Factual\n\n```kotlin\n\u002F\u002F commonMain\n@Composable\nexpect fun PlatformStatusBar(darkIcons: Boolean)\n\n\u002F\u002F androidMain\n@Composable\nactual fun PlatformStatusBar(darkIcons: Boolean) {\n    val systemUiController = rememberSystemUiController()\n    SideEffect { systemUiController.setStatusBarColor(Color.Transparent, darkIcons) }\n}\n\n\u002F\u002F iosMain\n@Composable\nactual fun PlatformStatusBar(darkIcons: Boolean) {\n    \u002F\u002F iOS handles this via UIKit interop or Info.plist\n}\n```\n\n## 性能\n\n### 用于可跳过重组的稳定类型\n\n当所有属性都稳定时，将类标记为 `@Stable` 或 `@Immutable`：\n\n```kotlin\n@Immutable\ndata class ItemUiModel(\n    val id: String,\n    val title: String,\n    val description: String,\n    val progress: Float\n)\n```\n\n### 正确使用 `key()` 和惰性列表\n\n```kotlin\nLazyColumn {\n    items(\n        items = items,\n        key = { it.id }  \u002F\u002F Stable keys enable item reuse and animations\n    ) { item ->\n        ItemRow(item = item)\n    }\n}\n```\n\n### 使用 `derivedStateOf` 延迟读取\n\n```kotlin\nval listState = rememberLazyListState()\nval showScrollToTop by remember {\n    derivedStateOf { listState.firstVisibleItemIndex > 5 }\n}\n```\n\n### 避免在重组中分配内存\n\n```kotlin\n\u002F\u002F BAD — new lambda and list every recomposition\nitems.filter { it.isActive }.forEach { ActiveItem(it, onClick = { handle(it) }) }\n\n\u002F\u002F GOOD — key each item so callbacks stay attached to the right row\nval activeItems = remember(items) { items.filter { it.isActive } }\nactiveItems.forEach { item ->\n    key(item.id) {\n        ActiveItem(item, onClick = { handle(item) })\n    }\n}\n```\n\n## 主题\n\n### Material 3 动态主题\n\n```kotlin\n@Composable\nfun AppTheme(\n    darkTheme: Boolean = isSystemInDarkTheme(),\n    dynamicColor: Boolean = true,\n    content: @Composable () -> Unit\n) {\n    val colorScheme = when {\n        dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {\n            if (darkTheme) dynamicDarkColorScheme(LocalContext.current)\n            else dynamicLightColorScheme(LocalContext.current)\n        }\n        darkTheme -> darkColorScheme()\n        else -> lightColorScheme()\n    }\n\n    MaterialTheme(colorScheme = colorScheme, content = content)\n}\n```\n\n## 应避免的反模式\n\n* 在 ViewModel 中使用 `mutableStateOf`，而 `MutableStateFlow` 配合 `collectAsStateWithLifecycle` 对生命周期更安全\n* 将 `NavController` 深入传递到可组合项中 —— 应传递 lambda 回调\n* 在 `@Composable` 函数中进行繁重计算 —— 应移至 ViewModel 或 `remember {}`\n* 使用 `LaunchedEffect(Unit)` 作为 ViewModel 初始化的替代 —— 在某些设置中，它会在配置更改时重新运行\n* 在可组合项参数中创建新的对象实例 —— 会导致不必要的重组\n\n## 参考资料\n\n查看技能：`android-clean-architecture` 了解模块结构和分层。\n查看技能：`kotlin-coroutines-flows` 了解协程和 Flow 模式。\n","# Compose 多平台模式\n\n使用 Compose Multiplatform 和 Jetpack Compose 构建跨 Android、iOS、桌面和 Web 的共享 UI 的模式。涵盖状态管理、导航、主题和性能。\n\n## 何时启用\n\n* 构建 Compose UI（Jetpack Compose 或 Compose Multiplatform）\n* 使用 ViewModel 和 Compose 状态管理 UI 状态\n* 在 KMP 或 Android 项目中实现导航\n* 设计可复用的可组合项和设计系统\n* 优化重组和渲染性能\n\n## 状态管理\n\n### ViewModel + 单一状态对象\n\n使用单个数据类表示屏幕状态。将其暴露为 `StateFlow` 并在 Compose 中收集：\n\n```kotlin\ndata class ItemListState(\n    val items: List\u003CItem> = emptyList(),\n    val isLoading: Boolean = false,\n    val error: String? = null,\n    val searchQuery: String = \"\"\n)\n\nclass ItemListViewModel(\n    private val getItems: GetItemsUseCase\n) : ViewModel() {\n    private val _state = MutableStateFlow(ItemListState())\n    val state: StateFlow\u003CItemListState> = _state.asStateFlow()\n\n    fun onSearch(query: String) {\n        _state.update { it.copy(searchQuery = query) }\n        loadItems(query)\n    }\n\n    private fun loadItems(query: String) {\n        viewModelScope.launch {\n            _state.update { it.copy(isLoading = true) }\n            getItems(query).fold(\n                onSuccess = { items -> _state.update { it.copy(items = items, isLoading = false) } },\n                onFailure = { e -> _state.update { it.copy(error = e.message, isLoading = false) } }\n            )\n        }\n    }\n}\n```\n\n### 在 Compose 中收集状态\n\n```kotlin\n@Composable\nfun ItemListScreen(viewModel: ItemListViewModel = koinViewModel()) {\n    val state by viewModel.state.collectAsStateWithLifecycle()\n\n    ItemListContent(\n        state = state,\n        onSearch = viewModel::onSearch\n    )\n}\n\n@Composable\nprivate fun ItemListContent(\n    state: ItemListState,\n    onSearch: (String) -> Unit\n) {\n    \u002F\u002F Stateless composable — easy to preview and test\n}\n```\n\n### 事件接收器模式\n\n对于复杂屏幕，使用密封接口表示事件，而非多个回调 lambda：\n\n```kotlin\nsealed interface ItemListEvent {\n    data class Search(val query: String) : ItemListEvent\n    data class Delete(val itemId: String) : ItemListEvent\n    data object Refresh : ItemListEvent\n}\n\n\u002F\u002F In ViewModel\nfun onEvent(event: ItemListEvent) {\n    when (event) {\n        is ItemListEvent.Search -> onSearch(event.query)\n        is ItemListEvent.Delete -> deleteItem(event.itemId)\n        is ItemListEvent.Refresh -> loadItems(_state.value.searchQuery)\n    }\n}\n\n\u002F\u002F In Composable — single lambda instead of many\nItemListContent(\n    state = state,\n    onEvent = viewModel::onEvent\n)\n```\n\n## 导航\n\n### 类型安全导航（Compose Navigation 2.8+）\n\n将路由定义为 `@Serializable` 对象：\n\n```kotlin\n@Serializable data object HomeRoute\n@Serializable data class DetailRoute(val id: String)\n@Serializable data object SettingsRoute\n\n@Composable\nfun AppNavHost(navController: NavHostController = rememberNavController()) {\n    NavHost(navController, startDestination = HomeRoute) {\n        composable\u003CHomeRoute> {\n            HomeScreen(onNavigateToDetail = { id -> navController.navigate(DetailRoute(id)) })\n        }\n        composable\u003CDetailRoute> { backStackEntry ->\n            val route = backStackEntry.toRoute\u003CDetailRoute>()\n            DetailScreen(id = route.id)\n        }\n        composable\u003CSettingsRoute> { SettingsScreen() }\n    }\n}\n```\n\n### 对话框和底部抽屉导航\n\n使用 `dialog()` 和覆盖层模式，而非命令式的显示\u002F隐藏：\n\n```kotlin\nNavHost(navController, startDestination = HomeRoute) {\n    composable\u003CHomeRoute> { \u002F* ... *\u002F }\n    dialog\u003CConfirmDeleteRoute> { backStackEntry ->\n        val route = backStackEntry.toRoute\u003CConfirmDeleteRoute>()\n        ConfirmDeleteDialog(\n            itemId = route.itemId,\n            onConfirm = { navController.popBackStack() },\n            onDismiss = { navController.popBackStack() }\n        )\n    }\n}\n```\n\n## 可组合项设计\n\n### 基于槽位的 API\n\n使用槽位参数设计可组合项以获得灵活性：\n\n```kotlin\n@Composable\nfun AppCard(\n    modifier: Modifier = Modifier,\n    header: @Composable () -> Unit = {},\n    content: @Composable ColumnScope.() -> Unit,\n    actions: @Composable RowScope.() -> Unit = {}\n) {\n    Card(modifier = modifier) {\n        Column {\n            header()\n            Column(content = content)\n            Row(horizontalArrangement = Arrangement.End, content = actions)\n        }\n    }\n}\n```\n\n### 修饰符顺序\n\n修饰符顺序很重要 —— 按此顺序应用：\n\n```kotlin\nText(\n    text = \"Hello\",\n    modifier = Modifier\n        .padding(16.dp)          \u002F\u002F 1. Layout (padding, size)\n        .clip(RoundedCornerShape(8.dp))  \u002F\u002F 2. Shape\n        .background(Color.White) \u002F\u002F 3. Drawing (background, border)\n        .clickable { }           \u002F\u002F 4. Interaction\n)\n```\n\n## KMP 平台特定 UI\n\n### 平台可组合项的 expect\u002Factual\n\n```kotlin\n\u002F\u002F commonMain\n@Composable\nexpect fun PlatformStatusBar(darkIcons: Boolean)\n\n\u002F\u002F androidMain\n@Composable\nactual fun PlatformStatusBar(darkIcons: Boolean) {\n    val systemUiController = rememberSystemUiController()\n    SideEffect { systemUiController.setStatusBarColor(Color.Transparent, darkIcons) }\n}\n\n\u002F\u002F iosMain\n@Composable\nactual fun PlatformStatusBar(darkIcons: Boolean) {\n    \u002F\u002F iOS handles this via UIKit interop or Info.plist\n}\n```\n\n## 性能\n\n### 用于可跳过重组的稳定类型\n\n当所有属性都稳定时，将类标记为 `@Stable` 或 `@Immutable`：\n\n```kotlin\n@Immutable\ndata class ItemUiModel(\n    val id: String,\n    val title: String,\n    val description: String,\n    val progress: Float\n)\n```\n\n### 正确使用 `key()` 和惰性列表\n\n```kotlin\nLazyColumn {\n    items(\n        items = items,\n        key = { it.id }  \u002F\u002F Stable keys enable item reuse and animations\n    ) { item ->\n        ItemRow(item = item)\n    }\n}\n```\n\n### 使用 `derivedStateOf` 延迟读取\n\n```kotlin\nval listState = rememberLazyListState()\nval showScrollToTop by remember {\n    derivedStateOf { listState.firstVisibleItemIndex > 5 }\n}\n```\n\n### 避免在重组中分配内存\n\n```kotlin\n\u002F\u002F BAD — new lambda and list every recomposition\nitems.filter { it.isActive }.forEach { ActiveItem(it, onClick = { handle(it) }) }\n\n\u002F\u002F GOOD — key each item so callbacks stay attached to the right row\nval activeItems = remember(items) { items.filter { it.isActive } }\nactiveItems.forEach { item ->\n    key(item.id) {\n        ActiveItem(item, onClick = { handle(item) })\n    }\n}\n```\n\n## 主题\n\n### Material 3 动态主题\n\n```kotlin\n@Composable\nfun AppTheme(\n    darkTheme: Boolean = isSystemInDarkTheme(),\n    dynamicColor: Boolean = true,\n    content: @Composable () -> Unit\n) {\n    val colorScheme = when {\n        dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {\n            if (darkTheme) dynamicDarkColorScheme(LocalContext.current)\n            else dynamicLightColorScheme(LocalContext.current)\n        }\n        darkTheme -> darkColorScheme()\n        else -> lightColorScheme()\n    }\n\n    MaterialTheme(colorScheme = colorScheme, content = content)\n}\n```\n\n## 应避免的反模式\n\n* 在 ViewModel 中使用 `mutableStateOf`，而 `MutableStateFlow` 配合 `collectAsStateWithLifecycle` 对生命周期更安全\n* 将 `NavController` 深入传递到可组合项中 —— 应传递 lambda 回调\n* 在 `@Composable` 函数中进行繁重计算 —— 应移至 ViewModel 或 `remember {}`\n* 使用 `LaunchedEffect(Unit)` 作为 ViewModel 初始化的替代 —— 在某些设置中，它会在配置更改时重新运行\n* 在可组合项参数中创建新的对象实例 —— 会导致不必要的重组\n\n## 参考资料\n\n查看技能：`android-clean-architecture` 了解模块结构和分层。\n查看技能：`kotlin-coroutines-flows` 了解协程和 Flow 模式。\n",{"name":5,"origin":24,"description":7},"ECC","master","d6ca01da0f24a3b0e26e4a8b7b66cbd25d429f5d","docs\u002Fzh-CN\u002Fskills\u002Fcompose-multiplatform-patterns",0,"https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills","https:\u002F\u002Fgithub.com\u002FSriramGandhiS","https:\u002F\u002Fsriram.website\u002F","Curious guy who keeps tinkering until something works","2026-05-20 16:21:34",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add SriramGandhiS\u002FSkills --skill compose-multiplatform-patterns",{"tool":40,"command":41},"bunx","bunx skills add SriramGandhiS\u002FSkills --skill compose-multiplatform-patterns",{"tool":43,"command":44},"pnpm","pnpm dlx skills add SriramGandhiS\u002FSkills --skill compose-multiplatform-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fdocs\u002Fzh-CN\u002Fskills\u002Fcompose-multiplatform-patterns\u002FSKILL.md",true,[],[49,57,62,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M732609EPJWV13PVTX3GT4TM","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7325XM47AGWB6K6C4VXKE6B","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":56},"01M7325WP6DES69JKC840VMFEP","verification-loop","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":56},"01M7325TFQF1DZTQ6J3WGQQ1VR","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Ftdd-workflow\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":56},"01M7325RGV9AY9PK92D2V8KKPW","strategic-compact","Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fstrategic-compact\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":56},"01M7325MZC28SE86E7NMCNEFS4","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002FSriramGandhiS\u002FSkills\u002Fblob\u002Fmaster\u002Fweb-assets\u002Fdocs\u002Fzh-TW\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[]]