AWS Serverless Eda
zxkane/aws-skills
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
Conventions and safety rules for changing the Amazon.Lambda.Annotations library and its source generator, including the T4 templates that generate Lambda handler code.
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aws/aws-lambda-dotnet lambda-annotations --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/lambda-annotations .claude/skills/lambda-annotations && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .claude/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotationsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aws/aws-lambda-dotnet lambda-annotations --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/lambda-annotations .agents/skills/lambda-annotations && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .agents/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aws/aws-lambda-dotnet lambda-annotations --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/lambda-annotations .cursor/skills/lambda-annotations && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .cursor/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aws/aws-lambda-dotnet.git --path .agents/skills/lambda-annotations--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aws/aws-lambda-dotnet lambda-annotations --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/lambda-annotations .gemini/skills/lambda-annotations && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .gemini/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aws/aws-lambda-dotnet lambda-annotationsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/lambda-annotations .github/skills/lambda-annotations && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .github/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aws/aws-lambda-dotnet lambda-annotations --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aws/aws-lambda-dotnet.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/lambda-annotations .opencode/skills/lambda-annotations && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "lambda-annotations" agent skill from https://github.com/aws/aws-lambda-dotnet/tree/master/.agents/skills/lambda-annotations into .opencode/skills/lambda-annotations/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "lambda-annotations", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
lambda-annotationsConventions and safety rules for changing the Amazon.Lambda.Annotations library and its source generator, including the T4 templates that generate Lambda handler code.
Lambda Annotations is an agent skill from aws/aws-lambda-dotnet, published by the product's own GitHub organization. Conventions and safety rules for changing the Amazon.Lambda.Annotations library and its source generator, including the T4 templates that generate Lambda handler code. Use when modifying parameter binding, generated handler code, authorizer support, or the source generator templates.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs. It works with Amazon Web Services and AWS Lambda. The repository describes itself as: Libraries, samples and tools to help .NET Core developers develop AWS Lambda functions. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c801451. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
dotnetFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Lambda Annotations loads about 1.7k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 740 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aws/aws-lambda-dotnet at commit c801451, republished under its Apache-2.0 licence (© aws). 740 words, ~1,654 tokens.
.claude/skills/lambda-annotations/SKILL.md (or your agent's skills folder).This skill covers rules for changing the Amazon.Lambda.Annotations source generator. The code it generates is compiled into customer assemblies. A bug in a template becomes a bug in every customer function built with that version, and a fix only reaches customers when they rebuild and redeploy.
Libraries/src/Amazon.Lambda.Annotations/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Templates/*.tt: T4 templates (the source of truth)*.cs with the same name as a .tt: preprocessed output from TextTemplatingFilePreprocessor. Keep it in sync with the .tt.*Code.cs: hand-written partial classes for the templates. Put non-trivial generation logic here rather than in the .tt so the preprocessed .cs changes stay small.Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests/Snapshots/: expected generated code. Update these when template output changes.AuthorizerBindingFailureTests.cs: runs the generator, compiles the output and invokes the generated handlers. Use it as the pattern for runtime behavior tests of generated code..tt and the matching preprocessed .cs together. Regenerating with Visual Studio is preferred. If you edit the .cs by hand, mirror the .tt exactly and keep the this.Write(...) strings using \r\n line endings like the rest of the file.*Code.cs helpers should also use \r\n line endings to match the T4 output.cd Libraries/test/Amazon.Lambda.Annotations.SourceGenerators.Tests
dotnet testserverless.template files under Libraries/test/* with the current Annotations version. Revert those changes unless the template change is intentional.The templates convert client-supplied strings (headers, query string, route parameters, authorization tokens, authorizer context values) to the parameter type with Convert.ChangeType. Every Convert.ChangeType failure must change the outcome of the request. Logging the failure and continuing is not acceptable.
If a conversion failure is only logged, the parameter keeps its default(T) value (0, false, MinValue, null) and the user's method runs with a value the client never sent. For any security decision, an attacker can then choose that value by sending something that doesn't parse.
Required behavior by handler type:
| Handler type | Template | On conversion failure |
|---|---|---|
API Gateway ([RestApi], [HttpApi]) [FromHeader], [FromQuery], [FromRoute], [FromBody] | APIGatewaySetupParameters.tt | Add to validationErrors and return 400 without invoking the user's method |
API Gateway [FromCustomAuthorizer] | APIGatewaySetupParameters.tt | Return 401 without invoking the user's method |
| ALB | ALBSetupParameters.tt | Add to validationErrors and return 400 without invoking the user's method |
Authorizers ([HttpApiAuthorizer], [RestApiAuthorizer]) | AuthorizerSetupParameters.tt | Deny without invoking the user's authorizer method |
An authorizer that runs on a default value can grant access. When binding fails, authorizer templates must deny the request:
catch block in AuthorizerSetupParameters.tt sets __bindingFailed__ = true; after logging.__bindingFailed__ and returns the deny response from GenerateBindingFailureResponse() in AuthorizerSetupParametersCode.cs. The deny response matches the authorizer's return type:IAuthorizerResult: AuthorizerResults.Deny() serialized with the same format and method/route ARN as the normal pathAPIGatewayCustomAuthorizerV2SimpleResponse: IsAuthorized = falseAPIGatewayCustomAuthorizerResponse / APIGatewayCustomAuthorizerV2IamResponse: an explicit Deny policythrow new Exception("Unauthorized")__bindingFailed__ declaration and the deny check are both emitted only when HasBoundParameters() is true. If you add a new binding source, such as a new [From*] attribute or a new conversion branch, update HasBoundParameters(). If you forget, the generated code fails to compile because the flag is set but never declared. That's loud, but it fails in customer builds too.catch that doesn't set __bindingFailed__. That silently fails open and nothing catches it unless a test sends a malformed value.When adding or changing any code path that converts a client-supplied value:
catch block changes the outcome of the request (validation error, 401 or deny) and doesn't only log.catch sets __bindingFailed__ = true; and that HasBoundParameters() covers the new parameter source.grep -c "Convert.ChangeType" Templates/AuthorizerSetupParameters.tt
grep -c "catch (Exception e)" Templates/AuthorizerSetupParameters.tt
grep -c "__bindingFailed__ = true;" Templates/AuthorizerSetupParameters.ttabc and an overflowing number for a long). It should assert that the user's method is not invoked and that the response is a 400, 401 or deny as appropriate. Extend AuthorizerBindingFailureTests.cs for authorizers.string parameters, which can't fail conversion. Snapshots alone don't prove the failure path works, so the runtime test in step 4 is required.Every change needs an AutoVer change file (see CONTRIBUTING.md). Run from the repository root:
autover change --project-name "Amazon.Lambda.Annotations" -m "<changelog message>"© aws, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/lambda-annotations of aws/aws-lambda-dotnet.
Open the folder on GitHubat commit c801451
Lambda Annotations next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Lambda Annotations this skillaws/aws-lambda-dotnet | 1.7k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| AWS Serverless Edazxkane/aws-skills | 367 | 4 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Processing S3 Uploads With Step Functionsaws/agent-toolkit-for-aws | 2.8k | — | ~4k | Automated safety check: Pass | Apache-2.0 | |
| AWS Serverlessdavila7/claude-code-templates | 33k | 7 repos | ~2k | Automated safety check: Pass | MIT | |
| AWS Lambda Microvmsawslabs/agent-plugins | 916 | 1 repos | ~4.1k | Automated safety check: Pass | Apache-2.0 | |
| AWS Step Functionsaws/agent-toolkit-for-aws | 2.8k | — | ~3.4k | Automated safety check: Pass | Apache-2.0 |
zxkane/aws-skills
AWS serverless and event-driven architecture expert based on Well-Architected Framework.
aws/agent-toolkit-for-aws
Deploy an event-driven workflow that routes S3 uploads to either Lambda or Fargate via Step Functions based on file size.
davila7/claude-code-templates
Specialized skill for building production-ready serverless applications on AWS.
awslabs/agent-plugins
Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments that run inside a container with up to 8-hour lifetimes.
aws/agent-toolkit-for-aws
Authors and edits AWS Step Functions state machines: writes Amazon States Language (ASL) in JSONata, and chooses and structures state types (Task, Choice, Map, Parallel, Pass, Wait, Succeed, Fail).
awslabs/agent-plugins
Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions.
aws/aws-lambda-dotnet
Add a new AWS event source attribute (e.g., Kinesis, Kafka, MQ) to the Lambda .NET Annotations framework, including the attribute class, source generator integration, CloudFormation writer, unit…
Works with
Categories
Conventions and safety rules for changing the Amazon.Lambda.Annotations library and its source generator, including the T4 templates that generate Lambda handler code. Lambda Annotations is an agent skill from aws/aws-lambda-dotnet, published by the product's own GitHub organization.Annotations library and its source generator, including the T4 templates that generate Lambda handler code.
Lambda Annotations fits situations like: modifying parameter binding; generated handler code; authorizer support; the source generator templates.
Run `npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a claude-code`. Or copy the skill folder (.agents/skills/lambda-annotations in aws/aws-lambda-dotnet) into .claude/skills/lambda-annotations in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a codex`. Or copy the skill folder (.agents/skills/lambda-annotations in aws/aws-lambda-dotnet) into .agents/skills/lambda-annotations in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aws/aws-lambda-dotnet --skill lambda-annotations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lambda-annotations, .gemini/skills/lambda-annotations, .github/skills/lambda-annotations and .opencode/skills/lambda-annotations in your project.
Going by SKILL.md and its folder, Lambda Annotations needs the command-line tools its instructions call (dotnet).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Lambda Annotations is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Lambda Annotations: AWS Serverless Eda (zxkane/aws-skills, 367 stars), Processing S3 Uploads With Step Functions (aws/agent-toolkit-for-aws, 2.8k stars), AWS Serverless (davila7/claude-code-templates, 33k stars) and AWS Lambda Microvms (awslabs/agent-plugins, 916 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aws (a GitHub organization, an official publisher) maintains it in aws/aws-lambda-dotnet, which has 1,661 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 10, 2026.
Source: aws/aws-lambda-dotnet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.