[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BWK67K50ZBZTY51F9GSNBZ":3,"skill-same:01M7BWK67K50ZBZTY51F9GSNBZ":47},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7BWK67K50ZBZTY51F9GSNBZ","python-background-jobs",null,"Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request\u002Fresponse cycles.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-plugins-claude\u002Fpython-development\u002Fskills\u002Fpython-background-jobs\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: python-background-jobs\ndescription: Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request\u002Fresponse cycles.\n---\n\n# Python Background Jobs & Task Queues\n\nDecouple long-running or unreliable work from request\u002Fresponse cycles. Return immediately to the user while background workers handle the heavy lifting asynchronously.\n\n## When to Use This Skill\n\n- Processing tasks that take longer than a few seconds\n- Sending emails, notifications, or webhooks\n- Generating reports or exporting data\n- Processing uploads or media transformations\n- Integrating with unreliable external services\n- Building event-driven architectures\n\n## Core Concepts\n\n### 1. Task Queue Pattern\n\nAPI accepts request, enqueues a job, returns immediately with a job ID. Workers process jobs asynchronously.\n\n### 2. Idempotency\n\nTasks may be retried on failure. Design for safe re-execution.\n\n### 3. Job State Machine\n\nJobs transition through states: pending → running → succeeded\u002Ffailed.\n\n### 4. At-Least-Once Delivery\n\nMost queues guarantee at-least-once delivery. Your code must handle duplicates.\n\n## Quick Start\n\nThis skill uses Celery for examples, a widely adopted task queue. Alternatives like RQ, Dramatiq, and cloud-native solutions (AWS SQS, GCP Tasks) are equally valid choices.\n\n```python\nfrom celery import Celery\n\napp = Celery(\"tasks\", broker=\"redis:\u002F\u002Flocalhost:6379\")\n\n@app.task\ndef send_email(to: str, subject: str, body: str) -> None:\n    # This runs in a background worker\n    email_client.send(to, subject, body)\n\n# In your API handler\nsend_email.delay(\"user@example.com\", \"Welcome!\", \"Thanks for signing up\")\n```\n\n## Fundamental Patterns\n\n### Pattern 1: Return Job ID Immediately\n\nFor operations exceeding a few seconds, return a job ID and process asynchronously.\n\n```python\nfrom uuid import uuid4\nfrom dataclasses import dataclass\nfrom enum import Enum\nfrom datetime import datetime\n\nclass JobStatus(Enum):\n    PENDING = \"pending\"\n    RUNNING = \"running\"\n    SUCCEEDED = \"succeeded\"\n    FAILED = \"failed\"\n\n@dataclass\nclass Job:\n    id: str\n    status: JobStatus\n    created_at: datetime\n    started_at: datetime | None = None\n    completed_at: datetime | None = None\n    result: dict | None = None\n    error: str | None = None\n\n# API endpoint\nasync def start_export(request: ExportRequest) -> JobResponse:\n    \"\"\"Start export job and return job ID.\"\"\"\n    job_id = str(uuid4())\n\n    # Persist job record\n    await jobs_repo.create(Job(\n        id=job_id,\n        status=JobStatus.PENDING,\n        created_at=datetime.utcnow(),\n    ))\n\n    # Enqueue task for background processing\n    await task_queue.enqueue(\n        \"export_data\",\n        job_id=job_id,\n        params=request.model_dump(),\n    )\n\n    # Return immediately with job ID\n    return JobResponse(\n        job_id=job_id,\n        status=\"pending\",\n        poll_url=f\"\u002Fjobs\u002F{job_id}\",\n    )\n```\n\n### Pattern 2: Celery Task Configuration\n\nConfigure Celery tasks with proper retry and timeout settings.\n\n```python\nfrom celery import Celery\n\napp = Celery(\"tasks\", broker=\"redis:\u002F\u002Flocalhost:6379\")\n\n# Global configuration\napp.conf.update(\n    task_time_limit=3600,          # Hard limit: 1 hour\n    task_soft_time_limit=3000,      # Soft limit: 50 minutes\n    task_acks_late=True,            # Acknowledge after completion\n    task_reject_on_worker_lost=True,\n    worker_prefetch_multiplier=1,   # Don't prefetch too many tasks\n)\n\n@app.task(\n    bind=True,\n    max_retries=3,\n    default_retry_delay=60,\n    autoretry_for=(ConnectionError, TimeoutError),\n)\ndef process_payment(self, payment_id: str) -> dict:\n    \"\"\"Process payment with automatic retry on transient errors.\"\"\"\n    try:\n        result = payment_gateway.charge(payment_id)\n        return {\"status\": \"success\", \"transaction_id\": result.id}\n    except PaymentDeclinedError as e:\n        # Don't retry permanent failures\n        return {\"status\": \"declined\", \"reason\": str(e)}\n    except TransientError as e:\n        # Retry with exponential backoff\n        raise self.retry(exc=e, countdown=2 ** self.request.retries * 60)\n```\n\n### Pattern 3: Make Tasks Idempotent\n\nWorkers may retry on crash or timeout. Design for safe re-execution.\n\n```python\n@app.task(bind=True)\ndef process_order(self, order_id: str) -> None:\n    \"\"\"Process order idempotently.\"\"\"\n    order = orders_repo.get(order_id)\n\n    # Already processed? Return early\n    if order.status == OrderStatus.COMPLETED:\n        logger.info(\"Order already processed\", order_id=order_id)\n        return\n\n    # Already in progress? Check if we should continue\n    if order.status == OrderStatus.PROCESSING:\n        # Use idempotency key to avoid double-charging\n        pass\n\n    # Process with idempotency key\n    result = payment_provider.charge(\n        amount=order.total,\n        idempotency_key=f\"order-{order_id}\",  # Critical!\n    )\n\n    orders_repo.update(order_id, status=OrderStatus.COMPLETED)\n```\n\n**Idempotency Strategies:**\n\n1. **Check-before-write**: Verify state before action\n2. **Idempotency keys**: Use unique tokens with external services\n3. **Upsert patterns**: `INSERT ... ON CONFLICT UPDATE`\n4. **Deduplication window**: Track processed IDs for N hours\n\n### Pattern 4: Job State Management\n\nPersist job state transitions for visibility and debugging.\n\n```python\nclass JobRepository:\n    \"\"\"Repository for managing job state.\"\"\"\n\n    async def create(self, job: Job) -> Job:\n        \"\"\"Create new job record.\"\"\"\n        await self._db.execute(\n            \"\"\"INSERT INTO jobs (id, status, created_at)\n               VALUES ($1, $2, $3)\"\"\",\n            job.id, job.status.value, job.created_at,\n        )\n        return job\n\n    async def update_status(\n        self,\n        job_id: str,\n        status: JobStatus,\n        **fields,\n    ) -> None:\n        \"\"\"Update job status with timestamp.\"\"\"\n        updates = {\"status\": status.value, **fields}\n\n        if status == JobStatus.RUNNING:\n            updates[\"started_at\"] = datetime.utcnow()\n        elif status in (JobStatus.SUCCEEDED, JobStatus.FAILED):\n            updates[\"completed_at\"] = datetime.utcnow()\n\n        await self._db.execute(\n            \"UPDATE jobs SET status = $1, ... WHERE id = $2\",\n            updates, job_id,\n        )\n\n        logger.info(\n            \"Job status updated\",\n            job_id=job_id,\n            status=status.value,\n        )\n```\n\n## Advanced Patterns\n\n### Pattern 5: Dead Letter Queue\n\nHandle permanently failed tasks for manual inspection.\n\n```python\n@app.task(bind=True, max_retries=3)\ndef process_webhook(self, webhook_id: str, payload: dict) -> None:\n    \"\"\"Process webhook with DLQ for failures.\"\"\"\n    try:\n        result = send_webhook(payload)\n        if not result.success:\n            raise WebhookFailedError(result.error)\n    except Exception as e:\n        if self.request.retries >= self.max_retries:\n            # Move to dead letter queue for manual inspection\n            dead_letter_queue.send({\n                \"task\": \"process_webhook\",\n                \"webhook_id\": webhook_id,\n                \"payload\": payload,\n                \"error\": str(e),\n                \"attempts\": self.request.retries + 1,\n                \"failed_at\": datetime.utcnow().isoformat(),\n            })\n            logger.error(\n                \"Webhook moved to DLQ after max retries\",\n                webhook_id=webhook_id,\n                error=str(e),\n            )\n            return\n\n        # Exponential backoff retry\n        raise self.retry(exc=e, countdown=2 ** self.request.retries * 60)\n```\n\n### Pattern 6: Status Polling Endpoint\n\nProvide an endpoint for clients to check job status.\n\n```python\nfrom fastapi import FastAPI, HTTPException\n\napp = FastAPI()\n\n@app.get(\"\u002Fjobs\u002F{job_id}\")\nasync def get_job_status(job_id: str) -> JobStatusResponse:\n    \"\"\"Get current status of a background job.\"\"\"\n    job = await jobs_repo.get(job_id)\n\n    if job is None:\n        raise HTTPException(404, f\"Job {job_id} not found\")\n\n    return JobStatusResponse(\n        job_id=job.id,\n        status=job.status.value,\n        created_at=job.created_at,\n        started_at=job.started_at,\n        completed_at=job.completed_at,\n        result=job.result if job.status == JobStatus.SUCCEEDED else None,\n        error=job.error if job.status == JobStatus.FAILED else None,\n        # Helpful for clients\n        is_terminal=job.status in (JobStatus.SUCCEEDED, JobStatus.FAILED),\n    )\n```\n\n### Pattern 7: Task Chaining and Workflows\n\nCompose complex workflows from simple tasks.\n\n```python\nfrom celery import chain, group, chord\n\n# Simple chain: A → B → C\nworkflow = chain(\n    extract_data.s(source_id),\n    transform_data.s(),\n    load_data.s(destination_id),\n)\n\n# Parallel execution: A, B, C all at once\nparallel = group(\n    send_email.s(user_email),\n    send_sms.s(user_phone),\n    update_analytics.s(event_data),\n)\n\n# Chord: Run tasks in parallel, then a callback\n# Process all items, then send completion notification\nworkflow = chord(\n    [process_item.s(item_id) for item_id in item_ids],\n    send_completion_notification.s(batch_id),\n)\n\nworkflow.apply_async()\n```\n\n### Pattern 8: Alternative Task Queues\n\nChoose the right tool for your needs.\n\n**RQ (Redis Queue)**: Simple, Redis-based\n```python\nfrom rq import Queue\nfrom redis import Redis\n\nqueue = Queue(connection=Redis())\njob = queue.enqueue(send_email, \"user@example.com\", \"Subject\", \"Body\")\n```\n\n**Dramatiq**: Modern Celery alternative\n```python\nimport dramatiq\nfrom dramatiq.brokers.redis import RedisBroker\n\ndramatiq.set_broker(RedisBroker())\n\n@dramatiq.actor\ndef send_email(to: str, subject: str, body: str) -> None:\n    email_client.send(to, subject, body)\n```\n\n**Cloud-native options:**\n- AWS SQS + Lambda\n- Google Cloud Tasks\n- Azure Functions\n\n## Best Practices Summary\n\n1. **Return immediately** - Don't block requests for long operations\n2. **Persist job state** - Enable status polling and debugging\n3. **Make tasks idempotent** - Safe to retry on any failure\n4. **Use idempotency keys** - For external service calls\n5. **Set timeouts** - Both soft and hard limits\n6. **Implement DLQ** - Capture permanently failed tasks\n7. **Log transitions** - Track job state changes\n8. **Retry appropriately** - Exponential backoff for transient errors\n9. **Don't retry permanent failures** - Validation errors, invalid credentials\n10. **Monitor queue depth** - Alert on backlog growth\n","# Python Background Jobs & Task Queues\n\nDecouple long-running or unreliable work from request\u002Fresponse cycles. Return immediately to the user while background workers handle the heavy lifting asynchronously.\n\n## When to Use This Skill\n\n- Processing tasks that take longer than a few seconds\n- Sending emails, notifications, or webhooks\n- Generating reports or exporting data\n- Processing uploads or media transformations\n- Integrating with unreliable external services\n- Building event-driven architectures\n\n## Core Concepts\n\n### 1. Task Queue Pattern\n\nAPI accepts request, enqueues a job, returns immediately with a job ID. Workers process jobs asynchronously.\n\n### 2. Idempotency\n\nTasks may be retried on failure. Design for safe re-execution.\n\n### 3. Job State Machine\n\nJobs transition through states: pending → running → succeeded\u002Ffailed.\n\n### 4. At-Least-Once Delivery\n\nMost queues guarantee at-least-once delivery. Your code must handle duplicates.\n\n## Quick Start\n\nThis skill uses Celery for examples, a widely adopted task queue. Alternatives like RQ, Dramatiq, and cloud-native solutions (AWS SQS, GCP Tasks) are equally valid choices.\n\n```python\nfrom celery import Celery\n\napp = Celery(\"tasks\", broker=\"redis:\u002F\u002Flocalhost:6379\")\n\n@app.task\ndef send_email(to: str, subject: str, body: str) -> None:\n    # This runs in a background worker\n    email_client.send(to, subject, body)\n\n# In your API handler\nsend_email.delay(\"user@example.com\", \"Welcome!\", \"Thanks for signing up\")\n```\n\n## Fundamental Patterns\n\n### Pattern 1: Return Job ID Immediately\n\nFor operations exceeding a few seconds, return a job ID and process asynchronously.\n\n```python\nfrom uuid import uuid4\nfrom dataclasses import dataclass\nfrom enum import Enum\nfrom datetime import datetime\n\nclass JobStatus(Enum):\n    PENDING = \"pending\"\n    RUNNING = \"running\"\n    SUCCEEDED = \"succeeded\"\n    FAILED = \"failed\"\n\n@dataclass\nclass Job:\n    id: str\n    status: JobStatus\n    created_at: datetime\n    started_at: datetime | None = None\n    completed_at: datetime | None = None\n    result: dict | None = None\n    error: str | None = None\n\n# API endpoint\nasync def start_export(request: ExportRequest) -> JobResponse:\n    \"\"\"Start export job and return job ID.\"\"\"\n    job_id = str(uuid4())\n\n    # Persist job record\n    await jobs_repo.create(Job(\n        id=job_id,\n        status=JobStatus.PENDING,\n        created_at=datetime.utcnow(),\n    ))\n\n    # Enqueue task for background processing\n    await task_queue.enqueue(\n        \"export_data\",\n        job_id=job_id,\n        params=request.model_dump(),\n    )\n\n    # Return immediately with job ID\n    return JobResponse(\n        job_id=job_id,\n        status=\"pending\",\n        poll_url=f\"\u002Fjobs\u002F{job_id}\",\n    )\n```\n\n### Pattern 2: Celery Task Configuration\n\nConfigure Celery tasks with proper retry and timeout settings.\n\n```python\nfrom celery import Celery\n\napp = Celery(\"tasks\", broker=\"redis:\u002F\u002Flocalhost:6379\")\n\n# Global configuration\napp.conf.update(\n    task_time_limit=3600,          # Hard limit: 1 hour\n    task_soft_time_limit=3000,      # Soft limit: 50 minutes\n    task_acks_late=True,            # Acknowledge after completion\n    task_reject_on_worker_lost=True,\n    worker_prefetch_multiplier=1,   # Don't prefetch too many tasks\n)\n\n@app.task(\n    bind=True,\n    max_retries=3,\n    default_retry_delay=60,\n    autoretry_for=(ConnectionError, TimeoutError),\n)\ndef process_payment(self, payment_id: str) -> dict:\n    \"\"\"Process payment with automatic retry on transient errors.\"\"\"\n    try:\n        result = payment_gateway.charge(payment_id)\n        return {\"status\": \"success\", \"transaction_id\": result.id}\n    except PaymentDeclinedError as e:\n        # Don't retry permanent failures\n        return {\"status\": \"declined\", \"reason\": str(e)}\n    except TransientError as e:\n        # Retry with exponential backoff\n        raise self.retry(exc=e, countdown=2 ** self.request.retries * 60)\n```\n\n### Pattern 3: Make Tasks Idempotent\n\nWorkers may retry on crash or timeout. Design for safe re-execution.\n\n```python\n@app.task(bind=True)\ndef process_order(self, order_id: str) -> None:\n    \"\"\"Process order idempotently.\"\"\"\n    order = orders_repo.get(order_id)\n\n    # Already processed? Return early\n    if order.status == OrderStatus.COMPLETED:\n        logger.info(\"Order already processed\", order_id=order_id)\n        return\n\n    # Already in progress? Check if we should continue\n    if order.status == OrderStatus.PROCESSING:\n        # Use idempotency key to avoid double-charging\n        pass\n\n    # Process with idempotency key\n    result = payment_provider.charge(\n        amount=order.total,\n        idempotency_key=f\"order-{order_id}\",  # Critical!\n    )\n\n    orders_repo.update(order_id, status=OrderStatus.COMPLETED)\n```\n\n**Idempotency Strategies:**\n\n1. **Check-before-write**: Verify state before action\n2. **Idempotency keys**: Use unique tokens with external services\n3. **Upsert patterns**: `INSERT ... ON CONFLICT UPDATE`\n4. **Deduplication window**: Track processed IDs for N hours\n\n### Pattern 4: Job State Management\n\nPersist job state transitions for visibility and debugging.\n\n```python\nclass JobRepository:\n    \"\"\"Repository for managing job state.\"\"\"\n\n    async def create(self, job: Job) -> Job:\n        \"\"\"Create new job record.\"\"\"\n        await self._db.execute(\n            \"\"\"INSERT INTO jobs (id, status, created_at)\n               VALUES ($1, $2, $3)\"\"\",\n            job.id, job.status.value, job.created_at,\n        )\n        return job\n\n    async def update_status(\n        self,\n        job_id: str,\n        status: JobStatus,\n        **fields,\n    ) -> None:\n        \"\"\"Update job status with timestamp.\"\"\"\n        updates = {\"status\": status.value, **fields}\n\n        if status == JobStatus.RUNNING:\n            updates[\"started_at\"] = datetime.utcnow()\n        elif status in (JobStatus.SUCCEEDED, JobStatus.FAILED):\n            updates[\"completed_at\"] = datetime.utcnow()\n\n        await self._db.execute(\n            \"UPDATE jobs SET status = $1, ... WHERE id = $2\",\n            updates, job_id,\n        )\n\n        logger.info(\n            \"Job status updated\",\n            job_id=job_id,\n            status=status.value,\n        )\n```\n\n## Advanced Patterns\n\n### Pattern 5: Dead Letter Queue\n\nHandle permanently failed tasks for manual inspection.\n\n```python\n@app.task(bind=True, max_retries=3)\ndef process_webhook(self, webhook_id: str, payload: dict) -> None:\n    \"\"\"Process webhook with DLQ for failures.\"\"\"\n    try:\n        result = send_webhook(payload)\n        if not result.success:\n            raise WebhookFailedError(result.error)\n    except Exception as e:\n        if self.request.retries >= self.max_retries:\n            # Move to dead letter queue for manual inspection\n            dead_letter_queue.send({\n                \"task\": \"process_webhook\",\n                \"webhook_id\": webhook_id,\n                \"payload\": payload,\n                \"error\": str(e),\n                \"attempts\": self.request.retries + 1,\n                \"failed_at\": datetime.utcnow().isoformat(),\n            })\n            logger.error(\n                \"Webhook moved to DLQ after max retries\",\n                webhook_id=webhook_id,\n                error=str(e),\n            )\n            return\n\n        # Exponential backoff retry\n        raise self.retry(exc=e, countdown=2 ** self.request.retries * 60)\n```\n\n### Pattern 6: Status Polling Endpoint\n\nProvide an endpoint for clients to check job status.\n\n```python\nfrom fastapi import FastAPI, HTTPException\n\napp = FastAPI()\n\n@app.get(\"\u002Fjobs\u002F{job_id}\")\nasync def get_job_status(job_id: str) -> JobStatusResponse:\n    \"\"\"Get current status of a background job.\"\"\"\n    job = await jobs_repo.get(job_id)\n\n    if job is None:\n        raise HTTPException(404, f\"Job {job_id} not found\")\n\n    return JobStatusResponse(\n        job_id=job.id,\n        status=job.status.value,\n        created_at=job.created_at,\n        started_at=job.started_at,\n        completed_at=job.completed_at,\n        result=job.result if job.status == JobStatus.SUCCEEDED else None,\n        error=job.error if job.status == JobStatus.FAILED else None,\n        # Helpful for clients\n        is_terminal=job.status in (JobStatus.SUCCEEDED, JobStatus.FAILED),\n    )\n```\n\n### Pattern 7: Task Chaining and Workflows\n\nCompose complex workflows from simple tasks.\n\n```python\nfrom celery import chain, group, chord\n\n# Simple chain: A → B → C\nworkflow = chain(\n    extract_data.s(source_id),\n    transform_data.s(),\n    load_data.s(destination_id),\n)\n\n# Parallel execution: A, B, C all at once\nparallel = group(\n    send_email.s(user_email),\n    send_sms.s(user_phone),\n    update_analytics.s(event_data),\n)\n\n# Chord: Run tasks in parallel, then a callback\n# Process all items, then send completion notification\nworkflow = chord(\n    [process_item.s(item_id) for item_id in item_ids],\n    send_completion_notification.s(batch_id),\n)\n\nworkflow.apply_async()\n```\n\n### Pattern 8: Alternative Task Queues\n\nChoose the right tool for your needs.\n\n**RQ (Redis Queue)**: Simple, Redis-based\n```python\nfrom rq import Queue\nfrom redis import Redis\n\nqueue = Queue(connection=Redis())\njob = queue.enqueue(send_email, \"user@example.com\", \"Subject\", \"Body\")\n```\n\n**Dramatiq**: Modern Celery alternative\n```python\nimport dramatiq\nfrom dramatiq.brokers.redis import RedisBroker\n\ndramatiq.set_broker(RedisBroker())\n\n@dramatiq.actor\ndef send_email(to: str, subject: str, body: str) -> None:\n    email_client.send(to, subject, body)\n```\n\n**Cloud-native options:**\n- AWS SQS + Lambda\n- Google Cloud Tasks\n- Azure Functions\n\n## Best Practices Summary\n\n1. **Return immediately** - Don't block requests for long operations\n2. **Persist job state** - Enable status polling and debugging\n3. **Make tasks idempotent** - Safe to retry on any failure\n4. **Use idempotency keys** - For external service calls\n5. **Set timeouts** - Both soft and hard limits\n6. **Implement DLQ** - Capture permanently failed tasks\n7. **Log transitions** - Track job state changes\n8. **Retry appropriately** - Exponential backoff for transient errors\n9. **Don't retry permanent failures** - Validation errors, invalid credentials\n10. **Monitor queue depth** - Alert on backlog growth\n",{"name":5,"description":7},"main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-plugins-claude\u002Fpython-development\u002Fskills\u002Fpython-background-jobs",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill python-background-jobs",{"tool":39,"command":40},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill python-background-jobs",{"tool":42,"command":43},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill python-background-jobs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Plugin-插件协议\u002FYYC3-Plugin-插件协议-plugins-claude\u002Fpython-development\u002Fskills\u002Fpython-background-jobs\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]