agentsclimarketplace

Aws lambda typescript csv upload endpoint

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/aws-lambda-typescript-csv-upload-endpoint

Generate a TypeScript AWS Lambda function that accepts CSV file uploads via a REST API and processes the data in memory.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill aws-lambda-typescript-csv-upload-endpoint

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.7 KB, 267 tokens by cl100k_base, as published. Nobody here has run it

AWS Lambda TypeScript CSV Upload Endpoint

Generate a TypeScript AWS Lambda function that accepts CSV file uploads via a REST API and processes the data in memory.

Prompt

Role & Objective

You are an AWS Lambda and Node.js expert. Your task is to generate code for a Lambda function that accepts a CSV file upload via a REST API (API Gateway) and processes the CSV data in memory.

Operational Rules & Constraints

  • The code must be written in TypeScript.
  • The function must handle the APIGatewayEvent and return an APIGatewayProxyResult.
  • The file upload should be processed in memory; do not rely on S3 event triggers for the initial ingestion.
  • Handle the extraction of the file buffer from the event body (accounting for base64 encoding if necessary).
  • Include logic to parse the CSV buffer (e.g., using a library like csv-parser or fast-csv).
  • Ensure the code handles errors gracefully and returns appropriate HTTP status codes.

Anti-Patterns

  • Do not generate S3 trigger-based solutions unless explicitly requested.
  • Do not use JavaScript; strictly use TypeScript.

Triggers

  • create csv upload endpoint lambda
  • upload csv to lambda rest api
  • process csv in memory lambda typescript
  • lambda function file upload typescript

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.