CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/aws-sam-local-testing

Use when AWS Lambda functions with API Gateway need testing locally: sam local invoke with event payloads, start-api for a local API Gateway, start-lambda for SDK clients and generate-event, plus .NET Lambda handler tests with Amazon.Lambda.TestUtilities.

Quality

89%

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

Overview
Quality
Evals
Security
Files

Quality

Content

80%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 highly actionable, well-structured skill with excellent progressive disclosure (the .NET detail is properly deferred to a real, clearly-signaled reference file). The main weakness is workflow clarity — the sequence exists but validation checkpoints are implicit rather than explicit — plus minor token redundancy in repeated companion-skill mentions.

Suggestions

Make the workflow's validation checkpoints explicit: after "Single invocation" and "Running", add a verify step (e.g., check the handler's return value / statusCode before proceeding, and re-run sam build if output looks stale) to create a validate-fix-retry loop.

Consolidate the four mentions of "serverless-integration-test-builder" (anti-patterns table, Limitations, and two References entries) into a single clearly-labeled cross-reference to save tokens.

Merge the redundant "Running" section with "Single invocation" — both show `sam local invoke HelloFunction --event event.json` — and keep only the sam build / watch-mode additions.

DimensionReasoningScore

Conciseness

Mostly lean, command-first content with no concept over-explanation, but the companion skill "serverless-integration-test-builder" is name-checked four times and the invoke command is duplicated between "Single invocation" and "Running" — minor instances that could be trimmed.

4 / 5

Actionability

Fully executable throughout: install commands, a complete template.yaml, generate-event invocations, a boto3 start-lambda snippet, a copy-paste pytest harness, and CI YAML covering the common cases.

5 / 5

Workflow Clarity

The install → template → generate-event → invoke → start-api/start-lambda sequence is legible from section ordering, but validation checkpoints are implicit — the pytest assertions exist as an example yet no explicit verify-before-proceed step or fix-retry loop is framed in the workflow.

3 / 5

Progressive Disclosure

Verified against the actual bundle: references/dotnet.md exists, is one level deep with no further nesting, and is clearly signaled both inline in the .NET section and in the References section, while the core SAM content stays appropriately inline.

5 / 5

Total

17

/

20

Passed

Description

92%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: it names the exact SAM Local subcommands and the .NET testing library, and opens with an explicit "Use when" trigger clause. The only gap is modest synonym coverage (e.g., unit/integration test, LocalStack) that would catch more natural user phrasings.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "sam local invoke with event payloads", "start-api for a local API Gateway", "start-lambda for SDK clients", "generate-event", ".NET Lambda handler tests with Amazon.Lambda.TestUtilities" — with comprehensive coverage of the skill's capabilities.

5 / 5

Completeness

Explicitly answers both: "Use when AWS Lambda functions with API Gateway need testing locally" gives a concrete 'when', and the enumerated toolchain capabilities give a clear 'what'.

5 / 5

Trigger Term Quality

Natural phrases like "AWS Lambda", "API Gateway", and "need testing locally" are present, but common variations users might say — "unit test", "integration test", "mock", "LocalStack", "template.yaml" — are missing, so synonym coverage is incomplete.

4 / 5

Distinctiveness Conflict Risk

Clear niche — the SAM Local toolchain plus Amazon.Lambda.TestUtilities — with named tools and subcommands making it unlikely to trigger for unrelated skills.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page