CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

schema-design

This skill guides aggregate-boundary decisions, an LLD-style schema sketch, and mapping the design to Postgres. It also provides a handoff process and a reusable output template for migration planning and human review.

Quality

88%

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

Scored by GLM 5.3

Content

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

A lean, well-structured design method with concrete directives (specific paths, naming conventions, constraint examples), a ready-to-fill output template, and an explicit human sign-off gate. Weaknesses are minor: duplication of frontmatter content, placeholder-only template sections without a worked example, and no feedback loop for common failure modes.

Suggestions

Drop the "Trigger:" and "Role:" lines at the top of the body and the repeated file pointers in "Why this skill exists" — they duplicate the frontmatter description and Method step 1.

Include one worked mini-example in the output template (e.g., a filled "Tables (proposed)" row for the Order aggregate) so the deliverable format is unambiguous.

Add a brief failure-mode loop to the Method, e.g., what to do when a request spans two aggregate roots or when existing Flyway migrations conflict with the proposed design.

DimensionReasoningScore

Conciseness

The body is lean and assumes competence (no DDD/Flyway/ERD primers), but carries minor duplication: the "Trigger:" and "**Role:**" lines restate the frontmatter, and the file pointers in "Why this skill exists" (entity-diagram, schema.md, ddd.md) are repeated in Method step 1. Fits anchor 4's "minor instances that could be trimmed" rather than anchor 5's every-token-earns-its-place, and well above anchor 3 since nothing over-explains known concepts.

4 / 5

Actionability

Gives concrete, executable directives — "Check existing Flyway under src/main/resources/db/migration/", "UUID PKs; TIMESTAMPTZ for audit columns", "Unique constraints for natural keys (users.email)", "V{NNN}__" migration naming — plus a fill-in output template. Anchor 4 rather than 5 because the template sections are "…" placeholders with no worked example (e.g., a filled entity box or a sample Tables row), and clearly above anchor 3 since the guidance is specific and executable throughout, not pseudocode.

4 / 5

Workflow Clarity

A clear 5-step sequence (Load context → Name aggregate roots → LLD sketch → Map to Postgres → Hand off) with checkpoints: checking existing migrations, ADR flagging, and the "Schema design: READY FOR HUMAN / NEEDS DISCUSSION" sign-off gate. Anchor 4 rather than 5 because there is no error-recovery feedback loop (e.g., a request spanning two aggregate roots, or existing migrations conflicting with the proposal); the destructive/batch cap does not apply because the skill is design-only and forbids direct mutation ("Never ddl-auto mutate").

4 / 5

Progressive Disclosure

No bundle files exist and none are needed: content is organized into focused sections (Why / Method / Output template / Anti-patterns), stays at overview level, and delegates domain detail to clearly signaled one-level-deep project files (.claude/rules/schema.md, docs/architecture/entity-diagram.md). Nothing that belongs in a separate file is inlined and navigation is easy, matching anchor 5 rather than anchor 4's minor organization gaps.

5 / 5

Total

17

/

20

Passed

Description

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

An exemplary description: a concrete capability statement, explicit trigger guidance with colloquial paraphrases, and explicit positioning against sibling generation skills. The only weakness is that the skill's concrete deliverables (LLD sketch, Postgres table mapping, migration hand-off) are not enumerated in the what-clause.

DimensionReasoningScore

Specificity

States concrete actions — "Design Orbit Postgres/Flyway schemas and aggregate-aligned entity models (ERD/LLD style)" — and the trigger list enumerates further design areas (table layout, entity diagrams, aggregate persistence mapping, indexing). Fits anchor 4: several specific actions with minor gaps, since the skill's actual deliverables (LLD sketch, table mapping, migration hand-off) are not named, keeping it below anchor 5's comprehensive coverage and above anchor 3's 1-2 actions.

4 / 5

Completeness

Explicitly answers both: what — "Design Orbit Postgres/Flyway schemas and aggregate-aligned entity models (ERD/LLD style)"; when — "Use whenever the user asks for schema design, table layout, entity diagrams... even if they only say 'model the tables', 'draw the entities'". This mirrors the anchor-5 example structure (clear what plus explicit when with concrete trigger phrases), exceeding anchor 4's less-explicit when-clause.

5 / 5

Trigger Term Quality

Covers natural terms comprehensively — "schema design", "table layout", "entity diagrams", "indexing", "DB architecture" — plus colloquial paraphrases users would actually say ("model the tables", "draw the entities", "how should this look in the DB"). Matches anchor 5's comprehensive synonym coverage; anchor 4 ("a few natural terms missing") would understate the deliberate inclusion of informal variants.

5 / 5

Distinctiveness Conflict Risk

Scoped to a clear niche (Orbit design-phase schema/aggregate modeling for named commerce features) and explicitly disambiguated from sibling skills via "Prefer this before generate-entity / generate-flyway so boundaries are locked first". Clear niche with distinct triggers and minimal conflict risk per anchor 5; the somewhat broad trigger "indexing" is offset by the explicit sibling-skill boundary, so anchor 4's overlap concern does not fit better.

5 / 5

Total

19

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

chandrakanthbalaraman/spring-boot-microservices

Path

.cursor/skills/schema-design/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.