CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pdk-test

Write and run integration tests for custom Omni Gateway policies using the `pdk-test` framework — Docker-based, real Omni Gateway routing, `#[pdk_test]` macro, `TestComposite` orchestration, `HttpMock` / `GrpcBin` backends, `reqwest` assertions. Use whenever the user mentions "PDK integration test", "pdk-test", "functional test PDK", "#[pdk_test]", "TestComposite", "FlexConfig", "tests/requests.rs", "make test", or asks "how do I test my policy against real Omni", "how do I set up Docker-based tests for PDK", "why does my pdk-test timeout", "how do I mock a backend in integration tests".

70

Quality

88%

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

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

Highly actionable with an exemplary validated workflow (ordered prerequisite checks, sequenced steps, troubleshooting feedback loops, completion checklist). The weaknesses are redundancy — a duplicated test-running section and re-inlined boilerplate — and a monolithic single-file layout where the API reference and patterns would be better served as one-level-deep reference files.

Suggestions

Remove the standalone "Running tests" section (or reduce it to the two commands not already shown in Step 5, e.g. running a single test by name and the version-override env var) — it duplicates Step 5's cargo/make commands and the `--nocapture` and `PDK_TEST_FLEX_IMAGE_VERSION` guidance.

In the "Reduce boilerplate with a config helper" pattern, elide the repeated builder calls with a comment referencing the Step 4 example instead of re-inlining the full ~40-line config-building code.

Move the Framework API Reference tables and Test Patterns into a `references/api.md` / `references/patterns.md` file (one level deep, clearly signaled), keeping SKILL.md to the workflow, first test, and a pointer — this would improve both conciseness and progressive disclosure.

DimensionReasoningScore

Conciseness

The body is domain-specific with no filler explaining concepts Claude already knows, but it contains real duplication: the standalone "Running tests" section repeats Step 5's commands (cargo test invocations, `make test`, `--nocapture`, and the `PDK_TEST_FLEX_IMAGE_VERSION` override), and the "config helper" pattern re-inlines ~40 lines of config-building already shown in full in Step 4. This fits 'mostly efficient but could be tightened' rather than the 'minor instances' of 4.

3 / 5

Actionability

Fully executable throughout: a copy-paste-ready Rust integration test, exact `Cargo.toml` dev-dependencies, verification bash commands with expected outputs (`docker info ... && echo "Docker OK"`), `make build` / `make test` targets, method-by-method API tables, and concrete troubleshooting commands. The common cases (pass-through, blocking, header assertion, boilerplate reduction) are all covered with runnable code.

5 / 5

Workflow Clarity

Prerequisites are verified in order with explicit stop-on-failure guidance ("If any check fails, stop and fix before proceeding"), Steps 1–5 form a clear build-up to a passing test, the Troubleshooting section provides feedback loops keyed to specific error messages, and a Completion Checklist closes the process. This matches the top anchor: explicit validation, error-recovery loops, and a checklist.

5 / 5

Progressive Disclosure

Section headers are good and the core workflow sits up front, but there are no bundle files at all, so ~250 lines of Framework API Reference, Test Patterns, and troubleshooting detail are inlined in SKILL.md where a references/ file structure would keep the main file lean. This matches 'some structure... content that could be in a separate file is inline' rather than 4, whose 'minor organization gaps' understates the bulk of reference material in the main file.

3 / 5

Total

16

/

20

Passed

Description

96%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: concrete capabilities, explicit 'Use whenever...' trigger guidance, and comprehensive natural trigger phrases including user-style questions. The only weakness is a couple of generic trigger terms ("make test") that could overlap with sibling PDK/testing skills since the description does not itself draw the boundary.

DimensionReasoningScore

Specificity

"Write and run integration tests for custom Omni Gateway policies... Docker-based, real Omni Gateway routing, `#[pdk_test]` macro, `TestComposite` orchestration, `HttpMock` / `GrpcBin` backends, `reqwest` assertions" lists multiple specific concrete capabilities with comprehensive coverage of the skill's scope. Nothing is vague or generic, matching the top anchor rather than the 'minor gaps' of 4.

5 / 5

Completeness

It explicitly answers both what ("Write and run integration tests... using the `pdk-test` framework" with named components) and when ("Use whenever the user mentions..." with a concrete trigger list and example questions). Both halves are explicit and concrete, matching the top anchor.

5 / 5

Trigger Term Quality

Triggers cover natural phrasings users would actually say: "PDK integration test", "pdk-test", "functional test PDK", "#[pdk_test]", "TestComposite", "FlexConfig", "tests/requests.rs", "make test", plus full questions like "how do I test my policy against real Omni" and "why does my pdk-test timeout". Coverage includes synonyms, file paths, and error-seeking questions, matching the comprehensive anchor.

5 / 5

Distinctiveness Conflict Risk

The niche is clear (Omni Gateway PDK integration testing) with distinct technical triggers like `#[pdk_test]`, `TestComposite`, and `tests/requests.rs`. Minor overlap risk remains: "make test" and "functional test PDK" are generic enough to compete with sibling skills (`pdk-unit`, other testing workflows) that the description itself does not disambiguate, so it sits at 'mostly distinct' rather than the minimal-conflict anchor.

4 / 5

Total

19

/

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

skill_md_line_count

SKILL.md is long (599 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

mulesoft/mulesoft-dx

Path

skills/mule-development/pdk-test/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.