CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

write-script-python3

This guide explains Windmill Python script structure, resource-typed inputs, preprocessors, S3 operations, and the Python SDK for scripts, workflows, jobs, data tables, and storage. It also sets rules for testing local changes, regenerating metadata, and deploying only when explicitly requested, with guidance on credentials, approvals, retries, and database operations.

Quality

55%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

Fix and improve this skill with Tessl

tessl review fix ./system_prompts/auto-generated/skills/write-script-python3/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

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

The operational guidance (CLI workflow, script structure, resource typing, metadata sync) is exceptionally concrete and actionable with good validation checkpoints, but the skill destroys its own token efficiency and structure by inlining an ~800-line raw SDK API dump that belongs in a references/ file — no bundle files exist at all. Duplicated statements across sections add further padding.

Suggestions

Move the entire 'Python SDK (wmill)' section (lines 212–1057) into a references/ file such as references/wmill-python-sdk.md and keep only the import pattern, the contextual-variable guidance, and 5–10 most-used functions inline.

De-duplicate repeated statements: state 'Libraries are installed automatically — do not show installation instructions' and 'generate-metadata writes local files only, not a deploy' once each instead of three-to-four times.

Consolidate the scattered workflow sections (CLI Commands, Keep metadata in sync, After writing) into one ordered write→preview→metadata→deploy sequence so the checkpoints read as a single pipeline.

DimensionReasoningScore

Conciseness

Roughly 800 of 1057 lines are a raw dump of the entire wmill Python SDK (every function signature and docstring, lines 212–1057) inlined into SKILL.md, and key facts repeat verbatim ('Libraries are installed automatically' appears three times at lines 59, 90, and 122; 'generate-metadata is not a deploy' is restated at lines 14, 31, 33, and 45). This is noticeably verbose with several padded sections (anchor 2); it is not level 1 because the material is platform-specific and unknown to Claude rather than explanations of concepts Claude already knows.

2 / 5

Actionability

The guidance is fully executable throughout: exact CLI commands with flags ('wmill script preview <script_path>', 'wmill generate-metadata --dry-run', 'wmill generate-metadata rehash'), copy-paste-ready code for main() structure, TypedDict resource types, preprocessor events, and S3 operations, and complete function signatures for every SDK call. It matches anchor 5 ('Fully executable; copy-paste ready code or commands; specific examples cover the common cases') — the docstring examples' occasional 'client.' vs 'wmill.' inconsistency is inherited reference text, not a gap in the instructions.

5 / 5

Workflow Clarity

The write → preview → generate-metadata → deploy flow is governed by explicit intent-based decision rules ('Only use script run when…', 'Only use sync push when…') and includes validation checkpoints such as diffing regenerated .lock files to report dependency bumps and '--dry-run' to inspect stale items before acting. This fits anchor 4 ('Clear sequence with most checkpoints present; minor validation gaps'); it is not 5 because the steps are spread across four separate sections rather than one ordered sequence, leaving the overall order implicit.

4 / 5

Progressive Disclosure

There are no bundle files at all (no references/, scripts/, or assets/ directories), yet ~845 lines of Python SDK API reference — exactly the content that belongs in a references/ file — are inlined in SKILL.md, and body pointers like 'See the SDK documentation' and 'the preview skill' lead nowhere in the bundle. This matches anchor 2 ('content that clearly belongs in separate files is inlined'); it is above level 1 because section headers do exist and nothing is nested two-plus levels deep.

2 / 5

Total

13

/

20

Passed

Description

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

The description provides a clear, natural trigger ('when writing Python scripts') but omits everything else: no statement of what the skill does, no mention of Windmill, and no concrete capabilities. It functions as a bare trigger clause rather than a description, which limits both completeness and specificity.

Suggestions

State what the skill does, e.g. 'Write Windmill Python scripts: main() entrypoint with TypedDict resource parameters, wmill SDK usage, S3 object operations, plus wmill CLI preview/run/generate-metadata workflow.'

Mention Windmill in the description so the skill is distinguishable from generic Python scripting skills and doesn't trigger for ordinary Python work.

Add trigger variations users would naturally say, such as 'Use when writing or testing Python scripts, preprocessor scripts, or Python SDK code on Windmill.'

DimensionReasoningScore

Specificity

The description is only "MUST use when writing Python scripts." — not a single concrete capability or action is named (no mention of Windmill, script structure, resource types, S3 operations, or the wmill CLI). It matches the anchor 'Entirely vague; no concrete actions' and is not level 2, which requires at least naming a domain with minimal actions beyond a bare trigger clause.

1 / 5

Completeness

The 'when' is explicit ('MUST use when writing Python scripts') but the 'what' is entirely absent — the description never says what the skill does. This is exactly anchor 2 ('only "when" is present without "what"'); it cannot be 3 because that anchor requires a clear 'what', and the 'when' clause alone prevents a score of 1.

2 / 5

Trigger Term Quality

"writing Python scripts" is a natural phrase a user would actually say, so a relevant keyword is present, but no variations or synonyms appear (e.g. Python script, .py, Windmill script, script preview, deploy). This matches anchor 3 ('Some relevant keywords but missing common variations or synonyms'); it is above level 2 because 'Python scripts' is a specific, natural term rather than generic filler like 'Works with files'.

3 / 5

Distinctiveness Conflict Risk

"Python scripts" is somewhat specific as a trigger, but because the description never mentions Windmill, it would fire for any Python scripting request, overlapping with general Python/coding skills. This sits between anchor 2 (very broad, high overlap) and anchor 4 (mostly distinct); it fits anchor 3 ('Somewhat specific but could still overlap with similar skills') best, and is not 4 because the missing Windmill context leaves real conflict risk with generic Python assistance.

3 / 5

Total

9

/

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 (1058 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

windmill-labs/windmill

Path

system_prompts/auto-generated/skills/write-script-python3/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.