[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JKMJ2VE4GT36DPTHMVSV0N":3,"skill-same:01M6JKMJ2VE4GT36DPTHMVSV0N":73},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6JKMJ2VE4GT36DPTHMVSV0N","python-patterns",null,"Python-specific design patterns and best practices including protocols, dataclasses, context managers, decorators, async\u002Fawait, type hints, and package organization. Use when working with Python code to apply Pythonic patterns.","LongLeo287\u002FOmniClaw","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M6JK75GQ78TSP1ZPXNKK3MCH",9,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fbrain\u002Fknowledge\u002Frepositories\u002Feverything_claude_code\u002F.kiro\u002Fskills\u002Fpython_patterns\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"python","python patterns","patterns","await","design","managers","python code","decorators","dataclasses","type","organization","async","design patterns","use","context","pythonic","protocols","package","best practices","code","2026-11-10 10:12:30",false,"---\nname: python-patterns\ndescription: >\n  Python-specific design patterns and best practices including protocols,\n  dataclasses, context managers, decorators, async\u002Fawait, type hints, and\n  package organization. Use when working with Python code to apply Pythonic\n  patterns.\nmetadata:\n  origin: ECC\n  globs: [\"**\u002F*.py\", \"**\u002F*.pyi\"]\n---\n\n# Python Patterns\n\n> This skill provides comprehensive Python patterns extending common design principles with Python-specific idioms.\n\n## Protocol (Duck Typing)\n\nUse `Protocol` for structural subtyping (duck typing with type hints):\n\n```python\nfrom typing import Protocol\n\nclass Repository(Protocol):\n    def find_by_id(self, id: str) -> dict | None: ...\n    def save(self, entity: dict) -> dict: ...\n\n# Any class with these methods satisfies the protocol\nclass UserRepository:\n    def find_by_id(self, id: str) -> dict | None:\n        # implementation\n        pass\n    \n    def save(self, entity: dict) -> dict:\n        # implementation\n        pass\n\ndef process_entity(repo: Repository, id: str) -> None:\n    entity = repo.find_by_id(id)\n    # ... process\n```\n\n**Benefits:**\n- Type safety without inheritance\n- Flexible, loosely coupled code\n- Easy testing and mocking\n\n## Dataclasses as DTOs\n\nUse `dataclass` for data transfer objects and value objects:\n\n```python\nfrom dataclasses import dataclass, field\nfrom typing import Optional\n\n@dataclass\nclass CreateUserRequest:\n    name: str\n    email: str\n    age: Optional[int] = None\n    tags: list[str] = field(default_factory=list)\n\n@dataclass(frozen=True)\nclass User:\n    \"\"\"Immutable user entity\"\"\"\n    id: str\n    name: str\n    email: str\n```\n\n**Features:**\n- Auto-generated `__init__`, `__repr__`, `__eq__`\n- `frozen=True` for immutability\n- `field()` for complex defaults\n- Type hints for validation\n\n## Context Managers\n\nUse context managers (`with` statement) for resource management:\n\n```python\nfrom contextlib import contextmanager\nfrom typing import Generator\n\n@contextmanager\ndef database_transaction(db) -> Generator[None, None, None]:\n    \"\"\"Context manager for database transactions\"\"\"\n    try:\n        yield\n        db.commit()\n    except Exception:\n        db.rollback()\n        raise\n\n# Usage\nwith database_transaction(db):\n    db.execute(\"INSERT INTO users ...\")\n```\n\n**Class-based context manager:**\n\n```python\nclass FileProcessor:\n    def __init__(self, filename: str):\n        self.filename = filename\n        self.file = None\n    \n    def __enter__(self):\n        self.file = open(self.filename, 'r')\n        return self.file\n    \n    def __exit__(self, exc_type, exc_val, exc_tb):\n        if self.file:\n            self.file.close()\n        return False  # Don't suppress exceptions\n```\n\n## Generators\n\nUse generators for lazy evaluation and memory-efficient iteration:\n\n```python\ndef read_large_file(filename: str):\n    \"\"\"Generator for reading large files line by line\"\"\"\n    with open(filename, 'r') as f:\n        for line in f:\n            yield line.strip()\n\n# Memory-efficient processing\nfor line in read_large_file('huge.txt'):\n    process(line)\n```\n\n**Generator expressions:**\n\n```python\n# Instead of list comprehension\nsquares = (x**2 for x in range(1000000))  # Lazy evaluation\n\n# Pipeline pattern\nnumbers = (x for x in range(100))\nevens = (x for x in numbers if x % 2 == 0)\nsquares = (x**2 for x in evens)\n```\n\n## Decorators\n\n### Function Decorators\n\n```python\nfrom functools import wraps\nimport time\n\ndef timing(func):\n    \"\"\"Decorator to measure execution time\"\"\"\n    @wraps(func)\n    def wrapper(*args, **kwargs):\n        start = time.time()\n        result = func(*args, **kwargs)\n        end = time.time()\n        print(f\"{func.__name__} took {end - start:.2f}s\")\n        return result\n    return wrapper\n\n@timing\ndef slow_function():\n    time.sleep(1)\n```\n\n### Class Decorators\n\n```python\ndef singleton(cls):\n    \"\"\"Decorator to make a class a singleton\"\"\"\n    instances = {}\n    \n    @wraps(cls)\n    def get_instance(*args, **kwargs):\n        if cls not in instances:\n            instances[cls] = cls(*args, **kwargs)\n        return instances[cls]\n    \n    return get_instance\n\n@singleton\nclass Config:\n    pass\n```\n\n## Async\u002FAwait\n\n### Async Functions\n\n```python\nimport asyncio\nfrom typing import List\n\nasync def fetch_user(user_id: str) -> dict:\n    \"\"\"Async function for I\u002FO-bound operations\"\"\"\n    await asyncio.sleep(0.1)  # Simulate network call\n    return {\"id\": user_id, \"name\": \"Alice\"}\n\nasync def fetch_all_users(user_ids: List[str]) -> List[dict]:\n    \"\"\"Concurrent execution with asyncio.gather\"\"\"\n    tasks = [fetch_user(uid) for uid in user_ids]\n    return await asyncio.gather(*tasks)\n\n# Run async code\nasyncio.run(fetch_all_users([\"1\", \"2\", \"3\"]))\n```\n\n### Async Context Managers\n\n```python\nclass AsyncDatabase:\n    async def __aenter__(self):\n        await self.connect()\n        return self\n    \n    async def __aexit__(self, exc_type, exc_val, exc_tb):\n        await self.disconnect()\n\nasync with AsyncDatabase() as db:\n    await db.query(\"SELECT * FROM users\")\n```\n\n## Type Hints\n\n### Advanced Type Hints\n\n```python\nfrom typing import TypeVar, Generic, Callable, ParamSpec, Concatenate\n\nT = TypeVar('T')\nP = ParamSpec('P')\n\nclass Repository(Generic[T]):\n    \"\"\"Generic repository pattern\"\"\"\n    def __init__(self, entity_type: type[T]):\n        self.entity_type = entity_type\n    \n    def find_by_id(self, id: str) -> T | None:\n        # implementation\n        pass\n\n# Type-safe decorator\ndef log_call(func: Callable[P, T]) -> Callable[P, T]:\n    @wraps(func)\n    def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:\n        print(f\"Calling {func.__name__}\")\n        return func(*args, **kwargs)\n    return wrapper\n```\n\n### Union Types (Python 3.10+)\n\n```python\ndef process(value: str | int | None) -> str:\n    match value:\n        case str():\n            return value.upper()\n        case int():\n            return str(value)\n        case None:\n            return \"empty\"\n```\n\n## Dependency Injection\n\n### Constructor Injection\n\n```python\nclass UserService:\n    def __init__(\n        self,\n        repository: Repository,\n        logger: Logger,\n        cache: Cache | None = None\n    ):\n        self.repository = repository\n        self.logger = logger\n        self.cache = cache\n    \n    def get_user(self, user_id: str) -> User | None:\n        if self.cache:\n            cached = self.cache.get(user_id)\n            if cached:\n                return cached\n        \n        user = self.repository.find_by_id(user_id)\n        if user and self.cache:\n            self.cache.set(user_id, user)\n        \n        return user\n```\n\n## Package Organization\n\n### Project Structure\n\n```\nproject\u002F\n├── src\u002F\n│   └── mypackage\u002F\n│       ├── __init__.py\n│       ├── domain\u002F          # Business logic\n│       │   ├── __init__.py\n│       │   └── models.py\n│       ├── services\u002F        # Application services\n│       │   ├── __init__.py\n│       │   └── user_service.py\n│       └── infrastructure\u002F  # External dependencies\n│           ├── __init__.py\n│           └── database.py\n├── tests\u002F\n│   ├── unit\u002F\n│   └── integration\u002F\n├── pyproject.toml\n└── README.md\n```\n\n### Module Exports\n\n```python\n# __init__.py\nfrom .models import User, Product\nfrom .services import UserService\n\n__all__ = ['User', 'Product', 'UserService']\n```\n\n## Error Handling\n\n### Custom Exceptions\n\n```python\nclass DomainError(Exception):\n    \"\"\"Base exception for domain errors\"\"\"\n    pass\n\nclass UserNotFoundError(DomainError):\n    \"\"\"Raised when user is not found\"\"\"\n    def __init__(self, user_id: str):\n        self.user_id = user_id\n        super().__init__(f\"User {user_id} not found\")\n\nclass ValidationError(DomainError):\n    \"\"\"Raised when validation fails\"\"\"\n    def __init__(self, field: str, message: str):\n        self.field = field\n        self.message = message\n        super().__init__(f\"{field}: {message}\")\n```\n\n### Exception Groups (Python 3.11+)\n\n```python\ntry:\n    # Multiple operations\n    pass\nexcept* ValueError as eg:\n    # Handle all ValueError instances\n    for exc in eg.exceptions:\n        print(f\"ValueError: {exc}\")\nexcept* TypeError as eg:\n    # Handle all TypeError instances\n    for exc in eg.exceptions:\n        print(f\"TypeError: {exc}\")\n```\n\n## Property Decorators\n\n```python\nclass User:\n    def __init__(self, name: str):\n        self._name = name\n        self._email = None\n    \n    @property\n    def name(self) -> str:\n        \"\"\"Read-only property\"\"\"\n        return self._name\n    \n    @property\n    def email(self) -> str | None:\n        return self._email\n    \n    @email.setter\n    def email(self, value: str) -> None:\n        if '@' not in value:\n            raise ValueError(\"Invalid email\")\n        self._email = value\n```\n\n## Functional Programming\n\n### Higher-Order Functions\n\n```python\nfrom functools import reduce\nfrom typing import Callable, TypeVar\n\nT = TypeVar('T')\nU = TypeVar('U')\n\ndef pipe(*functions: Callable) -> Callable:\n    \"\"\"Compose functions left to right\"\"\"\n    def inner(arg):\n        return reduce(lambda x, f: f(x), functions, arg)\n    return inner\n\n# Usage\nprocess = pipe(\n    str.strip,\n    str.lower,\n    lambda s: s.replace(' ', '_')\n)\nresult = process(\"  Hello World  \")  # \"hello_world\"\n```\n\n## When to Use This Skill\n\n- Designing Python APIs and packages\n- Implementing async\u002Fconcurrent systems\n- Structuring Python projects\n- Writing Pythonic code\n- Refactoring Python codebases\n- Type-safe Python development\n","# Python Patterns\n\n> This skill provides comprehensive Python patterns extending common design principles with Python-specific idioms.\n\n## Protocol (Duck Typing)\n\nUse `Protocol` for structural subtyping (duck typing with type hints):\n\n```python\nfrom typing import Protocol\n\nclass Repository(Protocol):\n    def find_by_id(self, id: str) -> dict | None: ...\n    def save(self, entity: dict) -> dict: ...\n\n# Any class with these methods satisfies the protocol\nclass UserRepository:\n    def find_by_id(self, id: str) -> dict | None:\n        # implementation\n        pass\n    \n    def save(self, entity: dict) -> dict:\n        # implementation\n        pass\n\ndef process_entity(repo: Repository, id: str) -> None:\n    entity = repo.find_by_id(id)\n    # ... process\n```\n\n**Benefits:**\n- Type safety without inheritance\n- Flexible, loosely coupled code\n- Easy testing and mocking\n\n## Dataclasses as DTOs\n\nUse `dataclass` for data transfer objects and value objects:\n\n```python\nfrom dataclasses import dataclass, field\nfrom typing import Optional\n\n@dataclass\nclass CreateUserRequest:\n    name: str\n    email: str\n    age: Optional[int] = None\n    tags: list[str] = field(default_factory=list)\n\n@dataclass(frozen=True)\nclass User:\n    \"\"\"Immutable user entity\"\"\"\n    id: str\n    name: str\n    email: str\n```\n\n**Features:**\n- Auto-generated `__init__`, `__repr__`, `__eq__`\n- `frozen=True` for immutability\n- `field()` for complex defaults\n- Type hints for validation\n\n## Context Managers\n\nUse context managers (`with` statement) for resource management:\n\n```python\nfrom contextlib import contextmanager\nfrom typing import Generator\n\n@contextmanager\ndef database_transaction(db) -> Generator[None, None, None]:\n    \"\"\"Context manager for database transactions\"\"\"\n    try:\n        yield\n        db.commit()\n    except Exception:\n        db.rollback()\n        raise\n\n# Usage\nwith database_transaction(db):\n    db.execute(\"INSERT INTO users ...\")\n```\n\n**Class-based context manager:**\n\n```python\nclass FileProcessor:\n    def __init__(self, filename: str):\n        self.filename = filename\n        self.file = None\n    \n    def __enter__(self):\n        self.file = open(self.filename, 'r')\n        return self.file\n    \n    def __exit__(self, exc_type, exc_val, exc_tb):\n        if self.file:\n            self.file.close()\n        return False  # Don't suppress exceptions\n```\n\n## Generators\n\nUse generators for lazy evaluation and memory-efficient iteration:\n\n```python\ndef read_large_file(filename: str):\n    \"\"\"Generator for reading large files line by line\"\"\"\n    with open(filename, 'r') as f:\n        for line in f:\n            yield line.strip()\n\n# Memory-efficient processing\nfor line in read_large_file('huge.txt'):\n    process(line)\n```\n\n**Generator expressions:**\n\n```python\n# Instead of list comprehension\nsquares = (x**2 for x in range(1000000))  # Lazy evaluation\n\n# Pipeline pattern\nnumbers = (x for x in range(100))\nevens = (x for x in numbers if x % 2 == 0)\nsquares = (x**2 for x in evens)\n```\n\n## Decorators\n\n### Function Decorators\n\n```python\nfrom functools import wraps\nimport time\n\ndef timing(func):\n    \"\"\"Decorator to measure execution time\"\"\"\n    @wraps(func)\n    def wrapper(*args, **kwargs):\n        start = time.time()\n        result = func(*args, **kwargs)\n        end = time.time()\n        print(f\"{func.__name__} took {end - start:.2f}s\")\n        return result\n    return wrapper\n\n@timing\ndef slow_function():\n    time.sleep(1)\n```\n\n### Class Decorators\n\n```python\ndef singleton(cls):\n    \"\"\"Decorator to make a class a singleton\"\"\"\n    instances = {}\n    \n    @wraps(cls)\n    def get_instance(*args, **kwargs):\n        if cls not in instances:\n            instances[cls] = cls(*args, **kwargs)\n        return instances[cls]\n    \n    return get_instance\n\n@singleton\nclass Config:\n    pass\n```\n\n## Async\u002FAwait\n\n### Async Functions\n\n```python\nimport asyncio\nfrom typing import List\n\nasync def fetch_user(user_id: str) -> dict:\n    \"\"\"Async function for I\u002FO-bound operations\"\"\"\n    await asyncio.sleep(0.1)  # Simulate network call\n    return {\"id\": user_id, \"name\": \"Alice\"}\n\nasync def fetch_all_users(user_ids: List[str]) -> List[dict]:\n    \"\"\"Concurrent execution with asyncio.gather\"\"\"\n    tasks = [fetch_user(uid) for uid in user_ids]\n    return await asyncio.gather(*tasks)\n\n# Run async code\nasyncio.run(fetch_all_users([\"1\", \"2\", \"3\"]))\n```\n\n### Async Context Managers\n\n```python\nclass AsyncDatabase:\n    async def __aenter__(self):\n        await self.connect()\n        return self\n    \n    async def __aexit__(self, exc_type, exc_val, exc_tb):\n        await self.disconnect()\n\nasync with AsyncDatabase() as db:\n    await db.query(\"SELECT * FROM users\")\n```\n\n## Type Hints\n\n### Advanced Type Hints\n\n```python\nfrom typing import TypeVar, Generic, Callable, ParamSpec, Concatenate\n\nT = TypeVar('T')\nP = ParamSpec('P')\n\nclass Repository(Generic[T]):\n    \"\"\"Generic repository pattern\"\"\"\n    def __init__(self, entity_type: type[T]):\n        self.entity_type = entity_type\n    \n    def find_by_id(self, id: str) -> T | None:\n        # implementation\n        pass\n\n# Type-safe decorator\ndef log_call(func: Callable[P, T]) -> Callable[P, T]:\n    @wraps(func)\n    def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:\n        print(f\"Calling {func.__name__}\")\n        return func(*args, **kwargs)\n    return wrapper\n```\n\n### Union Types (Python 3.10+)\n\n```python\ndef process(value: str | int | None) -> str:\n    match value:\n        case str():\n            return value.upper()\n        case int():\n            return str(value)\n        case None:\n            return \"empty\"\n```\n\n## Dependency Injection\n\n### Constructor Injection\n\n```python\nclass UserService:\n    def __init__(\n        self,\n        repository: Repository,\n        logger: Logger,\n        cache: Cache | None = None\n    ):\n        self.repository = repository\n        self.logger = logger\n        self.cache = cache\n    \n    def get_user(self, user_id: str) -> User | None:\n        if self.cache:\n            cached = self.cache.get(user_id)\n            if cached:\n                return cached\n        \n        user = self.repository.find_by_id(user_id)\n        if user and self.cache:\n            self.cache.set(user_id, user)\n        \n        return user\n```\n\n## Package Organization\n\n### Project Structure\n\n```\nproject\u002F\n├── src\u002F\n│   └── mypackage\u002F\n│       ├── __init__.py\n│       ├── domain\u002F          # Business logic\n│       │   ├── __init__.py\n│       │   └── models.py\n│       ├── services\u002F        # Application services\n│       │   ├── __init__.py\n│       │   └── user_service.py\n│       └── infrastructure\u002F  # External dependencies\n│           ├── __init__.py\n│           └── database.py\n├── tests\u002F\n│   ├── unit\u002F\n│   └── integration\u002F\n├── pyproject.toml\n└── README.md\n```\n\n### Module Exports\n\n```python\n# __init__.py\nfrom .models import User, Product\nfrom .services import UserService\n\n__all__ = ['User', 'Product', 'UserService']\n```\n\n## Error Handling\n\n### Custom Exceptions\n\n```python\nclass DomainError(Exception):\n    \"\"\"Base exception for domain errors\"\"\"\n    pass\n\nclass UserNotFoundError(DomainError):\n    \"\"\"Raised when user is not found\"\"\"\n    def __init__(self, user_id: str):\n        self.user_id = user_id\n        super().__init__(f\"User {user_id} not found\")\n\nclass ValidationError(DomainError):\n    \"\"\"Raised when validation fails\"\"\"\n    def __init__(self, field: str, message: str):\n        self.field = field\n        self.message = message\n        super().__init__(f\"{field}: {message}\")\n```\n\n### Exception Groups (Python 3.11+)\n\n```python\ntry:\n    # Multiple operations\n    pass\nexcept* ValueError as eg:\n    # Handle all ValueError instances\n    for exc in eg.exceptions:\n        print(f\"ValueError: {exc}\")\nexcept* TypeError as eg:\n    # Handle all TypeError instances\n    for exc in eg.exceptions:\n        print(f\"TypeError: {exc}\")\n```\n\n## Property Decorators\n\n```python\nclass User:\n    def __init__(self, name: str):\n        self._name = name\n        self._email = None\n    \n    @property\n    def name(self) -> str:\n        \"\"\"Read-only property\"\"\"\n        return self._name\n    \n    @property\n    def email(self) -> str | None:\n        return self._email\n    \n    @email.setter\n    def email(self, value: str) -> None:\n        if '@' not in value:\n            raise ValueError(\"Invalid email\")\n        self._email = value\n```\n\n## Functional Programming\n\n### Higher-Order Functions\n\n```python\nfrom functools import reduce\nfrom typing import Callable, TypeVar\n\nT = TypeVar('T')\nU = TypeVar('U')\n\ndef pipe(*functions: Callable) -> Callable:\n    \"\"\"Compose functions left to right\"\"\"\n    def inner(arg):\n        return reduce(lambda x, f: f(x), functions, arg)\n    return inner\n\n# Usage\nprocess = pipe(\n    str.strip,\n    str.lower,\n    lambda s: s.replace(' ', '_')\n)\nresult = process(\"  Hello World  \")  # \"hello_world\"\n```\n\n## When to Use This Skill\n\n- Designing Python APIs and packages\n- Implementing async\u002Fconcurrent systems\n- Structuring Python projects\n- Writing Pythonic code\n- Refactoring Python codebases\n- Type-safe Python development\n",{"name":5,"metadata":44,"description":49},{"globs":45,"origin":48},[46,47],"**\u002F*.py","**\u002F*.pyi","ECC","Python-specific design patterns and best practices including protocols, dataclasses, context managers, decorators, async\u002Fawait, type hints, and package organization. Use when working with Python code to apply Pythonic patterns.\n","main","c173cdffe08e788a99b91928a831b476b8434838","brain\u002Fknowledge\u002Frepositories\u002Feverything_claude_code\u002F.kiro\u002Fskills\u002Fpython_patterns",0,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw","https:\u002F\u002Fportfolio-longleo.vercel.app\u002Flabs\u002Fomniclaw.html","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-11-14 08:48:28",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add LongLeo287\u002FOmniClaw --skill python-patterns",{"tool":65,"command":66},"bunx","bunx skills add LongLeo287\u002FOmniClaw --skill python-patterns",{"tool":68,"command":69},"pnpm","pnpm dlx skills add LongLeo287\u002FOmniClaw --skill python-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fbrain\u002Fknowledge\u002Frepositories\u002Feverything_claude_code\u002F.kiro\u002Fskills\u002Fpython_patterns\u002FSKILL.md",true,[],[74,100,120,143,158,181],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6JR0KQP4MHT32TN40D9CBFX","UI-UX Pro Max","Advanced UI\u002FUX analysis and generation skills with data-driven patterns. Python scripts (core.py, search.py) for systematic UI pattern extraction, design system generation, and component search from curated data sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fui_ux_pro_max\u002FSKILL.md",[],[81,82,83,84,85,86,23,87,88,89,90,91,92,93,94,95,96,97,98,99],"ux","ui","ui ux pro max","max","pro","ui ux","component","search","analysis","team","rd","ui-ux","active","systematic","scripts","pattern extraction","sources","advanced","data-driven",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6JR0EF5AEQHP2FSTB57H05P","shadcn-ui","Expert guidance for integrating and building applications with shadcn\u002Fui components, including component discovery, installation, customization, and best practices.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fshadcn_ui\u002FSKILL.md",[],[107,82,108,109,87,110,37,111,112,90,113,114,115,93,116,117,118,119],"shadcn","shadcn ui","components","core","applications","discovery","customization","guidance","expert","installation","ui components","with","for",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":39},"01M6JR08F51BEN17RHFYX65WVE","zustand_store_ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand_store_ts\u002FSKILL.md",[],[127,128,129,130,131,132,133,134,135,136,137,138,32,21,139,140,118,141,142],"zustand store ts","zustand","store","typescript","microsoft","react","create","state management","state","react state management","management","global","separation","middleware","action","implementing",{"skillNo":144,"name":128,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":39},"01M6JR00TDMVAFFCZXZ04AN7Q7","Zustand state management guide. Use when working with store code (src\u002Fstore\u002F**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand\u002FSKILL.md",[],[128,149,134,38,135,150,151,137,152,32,153,154,155,129,118,156,157,141,142],"development","actions","src","guide","implementation","zustand state","triggers","questions","zustand state management",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":39},"01M6JQZSWV4KWJP112G6XHEP44","youtube_summarizer","Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_summarizer\u002FSKILL.md",[],[165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180],"youtube","youtube summarizer","summarizer","generate","metadata","messaging","Video","fetch","telegram","transcription","summarization","structured","full","insights","transcripts","summaries",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":39},"01M6JQZN3QJB6B77JGKJD62DQT","youtube_clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_clipper\u002FSKILL.md",[],[165,188,189,171,190,191,192,193,194,195,196,197,198,199,200,201,202],"clipper","youtube clipper","Bash","下载","视频","生成","关键词","翻译","read","write","clip","总结","工具","文案","sonnet"]