/sc:implement
고급지능형 페르소나 활성화 및 MCP 통합을 통한 기능 및 코드 구현을 수행합니다
구문
/sc:implement [옵션] "[기능-설명]"
옵션
| 플래그 | 값 | 설명 |
|---|---|---|
| --type | component, api, service, feature | 아티팩트 유형을 지정합니다: 'component', 'api', 'service' 또는 'feature'입니다. |
| --framework | react, vue, express, etc. | 코드 생성 패턴을 맞춤화하기 위해 대상 프레임워크(예: react, vue)를 지정합니다. |
| --safe | - | 보수적 모드를 활성화합니다: 파괴적 변경을 피하고 호환성을 유지하는 업데이트에 집중합니다. |
| --with-tests | - | 구현된 코드에 대한 단위 테스트 및 통합 테스트를 자동으로 생성합니다. |
예제
React 컴포넌트 구현
/sc:implement --type component --framework react "사용자 프로필 컴포넌트"
API 서비스 구현 (안전 모드 + 테스트)
/sc:implement --type api --safe --with-tests "사용자 인증 API"
풀스택 기능
/sc:implement --type feature --with-tests "결제 처리 시스템"
Vue 프레임워크 컴포넌트
/sc:implement --type component --framework vue "대시보드 위젯"
Express 백엔드 서비스
/sc:implement --type service --framework express --safe "파일 업로드 서비스"
React 보안 컴포넌트 (테스트 포함)
/sc:implement --type component --framework react --safe --with-tests "관리자 패널"
Next.js 페이지 구현
/sc:implement --type feature --framework nextjs "사용자 설정 페이지"
순수 API 구현 (테스트 제외)
/sc:implement --type api "알림 엔드포인트"