用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cosmicstack-labs/mercury-agent-skills --skill serverless-patterns命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Configure RouterBase as an OpenAI compatible model gateway for AI apps, with routing, fallback, media generation, and credential handling patterns.
Design safe X/Twitter automation workflows for tweet search, reply reads, monitoring, posting, and agent-operated social media actions
Use this before implementing a product, feature, SaaS, AI app, or side project to score product risk and choose the smallest validation step.
正在显示 SKILL.md
基于 SOC 职业分类
| name | serverless-patterns |
| description | Lambda, cold starts, event-driven design, API Gateway, and serverless frameworks |
| metadata | {"author":"cosmicstack-labs","version":"1.0.0","category":"backend","tags":["serverless","lambda","cloud","aws","event-driven"]} |
Build scalable serverless applications.
| Strategy | Effect | Tradeoff |
|---|---|---|
| Provisioned Concurrency | Zero cold starts | Cost |
| Smaller runtime (Node/Python) | Faster start | Language choice |
| Keep-alive ping | Reduce frequency | Extra cost |
| Lambda SnapStart (Java) | Fast restore | State constraints |
| Lambda@Edge | Regional distribution | 1MB response limit |
Events:
- UserRegistered { userId, email, timestamp }
- OrderPlaced { orderId, items, total }
- PaymentProcessed { orderId, amount, status }
- EmailSent { to, template, variables }
API Gateway → Lambda (producer) → SQS → Lambda (consumer) → DynamoDB
Benefits: decoupling, buffering, retry, dead-letter queue.