CtrlK
BlogDocsLog inGet started
Tessl Logo

python-best-practices

Provides Python patterns for type-first development with dataclasses, discriminated unions, NewType, and Protocol. Must use when reading or writing Python files.

82

1.66x
Quality

76%

Does it follow best practices?

Impact

88%

1.66x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./data/skills-md/0xbigboss/claude-code/python-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%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 content is highly actionable with strong executable examples and good internal structure, but it is a long monolithic file and its main workflow lacks concrete validation checkpoints.

Suggestions

Split the larger sections (e.g. the ty guide, full config examples) into reference files and link to them from SKILL.md to apply progressive disclosure.

Make the Type-First Development workflow steps concrete and add an explicit validation feedback loop (e.g. run the type checker after implementation, fix reported errors, re-check).

Trim inline comments that restate concepts Claude already knows (e.g. "# Frozen dataclasses are immutable") and shorten the promotional framing of the ty section.

DimensionReasoningScore

Conciseness

Mostly efficient with lean code blocks and tight bullet lists, but has minor over-explanation Claude does not need (e.g. "# Frozen dataclasses are immutable", the promotional tone of the ty section).

4 / 5

Actionability

Provides fully executable, copy-paste-ready examples across dataclasses, Literal unions, NewType, Enum, Protocol, TypedDict, config loading, exception propagation, and logging, covering the common cases.

5 / 5

Workflow Clarity

The Type-First Development workflow lists a clear 4-step sequence including "Validate at boundaries", but the steps are abstract design directives rather than concrete commands and the validation checkpoint is implicit rather than an explicit validate->fix->retry loop.

3 / 5

Progressive Disclosure

Well-organized with clear section headers, but the ~265-line body is a monolithic single file with no external references; bulk material such as the ty guide and full config example could live in separate reference files.

3 / 5

Total

15

/

20

Passed

Description

81%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 is specific and answers both what and when with concrete constructs, but its trigger condition is overly broad, risking conflicts with other Python skills.

Suggestions

Narrow the trigger so it fires only for type/type-hint work, e.g. "Use when designing Python type systems, defining data models, or adding type hints" instead of "reading or writing Python files".

Add natural synonyms and the .py extension (e.g. ".py files", "type hints", "typing") to broaden trigger-term coverage.

Keep the enumerated construct list but tie it to the trigger so the when-clause reflects the same type-first niche as the what-clause.

DimensionReasoningScore

Specificity

Names the domain ("type-first development") and enumerates four concrete constructs — "dataclasses, discriminated unions, NewType, and Protocol" — giving comprehensive coverage of the type-first niche, matching the anchor that lists multiple specific concrete actions.

5 / 5

Completeness

Explicitly answers both what ("Provides Python patterns for type-first development with...") and when ("Must use when reading or writing Python files"), satisfying the explicit-trigger requirement that would otherwise cap completeness at 3.

5 / 5

Trigger Term Quality

Good natural coverage ("Python patterns", "dataclasses", "Python files") but misses common synonyms and file extensions a user might say (".py", "type hints", "typing"); not comprehensive enough for a 5.

4 / 5

Distinctiveness Conflict Risk

The trigger "Must use when reading or writing Python files" is so broad it would fire on virtually any Python task, creating high overlap risk with any more specific Python skill despite the niche subject matter.

2 / 5

Total

16

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
NeverSight/skills_feed
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.