serverless-debugging
Debug serverless and edge functions—limited logs, cold starts, timeouts, env/config mismatches. Use for Lambda, Cloud Functions, Workers, Vercel/Netlify functions.
Works with
--- name: serverless-debugging description: Debug serverless and edge functions—limited logs, cold starts, timeouts, env/config mismatches. Use for Lambda, Cloud Functions, Workers, Vercel/Netlify functions. license: MIT --- # Serverless Debugging Systematic debugging when traditional server logs and SSH are unavailable. Complements `test-failure-triage` with environment-specific constraints. ## When to use - Intermittent 5xx from functions - Timeout or memory limit errors - Works locally but fails when deployed ## When not to use - Long-running container services with full shell access - Client-only bugs (use browser DevTools skills) ## Workflow 1. **Reproduce** — identify trigger (HTTP event, queue, schedule) 2. **Logs** — cloud provider log group/stream; filter by request ID 3. **Config** — compare env vars/secrets: local vs deployed (names only, never log values) 4. **Limits** — timeout, memory, payload size, concurrency 5. **Cold start** — init duration, heavy imports, VPC ENI delay 6. **Dependencies** — outbound network, IAM permissions, region mismatch 7. **Minimal fix** — smallest change; redeploy; verify with structured log line ## Common failure modes | Symptom | Likely cause | |---------|----------------| | Task timed out | Slow downstream, missing async, too much work in handler | | Cannot find module | Bundle/packaging; wrong runtime | | Access denied | IAM role, resource policy | | Connection timeout | VPC/subnet/NAT; wrong security group | | Works once then fails | State in `/tmp`; connection pool reuse | ## Practices - Structured JSON logs with `requestId`, `stage`, `durationMs` - Fail fast on missing required env with clear error message (no secret values) - Use X-Ray or vendor tracing for cross-service calls - Keep handlers thin; push heavy work to async queues when needed
More DevOps & Infrastructure skills
azure-ai
microsoft/azure-skills
Use for Azure AI: Search, Speech, OpenAI, Document Intelligence. Helps with search, vector/hybrid search, speech-to-text, text-to-speech, transcription, OCR. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, OCR, convert text to speech.
appinsights-instrumentation
microsoft/azure-skills
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
azure-storage
microsoft/azure-skills
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake. Answers questions about storage access tiers (hot, cool, cold, archive), when to use each tier, and tier comparison. Provides object storage, SMB file shares, async messaging, NoSQL key-value, and big data analytics. Includes lifecycle management. USE FOR: blob storage, file shares, queue storage, table storage, data lake, upload files, download blobs, storage accounts, access tiers, storage tiers, hot cool cold archive, storage tier comparison, when to use storage tiers, lifecycle management, Azure Storage concepts. DO NOT USE FOR: SQL databases, Cosmos DB (use azure-prepare), messaging with Event Hubs or Service Bus (use azure-messaging).

