scf-worker
CommunityStreamline SCF tasks with safe, scalable work.
System Documentation
What problem does it solve?
The SCF Worker skill unloads long-running, asynchronous processing from synchronous request paths by providing robust cloud function-based handling for COS uploads, callbacks, media processing, webhook forwarding, and backend bridging. It emphasizes security, reliability, and observability across distributed tasks.
Core Features & Use Cases
- COS direct-upload signature generation with minimal permissions.
- COS callback handling with signature verification and idempotent state persistence.
- Asynchronous media tasks such as transcoding and thumbnail generation, decoupled from user requests.
- Webhook forwarding with retry, idempotence, and dead-letter handling.
- Backend bridging via REST/OpenAPI or queues to synchronize results.
- Structured logs and metrics for success rate, retry rate, and latency.
Quick Start
Deploy and configure the SCF Worker to handle CMS-S-* task cards. Set environment variables for COS buckets/regions, temporary credentials, signatures expiry, and webhook secrets. Deploy the following SCF functions (media-sign, cos-callback, transcode, webhook-forward) and wire them to your triggers; monitor via logs and metrics.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: scf-worker Download link: https://github.com/lpding888/aiygw4.0/archive/main.zip#scf-worker Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.