CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/serverless-framework-test-plugin

Wraps the Serverless Framework (serverless.com) test ecosystem: serverless-offline (local HTTP emulator), serverless-jest-plugin / serverless-mocha-plugin (per-runtime test runners), and the `serverless invoke local` CLI for one-off invocations. Use when testing Lambda functions deployed via the Serverless Framework.

76

Quality

95%

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

87%

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

The body is a tight, actionable guide with executable code throughout and well-signaled external references. Its main weakness is workflow clarity — sequences lack explicit validation checkpoints and feedback loops for the local-HTTP and CI/deploy flows.

Suggestions

Add an explicit validation step to the serverless-offline flow (e.g. poll http://localhost:3000/hello for a 200 before running HTTP tests) so the local-HTTP sequence has a checkpoint.

Add a verify gate to the CI/deploy section — run npx jest and assert it passes before 'serverless deploy --stage staging', with a retry-on-failure note for the staging smoke tests.

Insert a short 'Choosing an approach' decision note (direct handler test vs serverless-offline vs invoke local) to make the multi-path workflow sequencing explicit rather than implied by section order.

DimensionReasoningScore

Conciseness

The body is lean and code-forward — install commands, YAML config, TypeScript test snippets, and a dense anti-patterns table — with only minimal prose that serves tool selection/scoping rather than explaining concepts Claude already knows. It does not reach the verbosity needed to drop to 2.

3 / 3

Actionability

It provides fully executable, copy-paste-ready bash (npm install, serverless invoke local, serverless offline), YAML configs, and complete TypeScript test examples, matching the 'fully executable code/commands; copy-paste ready' anchor.

3 / 3

Workflow Clarity

Sections are sequenced (Install → serverless.yml → invoke local → offline → jest-plugin → direct handler → Running → CI), but there are no explicit validation checkpoints or verify-fix-retry feedback loops — e.g. confirming serverless offline is live before curling, or asserting CI test results before deploy — which caps this at 2.

2 / 3

Progressive Disclosure

No bundle files exist, but the single SKILL.md is well-organized with a clear overview, a dedicated References section with clearly signaled one-level-deep links (npmjs/github/serverless docs) and named sibling skills, and easy header-based navigation; nothing requires splitting.

3 / 3

Total

11

/

12

Passed

Description

100%

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 specific, third-person, and uses an explicit 'Use when...' trigger that answers both what the skill does and when to activate it. It is clearly distinguishable from sibling Lambda-testing skills. No changes needed.

DimensionReasoningScore

Specificity

The description names multiple concrete capabilities — 'serverless-offline (local HTTP emulator)', 'serverless-jest-plugin / serverless-mocha-plugin (per-runtime test runners)', and 'the serverless invoke local CLI for one-off invocations' — matching the 'lists multiple specific concrete actions' anchor.

3 / 3

Completeness

It explicitly answers both 'what' (wraps the Serverless test ecosystem, enumerating the tools) and 'when' via an explicit 'Use when testing Lambda functions deployed via the Serverless Framework' trigger clause, matching the top anchor.

3 / 3

Trigger Term Quality

It uses natural trigger terms a user would actually say — 'testing Lambda functions', 'Serverless Framework', 'serverless-offline', 'serverless-jest-plugin', 'serverless-mocha-plugin' — with good coverage of the ecosystem's common names.

3 / 3

Distinctiveness Conflict Risk

The niche is clearly scoped to Lambda projects deployed via the Serverless Framework, with a distinct trigger unlikely to fire for SAM/CDK/Terraform skills, matching the 'clear niche with distinct triggers' anchor.

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents