CtrlK
BlogDocsLog inGet started
Tessl Logo

144-java-data-oriented-programming

Use when you need to apply data-oriented programming best practices in Java — including separating code (behavior) from data structures using records, designing immutable data with pure transformation functions, keeping data flat and denormalized with ID-based references, starting with generic data structures converting to specific types when needed, ensuring data integrity through pure validation functions, and creating flexible generic data access layers. This should trigger for requests such as Improve the code with Data-Oriented Programming; Apply Data-Oriented Programming; Refactor the code with Data-Oriented Programming; Apply Data-Oriented Programming; Refactor the code with Data-Oriented Programming. Part of cursor-rules-java project

65

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

70%

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

The body has strong workflow clarity with real validation checkpoints and clean progressive disclosure to one reference file. It is weakened by redundant restating of the description/trigger phrases and by a vague core refactoring step that lacks executable code examples.

Suggestions

Replace the 'When to use' list (which duplicates the description's trigger phrases) with a concise pointer or remove it, since triggers already live in the frontmatter.

Add one short inline example for the core refactoring step (e.g. a before/after record + pure transformation function) instead of only 'Implement selected improvements using records...'.

Tighten the opening paragraph so it does not restate the full description verbatim.

DimensionReasoningScore

Conciseness

Mostly efficient with bullet lists and clear sections, but the opening paragraph restates the description and the 'When to use' list repeats the trigger phrases (with duplicates), adding redundancy without new information.

2 / 3

Actionability

Maven commands ('./mvnw compile', './mvnw clean verify') are concrete, but the core refactor step is only described ('Implement selected improvements using records, pure transformation functions...') with no inline code or specific pattern to execute.

2 / 3

Workflow Clarity

A clear 4-step sequence with explicit validation checkpoints: compile-before with stop-on-failure and verify-after, including a feedback loop ('stop immediately — do not proceed until resolved').

3 / 3

Progressive Disclosure

A concise overview body points to a single one-level-deep reference (references/144-java-data-oriented-programming.md, verified to exist) via a clearly signaled link, with content appropriately split.

3 / 3

Total

10

/

12

Passed

Description

85%

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, complete, and well-scoped to a clear Java niche with explicit trigger guidance. Its main weakness is trigger-term quality: the same two phrases are repeated rather than offering natural variations a user might actually say.

Suggestions

Replace the duplicated trigger phrases with natural variations users would say, e.g. 'Use when the user asks to apply Data-Oriented Programming, refactor Java data models, or separate data from behavior using records'.

Drop the redundant repeats of 'Apply Data-Oriented Programming' and 'Refactor the code with Data-Oriented Programming' to reduce padding.

DimensionReasoningScore

Specificity

Lists multiple concrete actions: 'separating code (behavior) from data structures using records', 'designing immutable data with pure transformation functions', 'keeping data flat and denormalized with ID-based references', and 'creating flexible generic data access layers'.

3 / 3

Completeness

Explicit 'Use when you need to apply...' opens the description and a 'This should trigger for requests such as...' clause provides explicit when-guidance, answering both what and when.

3 / 3

Trigger Term Quality

Trigger phrases ('Apply Data-Oriented Programming', 'Refactor the code with Data-Oriented Programming') are natural, but they are duplicated verbatim with no common variations, padding the field without expanding coverage.

2 / 3

Distinctiveness Conflict Risk

Scoped to 'data-oriented programming best practices in Java' with a clear niche and distinct triggers, making it unlikely to fire for unrelated skills.

3 / 3

Total

11

/

12

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
jabrena/cursor-rules-java
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.