CtrlK
BlogDocsLog inGet started
Tessl Logo

webiny-dependency-injection

The universal createImplementation DI pattern and all injectable services. Use this skill when the developer is writing any Webiny extension and needs to understand dependency injection, constructor injection, how to access Logger/BuildParams/IdentityContext, how to inject CMS use-cases (list/get/create/update/delete entries), or how the dependencies array works. This is the connective tissue across all extension types -- API, Admin, CLI, and Infrastructure.

68

Quality

82%

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

65%

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

A content-rich, highly actionable skill with comprehensive executable examples across all extension types and advanced DI features. Its main weaknesses are modest redundancy (two near-duplicate 'Key rules' sections), no explicit verification checkpoints despite a DI model that claims compile-time validation, and a single monolithic file rather than split references.

Suggestions

Consolidate the duplicate 'Key rules' (lines 44-49) and 'Key Rules' (lines 349-359) sections into one to remove redundancy and tighten token usage.

Add a concrete verification checkpoint showing how to confirm dependencies resolve / types validate at compile time, since that is a stated benefit of the pattern.

Consider moving the 'Container API Reference' and 'Advanced Dependency Options' sections into a reference file (e.g. references/container-api.md) with a one-level-deep link from SKILL.md to improve progressive disclosure.

DimensionReasoningScore

Conciseness

Mostly efficient with concrete code throughout, but the body is fairly long and includes some content that restates or lightly overlaps the universal pattern (e.g. the 'Key rules' list near the top is largely repeated verbatim in the closing 'Key Rules' section), so it could be tightened.

2 / 3

Actionability

Provides fully executable, complete TypeScript examples for every extension type (API, CLI, Pulumi) plus multi-injection, optional deps, decorators, and composites — copy-paste ready with concrete import paths and method signatures.

3 / 3

Workflow Clarity

The DI usage steps are laid out as 'Key rules' and the API/registration flows are sequenced, but there are no validation/verification checkpoints (e.g. how to confirm the container resolves correctly, or type-check that dependencies match the constructor) for a pattern whose value proposition is compile-time validation.

2 / 3

Progressive Disclosure

No bundle files (references/scripts/assets) exist, so everything is inline in a single ~360-line SKILL.md; the content is well-sectioned but the substantial API reference and advanced dependency options could arguably live in separate reference files for one-level-deep navigation.

2 / 3

Total

9

/

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.

A strong, well-targeted description: it states what the skill covers, gives an explicit 'Use when' trigger with concrete capability examples, and is scoped narrowly to the Webiny DI pattern. Voice is appropriately third person and it avoids fluff.

DimensionReasoningScore

Specificity

Names multiple concrete capabilities: 'constructor injection, how to access Logger/BuildParams/IdentityContext, how to inject CMS use-cases (list/get/create/update/delete entries)... how the dependencies array works' — a comprehensive list of specific actions, matching the score-3 anchor.

3 / 3

Completeness

Clearly answers both 'what' (the createImplementation DI pattern and injectable services) and 'when' with an explicit 'Use this skill when the developer is writing any Webiny extension and needs to understand...' clause.

3 / 3

Trigger Term Quality

Covers natural developer phrasing: 'writing any Webiny extension', 'dependency injection', 'constructor injection', 'how to inject CMS use-cases (list/get/create/update/delete entries)', 'dependencies array' — strong coverage of terms a developer would actually say.

3 / 3

Distinctiveness Conflict Risk

Scoped to a precise niche ('createImplementation DI pattern' across Webiny extension types) with distinct triggers unlikely to fire for unrelated skills; the API/Admin/CLI/Infrastructure scoping further narrows conflict risk.

3 / 3

Total

12

/

12

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.

Validation15 / 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
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.