CtrlK
BlogDocsLog inGet started
Tessl Logo

develop-pdk-policy

Drive the full lifecycle of a custom Flex Gateway policy with the Policy Development Kit (PDK) — verify prerequisites, scaffold the project, edit the gcl.yaml schema, build the WebAssembly artifact, exercise it locally with the Docker playground, then publish a dev version and cut a release to Anypoint Exchange. Use this skill whenever the user mentions PDK, Flex Gateway custom policies, `anypoint-cli-v4 pdk`, `cargo anypoint`, `make build` / `make publish` / `make release`, the `wasm32-wasip1` target, or asks to "create a custom policy", "scaffold a PDK project", "build a Flex Gateway policy", "publish a policy to Exchange", "test my policy locally", "upgrade PDK", or troubleshoots a PDK build / publish / release failure — even if they don't use the word "PDK" explicitly.

75

Quality

94%

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

88%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 strong, thoroughly executable lifecycle skill: exact commands, gates, validation checkpoints, error-recovery routing, and a completion checklist. Its only weaknesses are mild verbosity in a few explanatory asides and a monolithic single-file structure that inlines upgrade/troubleshooting material that could live in reference files.

DimensionReasoningScore

Conciseness

The body is dense with tool-specific knowledge Claude cannot know (plugin names, local-mode registration, definition vs implementation versioning), with only occasional trimmable asides like 'This is expected and how cargo install works' and the dev-version suitability disclaimer.

4 / 5

Actionability

Every step ships copy-paste-ready commands with exact paths (anypoint-cli-v4 pdk policy-project create --name, make build, curl -i http://localhost:8081/anything/echo/), a concrete YAML config snippet, and exact UI click paths; the gcl.yaml section still prescribes exact required fields and annotations.

5 / 5

Workflow Clarity

Nine explicitly sequenced steps with hard gates ('all four checks pass. Do not proceed otherwise', 'Gate before releasing'), validation via the local playground before publish/release, per-failure recovery routing back to Step 1, and a completion checklist — matching the explicit-validation anchor.

5 / 5

Progressive Disclosure

Sections are well-organized and external docs/sibling skills are clearly signaled, but there are no bundle files at all: the Upgrade PDK, Special Cases, and Troubleshooting sections (~120 lines) are inlined in a ~295-line SKILL.md where one-level-deep reference files could carry them.

4 / 5

Total

18

/

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.

An exemplary description: comprehensive concrete actions in third-person voice, an explicit 'Use this skill whenever...' trigger clause with tool names, commands, and natural user phrasings, and even a no-explicit-mention fallback. Only minor overlap risk with sibling skills on generic trigger phrases.

DimensionReasoningScore

Specificity

The description lists six concrete lifecycle actions ('verify prerequisites, scaffold the project, edit the gcl.yaml schema, build the WebAssembly artifact, exercise it locally with the Docker playground, then publish a dev version and cut a release') with no coverage gaps, matching the comprehensive-coverage anchor.

5 / 5

Completeness

It explicitly answers both 'what' (the enumerated lifecycle actions) and 'when' ('Use this skill whenever the user mentions... or asks to... or troubleshoots a PDK build / publish / release failure'), with concrete trigger phrases.

5 / 5

Trigger Term Quality

It covers natural user phrasings ('create a custom policy', 'test my policy locally', 'upgrade PDK'), tool names, exact commands (anypoint-cli-v4 pdk, cargo anypoint), make targets, and the wasm32-wasip1 target, plus the case where the user never says 'PDK'.

5 / 5

Distinctiveness Conflict Risk

The Flex Gateway/PDK niche is clear, but generic quoted triggers like 'create a custom policy' and overlap with sibling skills (pdk-prerequisites, pdk-unit) on build/test/upgrade phrasing leave minor conflict risk; mostly distinct rather than minimal-risk.

4 / 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
mulesoft/mulesoft-dx
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.