[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783VHSYKPBACDFNEXX1D1H8":3,"skill-same:01M783VHSYKPBACDFNEXX1D1H8":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"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":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M783VHSYKPBACDFNEXX1D1H8","microservices-patterns",null,"Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.","aibizmod\u002Faibizmod-service-web","aibizmod","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F295315630?v=4","01M7836CB8EQY701YQ7N88M591","01M7836CBVPZGNSJ8BRP2BT398",0,"MIT","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fmicroservices-patterns\u002Fskills\u002Fmicroservices-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: microservices-patterns\ndescription: Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.\nlicense: MIT\n---\n\n# Microservices Patterns\n\nMaster microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.\n\n## When to Use This Skill\n\n- Decomposing monoliths into microservices\n- Designing service boundaries and contracts\n- Implementing inter-service communication\n- Managing distributed data and transactions\n- Building resilient distributed systems\n- Implementing service discovery and load balancing\n- Designing event-driven architectures\n\n## Core Concepts\n\n### 1. Service Decomposition Strategies\n\n**By Business Capability**\n- Organize services around business functions\n- Each service owns its domain\n- Example: OrderService, PaymentService, InventoryService\n\n**By Subdomain (DDD)**\n- Core domain, supporting subdomains\n- Bounded contexts map to services\n- Clear ownership and responsibility\n\n**Strangler Fig Pattern**\n- Gradually extract from monolith\n- New functionality as microservices\n- Proxy routes to old\u002Fnew systems\n\n### 2. Communication Patterns\n\n**Synchronous (Request\u002FResponse)**\n- REST APIs\n- gRPC\n- GraphQL\n\n**Asynchronous (Events\u002FMessages)**\n- Event streaming (Kafka)\n- Message queues (RabbitMQ, SQS)\n- Pub\u002FSub patterns\n\n### 3. Data Management\n\n**Database Per Service**\n- Each service owns its data\n- No shared databases\n- Loose coupling\n\n**Saga Pattern**\n- Distributed transactions\n- Compensating actions\n- Eventual consistency\n\n### 4. Resilience Patterns\n\n**Circuit Breaker**\n- Fail fast on repeated errors\n- Prevent cascade failures\n\n**Retry with Backoff**\n- Transient fault handling\n- Exponential backoff\n\n**Bulkhead**\n- Isolate resources\n- Limit impact of failures\n\n## Service Decomposition Patterns\n\n### Pattern 1: By Business Capability\n\n```python\n# Order Service\nclass OrderService:\n    async def create_order(self, order_data: dict) -> Order:\n        order = Order.create(order_data)\n        await self.event_bus.publish(\n            OrderCreatedEvent(order_id=order.id, customer_id=order.customer_id)\n        )\n        return order\n\n# Payment Service (separate service)\nclass PaymentService:\n    async def process_payment(self, payment_request: PaymentRequest) -> PaymentResult:\n        result = await self.payment_gateway.charge(\n            amount=payment_request.amount,\n            customer=payment_request.customer_id\n        )\n        if result.success:\n            await self.event_bus.publish(\n                PaymentCompletedEvent(order_id=payment_request.order_id)\n            )\n        return result\n\n# Inventory Service (separate service)\nclass InventoryService:\n    async def reserve_items(self, order_id: str, items: List[OrderItem]) -> ReservationResult:\n        for item in items:\n            available = await self.inventory_repo.get_available(item.product_id)\n            if available \u003C item.quantity:\n                return ReservationResult(success=False, error=f\"Insufficient inventory\")\n\n        reservation = await self.create_reservation(order_id, items)\n        await self.event_bus.publish(InventoryReservedEvent(order_id=order_id))\n        return ReservationResult(success=True, reservation=reservation)\n```\n\n### Pattern 2: API Gateway\n\n```python\nfrom fastapi import FastAPI\nimport httpx\n\nclass APIGateway:\n    \"\"\"Central entry point for all client requests.\"\"\"\n\n    def __init__(self):\n        self.order_service_url = \"http:\u002F\u002Forder-service:8000\"\n        self.payment_service_url = \"http:\u002F\u002Fpayment-service:8001\"\n        self.http_client = httpx.AsyncClient(timeout=5.0)\n\n    @circuit(failure_threshold=5, recovery_timeout=30)\n    async def call_order_service(self, path: str, method: str = \"GET\", **kwargs):\n        \"\"\"Call order service with circuit breaker.\"\"\"\n        response = await self.http_client.request(\n            method, f\"{self.order_service_url}{path}\", **kwargs\n        )\n        response.raise_for_status()\n        return response.json()\n\n    async def create_order_aggregate(self, order_id: str) -> dict:\n        \"\"\"Aggregate data from multiple services.\"\"\"\n        order, payment, inventory = await asyncio.gather(\n            self.call_order_service(f\"\u002Forders\u002F{order_id}\"),\n            self.call_payment_service(f\"\u002Fpayments\u002Forder\u002F{order_id}\"),\n            self.call_inventory_service(f\"\u002Freservations\u002Forder\u002F{order_id}\"),\n            return_exceptions=True\n        )\n\n        result = {\"order\": order}\n        if not isinstance(payment, Exception):\n            result[\"payment\"] = payment\n        if not isinstance(inventory, Exception):\n            result[\"inventory\"] = inventory\n        return result\n```\n\n## Communication Patterns\n\n### Pattern 1: Synchronous REST Communication\n\n```python\nimport httpx\nfrom tenacity import retry, stop_after_attempt, wait_exponential\n\nclass ServiceClient:\n    \"\"\"HTTP client with retries and timeout.\"\"\"\n\n    def __init__(self, base_url: str):\n        self.base_url = base_url\n        self.client = httpx.AsyncClient(timeout=httpx.Timeout(5.0, connect=2.0))\n\n    @retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=2, max=10))\n    async def get(self, path: str, **kwargs):\n        \"\"\"GET with automatic retries.\"\"\"\n        response = await self.client.get(f\"{self.base_url}{path}\", **kwargs)\n        response.raise_for_status()\n        return response.json()\n\npayment_client = ServiceClient(\"http:\u002F\u002Fpayment-service:8001\")\nresult = await payment_client.get(\"\u002Fpayments\u002F123\")\n```\n\n### Pattern 2: Asynchronous Event-Driven\n\n```python\nfrom aiokafka import AIOKafkaProducer, AIOKafkaConsumer\nimport json\n\nclass EventBus:\n    \"\"\"Event publishing and subscription.\"\"\"\n\n    async def publish(self, event: DomainEvent):\n        \"\"\"Publish event to Kafka topic.\"\"\"\n        await self.producer.send_and_wait(\n            event.event_type,\n            value=asdict(event),\n            key=event.aggregate_id.encode()\n        )\n\n    async def subscribe(self, topic: str, handler: callable):\n        \"\"\"Subscribe to events.\"\"\"\n        consumer = AIOKafkaConsumer(topic, bootstrap_servers=self.bootstrap_servers)\n        await consumer.start()\n        async for message in consumer:\n            await handler(message.value)\n\n# Order Service publishes\nawait event_bus.publish(OrderCreatedEvent(order_id=order.id))\n\n# Inventory Service subscribes\nasync def handle_order_created(event_data: dict):\n    await reserve_inventory(event_data[\"order_id\"], event_data[\"items\"])\n```\n\n### Pattern 3: Saga Pattern (Distributed Transactions)\n\n```python\nclass OrderFulfillmentSaga:\n    \"\"\"Orchestrated saga for order fulfillment.\"\"\"\n\n    def __init__(self):\n        self.steps = [\n            SagaStep(\"create_order\", self.create_order, self.cancel_order),\n            SagaStep(\"reserve_inventory\", self.reserve_inventory, self.release_inventory),\n            SagaStep(\"process_payment\", self.process_payment, self.refund_payment),\n            SagaStep(\"confirm_order\", self.confirm_order, self.cancel_order_confirmation)\n        ]\n\n    async def execute(self, order_data: dict) -> SagaResult:\n        completed_steps = []\n        context = {\"order_data\": order_data}\n\n        try:\n            for step in self.steps:\n                result = await step.action(context)\n                if not result.success:\n                    await self.compensate(completed_steps, context)\n                    return SagaResult(status=SagaStatus.FAILED, error=result.error)\n\n                completed_steps.append(step)\n                context.update(result.data)\n\n            return SagaResult(status=SagaStatus.COMPLETED, data=context)\n        except Exception as e:\n            await self.compensate(completed_steps, context)\n            return SagaResult(status=SagaStatus.FAILED, error=str(e))\n\n    async def compensate(self, completed_steps: List[SagaStep], context: dict):\n        \"\"\"Execute compensating actions in reverse order.\"\"\"\n        for step in reversed(completed_steps):\n            await step.compensation(context)\n```\n\n## Resilience Patterns\n\n### Circuit Breaker Pattern\n\n```python\nfrom enum import Enum\nfrom datetime import datetime, timedelta\n\nclass CircuitState(Enum):\n    CLOSED = \"closed\"   # Normal operation\n    OPEN = \"open\"       # Failing, reject requests\n    HALF_OPEN = \"half_open\"  # Testing recovery\n\nclass CircuitBreaker:\n    def __init__(self, failure_threshold: int = 5, recovery_timeout: int = 30):\n        self.failure_threshold = failure_threshold\n        self.recovery_timeout = recovery_timeout\n        self.failure_count = 0\n        self.state = CircuitState.CLOSED\n        self.opened_at = None\n\n    async def call(self, func, *args, **kwargs):\n        if self.state == CircuitState.OPEN:\n            if self._should_attempt_reset():\n                self.state = CircuitState.HALF_OPEN\n            else:\n                raise CircuitBreakerOpenError(\"Circuit breaker is open\")\n\n        try:\n            result = await func(*args, **kwargs)\n            self._on_success()\n            return result\n        except Exception as e:\n            self._on_failure()\n            raise\n\n    def _on_success(self):\n        self.failure_count = 0\n        if self.state == CircuitState.HALF_OPEN:\n            self.state = CircuitState.CLOSED\n\n    def _on_failure(self):\n        self.failure_count += 1\n        if self.failure_count >= self.failure_threshold:\n            self.state = CircuitState.OPEN\n            self.opened_at = datetime.now()\n\nbreaker = CircuitBreaker(failure_threshold=5, recovery_timeout=30)\nresult = await breaker.call(payment_client.process_payment, payment_data)\n```\n\n## Best Practices\n\n1. **Service Boundaries**: Align with business capabilities\n2. **Database Per Service**: No shared databases\n3. **API Contracts**: Versioned, backward compatible\n4. **Async When Possible**: Events over direct calls\n5. **Circuit Breakers**: Fail fast on service failures\n6. **Distributed Tracing**: Track requests across services\n7. **Service Registry**: Dynamic service discovery\n8. **Health Checks**: Liveness and readiness probes\n\n## Common Pitfalls\n\n- **Distributed Monolith**: Tightly coupled services\n- **Chatty Services**: Too many inter-service calls\n- **Shared Databases**: Tight coupling through data\n- **No Circuit Breakers**: Cascade failures\n- **Synchronous Everything**: Tight coupling, poor resilience\n- **Premature Microservices**: Starting with microservices\n- **Ignoring Network Failures**: Assuming reliable network\n- **No Compensation Logic**: Can't undo failed transactions\n","# Microservices Patterns\n\nMaster microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.\n\n## When to Use This Skill\n\n- Decomposing monoliths into microservices\n- Designing service boundaries and contracts\n- Implementing inter-service communication\n- Managing distributed data and transactions\n- Building resilient distributed systems\n- Implementing service discovery and load balancing\n- Designing event-driven architectures\n\n## Core Concepts\n\n### 1. Service Decomposition Strategies\n\n**By Business Capability**\n- Organize services around business functions\n- Each service owns its domain\n- Example: OrderService, PaymentService, InventoryService\n\n**By Subdomain (DDD)**\n- Core domain, supporting subdomains\n- Bounded contexts map to services\n- Clear ownership and responsibility\n\n**Strangler Fig Pattern**\n- Gradually extract from monolith\n- New functionality as microservices\n- Proxy routes to old\u002Fnew systems\n\n### 2. Communication Patterns\n\n**Synchronous (Request\u002FResponse)**\n- REST APIs\n- gRPC\n- GraphQL\n\n**Asynchronous (Events\u002FMessages)**\n- Event streaming (Kafka)\n- Message queues (RabbitMQ, SQS)\n- Pub\u002FSub patterns\n\n### 3. Data Management\n\n**Database Per Service**\n- Each service owns its data\n- No shared databases\n- Loose coupling\n\n**Saga Pattern**\n- Distributed transactions\n- Compensating actions\n- Eventual consistency\n\n### 4. Resilience Patterns\n\n**Circuit Breaker**\n- Fail fast on repeated errors\n- Prevent cascade failures\n\n**Retry with Backoff**\n- Transient fault handling\n- Exponential backoff\n\n**Bulkhead**\n- Isolate resources\n- Limit impact of failures\n\n## Service Decomposition Patterns\n\n### Pattern 1: By Business Capability\n\n```python\n# Order Service\nclass OrderService:\n    async def create_order(self, order_data: dict) -> Order:\n        order = Order.create(order_data)\n        await self.event_bus.publish(\n            OrderCreatedEvent(order_id=order.id, customer_id=order.customer_id)\n        )\n        return order\n\n# Payment Service (separate service)\nclass PaymentService:\n    async def process_payment(self, payment_request: PaymentRequest) -> PaymentResult:\n        result = await self.payment_gateway.charge(\n            amount=payment_request.amount,\n            customer=payment_request.customer_id\n        )\n        if result.success:\n            await self.event_bus.publish(\n                PaymentCompletedEvent(order_id=payment_request.order_id)\n            )\n        return result\n\n# Inventory Service (separate service)\nclass InventoryService:\n    async def reserve_items(self, order_id: str, items: List[OrderItem]) -> ReservationResult:\n        for item in items:\n            available = await self.inventory_repo.get_available(item.product_id)\n            if available \u003C item.quantity:\n                return ReservationResult(success=False, error=f\"Insufficient inventory\")\n\n        reservation = await self.create_reservation(order_id, items)\n        await self.event_bus.publish(InventoryReservedEvent(order_id=order_id))\n        return ReservationResult(success=True, reservation=reservation)\n```\n\n### Pattern 2: API Gateway\n\n```python\nfrom fastapi import FastAPI\nimport httpx\n\nclass APIGateway:\n    \"\"\"Central entry point for all client requests.\"\"\"\n\n    def __init__(self):\n        self.order_service_url = \"http:\u002F\u002Forder-service:8000\"\n        self.payment_service_url = \"http:\u002F\u002Fpayment-service:8001\"\n        self.http_client = httpx.AsyncClient(timeout=5.0)\n\n    @circuit(failure_threshold=5, recovery_timeout=30)\n    async def call_order_service(self, path: str, method: str = \"GET\", **kwargs):\n        \"\"\"Call order service with circuit breaker.\"\"\"\n        response = await self.http_client.request(\n            method, f\"{self.order_service_url}{path}\", **kwargs\n        )\n        response.raise_for_status()\n        return response.json()\n\n    async def create_order_aggregate(self, order_id: str) -> dict:\n        \"\"\"Aggregate data from multiple services.\"\"\"\n        order, payment, inventory = await asyncio.gather(\n            self.call_order_service(f\"\u002Forders\u002F{order_id}\"),\n            self.call_payment_service(f\"\u002Fpayments\u002Forder\u002F{order_id}\"),\n            self.call_inventory_service(f\"\u002Freservations\u002Forder\u002F{order_id}\"),\n            return_exceptions=True\n        )\n\n        result = {\"order\": order}\n        if not isinstance(payment, Exception):\n            result[\"payment\"] = payment\n        if not isinstance(inventory, Exception):\n            result[\"inventory\"] = inventory\n        return result\n```\n\n## Communication Patterns\n\n### Pattern 1: Synchronous REST Communication\n\n```python\nimport httpx\nfrom tenacity import retry, stop_after_attempt, wait_exponential\n\nclass ServiceClient:\n    \"\"\"HTTP client with retries and timeout.\"\"\"\n\n    def __init__(self, base_url: str):\n        self.base_url = base_url\n        self.client = httpx.AsyncClient(timeout=httpx.Timeout(5.0, connect=2.0))\n\n    @retry(stop=stop_after_attempt(3), wait=wait_exponential(multiplier=1, min=2, max=10))\n    async def get(self, path: str, **kwargs):\n        \"\"\"GET with automatic retries.\"\"\"\n        response = await self.client.get(f\"{self.base_url}{path}\", **kwargs)\n        response.raise_for_status()\n        return response.json()\n\npayment_client = ServiceClient(\"http:\u002F\u002Fpayment-service:8001\")\nresult = await payment_client.get(\"\u002Fpayments\u002F123\")\n```\n\n### Pattern 2: Asynchronous Event-Driven\n\n```python\nfrom aiokafka import AIOKafkaProducer, AIOKafkaConsumer\nimport json\n\nclass EventBus:\n    \"\"\"Event publishing and subscription.\"\"\"\n\n    async def publish(self, event: DomainEvent):\n        \"\"\"Publish event to Kafka topic.\"\"\"\n        await self.producer.send_and_wait(\n            event.event_type,\n            value=asdict(event),\n            key=event.aggregate_id.encode()\n        )\n\n    async def subscribe(self, topic: str, handler: callable):\n        \"\"\"Subscribe to events.\"\"\"\n        consumer = AIOKafkaConsumer(topic, bootstrap_servers=self.bootstrap_servers)\n        await consumer.start()\n        async for message in consumer:\n            await handler(message.value)\n\n# Order Service publishes\nawait event_bus.publish(OrderCreatedEvent(order_id=order.id))\n\n# Inventory Service subscribes\nasync def handle_order_created(event_data: dict):\n    await reserve_inventory(event_data[\"order_id\"], event_data[\"items\"])\n```\n\n### Pattern 3: Saga Pattern (Distributed Transactions)\n\n```python\nclass OrderFulfillmentSaga:\n    \"\"\"Orchestrated saga for order fulfillment.\"\"\"\n\n    def __init__(self):\n        self.steps = [\n            SagaStep(\"create_order\", self.create_order, self.cancel_order),\n            SagaStep(\"reserve_inventory\", self.reserve_inventory, self.release_inventory),\n            SagaStep(\"process_payment\", self.process_payment, self.refund_payment),\n            SagaStep(\"confirm_order\", self.confirm_order, self.cancel_order_confirmation)\n        ]\n\n    async def execute(self, order_data: dict) -> SagaResult:\n        completed_steps = []\n        context = {\"order_data\": order_data}\n\n        try:\n            for step in self.steps:\n                result = await step.action(context)\n                if not result.success:\n                    await self.compensate(completed_steps, context)\n                    return SagaResult(status=SagaStatus.FAILED, error=result.error)\n\n                completed_steps.append(step)\n                context.update(result.data)\n\n            return SagaResult(status=SagaStatus.COMPLETED, data=context)\n        except Exception as e:\n            await self.compensate(completed_steps, context)\n            return SagaResult(status=SagaStatus.FAILED, error=str(e))\n\n    async def compensate(self, completed_steps: List[SagaStep], context: dict):\n        \"\"\"Execute compensating actions in reverse order.\"\"\"\n        for step in reversed(completed_steps):\n            await step.compensation(context)\n```\n\n## Resilience Patterns\n\n### Circuit Breaker Pattern\n\n```python\nfrom enum import Enum\nfrom datetime import datetime, timedelta\n\nclass CircuitState(Enum):\n    CLOSED = \"closed\"   # Normal operation\n    OPEN = \"open\"       # Failing, reject requests\n    HALF_OPEN = \"half_open\"  # Testing recovery\n\nclass CircuitBreaker:\n    def __init__(self, failure_threshold: int = 5, recovery_timeout: int = 30):\n        self.failure_threshold = failure_threshold\n        self.recovery_timeout = recovery_timeout\n        self.failure_count = 0\n        self.state = CircuitState.CLOSED\n        self.opened_at = None\n\n    async def call(self, func, *args, **kwargs):\n        if self.state == CircuitState.OPEN:\n            if self._should_attempt_reset():\n                self.state = CircuitState.HALF_OPEN\n            else:\n                raise CircuitBreakerOpenError(\"Circuit breaker is open\")\n\n        try:\n            result = await func(*args, **kwargs)\n            self._on_success()\n            return result\n        except Exception as e:\n            self._on_failure()\n            raise\n\n    def _on_success(self):\n        self.failure_count = 0\n        if self.state == CircuitState.HALF_OPEN:\n            self.state = CircuitState.CLOSED\n\n    def _on_failure(self):\n        self.failure_count += 1\n        if self.failure_count >= self.failure_threshold:\n            self.state = CircuitState.OPEN\n            self.opened_at = datetime.now()\n\nbreaker = CircuitBreaker(failure_threshold=5, recovery_timeout=30)\nresult = await breaker.call(payment_client.process_payment, payment_data)\n```\n\n## Best Practices\n\n1. **Service Boundaries**: Align with business capabilities\n2. **Database Per Service**: No shared databases\n3. **API Contracts**: Versioned, backward compatible\n4. **Async When Possible**: Events over direct calls\n5. **Circuit Breakers**: Fail fast on service failures\n6. **Distributed Tracing**: Track requests across services\n7. **Service Registry**: Dynamic service discovery\n8. **Health Checks**: Liveness and readiness probes\n\n## Common Pitfalls\n\n- **Distributed Monolith**: Tightly coupled services\n- **Chatty Services**: Too many inter-service calls\n- **Shared Databases**: Tight coupling through data\n- **No Circuit Breakers**: Cascade failures\n- **Synchronous Everything**: Tight coupling, poor resilience\n- **Premature Microservices**: Starting with microservices\n- **Ignoring Network Failures**: Assuming reliable network\n- **No Compensation Logic**: Can't undo failed transactions\n",{"name":5,"license":14,"description":7},"main","9f54582c8b485462d402d7e70feaef34801746b9",".opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fmicroservices-patterns\u002Fskills\u002Fmicroservices-patterns","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web","https:\u002F\u002Fgithub.com\u002Faibizmod","2026-09-24 00:48:11",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add aibizmod\u002Faibizmod-service-web --skill microservices-patterns",{"tool":35,"command":36},"bunx","bunx skills add aibizmod\u002Faibizmod-service-web --skill microservices-patterns",{"tool":38,"command":39},"pnpm","pnpm dlx skills add aibizmod\u002Faibizmod-service-web --skill microservices-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fmicroservices-patterns\u002Fskills\u002Fmicroservices-patterns\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7846EAPZWCQ8C6G3AAMMR57","{TODO=lowercase-hyphen-case-name}","[TODO: Write comprehensive description in third-person. Start with \"This skill provides...\" or \"This skill should be used when...\"]\n\n[TODO: Add \"Use when\" scenarios - specific situations where Claude should use this skill]\n\n[TODO: Add keywords - technologies, use cases, error messages that should trigger this skill]","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Ftemplates\u002Fskill-skeleton\u002Fskills\u002Fskill-name\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7846A0WGDKJTDPD5QMHQVFV","zustand-state-management","Zustand state management for React with TypeScript. Use for global state, Redux\u002FContext API migration, localStorage persistence, slices pattern, devtools, Next.js SSR, or encountering hydration errors, TypeScript inference issues, persist middleware problems, infinite render loops.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzustand-state-management\u002Fskills\u002Fzustand-state-management\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M78463GGSP9B3JSF146B2MG0","zod","TypeScript-first schema validation and type inference. Use for validating API requests\u002Fresponses, form data, env vars, configs, defining type-safe schemas with runtime validation, transforming data, generating JSON Schema for OpenAPI\u002FAI, or encountering missing validation errors, type inference issues, validation error handling problems. Zero dependencies (2kb gzipped).","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fzod\u002Fskills\u002Fzod\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7845ZX17SVNNY7EDGPJHSBT","xss-prevention","XSS attack prevention with input sanitization, output encoding, Content Security Policy. Use for user-generated content, rich text editors, web application security, or encountering stored XSS, reflected XSS, DOM manipulation, script injection errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fxss-prevention\u002Fskills\u002Fxss-prevention\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7845ST1H37YHSXWWQ9N0V0S","wordpress-plugin-core","WordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL injection, XSS, CSRF, nonce errors.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwordpress-plugin-core\u002Fskills\u002Fwordpress-plugin-core\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7845PTWD5HWSTGP35Q8TFNY","woocommerce-dev-cycle","Run tests, linting, and quality checks for WooCommerce development. Use when running tests, fixing code style, or following the development workflow in WooCommerce projects.","https:\u002F\u002Fgithub.com\u002Faibizmod\u002Faibizmod-service-web\u002Fblob\u002Fmain\u002F.opencode\u002Fskill\u002Fclaude-skills\u002Fplugins\u002Fwoocommerce-dev-cycle\u002Fskills\u002Fwoocommerce-dev-cycle\u002FSKILL.md",[],[]]