From ai-harness
프로젝트 컨벤션에 맞는 코드 보일러플레이트를 자동 생성합니다 — Service, Repository, Controller, 테스트 세트
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-harness:harness-scaffoldThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<Purpose>
<Use_When>
<Do_Not_Use_When>
생성 대상 확인:
"다음 파일을 생성합니다:
[1] Entity + Repository (데이터 레이어)
[2] Service 인터페이스 + 구현체 (비즈니스 레이어)
[3] Controller + DTO (API 레이어)
[4] 테스트 (단위 + 통합)
[5] 전체 세트 (1~4 모두)
선택? (기본: 5)"
컨벤션 기반 코드 생성:
각 레이어별 생성 규칙:
Entity + Repository:
// 컨벤션의 기존 Entity 패턴 따름
// @Entity, @Table, @Id 등 표준 JPA 어노테이션
// Auditing 필드 포함 여부 → 컨벤션에서 확인
Service:
// 인터페이스 + 구현체 분리 여부 → 컨벤션에서 확인
// @Transactional 정책 → 컨벤션에서 확인
// 예외 처리 → 컨벤션의 커스텀 예외 사용
Controller + DTO:
// API 경로 패턴 → 컨벤션에서 확인 (/api/v1/{entities})
// 응답 래핑 → 컨벤션의 공통 응답 클래스
// Validation → 컨벤션의 검증 패턴
테스트:
// 단위 테스트: Service 로직 (Mockito 등)
// 통합 테스트: Controller (@WebMvcTest 또는 @SpringBootTest)
// 테스트 데이터: 컨벤션의 Fixture/Factory 패턴
아키텍처 검증:
출력:
npx claudepluginhub cano721/ai-harness --plugin ai-harnessScaffolds a new Spring Boot project from scratch with Maven/Gradle build, package structure, config files, starter entity CRUD feature, and tests using Testcontainers. Use for bootstrapping services or apps.
Generates new files that match existing codebase conventions for naming, structure, imports, exports, and test patterns. Wires generated files into project registration points.
Scaffolds greenfield project architecture and AI agent harness via interview-driven decisions. Outputs markdown spec with code structure exemplar, tests, guardrails, CLAUDE.md setup, and unified plan. Invoke via /scaffold for new projects.