CtrlK
BlogDocsLog inGet started
Tessl Logo

jpa-patterns

Spring Boot中的JPA/Hibernate模式,用于实体设计、关系处理、查询优化、事务管理、审计、索引、分页和连接池。

79

1.26x
Quality

74%

Does it follow best practices?

Impact

86%

1.26x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./docs/zh-CN/skills/jpa-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

82%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, highly actionable pattern reference: terse bullets plus executable Java/JPQL/properties snippets covering entity design, N+1 prevention, transactions, pagination, indexing, pooling, and testing. Structure and token efficiency are strong; the only gaps are undefined symbols in code fragments and the absence of explicit validation checkpoints for risky operations.

DimensionReasoningScore

Conciseness

The body is lean throughout: terse bullet guidance and code blocks that each earn their place, with no padding or explanation of concepts Claude already knows (e.g., no 'what is JPA' intro). The closing 请记住 summary compresses the key rules into three lines. This matches the 'lean and efficient; every token earns its place' anchor.

5 / 5

Actionability

Concrete, mostly executable snippets cover the common cases: a full @Entity template with @Index and auditing, a JOIN FETCH query, a repository with projection interface, an @Transactional service method, PageRequest usage, and copy-paste Hikari/logging properties. It stays at 4 rather than 5 because several fragments reference undefined symbols (repo, Market, Market.from, MarketStatus, PositionEntity), leaving minor gaps before they are copy-paste runnable.

4 / 5

Workflow Clarity

As a patterns/reference skill it is organized unambiguously by topic (entities → relationships → repositories → transactions → pagination → performance → testing), and the testing section supplies verification guidance (Testcontainers, SQL/param logging to check query efficiency). It is not a 5 because there are no explicit validation checkpoints for the riskier operations it touches (transaction scope, migrations, schema changes).

4 / 5

Progressive Disclosure

The single SKILL.md has clear section headers and easy navigation, and no bundle files exist to reference. It sits at 4 rather than 5 because at ~155 lines it exceeds the under-50-line simple-skill exception, and some reference-grade material (e.g., the full HikariCP/tuning property catalog) could arguably live in a separate file.

4 / 5

Total

17

/

20

Passed

Description

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

A specific, well-scoped description that names the domain (Spring Boot JPA/Hibernate) and enumerates seven concrete capability areas with good natural keywords. Its main weakness is the complete absence of a 'Use when...' trigger clause, which caps completeness at 3.

Suggestions

Add an explicit trigger clause, e.g. 'Use when designing JPA entities, defining relationships (@OneToMany/@ManyToOne), fixing N+1 issues, or configuring transactions and connection pooling.'

Lead with action verbs ('设计实体... 优化查询...') instead of the nominal '模式,用于...' phrasing to sharpen the capability statements.

Add common synonyms users might say — 'ORM', 'repository', 'database' — to broaden trigger coverage.

DimensionReasoningScore

Specificity

The description lists seven concrete capability areas ("实体设计、关系处理、查询优化、事务管理、审计、索引、分页和连接池"), matching the 'several specific actions with minor gaps' anchor. It falls short of 5 because it is a topic list led by '模式...用于' ('patterns for') rather than explicit action verbs like the top anchor requires.

4 / 5

Completeness

The 'what' is clear (JPA/Hibernate patterns for a named set of tasks), but there is no 'Use when...' clause or equivalent explicit trigger guidance anywhere in the description. Per the judging guidelines, a missing trigger clause caps completeness at 3.

3 / 5

Trigger Term Quality

It includes natural terms users would actually say ("Spring Boot", "JPA", "Hibernate", "实体", "事务", "分页", "连接池") with good keyword coverage. It misses common synonyms and variations such as 'ORM', 'repository', or 'database', so it does not reach the comprehensive synonym/extension coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

"Spring Boot中的JPA/Hibernate模式" carves a clearly distinct niche (JPA/Hibernate ORM patterns in Spring Boot) with specific technology names, so it is mostly distinct from other skills. There remains minor overlap risk with closely related database/Spring skills, keeping it below a 5.

4 / 5

Total

15

/

20

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
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.