[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75EWWYM64E837QQBV4F2NGB":3,"skill-same:01M75EWWYM64E837QQBV4F2NGB":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M75EWWYM64E837QQBV4F2NGB","kotlin-coroutines-flows",null,"Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing.","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fkotlin-coroutines-flows\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: kotlin-coroutines-flows\ndescription: Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing.\norigin: ECC\n---\n\n# Kotlin Coroutines & Flows\n\nPatterns for structured concurrency, Flow-based reactive streams, and coroutine testing in Android and Kotlin Multiplatform projects.\n\n## When to Activate\n\n- Writing async code with Kotlin coroutines\n- Using Flow, StateFlow, or SharedFlow for reactive data\n- Handling concurrent operations (parallel loading, debounce, retry)\n- Testing coroutines and Flows\n- Managing coroutine scopes and cancellation\n\n## Structured Concurrency\n\n### Scope Hierarchy\n\n```\nApplication\n  └── viewModelScope (ViewModel)\n        └── coroutineScope { } (structured child)\n              ├── async { } (concurrent task)\n              └── async { } (concurrent task)\n```\n\nAlways use structured concurrency — never `GlobalScope`:\n\n```kotlin\n\u002F\u002F BAD\nGlobalScope.launch { fetchData() }\n\n\u002F\u002F GOOD — scoped to ViewModel lifecycle\nviewModelScope.launch { fetchData() }\n\n\u002F\u002F GOOD — scoped to composable lifecycle\nLaunchedEffect(key) { fetchData() }\n```\n\n### Parallel Decomposition\n\nUse `coroutineScope` + `async` for parallel work:\n\n```kotlin\nsuspend fun loadDashboard(): Dashboard = coroutineScope {\n    val items = async { itemRepository.getRecent() }\n    val stats = async { statsRepository.getToday() }\n    val profile = async { userRepository.getCurrent() }\n    Dashboard(\n        items = items.await(),\n        stats = stats.await(),\n        profile = profile.await()\n    )\n}\n```\n\n### SupervisorScope\n\nUse `supervisorScope` when child failures should not cancel siblings:\n\n```kotlin\nsuspend fun syncAll() = supervisorScope {\n    launch { syncItems() }       \u002F\u002F failure here won't cancel syncStats\n    launch { syncStats() }\n    launch { syncSettings() }\n}\n```\n\n## Flow Patterns\n\n### Cold Flow — One-Shot to Stream Conversion\n\n```kotlin\nfun observeItems(): Flow\u003CList\u003CItem>> = flow {\n    \u002F\u002F Re-emits whenever the database changes\n    itemDao.observeAll()\n        .map { entities -> entities.map { it.toDomain() } }\n        .collect { emit(it) }\n}\n```\n\n### StateFlow for UI State\n\n```kotlin\nclass DashboardViewModel(\n    observeProgress: ObserveUserProgressUseCase\n) : ViewModel() {\n    val progress: StateFlow\u003CUserProgress> = observeProgress()\n        .stateIn(\n            scope = viewModelScope,\n            started = SharingStarted.WhileSubscribed(5_000),\n            initialValue = UserProgress.EMPTY\n        )\n}\n```\n\n`WhileSubscribed(5_000)` keeps the upstream active for 5 seconds after the last subscriber leaves — survives configuration changes without restarting.\n\n### Combining Multiple Flows\n\n```kotlin\nval uiState: StateFlow\u003CHomeState> = combine(\n    itemRepository.observeItems(),\n    settingsRepository.observeTheme(),\n    userRepository.observeProfile()\n) { items, theme, profile ->\n    HomeState(items = items, theme = theme, profile = profile)\n}.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5_000), HomeState())\n```\n\n### Flow Operators\n\n```kotlin\n\u002F\u002F Debounce search input\nsearchQuery\n    .debounce(300)\n    .distinctUntilChanged()\n    .flatMapLatest { query -> repository.search(query) }\n    .catch { emit(emptyList()) }\n    .collect { results -> _state.update { it.copy(results = results) } }\n\n\u002F\u002F Retry with exponential backoff\nfun fetchWithRetry(): Flow\u003CData> = flow { emit(api.fetch()) }\n    .retryWhen { cause, attempt ->\n        if (cause is IOException && attempt \u003C 3) {\n            delay(1000L * (1 shl attempt.toInt()))\n            true\n        } else {\n            false\n        }\n    }\n```\n\n### SharedFlow for One-Time Events\n\n```kotlin\nclass ItemListViewModel : ViewModel() {\n    private val _effects = MutableSharedFlow\u003CEffect>()\n    val effects: SharedFlow\u003CEffect> = _effects.asSharedFlow()\n\n    sealed interface Effect {\n        data class ShowSnackbar(val message: String) : Effect\n        data class NavigateTo(val route: String) : Effect\n    }\n\n    private fun deleteItem(id: String) {\n        viewModelScope.launch {\n            repository.delete(id)\n            _effects.emit(Effect.ShowSnackbar(\"Item deleted\"))\n        }\n    }\n}\n\n\u002F\u002F Collect in Composable\nLaunchedEffect(Unit) {\n    viewModel.effects.collect { effect ->\n        when (effect) {\n            is Effect.ShowSnackbar -> snackbarHostState.showSnackbar(effect.message)\n            is Effect.NavigateTo -> navController.navigate(effect.route)\n        }\n    }\n}\n```\n\n## Dispatchers\n\n```kotlin\n\u002F\u002F CPU-intensive work\nwithContext(Dispatchers.Default) { parseJson(largePayload) }\n\n\u002F\u002F IO-bound work\nwithContext(Dispatchers.IO) { database.query() }\n\n\u002F\u002F Main thread (UI) — default in viewModelScope\nwithContext(Dispatchers.Main) { updateUi() }\n```\n\nIn KMP, use `Dispatchers.Default` and `Dispatchers.Main` (available on all platforms). `Dispatchers.IO` is JVM\u002FAndroid only — use `Dispatchers.Default` on other platforms or provide via DI.\n\n## Cancellation\n\n### Cooperative Cancellation\n\nLong-running loops must check for cancellation:\n\n```kotlin\nsuspend fun processItems(items: List\u003CItem>) = coroutineScope {\n    for (item in items) {\n        ensureActive()  \u002F\u002F throws CancellationException if cancelled\n        process(item)\n    }\n}\n```\n\n### Cleanup with try\u002Ffinally\n\n```kotlin\nviewModelScope.launch {\n    try {\n        _state.update { it.copy(isLoading = true) }\n        val data = repository.fetch()\n        _state.update { it.copy(data = data) }\n    } finally {\n        _state.update { it.copy(isLoading = false) }  \u002F\u002F always runs, even on cancellation\n    }\n}\n```\n\n## Testing\n\n### Testing StateFlow with Turbine\n\n```kotlin\n@Test\nfun `search updates item list`() = runTest {\n    val fakeRepository = FakeItemRepository().apply { emit(testItems) }\n    val viewModel = ItemListViewModel(GetItemsUseCase(fakeRepository))\n\n    viewModel.state.test {\n        assertEquals(ItemListState(), awaitItem())  \u002F\u002F initial\n\n        viewModel.onSearch(\"query\")\n        val loading = awaitItem()\n        assertTrue(loading.isLoading)\n\n        val loaded = awaitItem()\n        assertFalse(loaded.isLoading)\n        assertEquals(1, loaded.items.size)\n    }\n}\n```\n\n### Testing with TestDispatcher\n\n```kotlin\n@Test\nfun `parallel load completes correctly`() = runTest {\n    val viewModel = DashboardViewModel(\n        itemRepo = FakeItemRepo(),\n        statsRepo = FakeStatsRepo()\n    )\n\n    viewModel.load()\n    advanceUntilIdle()\n\n    val state = viewModel.state.value\n    assertNotNull(state.items)\n    assertNotNull(state.stats)\n}\n```\n\n### Faking Flows\n\n```kotlin\nclass FakeItemRepository : ItemRepository {\n    private val _items = MutableStateFlow\u003CList\u003CItem>>(emptyList())\n\n    override fun observeItems(): Flow\u003CList\u003CItem>> = _items\n\n    fun emit(items: List\u003CItem>) { _items.value = items }\n\n    override suspend fun getItemsByCategory(category: String): Result\u003CList\u003CItem>> {\n        return Result.success(_items.value.filter { it.category == category })\n    }\n}\n```\n\n## Anti-Patterns to Avoid\n\n- Using `GlobalScope` — leaks coroutines, no structured cancellation\n- Collecting Flows in `init {}` without a scope — use `viewModelScope.launch`\n- Using `MutableStateFlow` with mutable collections — always use immutable copies: `_state.update { it.copy(list = it.list + newItem) }`\n- Catching `CancellationException` — let it propagate for proper cancellation\n- Using `flowOn(Dispatchers.Main)` to collect — collection dispatcher is the caller's dispatcher\n- Creating `Flow` in `@Composable` without `remember` — recreates the flow every recomposition\n\n## References\n\nSee skill: `compose-multiplatform-patterns` for UI consumption of Flows.\nSee skill: `android-clean-architecture` for where coroutines fit in layers.\n","# Kotlin Coroutines & Flows\n\nPatterns for structured concurrency, Flow-based reactive streams, and coroutine testing in Android and Kotlin Multiplatform projects.\n\n## When to Activate\n\n- Writing async code with Kotlin coroutines\n- Using Flow, StateFlow, or SharedFlow for reactive data\n- Handling concurrent operations (parallel loading, debounce, retry)\n- Testing coroutines and Flows\n- Managing coroutine scopes and cancellation\n\n## Structured Concurrency\n\n### Scope Hierarchy\n\n```\nApplication\n  └── viewModelScope (ViewModel)\n        └── coroutineScope { } (structured child)\n              ├── async { } (concurrent task)\n              └── async { } (concurrent task)\n```\n\nAlways use structured concurrency — never `GlobalScope`:\n\n```kotlin\n\u002F\u002F BAD\nGlobalScope.launch { fetchData() }\n\n\u002F\u002F GOOD — scoped to ViewModel lifecycle\nviewModelScope.launch { fetchData() }\n\n\u002F\u002F GOOD — scoped to composable lifecycle\nLaunchedEffect(key) { fetchData() }\n```\n\n### Parallel Decomposition\n\nUse `coroutineScope` + `async` for parallel work:\n\n```kotlin\nsuspend fun loadDashboard(): Dashboard = coroutineScope {\n    val items = async { itemRepository.getRecent() }\n    val stats = async { statsRepository.getToday() }\n    val profile = async { userRepository.getCurrent() }\n    Dashboard(\n        items = items.await(),\n        stats = stats.await(),\n        profile = profile.await()\n    )\n}\n```\n\n### SupervisorScope\n\nUse `supervisorScope` when child failures should not cancel siblings:\n\n```kotlin\nsuspend fun syncAll() = supervisorScope {\n    launch { syncItems() }       \u002F\u002F failure here won't cancel syncStats\n    launch { syncStats() }\n    launch { syncSettings() }\n}\n```\n\n## Flow Patterns\n\n### Cold Flow — One-Shot to Stream Conversion\n\n```kotlin\nfun observeItems(): Flow\u003CList\u003CItem>> = flow {\n    \u002F\u002F Re-emits whenever the database changes\n    itemDao.observeAll()\n        .map { entities -> entities.map { it.toDomain() } }\n        .collect { emit(it) }\n}\n```\n\n### StateFlow for UI State\n\n```kotlin\nclass DashboardViewModel(\n    observeProgress: ObserveUserProgressUseCase\n) : ViewModel() {\n    val progress: StateFlow\u003CUserProgress> = observeProgress()\n        .stateIn(\n            scope = viewModelScope,\n            started = SharingStarted.WhileSubscribed(5_000),\n            initialValue = UserProgress.EMPTY\n        )\n}\n```\n\n`WhileSubscribed(5_000)` keeps the upstream active for 5 seconds after the last subscriber leaves — survives configuration changes without restarting.\n\n### Combining Multiple Flows\n\n```kotlin\nval uiState: StateFlow\u003CHomeState> = combine(\n    itemRepository.observeItems(),\n    settingsRepository.observeTheme(),\n    userRepository.observeProfile()\n) { items, theme, profile ->\n    HomeState(items = items, theme = theme, profile = profile)\n}.stateIn(viewModelScope, SharingStarted.WhileSubscribed(5_000), HomeState())\n```\n\n### Flow Operators\n\n```kotlin\n\u002F\u002F Debounce search input\nsearchQuery\n    .debounce(300)\n    .distinctUntilChanged()\n    .flatMapLatest { query -> repository.search(query) }\n    .catch { emit(emptyList()) }\n    .collect { results -> _state.update { it.copy(results = results) } }\n\n\u002F\u002F Retry with exponential backoff\nfun fetchWithRetry(): Flow\u003CData> = flow { emit(api.fetch()) }\n    .retryWhen { cause, attempt ->\n        if (cause is IOException && attempt \u003C 3) {\n            delay(1000L * (1 shl attempt.toInt()))\n            true\n        } else {\n            false\n        }\n    }\n```\n\n### SharedFlow for One-Time Events\n\n```kotlin\nclass ItemListViewModel : ViewModel() {\n    private val _effects = MutableSharedFlow\u003CEffect>()\n    val effects: SharedFlow\u003CEffect> = _effects.asSharedFlow()\n\n    sealed interface Effect {\n        data class ShowSnackbar(val message: String) : Effect\n        data class NavigateTo(val route: String) : Effect\n    }\n\n    private fun deleteItem(id: String) {\n        viewModelScope.launch {\n            repository.delete(id)\n            _effects.emit(Effect.ShowSnackbar(\"Item deleted\"))\n        }\n    }\n}\n\n\u002F\u002F Collect in Composable\nLaunchedEffect(Unit) {\n    viewModel.effects.collect { effect ->\n        when (effect) {\n            is Effect.ShowSnackbar -> snackbarHostState.showSnackbar(effect.message)\n            is Effect.NavigateTo -> navController.navigate(effect.route)\n        }\n    }\n}\n```\n\n## Dispatchers\n\n```kotlin\n\u002F\u002F CPU-intensive work\nwithContext(Dispatchers.Default) { parseJson(largePayload) }\n\n\u002F\u002F IO-bound work\nwithContext(Dispatchers.IO) { database.query() }\n\n\u002F\u002F Main thread (UI) — default in viewModelScope\nwithContext(Dispatchers.Main) { updateUi() }\n```\n\nIn KMP, use `Dispatchers.Default` and `Dispatchers.Main` (available on all platforms). `Dispatchers.IO` is JVM\u002FAndroid only — use `Dispatchers.Default` on other platforms or provide via DI.\n\n## Cancellation\n\n### Cooperative Cancellation\n\nLong-running loops must check for cancellation:\n\n```kotlin\nsuspend fun processItems(items: List\u003CItem>) = coroutineScope {\n    for (item in items) {\n        ensureActive()  \u002F\u002F throws CancellationException if cancelled\n        process(item)\n    }\n}\n```\n\n### Cleanup with try\u002Ffinally\n\n```kotlin\nviewModelScope.launch {\n    try {\n        _state.update { it.copy(isLoading = true) }\n        val data = repository.fetch()\n        _state.update { it.copy(data = data) }\n    } finally {\n        _state.update { it.copy(isLoading = false) }  \u002F\u002F always runs, even on cancellation\n    }\n}\n```\n\n## Testing\n\n### Testing StateFlow with Turbine\n\n```kotlin\n@Test\nfun `search updates item list`() = runTest {\n    val fakeRepository = FakeItemRepository().apply { emit(testItems) }\n    val viewModel = ItemListViewModel(GetItemsUseCase(fakeRepository))\n\n    viewModel.state.test {\n        assertEquals(ItemListState(), awaitItem())  \u002F\u002F initial\n\n        viewModel.onSearch(\"query\")\n        val loading = awaitItem()\n        assertTrue(loading.isLoading)\n\n        val loaded = awaitItem()\n        assertFalse(loaded.isLoading)\n        assertEquals(1, loaded.items.size)\n    }\n}\n```\n\n### Testing with TestDispatcher\n\n```kotlin\n@Test\nfun `parallel load completes correctly`() = runTest {\n    val viewModel = DashboardViewModel(\n        itemRepo = FakeItemRepo(),\n        statsRepo = FakeStatsRepo()\n    )\n\n    viewModel.load()\n    advanceUntilIdle()\n\n    val state = viewModel.state.value\n    assertNotNull(state.items)\n    assertNotNull(state.stats)\n}\n```\n\n### Faking Flows\n\n```kotlin\nclass FakeItemRepository : ItemRepository {\n    private val _items = MutableStateFlow\u003CList\u003CItem>>(emptyList())\n\n    override fun observeItems(): Flow\u003CList\u003CItem>> = _items\n\n    fun emit(items: List\u003CItem>) { _items.value = items }\n\n    override suspend fun getItemsByCategory(category: String): Result\u003CList\u003CItem>> {\n        return Result.success(_items.value.filter { it.category == category })\n    }\n}\n```\n\n## Anti-Patterns to Avoid\n\n- Using `GlobalScope` — leaks coroutines, no structured cancellation\n- Collecting Flows in `init {}` without a scope — use `viewModelScope.launch`\n- Using `MutableStateFlow` with mutable collections — always use immutable copies: `_state.update { it.copy(list = it.list + newItem) }`\n- Catching `CancellationException` — let it propagate for proper cancellation\n- Using `flowOn(Dispatchers.Main)` to collect — collection dispatcher is the caller's dispatcher\n- Creating `Flow` in `@Composable` without `remember` — recreates the flow every recomposition\n\n## References\n\nSee skill: `compose-multiplatform-patterns` for UI consumption of Flows.\nSee skill: `android-clean-architecture` for where coroutines fit in layers.\n",{"name":5,"origin":23,"description":7},"ECC","main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fkotlin-coroutines-flows",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add agisota\u002Fold-one --skill kotlin-coroutines-flows",{"tool":39,"command":40},"bunx","bunx skills add agisota\u002Fold-one --skill kotlin-coroutines-flows",{"tool":42,"command":43},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill kotlin-coroutines-flows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fkotlin-coroutines-flows\u002FSKILL.md",true,[],[48,55,62,71,78,85],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":66,"licenseFileUrl":67,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]