elogic360/software-factory/serverless-patterns
Claude Code and agent skill by elogic360/software-factory
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Lambda, cold starts, event-driven design, API Gateway, and serverless frameworks
Install
npx vskill@latest install elogic360/software-factory/serverless-patternsSKILL.md
The same SKILL.md was published earlier as cosmicstack-labs/mercury-agent-skills/serverless-patterns.
Serverless Patterns
Build scalable serverless applications.
Core Patterns
Function Design
- Single responsibility per function
- Stateless (use external storage for state)
- Idempotent handlers (retry-safe)
- Receive event, process, return/forward
Cold Start Mitigation
| 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 |
Event-Driven Design
Event Types
SQS + Lambda Pattern
Benefits: decoupling, buffering, retry, dead-letter queue.
API Gateway Patterns
- Request validation at gateway level
- Caching for GET endpoints (TTL per route)
- WAF for rate limiting and IP blocks
- Custom domain with ACM certificate
- Usage plans for API keys
Frameworks
- SAM (AWS) — YAML/YML, local testing
- Serverless Framework — Multi-cloud, plugins
- CDK (AWS) — Full programming languages
- Terraform — If already using for other infra
- Chalice (Python) — Flask-like, AWS only
Best Practices
- Function timeout: max 30s for APIs, 15min for background
- Memory: allocate more = more CPU (for compute-heavy, use 1.7GB+)
- Monitor: Duration, Invocations, Error count, Throttles
- Logs: structured JSON to CloudWatch
- Security: least-privilege IAM roles per function
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingintegrations/mercury-skills/categories/backend/serverless-patterns/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/elogic360/software-factory/serverless-patterns)