CtrlK
BlogDocsLog inGet started
Tessl Logo

api-bundle-size-limit

Covers how to configure the maximum allowed size of the Webiny API Lambda bundle using the Infra.Api.MaxBundleSize extension in webiny.config.tsx. Use when a project's API bundle exceeds the default 4.5 MB limit or when you want to enforce a stricter limit. Handles the extension syntax, byte calculations, and interpreting the build error message.

72

Quality

91%

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

SKILL.md
Quality
Evals
Security

Quality

Content

85%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 tight, actionable SKILL.md that leads with the error output users will actually see and gives executable fixes plus byte-conversion tables. Remaining polish is minor: merge the redundant snippet tables and make the lowering example a full snippet.

DimensionReasoningScore

Conciseness

Lean body with no padding and no re-explanation of known concepts, but the Quick Reference table, the byte-value table, and the inline code comment ('{/* Raise the API bundle size limit to 6 MB */}') partially repeat each other — the snippet tables could be merged into one.

4 / 5

Actionability

The main example is complete and copy-paste ready (import, component, expression), and the Quick Reference covers raise/restore/convert cases. Minor gaps: the 'Lowering the Limit' snippet is a fragment rather than executable code, and there is no command to rebuild/verify the new limit took effect.

4 / 5

Workflow Clarity

Simple single-purpose skill whose single action (add the extension with size in bytes) is unambiguous: it shows the exact error output to recognize, where to put the fix, and how to restore the default ('Remove the extension'). No destructive or batch operation, so no validation cap applies.

5 / 5

Progressive Disclosure

Compact, well-sectioned skill (TL;DR, Default Behavior, Raising, How It Works, Lowering, Quick Reference) with everything appropriately inlined — no bundle files exist and none are needed at this size; the 'Related Skills' links point to sibling skills, not nested references.

5 / 5

Total

18

/

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 well-crafted description: concrete, third-person, with an explicit 'Use when' trigger naming the exact error condition and default limit. Only minor gap is omitting the literal build-error phrasing users would quote when searching.

DimensionReasoningScore

Specificity

Names the exact domain (Webiny API Lambda bundle size, Infra.Api.MaxBundleSize, webiny.config.tsx) and multiple concrete actions: configuring the extension, 'extension syntax, byte calculations, and interpreting the build error message', plus both raising ('exceeds the default 4.5 MB limit') and lowering ('enforce a stricter limit'). Comprehensive coverage of this niche in third-person voice.

5 / 5

Completeness

Explicitly answers both: what ('Covers how to configure the maximum allowed size... using the Infra.Api.MaxBundleSize extension in webiny.config.tsx') and when ('Use when a project's API bundle exceeds the default 4.5 MB limit or when you want to enforce a stricter limit') with concrete trigger conditions.

5 / 5

Trigger Term Quality

Good natural keywords: 'API bundle', 'bundle size', 'exceeds the default 4.5 MB limit', 'build error'. A few terms a user would actually say when hitting this problem are missing, e.g. the literal 'asset size limit' / 'entrypoint size limit' error text or 'deploy/build failed'.

4 / 5

Distinctiveness Conflict Risk

Clear niche anchored to Webiny-specific identifiers (Infra.Api.MaxBundleSize, webiny.config.tsx, Webiny API Lambda bundle) — minimal overlap risk with any other skill.

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.

Repository
webiny/webiny-js
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.