CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

aws-serverless

Proper Lambda function structure with error handling

Quality

56%

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 ./plugins/AI-Agents-Safe-Coding-Skills/skills/aws-serverless/SKILL.md

The canonical home for this skill is aws-serverless in sickn33/agentic-awesome-skills

SKILL.md
Quality
Evals
Security

Quality

Content

43%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.

The body has genuinely useful, executable AWS content (handler structure, SAM infrastructure, SQS partial-batch-failure handling), but it is materially broken: mismatched code fences, three code blocks truncated mid-statement, a Sharp Edges table where every row is the placeholder 'Issue', and a filler When-to-Use section. It also functions as a monolithic inline catalog with no sequencing or validation guidance for the deploy workflows it implies.

Suggestions

Fix the mismatched code fences (e.g. the ```python fence immediately followed by ```javascript) and complete the truncated snippets — the Python handler, src/handlers/get.js, and the Python SQS handler all cut off mid-statement.

Add a short deployment/validation workflow with checkpoints, e.g. sam build → sam local test-event → sam deploy, so the SAM patterns come with an executable path to production.

Replace the placeholder Sharp Edges table (every row is 'Issue') with real issue/severity/solution rows, and split per-pattern code into reference files (e.g. references/lambda-handler.md, references/sqs-pattern.md) to cut SKILL.md to an overview.

DimensionReasoningScore

Conciseness

The body avoids explaining basic concepts and its code comments carry real signal ('Initialize outside handler (reused across invocations)'), but it inlines duplicate language variants for every pattern, ends with filler ('This skill is applicable to execute the workflow or actions described in the overview'), and wastes tokens on a broken Sharp Edges table of placeholder rows. Fits 'Mostly efficient but includes some unnecessary explanation or could be tightened'.

3 / 5

Actionability

The Node handler, SAM template, and SQS batch handler are complete and copy-paste ready, but several code blocks are truncated mid-statement ('# Parse i', 'const item =', 'batch_ite') and code fences are mismatched/nested (a ```python fence immediately followed by ```javascript), which garbles rendering. This lands on 'Some concrete guidance but incomplete; missing key details' rather than the minor-gaps anchor 4.

3 / 5

Workflow Clarity

This is a pattern catalog with no sequenced workflow at all: no build/deploy/test steps for the SAM template, no validation checkpoints, and no error-recovery guidance beyond the inline batch-failure handling. Fits 'Rough sequence present but many gaps; steps poorly defined; validation absent' — the implied choose-pattern → implement → deploy flow is left entirely to inference.

2 / 5

Progressive Disclosure

Sections are clearly headed (Patterns, Anti-Patterns, Sharp Edges) and patterns carry 'When to use' guidance, but all 330+ lines live inline in SKILL.md with no references/, scripts/, or assets/ directories — the per-pattern code and SAM templates clearly belong in separate files. Fits 'Some structure but could be better organized; content that should be separate is inline'.

3 / 5

Total

11

/

20

Passed

Description

50%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.

The description is a terse, domain-naming sentence that undersells the skill's actual coverage (handler patterns, API Gateway, SQS with DLQ, SAM templates, anti-patterns). It has no 'use when' trigger guidance and omits nearly all natural trigger terms, scoring at the midpoint on every dimension.

Suggestions

Add an explicit trigger clause, e.g. 'Use when implementing or debugging AWS Lambda functions, API Gateway integrations, SQS event processing, or SAM serverless deployments.'

Expand the 'what' to reflect the body's scope: handler structure, error handling, cold-start mitigation, SQS batch/DLQ patterns, and SAM infrastructure-as-code.

Qualify 'Lambda' with 'AWS' and add 'serverless' so the description doesn't collide with programming-language lambda functions and competing AWS skills.

DimensionReasoningScore

Specificity

The description names the domain ('Lambda function structure') plus one concrete element ('error handling'), matching the anchor 'Names domain and 1-2 concrete actions, but not comprehensive'. It does not list several specific actions (not 4), and unlike 'Processes PDF files' it goes beyond bare domain-naming (not 2).

3 / 5

Completeness

There is a moderately clear 'what' (proper Lambda structure with error handling) but no 'when' clause or equivalent trigger guidance whatsoever, so completeness is capped at 3 per the judging guidelines. Not 2 because the 'what' is more specific than a vague phrase like 'Use when working with documents'.

3 / 5

Trigger Term Quality

'Lambda', 'function', and 'error handling' are relevant keywords a user might say, but common variations and synonyms are missing — no 'AWS', 'serverless', 'API Gateway', 'SQS', 'SAM', or 'deploy'. This fits 'Some relevant keywords but missing common variations or synonyms' rather than the good coverage of anchor 4.

3 / 5

Distinctiveness Conflict Risk

'Lambda function structure' is somewhat specific but unqualified — without 'AWS' or 'serverless' it can conflict with programming-language lambda-function questions, and the skill's real scope (API Gateway, SQS, SAM) is far broader than the description suggests. Fits 'Somewhat specific but could still overlap with similar skills' rather than the mostly-distinct anchor 4.

3 / 5

Total

12

/

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

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills/skills/aws-serverless/SKILL.md

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.