CtrlK
BlogDocsLog inGet started
Tessl Logo

architecture-patterns

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

74

1.14x
Quality

59%

Does it follow best practices?

Impact

100%

1.14x

Average score across 3 eval scenarios

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./plugins/architecture-patterns/skills/architecture-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

38%

Library Management Backend — Core Architecture

Clean Architecture structure and use cases

Criteria
Without context
With context

domain/ directory

25%

100%

use_cases/ directory

100%

100%

adapters/ directory

0%

100%

Abstract repo interface

20%

100%

No framework imports in domain

100%

100%

Entity uses @dataclass

100%

100%

Entity has behavior

0%

100%

Use case constructor injection

100%

100%

Use case has request/response DTOs

0%

100%

Adapter returns domain entity

100%

100%

No business logic in adapters

100%

100%

Inward dependency direction

100%

100%

100%

Subscription Billing Domain Model

DDD value objects, aggregates, domain events

Criteria
Without context
With context

Money is frozen dataclass

100%

100%

Email is frozen dataclass

100%

100%

Money validates in __post_init__

100%

100%

Email validates in __post_init__

100%

100%

Subscription has behavior

100%

100%

Aggregate enforces max limit

100%

100%

_events list on entity

100%

100%

Cancel appends domain event

100%

100%

Billing cycle appends domain event

100%

100%

Entities use @dataclass

100%

100%

No framework dependencies

100%

100%

Cancel status guard

100%

100%

100%

Alert Dispatch Service

Hexagonal architecture ports and mock adapters

Criteria
Without context
With context

Ports use ABC

100%

100%

Separate ports per capability

100%

100%

Service depends on ports only

100%

100%

No infrastructure in service

100%

100%

Mock adapter provided

100%

100%

Mock adapter returns fixed result

100%

100%

Tests use mock adapters

100%

100%

Tests pass without network

100%

100%

Adapters implement ports

100%

100%

Core logic in service

100%

100%

No business logic in adapters

100%

100%

Repository
secondsky/claude-skills
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.