CtrlK
BlogDocsLog inGet started
Tessl Logo

ddd-aggregate-design

Design rich domain aggregates with proper encapsulation, domain events, and the Export pattern. Use when implementing DDD aggregates with event sourcing patterns.

68

Quality

82%

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

65%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is action-oriented with strong executable Go examples, but it opens with a redundant restatement of the description, lacks an explicit sequenced workflow with validation checkpoints, and references a DDD-RULES.md file that is missing from the bundle. These keep it in the mid-range rather than top-tier.

Suggestions

Remove the redundant opening sentence that restates the description, or replace it with a token-lean purpose statement that adds new information.

Add a short sequenced design workflow (e.g., define invariant → write validated factory → add actionable methods emitting events → expose via Export → verify invariants) with explicit validation checkpoints.

Provide the missing DDD-RULES.md in the bundle (or inline its essential rules) so the progressive-disclosure reference resolves to a real file.

DimensionReasoningScore

Conciseness

The body is largely lean and assumes Claude's competence, but the opening line 'Design and implement rich domain aggregates with proper encapsulation, domain events, and the Export pattern' nearly restates the frontmatter description and could be tightened, fitting the 'mostly efficient but could be tightened' anchor rather than the 'every token earns its place' level above.

2 / 3

Actionability

Provides complete, executable Go examples — a validated NewOrder factory, an idempotent Ship method that emits events, and an Export() method — that are specific and copy-paste ready, matching the fully-executable top anchor.

3 / 3

Workflow Clarity

Core Rules are numbered and the examples imply a factory→method→export flow, but there is no explicit sequenced design workflow with validation checkpoints or feedback loops, fitting the 'sequence present but checkpoints missing' anchor rather than the explicit-checkpoint level above.

2 / 3

Progressive Disclosure

Structure is reasonable with a clearly signaled one-level reference ('Read [DDD-RULES.md] for all aggregate design rules'), but no bundle files exist and DDD-RULES.md is absent, so the reference is broken and navigation is incomplete — better than a monolithic wall but not the easy-navigation top anchor.

2 / 3

Total

9

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that concisely states concrete capabilities and pairs them with an explicit 'Use when' trigger, clearly occupying a distinct DDD/event-sourcing niche. It closely follows the good example pattern and has no significant gaps.

DimensionReasoningScore

Specificity

Names the domain and lists multiple concrete capabilities — 'proper encapsulation, domain events, and the Export pattern' — matching the anchor for several specific concrete actions rather than vague language.

3 / 3

Completeness

Explicitly answers both 'what' (design rich domain aggregates with encapsulation, events, Export) and 'when' via a clear 'Use when implementing DDD aggregates with event sourcing patterns' clause, satisfying the top anchor for both what AND when.

3 / 3

Trigger Term Quality

Natural practitioner terms ('DDD aggregates', 'domain events', 'event sourcing', 'Export pattern') appear in an explicit trigger clause; these are exactly what a user needing this skill would say, so it is not the level below which lacks common variations.

3 / 3

Distinctiveness Conflict Risk

The 'DDD aggregates with event sourcing' niche is specific and unlikely to trigger for unrelated skills, matching the clear-niche anchor rather than the overlapping-skill level below.

3 / 3

Total

12

/

12

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 missing

Warning

Total

15

/

16

Passed

Repository
forgoty/dotfiles
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.