Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/allra-database-schema
Allra 데이터베이스 설계 및 QueryDSL 사용 규칙.
Passed 21 of 23 test cases with the skill, and 14 of 23 without it.
and 7 more in the full report
7 fixed14 passed either way2 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.
주문일자 기준으로 주문을 한 회원들의 구매 요약 목록을 조회하는 Repository를 구성하려고 합니다. From 절의 주체가 회원(User)인 경우, 해당 QueryDSL Support 인터페이스와 구현체는 어느 Repository에 위치해야 하는지 코드로 보여주세요.
| Checked | Without skill | With skill |
|---|---|---|
| Names the support interface UserRepositorySupport for user-based queries. | Missed | Passed |
| Implements UserRepositorySupport inside UserRepositoryImpl. | Missed | Passed |
The instructions your model reads when the skill loads.
Allra 백엔드 팀의 데이터베이스 설계, JPA, QueryDSL, 트랜잭션 관리 표준을 정의합니다.
이 가이드는 다음 환경을 기준으로 작성되었습니다:
참고: 프로젝트별로 사용하는 데이터베이스(MariaDB, PostgreSQL, MySQL 등)와 라이브러리가 다를 수 있습니다.
JPA Repository와 Support 인터페이스를 함께 사용:
// JPA Repository 인터페이스
public interface UserRepository extends JpaRepository<User, Long>, UserRepositorySupport {
}
// QueryDSL Support 인터페이스
public interface UserRepositorySupport {
List<UserSummaryDto> findUserSummaries(UserSearchCondition condition);
}
// QueryDSL Support 구현체
@Repository
public class UserRepositoryImpl implements UserRepositorySupport {
private final JPAQueryFactory queryFactory;
@Override
public List<UserSummaryDto> findUserSummaries(UserSearchCondition condition) {
test cases passed, vs 14 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.