[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NV5QCSYGBBT6JPKF08PBFJ":3,"skill-same:01M6NV5QCSYGBBT6JPKF08PBFJ":62},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6NV5QCSYGBBT6JPKF08PBFJ","kotlin-patterns",null,"Coroutine patterns, Flow operators, Jetpack Compose state management, Ktor routing, and Kotlin Multiplatform shared code.","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fkotlin-patterns\u002Fskill.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"kotlin patterns","kotlin","patterns","routing","state management","code","state","flow","kotlin multiplatform","management","jetpack compose","compose","shared","jetpack","operators","ktor","2026-11-10 10:12:30",false,"---\nname: kotlin-patterns\ndescription: Coroutine patterns, Flow operators, Jetpack Compose state management, Ktor routing, and Kotlin Multiplatform shared code.\n---\n\n# Kotlin Patterns\n\nModern Kotlin patterns for Android, server-side, and multiplatform development.\n\n## Coroutine Patterns\n\n```kotlin\nimport kotlinx.coroutines.*\n\n\u002F\u002F Structured concurrency: child failures cancel siblings\nsuspend fun loadDashboard(): Dashboard = coroutineScope {\n    val profile = async { api.fetchProfile() }\n    val orders = async { api.fetchRecentOrders() }\n    val stats = async { api.fetchStats() }\n\n    \u002F\u002F All run concurrently; if one fails, others are cancelled\n    Dashboard(\n        profile = profile.await(),\n        orders = orders.await(),\n        stats = stats.await()\n    )\n}\n\n\u002F\u002F SupervisorScope: child failures don't cancel siblings\nsuspend fun loadOptionalData(): HomeScreen = supervisorScope {\n    val required = async { api.fetchRequiredData() }\n    val optional = async {\n        try { api.fetchRecommendations() }\n        catch (e: Exception) { emptyList() }  \u002F\u002F Graceful fallback\n    }\n\n    HomeScreen(\n        data = required.await(),\n        recommendations = optional.await()\n    )\n}\n\n\u002F\u002F Retry with exponential backoff\nsuspend fun \u003CT> retryWithBackoff(\n    maxRetries: Int = 3,\n    initialDelayMs: Long = 1000,\n    factor: Double = 2.0,\n    block: suspend () -> T\n): T {\n    var currentDelay = initialDelayMs\n    repeat(maxRetries - 1) { attempt ->\n        try {\n            return block()\n        } catch (e: Exception) {\n            if (e is CancellationException) throw e  \u002F\u002F Never swallow cancellation\n            delay(currentDelay)\n            currentDelay = (currentDelay * factor).toLong()\n        }\n    }\n    return block()  \u002F\u002F Last attempt, let exception propagate\n}\n```\n\n## Flow Operators\n\n```kotlin\nimport kotlinx.coroutines.flow.*\n\n\u002F\u002F Repository pattern with Flow\nclass OrderRepository(private val api: OrderApi, private val db: OrderDao) {\n\n    \u002F\u002F Offline-first: emit cached, then fetch fresh\n    fun getOrders(): Flow\u003CList\u003COrder>> = flow {\n        \u002F\u002F Emit cached data first\n        emit(db.getAllOrders())\n\n        \u002F\u002F Fetch fresh data\n        val fresh = api.fetchOrders()\n        db.insertAll(fresh)\n        emit(fresh)\n    }.catch { e ->\n        \u002F\u002F On network error, emit cached data\n        emit(db.getAllOrders())\n    }\n\n    \u002F\u002F Debounce search input\n    fun search(queryFlow: Flow\u003CString>): Flow\u003CList\u003COrder>> =\n        queryFlow\n            .debounce(300)\n            .distinctUntilChanged()\n            .filter { it.length >= 2 }\n            .flatMapLatest { query ->\n                flow { emit(api.search(query)) }\n                    .catch { emit(emptyList()) }\n            }\n\n    \u002F\u002F Combine multiple flows\n    fun getDashboard(): Flow\u003CDashboardState> =\n        combine(\n            getOrders(),\n            getStats(),\n            getNotifications()\n        ) { orders, stats, notifications ->\n            DashboardState(orders, stats, notifications)\n        }\n}\n\n\u002F\u002F StateFlow for UI state (hot flow, always has value)\nclass OrderViewModel(private val repo: OrderRepository) : ViewModel() {\n\n    private val _uiState = MutableStateFlow\u003CUiState>(UiState.Loading)\n    val uiState: StateFlow\u003CUiState> = _uiState.asStateFlow()\n\n    init {\n        viewModelScope.launch {\n            repo.getOrders()\n                .map { orders -> UiState.Success(orders) as UiState }\n                .catch { emit(UiState.Error(it.message ?: \"Unknown error\")) }\n                .collect { _uiState.value = it }\n        }\n    }\n\n    sealed interface UiState {\n        data object Loading : UiState\n        data class Success(val orders: List\u003COrder>) : UiState\n        data class Error(val message: String) : UiState\n    }\n}\n```\n\n## Jetpack Compose State\n\n```kotlin\n@Composable\nfun OrderListScreen(viewModel: OrderViewModel = viewModel()) {\n    val uiState by viewModel.uiState.collectAsStateWithLifecycle()\n\n    when (val state = uiState) {\n        is UiState.Loading -> LoadingIndicator()\n        is UiState.Error -> ErrorMessage(state.message) { viewModel.retry() }\n        is UiState.Success -> OrderList(\n            orders = state.orders,\n            onOrderClick = { viewModel.selectOrder(it) },\n            onDelete = { viewModel.deleteOrder(it) }\n        )\n    }\n}\n\n\u002F\u002F Stateless composable with hoisted state\n@Composable\nfun OrderList(\n    orders: List\u003COrder>,\n    onOrderClick: (Order) -> Unit,\n    onDelete: (Order) -> Unit,\n    modifier: Modifier = Modifier\n) {\n    LazyColumn(modifier = modifier) {\n        items(orders, key = { it.id }) { order ->\n            OrderItem(\n                order = order,\n                onClick = { onOrderClick(order) },\n                onDelete = { onDelete(order) },\n                modifier = Modifier.animateItem()\n            )\n        }\n    }\n}\n\n\u002F\u002F Remember expensive computation\n@Composable\nfun FilteredOrders(orders: List\u003COrder>, filter: String) {\n    val filtered = remember(orders, filter) {\n        orders.filter { it.status.name.contains(filter, ignoreCase = true) }\n    }\n    OrderList(orders = filtered, onOrderClick = {}, onDelete = {})\n}\n```\n\n## Ktor Server Routing\n\n```kotlin\nimport io.ktor.server.application.*\nimport io.ktor.server.routing.*\nimport io.ktor.server.response.*\nimport io.ktor.server.request.*\nimport io.ktor.http.*\n\nfun Application.configureRouting() {\n    routing {\n        route(\"\u002Fapi\u002Fv1\") {\n            \u002F\u002F Middleware: auth check for all routes under \u002Fapi\u002Fv1\n            install(AuthPlugin)\n\n            route(\"\u002Forders\") {\n                get {\n                    val page = call.parameters[\"page\"]?.toIntOrNull() ?: 1\n                    val limit = call.parameters[\"limit\"]?.toIntOrNull()?.coerceIn(1, 100) ?: 20\n                    val orders = orderService.findAll(page, limit)\n                    call.respond(ApiResponse.success(orders))\n                }\n\n                get(\"\u002F{id}\") {\n                    val id = call.parameters[\"id\"]\n                        ?: return@get call.respond(HttpStatusCode.BadRequest, \"Missing ID\")\n                    val order = orderService.findById(id)\n                        ?: return@get call.respond(HttpStatusCode.NotFound)\n                    call.respond(ApiResponse.success(order))\n                }\n\n                post {\n                    val input = call.receive\u003CCreateOrderInput>()\n                    val validated = input.validate()\n                        ?: return@post call.respond(HttpStatusCode.BadRequest, \"Invalid input\")\n                    val order = orderService.create(validated)\n                    call.respond(HttpStatusCode.Created, ApiResponse.success(order))\n                }\n            }\n        }\n    }\n}\n\n\u002F\u002F Typed API response wrapper\n@Serializable\ndata class ApiResponse\u003CT>(\n    val success: Boolean,\n    val data: T? = null,\n    val error: String? = null\n) {\n    companion object {\n        fun \u003CT> success(data: T) = ApiResponse(success = true, data = data)\n        fun error(message: String) = ApiResponse\u003CNothing>(success = false, error = message)\n    }\n}\n```\n\n## Kotlin Multiplatform Shared Code\n\n```kotlin\n\u002F\u002F shared\u002Fsrc\u002FcommonMain\u002Fkotlin\nexpect class PlatformContext\n\n\u002F\u002F Repository shared between Android\u002FiOS\nclass SharedOrderRepository(\n    private val httpClient: HttpClient,\n    private val database: SharedDatabase\n) {\n    suspend fun getOrders(): List\u003COrder> {\n        return try {\n            val remote = httpClient.get(\"https:\u002F\u002Fapi.example.com\u002Forders\").body\u003CList\u003COrder>>()\n            database.orderDao().insertAll(remote)\n            remote\n        } catch (e: Exception) {\n            database.orderDao().getAll()  \u002F\u002F Offline fallback\n        }\n    }\n}\n\n\u002F\u002F shared\u002Fsrc\u002FandroidMain\u002Fkotlin\nactual class PlatformContext(val context: android.content.Context)\n\n\u002F\u002F shared\u002Fsrc\u002FiosMain\u002Fkotlin\nactual class PlatformContext\n```\n\n## Checklist\n\n- [ ] Structured concurrency: always use coroutineScope or supervisorScope\n- [ ] Never swallow CancellationException (rethrow it)\n- [ ] StateFlow for UI state, SharedFlow for one-time events\n- [ ] State hoisting in Compose: stateless composables preferred\n- [ ] Use `key` parameter in LazyColumn items for stable identity\n- [ ] collectAsStateWithLifecycle over collectAsState (lifecycle-aware)\n- [ ] Validate and coerce API input parameters (page, limit bounds)\n- [ ] Remember expensive computations in Compose with proper keys\n\n## Anti-Patterns\n\n- GlobalScope.launch: leaks coroutines, no structured cancellation\n- Mutable state in Compose without State\u002FMutableState wrapper\n- Flow.collect in init block without lifecycle awareness (memory leak)\n- Blocking calls (Thread.sleep) inside coroutines (use delay)\n- Catching Exception without re-throwing CancellationException\n- Business logic in Composable functions (keep in ViewModel\u002FUseCase)\n","# Kotlin Patterns\n\nModern Kotlin patterns for Android, server-side, and multiplatform development.\n\n## Coroutine Patterns\n\n```kotlin\nimport kotlinx.coroutines.*\n\n\u002F\u002F Structured concurrency: child failures cancel siblings\nsuspend fun loadDashboard(): Dashboard = coroutineScope {\n    val profile = async { api.fetchProfile() }\n    val orders = async { api.fetchRecentOrders() }\n    val stats = async { api.fetchStats() }\n\n    \u002F\u002F All run concurrently; if one fails, others are cancelled\n    Dashboard(\n        profile = profile.await(),\n        orders = orders.await(),\n        stats = stats.await()\n    )\n}\n\n\u002F\u002F SupervisorScope: child failures don't cancel siblings\nsuspend fun loadOptionalData(): HomeScreen = supervisorScope {\n    val required = async { api.fetchRequiredData() }\n    val optional = async {\n        try { api.fetchRecommendations() }\n        catch (e: Exception) { emptyList() }  \u002F\u002F Graceful fallback\n    }\n\n    HomeScreen(\n        data = required.await(),\n        recommendations = optional.await()\n    )\n}\n\n\u002F\u002F Retry with exponential backoff\nsuspend fun \u003CT> retryWithBackoff(\n    maxRetries: Int = 3,\n    initialDelayMs: Long = 1000,\n    factor: Double = 2.0,\n    block: suspend () -> T\n): T {\n    var currentDelay = initialDelayMs\n    repeat(maxRetries - 1) { attempt ->\n        try {\n            return block()\n        } catch (e: Exception) {\n            if (e is CancellationException) throw e  \u002F\u002F Never swallow cancellation\n            delay(currentDelay)\n            currentDelay = (currentDelay * factor).toLong()\n        }\n    }\n    return block()  \u002F\u002F Last attempt, let exception propagate\n}\n```\n\n## Flow Operators\n\n```kotlin\nimport kotlinx.coroutines.flow.*\n\n\u002F\u002F Repository pattern with Flow\nclass OrderRepository(private val api: OrderApi, private val db: OrderDao) {\n\n    \u002F\u002F Offline-first: emit cached, then fetch fresh\n    fun getOrders(): Flow\u003CList\u003COrder>> = flow {\n        \u002F\u002F Emit cached data first\n        emit(db.getAllOrders())\n\n        \u002F\u002F Fetch fresh data\n        val fresh = api.fetchOrders()\n        db.insertAll(fresh)\n        emit(fresh)\n    }.catch { e ->\n        \u002F\u002F On network error, emit cached data\n        emit(db.getAllOrders())\n    }\n\n    \u002F\u002F Debounce search input\n    fun search(queryFlow: Flow\u003CString>): Flow\u003CList\u003COrder>> =\n        queryFlow\n            .debounce(300)\n            .distinctUntilChanged()\n            .filter { it.length >= 2 }\n            .flatMapLatest { query ->\n                flow { emit(api.search(query)) }\n                    .catch { emit(emptyList()) }\n            }\n\n    \u002F\u002F Combine multiple flows\n    fun getDashboard(): Flow\u003CDashboardState> =\n        combine(\n            getOrders(),\n            getStats(),\n            getNotifications()\n        ) { orders, stats, notifications ->\n            DashboardState(orders, stats, notifications)\n        }\n}\n\n\u002F\u002F StateFlow for UI state (hot flow, always has value)\nclass OrderViewModel(private val repo: OrderRepository) : ViewModel() {\n\n    private val _uiState = MutableStateFlow\u003CUiState>(UiState.Loading)\n    val uiState: StateFlow\u003CUiState> = _uiState.asStateFlow()\n\n    init {\n        viewModelScope.launch {\n            repo.getOrders()\n                .map { orders -> UiState.Success(orders) as UiState }\n                .catch { emit(UiState.Error(it.message ?: \"Unknown error\")) }\n                .collect { _uiState.value = it }\n        }\n    }\n\n    sealed interface UiState {\n        data object Loading : UiState\n        data class Success(val orders: List\u003COrder>) : UiState\n        data class Error(val message: String) : UiState\n    }\n}\n```\n\n## Jetpack Compose State\n\n```kotlin\n@Composable\nfun OrderListScreen(viewModel: OrderViewModel = viewModel()) {\n    val uiState by viewModel.uiState.collectAsStateWithLifecycle()\n\n    when (val state = uiState) {\n        is UiState.Loading -> LoadingIndicator()\n        is UiState.Error -> ErrorMessage(state.message) { viewModel.retry() }\n        is UiState.Success -> OrderList(\n            orders = state.orders,\n            onOrderClick = { viewModel.selectOrder(it) },\n            onDelete = { viewModel.deleteOrder(it) }\n        )\n    }\n}\n\n\u002F\u002F Stateless composable with hoisted state\n@Composable\nfun OrderList(\n    orders: List\u003COrder>,\n    onOrderClick: (Order) -> Unit,\n    onDelete: (Order) -> Unit,\n    modifier: Modifier = Modifier\n) {\n    LazyColumn(modifier = modifier) {\n        items(orders, key = { it.id }) { order ->\n            OrderItem(\n                order = order,\n                onClick = { onOrderClick(order) },\n                onDelete = { onDelete(order) },\n                modifier = Modifier.animateItem()\n            )\n        }\n    }\n}\n\n\u002F\u002F Remember expensive computation\n@Composable\nfun FilteredOrders(orders: List\u003COrder>, filter: String) {\n    val filtered = remember(orders, filter) {\n        orders.filter { it.status.name.contains(filter, ignoreCase = true) }\n    }\n    OrderList(orders = filtered, onOrderClick = {}, onDelete = {})\n}\n```\n\n## Ktor Server Routing\n\n```kotlin\nimport io.ktor.server.application.*\nimport io.ktor.server.routing.*\nimport io.ktor.server.response.*\nimport io.ktor.server.request.*\nimport io.ktor.http.*\n\nfun Application.configureRouting() {\n    routing {\n        route(\"\u002Fapi\u002Fv1\") {\n            \u002F\u002F Middleware: auth check for all routes under \u002Fapi\u002Fv1\n            install(AuthPlugin)\n\n            route(\"\u002Forders\") {\n                get {\n                    val page = call.parameters[\"page\"]?.toIntOrNull() ?: 1\n                    val limit = call.parameters[\"limit\"]?.toIntOrNull()?.coerceIn(1, 100) ?: 20\n                    val orders = orderService.findAll(page, limit)\n                    call.respond(ApiResponse.success(orders))\n                }\n\n                get(\"\u002F{id}\") {\n                    val id = call.parameters[\"id\"]\n                        ?: return@get call.respond(HttpStatusCode.BadRequest, \"Missing ID\")\n                    val order = orderService.findById(id)\n                        ?: return@get call.respond(HttpStatusCode.NotFound)\n                    call.respond(ApiResponse.success(order))\n                }\n\n                post {\n                    val input = call.receive\u003CCreateOrderInput>()\n                    val validated = input.validate()\n                        ?: return@post call.respond(HttpStatusCode.BadRequest, \"Invalid input\")\n                    val order = orderService.create(validated)\n                    call.respond(HttpStatusCode.Created, ApiResponse.success(order))\n                }\n            }\n        }\n    }\n}\n\n\u002F\u002F Typed API response wrapper\n@Serializable\ndata class ApiResponse\u003CT>(\n    val success: Boolean,\n    val data: T? = null,\n    val error: String? = null\n) {\n    companion object {\n        fun \u003CT> success(data: T) = ApiResponse(success = true, data = data)\n        fun error(message: String) = ApiResponse\u003CNothing>(success = false, error = message)\n    }\n}\n```\n\n## Kotlin Multiplatform Shared Code\n\n```kotlin\n\u002F\u002F shared\u002Fsrc\u002FcommonMain\u002Fkotlin\nexpect class PlatformContext\n\n\u002F\u002F Repository shared between Android\u002FiOS\nclass SharedOrderRepository(\n    private val httpClient: HttpClient,\n    private val database: SharedDatabase\n) {\n    suspend fun getOrders(): List\u003COrder> {\n        return try {\n            val remote = httpClient.get(\"https:\u002F\u002Fapi.example.com\u002Forders\").body\u003CList\u003COrder>>()\n            database.orderDao().insertAll(remote)\n            remote\n        } catch (e: Exception) {\n            database.orderDao().getAll()  \u002F\u002F Offline fallback\n        }\n    }\n}\n\n\u002F\u002F shared\u002Fsrc\u002FandroidMain\u002Fkotlin\nactual class PlatformContext(val context: android.content.Context)\n\n\u002F\u002F shared\u002Fsrc\u002FiosMain\u002Fkotlin\nactual class PlatformContext\n```\n\n## Checklist\n\n- [ ] Structured concurrency: always use coroutineScope or supervisorScope\n- [ ] Never swallow CancellationException (rethrow it)\n- [ ] StateFlow for UI state, SharedFlow for one-time events\n- [ ] State hoisting in Compose: stateless composables preferred\n- [ ] Use `key` parameter in LazyColumn items for stable identity\n- [ ] collectAsStateWithLifecycle over collectAsState (lifecycle-aware)\n- [ ] Validate and coerce API input parameters (page, limit bounds)\n- [ ] Remember expensive computations in Compose with proper keys\n\n## Anti-Patterns\n\n- GlobalScope.launch: leaks coroutines, no structured cancellation\n- Mutable state in Compose without State\u002FMutableState wrapper\n- Flow.collect in init block without lifecycle awareness (memory leak)\n- Blocking calls (Thread.sleep) inside coroutines (use delay)\n- Catching Exception without re-throwing CancellationException\n- Business logic in Composable functions (keep in ViewModel\u002FUseCase)\n",{"name":5,"description":7},"main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fkotlin-patterns","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add rubicanjr\u002FFinCognis --skill kotlin-patterns",{"tool":54,"command":55},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill kotlin-patterns",{"tool":57,"command":58},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill kotlin-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fkotlin-patterns\u002Fskill.md",true,[],[63,79,88,103,129,148],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":35},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[70,71,72,73,74,75,76,77,78],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":35},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[81,86,87],"verification","false",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":35},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[],[95,21,96,97,98,28,99,100,101,102],"websocket","websocket patterns","design","protocol","message","strategies","binary","connection",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":35},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[],[110,111,112,113,114,115,116,117,118,119,120,121,122,97,123,124,125,126,127,128],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","for","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":35},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[136,137,86,138,139,140,141,142,143,144,145,146,147],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":35},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[155,156,157,158,21,159,160,161,162,100,163,164,165,166,167,119,168,169],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]