CtrlK
BlogDocsLog inGet started
Tessl Logo

315-frameworks-spring-mongodb

Use when you need to design or implement MongoDB data access in Spring Boot — including document modeling, Spring Data Mongo repositories/templates, indexing, optimistic concurrency, and error handling. This should trigger for requests such as Add MongoDB in Spring Boot; Review Spring Data Mongo design; Improve error handling for Mongo writes. Part of cursor-rules-java project

72

Quality

88%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

77%

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

This is a well-structured, concise skill with a solid workflow that includes proper validation checkpoints and safety gates. Its main weakness is that it delegates virtually all domain-specific actionable content (document modeling, repository patterns, indexing, error handling examples) to a reference file, leaving the SKILL.md body without any concrete code examples or specific technical guidance that Claude could immediately act on.

Suggestions

Add at least one or two concrete, executable code examples in the SKILL.md body — e.g., a sample @Document class with @Indexed fields, or a repository interface with a custom query method — so the skill provides immediate value without requiring the reference file.

Include a brief summary of key patterns or rules from the reference (e.g., 'Use @Version for optimistic locking', 'Handle DuplicateKeyException with retry') so the SKILL.md serves as a useful quick reference, not just a pointer.

DimensionReasoningScore

Conciseness

The content is lean and efficient. It avoids explaining what MongoDB or Spring Data is, assumes Claude's competence, and every section serves a clear purpose. No unnecessary padding or concept explanations.

3 / 3

Actionability

The skill provides concrete commands (`./mvnw compile`, `mvn clean verify`) and a clear workflow, but lacks executable code examples for the actual MongoDB operations (document modeling, repository patterns, error handling). The real actionable content is deferred entirely to the reference file.

2 / 3

Workflow Clarity

The workflow is clearly sequenced with four explicit steps, includes mandatory compilation checks before changes, a stop-on-failure safety gate, and post-change verification. The feedback loop (compile before, verify after, stop if fails) is well-defined for a potentially destructive refactoring operation.

3 / 3

Progressive Disclosure

The skill correctly references a single detailed file (`references/315-frameworks-spring-mongodb.md`) for deeper content, which is good one-level-deep disclosure. However, since no bundle files were provided, we cannot verify the reference exists or assess its quality. Additionally, the SKILL.md itself is quite thin — it defers almost all substantive guidance to the reference, making the skill body feel like a wrapper rather than a useful overview with key highlights.

2 / 3

Total

10

/

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.

This is a strong skill description that clearly defines its scope (MongoDB data access in Spring Boot), lists specific capabilities, and provides explicit trigger guidance with example requests. It uses proper third-person voice and includes natural keywords that users would actually say. The only minor note is the trailing 'Part of cursor-rules-java project' which adds context but isn't critical for skill selection.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: document modeling, Spring Data Mongo repositories/templates, indexing, optimistic concurrency, and error handling. These are well-defined, concrete capabilities.

3 / 3

Completeness

Clearly answers both 'what' (design/implement MongoDB data access including document modeling, repositories, indexing, concurrency, error handling) and 'when' (explicit 'Use when' clause plus example trigger requests like 'Add MongoDB in Spring Boot').

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'MongoDB', 'Spring Boot', 'Spring Data Mongo', 'document modeling', 'repositories', 'indexing', 'Mongo writes', 'error handling'. The example trigger phrases ('Add MongoDB in Spring Boot', 'Review Spring Data Mongo design') further reinforce natural language coverage.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive — the combination of MongoDB + Spring Boot + Spring Data Mongo creates a clear niche. Unlikely to conflict with generic database skills or other Spring Boot skills due to the specific MongoDB focus.

3 / 3

Total

12

/

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.

Validation11 / 11 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.