Agent Skills 排行榜 · 关键词 + 语义搜索

/ 聚焦搜索框
正在使用 AI 进行语义搜索...
20,000
总 Skills
16.0M
总安装量
2,338
贡献者
# Skill 仓库 描述 安装量
13051 webapp-testing davepoon/buildwithclaude
Web Application Testing To test local web applications, write native Python Playwright scripts. Helper Scripts Available : scripts/with_server.py - Manages server lifecycle (supports multiple servers) Always run scripts with --help first to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts ra...
57
13052 system-architecture yennanliu/cs_basics
Use this Skill when: - Designing distributed systems - Writing system design documentation - Preparing for system design interviews - Creating architecture diagrams - Analyzing trade-offs between design choices - Reviewing or improving existing system designs System Design Framework 1. Requirements Gathering (5-10 minutes) Functional Requirements: - What are the core features? - What actions can users perform? - What are the inputs and outputs? Non-Functional Requirements: - Scal...
57
13053 openfeature laurigates/claude-plugins
Vendor-agnostic feature flag SDK providing standardized API across languages and providers. Use when implementing feature flags, A/B testing, canary releases, or progressive rollouts with any feature flag backend. When to Use Automatic activation triggers: - User mentions "feature flags", "feature toggles", or "feature management" - User asks about A/B testing or canary releases - User wants to implement progressive rollouts - Project has OpenFeature SDK dependencies - User mentions Open...
57
13054 grafana cosmix/loom
Grafana and LGTM Stack Skill Overview The LGTM stack provides a complete observability solution with comprehensive visualization and dashboard capabilities: Loki: Log aggregation and querying (LogQL) Grafana: Visualization, dashboarding, alerting, and exploration Tempo: Distributed tracing (TraceQL) Mimir: Long-term metrics storage (Prometheus-compatible) This skill covers setup, configuration, dashboard creation, panel design, querying, alerting, templating, and production observability best...
57
13055 iterm2-layout terrylica/cc-skills
Configure iTerm2 workspace layouts with proper separation of concerns: private paths in TOML config, publishable code in Python script. Triggers Invoke this skill when user mentions: - "iTerm2 layout" - "workspace tabs" - "layout.toml" - "AutoLaunch script" - "default-layout.py" - "configure terminal workspaces" - "add workspace tab" Configuration Overview File Locations | Config (private) | `~/.config/iterm2/layout.toml` | User's workspace paths | Script (public) | `~/script...
57
13056 spec-test zixun-github/aisdlc
Spec Pack 验证(Verification)主技能:spec-test 本技能用于 Spec Pack 的 verification 阶段(V1–V4):生成/更新测试计划、测试用例、测试套件与测试报告。默认以 手工测试 为准;自动化仅作为可选增强。 何时使用 需要为某个 Spec Pack 产出或更新以下任一文件: verification/test-plan.md verification/usecase.md verification/suites.md verification/report-{date}-{version}.md 何时不使用 你要写自动化测试代码:本技能只负责 verification 文档产物与门禁,不要求在本阶段实现自动化代码。 输入与门禁(必须遵守) REQUIRED SUB-SKILL:正在执行 spec-context 获取上下文,并在对话中回显 FEATURE_DIR=... (允许 (reuse) )。 必读上下文 项目级: project/memory/product.md project/memory/tech.md project/...
57
13057 hig-components-search raintree-technology/apple-hig-skills
Apple HIG: Navigation Components Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered. Key Principles Search: discoverable with instant feedback. Place search fields where users expect them (top of list, toolbar/navigation bar). Show results as the user types. Page controls: position in a flat page sequence. For discrete, equally weighted pages (onboarding, photo gallery). Show current page and total count. Path ...
57
13058 pre-commit-standards laurigates/claude-plugins
Standard pre-commit configuration for repository compliance. Standard Versions (2025.1) | pre-commit-hooks | v5.0.0 | Core hooks (trailing-whitespace, check-yaml, etc.) | conventional-pre-commit | v4.3.0 | Conventional commit message validation | biome | v0.4.0 | Code formatting and linting (JS, TS, JSON) | gruntwork pre-commit | v0.1.29 | helmlint, tflint (infrastructure only) | actionlint | v1.7.7 | GitHub Actions validation (infrastructure only) | helm-docs | v1.14.2 ...
57
13059 agentguard goplussecurity/agentguard
GoPlus AgentGuard — AI Agent Security Framework You are a security auditor powered by the GoPlus AgentGuard framework. Route the user's request based on the first argument. Command Routing Parse $ARGUMENTS to determine the subcommand: scan <path> — Scan a skill or codebase for security risks action <description> — Evaluate whether a runtime action is safe trust <lookup|attest|revoke|list> [args] — Manage skill trust levels report — View recent security events from the audit log config <strict|ba...
57
13060 qa-docs-coverage vasilyu1983/ai-agents-public
QA Docs Coverage (Jan 2026) - Discovery, Freshness, and Runbook Quality Modern Best Practices (January 2026) Docs as QA: Treat docs as production artifacts with owners, review cadence, and CI quality gates (links/style/contracts/freshness) Contract-first: Validate OpenAPI/AsyncAPI/JSON Schema in CI; use coverage tools (Swagger Coverage / OpenAPI Coverage) to detect gaps Runbook testability: Every runbook must be executable in staging; validate with synthetic tests and incident exercises Automati...
57
13061 mobile-app-testing secondsky/claude-skills
Mobile App Testing Overview Implement comprehensive testing strategies for mobile applications including unit tests, UI tests, integration tests, and performance testing. When to Use Creating reliable mobile applications with test coverage Automating UI testing across iOS and Android Performance testing and optimization Integration testing with backend services Regression testing before releases Instructions 1. React Native Testing with Jest & Detox // Unit test with Jest import { calculate } ...
57
13062 task-orchestration mgd34msu/goodvibes-plugin
Resources scripts/ validate-orchestration.sh references/ agent-assignment-guide.md Task Orchestration Protocol The task orchestration protocol defines how the GoodVibes orchestrator decomposes feature requests into agent tasks, assigns agents and skills, manages parallel execution, and interacts with the runtime engine's WRFC chain system. This is the orchestrator's primary workflow for multi-agent feature delivery. When to Use This Skill Use this skill when: User provides a feature request requ...
57
13063 vscode-workspace-setup patricio0312rev/skills
VS Code Workspace Setup Configure VS Code for optimal team productivity and consistency. Core Workflow Create workspace settings: .vscode folder Configure editor: Formatting, linting Add extensions: Team recommendations Setup tasks: Build, test, lint Configure debugging: Launch configurations Create devcontainer: Consistent environment Workspace Structure .vscode/ ├── settings.json Workspace settings ├── extensions.json Recommended extensions ├── tasks.json Build tasks ...
57
13064 core danielmiessler/personal_ai_infrastructure
@json-render/core Core package for schema definition, catalog creation, and spec streaming. Key Concepts Schema : Defines the structure of specs and catalogs (use defineSchema ) Catalog : Maps component/action names to their definitions (use defineCatalog ) Spec : JSON output from AI that conforms to the schema SpecStream : JSONL streaming format for progressive spec building Defining a Schema import { defineSchema } from "@json-render/core" ; export const schema = defineSchema ( ( s ) => ( { sp...
57
13065 spring-boot bobmatnyc/claude-mpm-skills
Spring Boot 开发指南 概述 Spring Boot 是一个基于 Spring 框架的快速开发框架,提供了自动配置、起步依赖等特性,简化了 Spring 应用的开发。 核心特性 1. 项目创建 使用 Spring Initializr : 访问 https://start.spring.io/ 或使用 IDE 插件创建项目。 使用 CLI : 安装 Spring Boot CLI brew install spring-boot 创建项目 spring init --dependencies = web,data-jpa,postgresql my-project Maven 项目结构 : my-project/ ├── src/ │ ├── main/ │ │ ├── java/ │ │ │ └── com/example/ │ │ │ └── MyApplication.java │ │ └── resources/ │ │ ├── application.properties │ │ ...
57
13066 maplibre-tile-sources maplibre/maplibre-agent-skills
MapLibre Tile Sources MapLibre GL JS does not ship with map data. You provide a style that references sources — URLs or inline data that MapLibre fetches and renders. MapLibre works equally well for a store locator with 200 addresses, a city transit map, and a global basemap — the right source type depends on geographic scale and level of detail, update frequency, infrastructure constraints, and use case. When to Use This Skill Setting up a new MapLibre map and choosing where your data comes fro...
57
13067 capacitor-testing cap-go/capacitor-skills
Testing Capacitor Applications Comprehensive testing strategies for Capacitor mobile apps. When to Use This Skill User wants to add tests User asks about testing strategies User needs E2E testing User wants to mock native plugins User needs CI testing setup Testing Pyramid /\ / \ E2E Tests (Few) /----\ - Real devices / \ - Full user flows /--------\ Integration Tests (Some) / \ - Component interactions /------------\ - API integration / \ U...
57
13068 add-vault-protocol tradingstrategy-ai/web3-ethereum-defi
Add vault protocol This skill guides you through adding support for a new ERC-4626 vault protocol to the eth_defi library. Required inputs Before starting, gather the following information from the user: Vault smart contract address - The address of an example vault contract on a blockchain Protocol name - Human-readable name (e.g., "Plutus", "IPOR", "Morpho") Protocol slug - Snake_case identifier for code (e.g., "plutus", "ipor", "morpho") Chain - Which blockchain (Ethereum, Arbitrum, Base,...
57
13069 crypto-hft alsk1992/cloddsbot
Crypto HFT - Binary Market Trading Trade Polymarket's crypto binary markets with 4 automated strategies. Just say what you want! Available market durations (pick one): 5-minute : BTC only - ultra-high frequency HFT 15-minute : All assets (BTC, ETH, SOL, XRP) - balanced, most popular 1-hour : All assets - faster swing trading 4-hour : All assets - multi-hour trends Daily : All assets - position trading, overnight holds Each round has UP/DOWN token pairs that settle at 0 or 1 using Chainlink price...
57
13070 document-to-narration jwynia/agent-skills
Document to Narration Convert written documents into narrated video scripts with precise word-level timing. Core Principle The agent interprets; the document guides. Rather than rigid template-based splits, this skill uses agent judgment to find where the content naturally breathes, argues, and transitions. The document's argument flow determines scene breaks, not a predetermined structure. When to Use This Skill Use this skill when: Converting a blog post or essay to video narration Preparing c...
57
13071 searching-context volcengine/openviking
OpenViking (OV) context searching The ov search command performs context-aware retrieval across all memories and resources in OpenViking — combining semantic understanding with directory recursive retrieval to find the most relevant context for any query. Table of Content When to Use Search Modes Context-Aware Search ( ov search ) Content Pattern Search ( ov grep ) File Glob Search ( ov glob ) Search Options Result Control Scope Control Session-Aware Search Output Other Utilities List Contents (...
57
13072 workers-frameworks secondsky/claude-skills
Build full-stack applications on Cloudflare Workers using modern frameworks. Quick Start: Choose Your Framework | Hono | APIs, lightweight apps | ✅ | ✅ | ✅ Native | Remix | Full-stack apps | ✅ | ✅ | ✅ Adapter | Next.js | React apps | ✅ | ✅ | ⚠️ OpenNext | Astro | Content sites | ✅ | ✅ | ✅ Adapter | SvelteKit | Svelte apps | ✅ | ✅ | ✅ Adapter | Qwik | Resumable apps | ✅ | ✅ | ✅ Adapter | Nuxt | Vue apps | ✅ | ✅ | ✅ Nitro Framework Decision Tree ``` N...
57
13073 tauri-app-dev xiaolai/vmark
Tauri 2.0 App Development Tauri is a framework for building small, fast, secure desktop apps using web frontends and Rust backends. Architecture Overview ┌─────────────────────────────────────────┐ │ Frontend (Webview) │ │ HTML/CSS/JS • React/Vue/Svelte │ └────────────────┬────────────────────────┘ │ IPC (invoke/events) ┌────────────────▼────────────────────────┐ │ Tauri Core (Rust) │ │ Commands • State • Plugins • Events │ └───────────────...
57
13074 adcp-creative adcontextprotocol/adcp
AdCP Creative Protocol This skill enables you to execute the AdCP Creative Protocol with creative agents. Use the standard MCP tools ( list_creative_formats , build_creative , preview_creative ) exposed by the connected agent. Overview The Creative Protocol provides 3 standardized tasks for building and previewing advertising creatives: Task Purpose Response Time list_creative_formats View format specifications ~1s build_creative Generate or transform creatives ~30s-5m preview_creative Get visua...
57
13075 llamaindex orchestra-research/ai-research-skills
LlamaIndex - Data Framework for LLM Applications The leading framework for connecting LLMs with your data. When to use LlamaIndex Use LlamaIndex when: Building RAG (retrieval-augmented generation) applications Need document question-answering over private data Ingesting data from multiple sources (300+ connectors) Creating knowledge bases for LLMs Building chatbots with enterprise data Need structured data extraction from documents Metrics: 45,100+ GitHub stars 23,000+ repositories use Lla...
57
13076 asciinema-converter terrylica/cc-skills
asciinema-converter Convert asciinema .cast recordings to clean .txt files for Claude Code analysis. Achieves 950:1 compression (3.8GB -> 4MB) by stripping ANSI codes and JSON structure. Platform: macOS, Linux (requires asciinema CLI v2.4+) Why Convert? Format Size (22h session) Claude Code Compatible Searchable .cast 3.8GB No (NDJSON + ANSI) Via jq .txt ~4MB Yes (clean text) Grep/Read Key benefit: Claude Code's Read and Grep tools work directly on .txt output. Requirements Component Requir...
57
13077 anygen-image anygenio/anygen-skills
AnyGen Image Generator You MUST strictly follow every instruction in this document. Do not skip, reorder, or improvise any step. If this skill has been updated since it was last loaded, reload this SKILL.md before proceeding and always follow the latest version. Generate images, illustrations and visual content using AnyGen OpenAPI ( www.anygen.io ). Images are generated server-side; this skill sends the user's prompt and optional reference files to the AnyGen API and retrieves the results. An A...
57
13078 en-to-zh-translator seefreed/skills
English to Chinese Translator Overview Translates English text files to natural Chinese while preserving sentence structure for effective bidirectional translation practice. Combines broken sentences into complete lines. Output files use the _zh suffix (e.g., document.txt → document_zh.txt). Translation Workflow Read the source file - Read the full English text file to understand context and tone Translate to Chinese - Apply translation guidelines (see below) Write translated file - Create {or...
57
13079 dojo-indexer dojoengine/book
Dojo Indexer (Torii) Set up and use Torii, the Dojo indexer, for efficient querying and real-time subscriptions to your world state. When to Use This Skill "Set up Torii indexer" "Configure GraphQL for my world" "Create subscriptions for entity updates" "Query world state efficiently" What This Skill Does Manages Torii indexer: Start and configure Torii Create GraphQL queries Set up real-time subscriptions Access SQL database directly Quick Start Start Torii: torii --world < WORLD_ADDRESS > This...
57
13080 nextjs-development manutej/luxor-claude-marketplace
Next.js Development Skill This skill provides comprehensive guidance for building modern Next.js applications using the App Router, Server Components, data fetching patterns, routing, API routes, middleware, and full-stack development techniques based on official Next.js documentation. When to Use This Skill Use this skill when: Building full-stack React applications with server-side rendering (SSR) Creating static sites with incremental static regeneration (ISR) Developing modern web applic...
57
13081 reviewing-changes bitwarden/android
Reviewing Changes - Android Additions This skill provides Android-specific workflow additions that complement the base bitwarden-code-reviewer agent standards. Instructions IMPORTANT : Use structured thinking throughout your review process. Plan your analysis in <thinking> tags before providing final feedback. Step 1: Retrieve Additional Details Retrieve any additional information linked to the pull request using available tools (JIRA MCP, GitHub API). If pull request title and message do not pr...
57
13082 dry-consolidation laurigates/claude-plugins
DRY Consolidation Systematic extraction of duplicated code into shared, tested abstractions. When to Use This Skill Use this skill when... Use these instead when... Multiple files have identical/near-identical code blocks Single file needs cleanup → /code:refactor Copy-pasted utility functions across components Looking for anti-patterns without fixing → /code:antipatterns Repeated UI patterns (dialogs, pagination, error states) Functional refactoring of a file or directory → /code:refactor Dupli...
57
13083 wiki-changelog sickn33/antigravity-awesome-skills
Wiki Changelog Generate structured changelogs from git history. When to Activate User asks "what changed recently", "generate a changelog", "summarize commits" User wants to understand recent development activity Procedure Examine git log (commits, dates, authors, messages) Group by time period: daily (last 7 days), weekly (older) Classify each commit: Features (🆕), Fixes (🐛), Refactoring (🔄), Docs (📝), Config (🔧), Dependencies (📦), Breaking (⚠️) Generate concise user-facing descriptions using p...
57
13084 dojo-world dojoengine/book
Dojo World Management Manage your Dojo world's permissions, namespaces, resource registration, and access control policies. When to Use This Skill "Configure world permissions" "Set up namespace access" "Grant writer permissions" "Manage resource ownership" What This Skill Does Handles world management: Namespace configuration Writer permissions (can write data) Owner permissions (can write data + manage permissions) Permission hierarchy management Quick Start Configure permissions: "Grant write...
57
13085 drizzle-best-practices honra-io/drizzle-best-practices
Drizzle ORM Best Practices (PostgreSQL) Comprehensive best practices guide for Drizzle ORM with PostgreSQL. Contains guidance across 8 categories, prioritized by impact to help you write correct, performant, and maintainable database code. When to Apply Reference these guidelines when: Defining table schemas with pgTable Writing select, insert, update, or delete queries Setting up relations between tables using defineRelations or the legacy relations API Configuring drizzle-kit for migrations ( ...
57
13086 openapi-generator patricio0312rev/skills
OpenAPI Generator Generate OpenAPI 3.0/3.1 specifications from your API codebase automatically. Core Workflow Scan routes: Find all API route definitions Extract schemas: Types, request/response bodies, params Build paths: Convert routes to OpenAPI path objects Generate schemas: Create component schemas from types Add documentation: Descriptions, examples, tags Export spec: YAML or JSON format OpenAPI 3.1 Base Template openapi: 3.1.0 info: title: API Title version: 1.0.0 description: API...
57
13087 docker-watch-mode-2025 josiahsiegel/claude-plugin-marketplace
Docker Compose Watch Mode (2025 GA) Docker Compose Watch enables automatic hot reload during local development by synchronizing file changes instantly without manual container restarts. Three Watch Actions 1. sync - Hot Reload For frameworks with hot reload (React, Next.js, Node.js, Flask). Copies changed files directly into running container. 2. rebuild - Compilation For compiled languages (Go, Rust, Java) or dependency changes. Rebuilds image and recreates container when files change. 3....
57
13088 ios-swift-expert sjungling/claude-plugins
Elite-level guidance for iOS and macOS development with deep expertise in Swift, SwiftUI, UIKit, and the entire Apple development ecosystem. Core principle: Follow Apple's Human Interface Guidelines, Swift API Design Guidelines, and modern iOS development best practices while writing clean, performant, memory-safe code. When to Use Automatically activates when: - Working with `.swift` source files - Opening or modifying Xcode projects (`.xcodeproj`, `.xcworkspace`) - Editing SwiftUI views...
57
13089 graphite-stacks outfitter-dev/agents
Graphite Stacks Trunk-based development with stacked PRs using Graphite CLI. <when_to_use> Creating or managing branch stacks Submitting stacked PRs Reorganizing branch relationships Addressing PR feedback across a stack Recovering from stack corruption Any gt command usage </when_to_use> Core Principle Use gt commands exclusively. Mixing git and gt causes sync issues and divergent stacks. The only exception: git add for staging (or use -a flags). This, Not That Task This Not That Create branch ...
57
13090 headless-terminal letta-ai/skills
This skill guides the implementation of headless terminal interfaces—programmatic wrappers that control shell sessions without a visible terminal UI. These implementations typically involve spawning shell processes, sending input (keystrokes, commands), and capturing output. Approach Step 1: Understand the Interface Contract Before implementing, thoroughly read and understand the interface to be implemented: - Identify all required methods and their signatures - Note return types and expe...
57
13091 langchain orchestra-research/ai-research-skills
LangChain - Build LLM Applications with Agents & RAG The most popular framework for building LLM-powered applications. When to use LangChain Use LangChain when: Building agents with tool calling and reasoning (ReAct pattern) Implementing RAG (retrieval-augmented generation) pipelines Need to swap LLM providers easily (OpenAI, Anthropic, Google) Creating chatbots with conversation memory Rapid prototyping of LLM applications Production deployments with LangSmith observability Metrics: 119,0...
57
13092 monetization-strategy travisjneuman/.claude
Monetization Strategy You are an expert in mobile app monetization with deep knowledge of subscription economics, paywall psychology, and pricing strategy. Your goal is to help the user maximize revenue while maintaining user satisfaction. Initial Assessment Check for app-marketing-context.md — read it for context Ask for current monetization model (free, freemium, paid, subscription, ads) Ask for current pricing (if applicable) Ask for conversion rate (free to paid, trial to subscription) Ask f...
57
13093 vite itechmeat/llm-code
Vite Based on Vite 8 beta (Rolldown-powered). Vite 8 uses Rolldown bundler and Oxc transformer. Vite is a next-generation frontend build tool with fast dev server (native ESM + HMR) and optimized production builds. Preferences Use TypeScript: prefer vite.config.ts Always use ESM, avoid CommonJS Core Topic Description Reference Configuration vite.config.ts , defineConfig , conditional configs, loadEnv core-config Features import.meta.glob , asset queries ( ?raw , ?url ), import.meta.env , HMR API...
57
13094 integration-tests andrelandgraf/fullstackrecipes
Integration Tests To set up Integration Tests, refer to the fullstackrecipes MCP server resource: Resource URI: recipe://fullstackrecipes.com/integration-tests If the MCP server is not configured, fetch the recipe directly: curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/integration-tests
57
13095 acquiring-skills letta-ai/letta-code
Acquiring New Skills This skill teaches you how to safely discover and install skills from external sources. SAFETY - READ THIS FIRST Skills can contain: Markdown files (.md) - Risk: prompt injection, misleading instructions Scripts (Python, TypeScript, Bash) - Risk: malicious code execution Trusted Sources (no user approval needed for download) https://github.com/letta-ai/skills - Letta's community skills https://github.com/anthropics/skills - Anthropic's official skills Untrusted Sources (ALWA...
57
13096 control-flow epicenterhq/epicenter
Human-Readable Control Flow When refactoring complex control flow, mirror natural human reasoning patterns: Ask the human question first: "Can I use what I already have?" -> early return for happy path Assess the situation: "What's my current state and what do I need to do?" -> clear, mutually exclusive conditions Take action: "Get what I need" -> consolidated logic at the end Use natural language variables: isUsingNavigator, isUsingLocalTranscription, needsOldFileCleanup: names that read like...
57
13097 cloud-devops-expert oimiragieo/agent-studio
Cloud Devops Expert Core Services: Compute: EC2, Lambda (serverless), ECS/EKS (containers), Fargate Storage: S3 (object), EBS (block), EFS (file system) Database: RDS (relational), DynamoDB (NoSQL), Aurora (MySQL/PostgreSQL) Networking: VPC, ALB/NLB, CloudFront (CDN), Route 53 (DNS) Monitoring: CloudWatch (metrics, logs, alarms) Best Practices: Use AWS Organizations for multi-account management Implement least privilege with IAM roles and policies Enable CloudTrail for audit logging Use AWS ...
57
13098 particles-physics bbeierle12/skill-mcp-claude
Particle Physics Apply forces, fields, and constraints to create dynamic particle motion. Quick Start // Simple gravity + velocity useFrame((_, delta) => { for (let i = 0; i < count; i++) { // Apply gravity velocities[i * 3 + 1] -= 9.8 * delta; // Update position positions[i * 3] += velocities[i * 3] * delta; positions[i * 3 + 1] += velocities[i * 3 + 1] * delta; positions[i * 3 + 2] += velocities[i * 3 + 2] * delta; } geometry.attributes.position.needsUpdate...
57
13099 api-test-suite-generator patricio0312rev/skills
API Test Suite Generator Generate comprehensive API test suites automatically from your route definitions. Core Workflow Scan routes: Find all API route definitions Analyze contracts: Extract request/response schemas Generate tests: Create test files for each resource Add assertions: Status codes, response structure, headers Include edge cases: Invalid inputs, auth, not found Setup fixtures: Test data and database seeding Test Structure tests/ ├── setup.ts Global test setup ├── f...
57
13100 android-kotlin-coroutines thebushidocollective/han
Android - Kotlin Coroutines Asynchronous programming patterns using Kotlin coroutines and Flow in Android. Key Concepts Coroutine Basics // Launching coroutines class UserViewModel : ViewModel() { fun loadUser(id: String) { // viewModelScope is automatically cancelled when ViewModel is cleared viewModelScope.launch { try { val user = userRepository.getUser(id) _uiState.value = UiState.Success(user) } catch (e: Excepti...
57