with one click
code-quality
코드 품질 기준, Result 패턴, 에러 처리, 리뷰 체크리스트. 모든 코드 작성 시 참조.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
코드 품질 기준, Result 패턴, 에러 처리, 리뷰 체크리스트. 모든 코드 작성 시 참조.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
SDK V2 Session API 기반 에이전트 오케스트레이션 패턴. layer2 코드 구현 시 참조.
Claude AI assistant API for text generation, analysis, conversation, streaming, tool use, vision, and batch processing
7개 에이전트 역할, Phase FSM, Coder×N Git branch, documenter 이벤트 트리거. layer2 구현 시 참조.
LanceDB 벡터 DB, 4-Provider Tier 임베딩, 코드 인덱싱. rag 모듈 구현 시 참조.
Fail-Fast 원칙, 계단식 통합 검증, 테스트 수량. 테스트 관련 코드 구현 시 참조.
| name | code-quality |
| description | 코드 품질 기준, Result 패턴, 에러 처리, 리뷰 체크리스트. 모든 코드 작성 시 참조. |
모든 실패 가능한 함수는 throw 대신 Result<T, E>를 반환한다.
type Result<T, E = AdevError> = { ok: true; value: T } | { ok: false; error: E };
// 사용
function parseConfig(raw: string): Result<Config, ConfigError> {
// ...
return { ok: true, value: config };
// 또는
return { ok: false, error: new ConfigError('invalid_format', 'JSON 파싱 실패') };
}
throw는 복구 불가능한 프로그래밍 오류에만 사용. 경계(외부 라이브러리 호출)에서만 try-catch.
상세: references/result-pattern.md
types.ts)AdevError (기본)
├── ConfigError — 설정 관련
├── AuthError — 인증 관련
├── RagError — RAG/임베딩/LanceDB
├── AgentError — 에이전트 실행/통신
├── PhaseError — Phase 전환/검증
├── ContractError — Contract 검증
└── McpError — MCP 서버 관련
상세: references/error-handling.md
코드 리뷰 시 확인 항목 → references/review-checklist.md