CtrlK
BlogDocsLog inGet started
Tessl Logo

function-class-generator

Generate complete, production-ready functions and classes from formal specifications, design descriptions, type signatures, or natural language requirements. Use this skill when implementing APIs from specifications, creating data structures from schemas, building classes from UML diagrams, generating code from contracts, or translating design documents into code. Supports multiple programming languages and follows language-specific best practices.

81

1.16x
Quality

73%

Does it follow best practices?

Impact

94%

1.16x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/function-class-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

93%

8%

Inventory Reorder Calculator

Python implementation from formal spec with tests

Criteria
Without context
With context

Type hints on all params

100%

100%

Google/NumPy docstring style

100%

100%

Exceptions documented

100%

100%

Usage examples in docstring

0%

100%

Complexity analysis

0%

0%

Precondition/postcondition notes

100%

100%

Input validation present

100%

100%

Custom exception raised

100%

100%

pytest test file present

100%

100%

Happy-path test cases

100%

100%

Edge case tests

100%

100%

Invalid input tests

100%

100%

Distinct exception per error type

100%

100%

89%

4%

Event Booking System Data Layer

TypeScript data structure from JSON schema

Criteria
Without context
With context

TypeScript interface used

100%

100%

Readonly on immutable fields

100%

100%

Enum for categorical values

33%

0%

camelCase naming

100%

100%

JSDoc on functions

55%

77%

JSDoc @throws tag

100%

100%

Validation function present

100%

100%

Jest test file present

44%

100%

Valid input tests

100%

100%

Invalid input tests

100%

100%

Optional fields handled

100%

100%

Type annotations on all params

100%

100%

100%

25%

Digital Wallet Service

Python financial class with precision and design patterns

Criteria
Without context
With context

Decimal for monetary values

100%

100%

typing.Final for immutable attrs

0%

100%

Property decorators for getters

100%

100%

Custom exception hierarchy

100%

100%

Input validation in constructor

100%

100%

__repr__ implementation

0%

100%

Google/NumPy docstring style

100%

100%

Raises section in docstrings

100%

100%

pytest test file

100%

100%

Tests for invalid Decimal amounts

100%

100%

Immutability test

0%

100%

Insufficient-funds / domain constraint test

100%

100%

Repository
ArabelaTso/Skills-4-SE
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

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.