Install any skill in seconds. Free to start, no credit card required.
Get Started Free →xu-xiang/java-coding-standards
Spring Boot 服务的 Java 编码规范:命名、不可变性、Optional 使用、流(streams)、异常、泛型以及项目布局。
Passed 21 of 22 test cases with the skill, and 14 of 22 without it.
and 5 more in the full report
7 fixed14 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write an informational log statement in Java recording a user login event with user ID 'usr_123'.
| Checked | Without skill | With skill |
|---|---|---|
| Formats log messages using key-value pair format such as user_login userId={}. | Missed | Passed |
The instructions your model reads when the skill loads.
适用于 Spring Boot 服务中可读、可维护的 Java (17+) 代码的规范。
// ✅ Classes/Records: PascalCase
public class MarketService {}
public record Money(BigDecimal amount, Currency currency) {}
// ✅ Methods/fields: camelCase
private final MarketRepository marketRepository;
public Market findBySlug(String slug) {}
// ✅ Constants: UPPER_SNAKE_CASE
private static final int MAX_PAGE_SIZE = 100;
// ✅ Favor records and final fields
public record MarketDto(Long id, String name, MarketStatus status) {}
test cases passed, vs 14 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.