CtrlK
BlogDocsLog inGet started
Tessl Logo

connecting-lambda-to-dynamodb

Connects an AWS Lambda function to DynamoDB with IAM roles, stream event source mapping, and read/write permissions. Use when setting up Lambda-DynamoDB integration, processing DynamoDB stream events, or deploying serverless event-driven architectures.

65

Quality

79%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/specialized-skills/serverless-skills/connecting-lambda-to-dynamodb/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, lean SKILL.md that uses progressive disclosure correctly: the body is an index with quick troubleshooting guidance, and detail lives in a single clearly-linked reference file. The main weakness is actionability — the body contains no executable commands or step summaries, deferring everything to the reference — plus mild Overview redundancy.

Suggestions

Add a brief in-body summary of the procedure's key steps (e.g., create IAM execution role → create Lambda function → create table with streams → create event source mapping) so the workflow shape is visible without opening the reference, ideally with one or two critical CLI commands (e.g., `aws lambda create-event-source-mapping ...`).

Trim or repurpose the Overview section, which restates the frontmatter description nearly verbatim; replace it with something that adds value, such as prerequisites (AWS CLI configured, required parameters) not covered elsewhere in the body.

Make troubleshooting entries slightly more actionable by including the verification command for each (e.g., `aws lambda list-event-source-mappings --function-name ...` for the 'not triggering' case) instead of only naming what to check.

DimensionReasoningScore

Conciseness

The ~30-line body is efficient and assumes competence ("follow the procedure exactly"), but the Overview section ("Domain expertise for connecting AWS Lambda functions to DynamoDB tables, including IAM execution role creation, function deployment, DynamoDB stream configuration, and event source mapping setup") largely restates the frontmatter description, which is a minor instance of trimmable redundancy. It is above the 3 anchor (mostly efficient with some unnecessary explanation) but not the lean every-token-earns-its-place of 5.

4 / 5

Actionability

The main path is a pointer ("follow the procedure exactly. See [Lambda-DynamoDB connection procedure](references/lambda-dynamodb-connection.md)") and troubleshooting offers specific checks ("Check the IAM role has `AWSLambdaDynamoDBExecutionRole` attached", "adjust the batch size"), but the body itself contains no executable commands or code — key operational detail is entirely delegated to the reference. This sits between the 2 anchor (high-level hints, missing steps) and the 4 anchor (mostly executable concrete code/commands), landing on 3; it is not 4 because nothing in the body itself is copy-paste executable.

3 / 5

Workflow Clarity

The single instruction "follow the procedure exactly" with a clearly-linked procedure is unambiguous, and the referenced procedure file does contain sequenced steps with validation checkpoints (dependency verification, parameter confirmation, explicit user approval before infrastructure changes). It is not 5 because the body gives no in-line summary of the sequence or its checkpoints, so the agent must open the reference to know the workflow shape; it is above 3 because validation is present and the sequence is well defined in the linked file.

4 / 5

Progressive Disclosure

The body is a clean overview: short sections, one real one-level-deep reference (references/lambda-dynamodb-connection.md, verified to exist and contain the detailed procedure), clearly signaled with markdown links in both the main section and troubleshooting. Content is appropriately split between quick diagnosis in SKILL.md and full procedure in the reference, matching the 5 anchor's well-signaled structure.

5 / 5

Total

16

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, concrete about capabilities, with an explicit and specific 'Use when' clause covering three natural trigger scenarios. Only minor room to grow on keyword synonyms and enumeration of individual actions.

DimensionReasoningScore

Specificity

Names the domain and several concrete capabilities ("IAM roles, stream event source mapping, and read/write permissions"), comparable to the anchor listing several specific actions with minor gaps. It stops short of the comprehensive multi-action coverage of the 5 anchor, whose example enumerates four-plus discrete operations.

4 / 5

Completeness

Clearly answers both: what ("Connects an AWS Lambda function to DynamoDB with IAM roles, stream event source mapping, and read/write permissions") and when ("Use when setting up Lambda-DynamoDB integration, processing DynamoDB stream events, or deploying serverless event-driven architectures") with concrete trigger phrases, mirroring the 5-anchor example. It is not the 4 anchor because the 'when' clause is already explicit and specific rather than needing more detail.

5 / 5

Trigger Term Quality

Good natural keyword coverage — "Lambda-DynamoDB integration", "processing DynamoDB stream events", "deploying serverless event-driven architectures" — matching phrases users would actually say. A few natural variants are missing (e.g., "event source mapping" as a trigger, "IAM", "AWS console/CLI"), keeping it below the 5 anchor's synonym-and-extension completeness.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (Lambda-DynamoDB integration specifically) with distinct triggers, minimal overlap risk with generic AWS or DynamoDB skills. The named-service pairing makes false triggers unlikely, matching the 5 anchor; it is not the 4 anchor since there is no meaningful overlap with a closely related skill's territory.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
aws/agent-toolkit-for-aws
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.