integra-serverless

Guide Node.js developers in implementing AWS Lambda functions with serverless.yml configuration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Integra-Beauty/integra-conventions --skill integra-serverless
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integra-serverless
Source: https://github.com/Integra-Beauty/integra-conventions/tree/main/skills/integra-serverless
Command: npx skills add https://github.com/Integra-Beauty/integra-conventions --skill integra-serverless

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides developers in implementing AWS Lambda functions and serverless applications with consistent exports, safe initialization, and correct serverless.yml configuration.

Core Features & Use Cases

  • Enforces only exporting the handle function to reduce coupling and improve testability.
  • Guides initialization inside handlers to support warm starts and predictable lifecycle.
  • Provides Serverless Framework configuration patterns and real-world examples for API Gateway, SQS, and scheduled tasks.

Quick Start

Run the skill to configure a new Lambda handler by exporting only handle and wiring a basic API event in serverless.yml, then test locally.

Frequently Asked Questions about integra-serverless

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure AWS Lambda handler exports in Node.js for testability?

To structure AWS Lambda handler exports for testability, export only the handle function. This reduces module coupling and ensures your serverless application logic remains isolated and predictable during testing.

Why should I initialize resources inside the Lambda handler instead of globally?

Initializing resources inside the Lambda handler supports warm starts and predictable lifecycle management. This serverless pattern prevents frozen execution context issues and ensures database connections load correctly during AWS Lambda invocations.

What is the best way to configure serverless.yml for API Gateway and SQS?

The best way to configure serverless.yml for API Gateway and SQS is applying Serverless Framework best practices. This includes defining explicit timeouts, configuring retries, and setting security parameters directly within your serverless application configuration.

Does the Serverless Framework support scheduled tasks and SQS event triggers in Node.js?

Yes, the Serverless Framework supports scheduled tasks and SQS event triggers in Node.js. You can wire these events directly in serverless.yml to route messages to your AWS Lambda functions with proper timeout configurations.

What are the limitations of initializing AWS Lambda resources outside the handler?

Initializing AWS Lambda resources outside the handler limits warm start predictability and creates unsafe lifecycle coupling. Moving initialization inside handlers resolves this by ensuring safe initialization during every serverless application execution context.