with one click
skill-onboard
// 기존 프로젝트 온보딩 - 코드베이스 스캔 + 자동 설정 생성. 사용자가 "프로젝트 온보딩" 또는 /skill-onboard를 요청할 때 사용합니다.
// 기존 프로젝트 온보딩 - 코드베이스 스캔 + 자동 설정 생성. 사용자가 "프로젝트 온보딩" 또는 /skill-onboard를 요청할 때 사용합니다.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | skill-onboard |
| description | 기존 프로젝트 온보딩 - 코드베이스 스캔 + 자동 설정 생성. 사용자가 "프로젝트 온보딩" 또는 /skill-onboard를 요청할 때 사용합니다. |
| disable-model-invocation | false |
| allowed-tools | Bash(git:*), Bash(ls:*), Bash(cat:*), Bash(wc:*), Read, Write, Edit, Glob, Grep, AskUserQuestion |
| argument-hint | [--scan-only] |
| complexity-hint | medium |
/skill-onboard 또는 "이 프로젝트에 적용해줘" 요청 시/skill-init)/skill-onboard # 전체 온보딩 (스캔 + 설정 생성)
/skill-onboard --scan-only # 스캔만 (분석 결과 출력 후 종료)
| 항목 | skill-init | skill-onboard |
|---|---|---|
| 대상 | 새 프로젝트 | 기존 코드베이스 |
| 정보 수집 | 대화형 질문 | 코드베이스 자동 스캔 |
| 기존 파일 | 없음 | 백업 후 생성 |
git remote get-url origin이 정규식 [/:]ai-crew-kit(\.git)?$ 일치git rev-list --max-parents=0 HEAD가 ab0269a1414f0d9eba8d130d865dfdd6baeed06c (ai-crew-kit initial commit)와 일치git status --porcelain | grep -v '^??' 출력 있음) → SKIP
git add 미실행)는 untracked → 통과하여 정리 진행. 사용자 코드 보존 + kit 잡티 제거.git log @{u}.. 출력 있음) → SKIPKIT_SOURCE_URL=$(git remote get-url origin) 저장 (Step 5에서 kitSource로 기록)rm -rf .git && git init -b mainrm -rf CHANGELOG.md docs examples tests scripts .github memory LICENSE README.md CLAUDE.md VERSION .claude/temp .claude/hooks/tests .claude/state .claude/settings.local.json
보존: .claude/ (프레임워크 본체, 단 hooks/tests//state//settings.local.json 제외), .gitignore, .gitattributes, .claude/SECURITY.md. 삭제된 CLAUDE.md/README.md/VERSION은 Step 5에서 사용자 프로젝트용으로 새로 생성됨 (README.md.bak 백업 불필요 — kit clone 케이스이므로)."✓ ai-crew-kit clone 감지 → 표준 초기화 + kit 잔여 N개 자동 정리"src//app//lib/ 등 비충돌 경로면 안전. 단, 사용자가 자기 docs//tests//scripts//.github/workflows/를 동일 경로에 미리 복사한 경우 함께 삭제됨. 의심 시 사용자에게 사전 백업(tar czf .pre-onboard-backup-$(date +%s).tar.gz docs tests scripts .github) 권장.백엔드: build.gradle.kts → spring-boot-kotlin / build.gradle → spring-boot-java / pom.xml → spring-boot-java / go.mod → go / pyproject.toml/requirements.txt → python (FastAPI/Django 판별) / package.json + express/fastify/nestjs → nodejs-typescript
Python FastAPI vs Django 자동 판별:
manage.py 존재 OR django in dependencies → python-djangofastapi in dependencies OR uvicorn in dependencies → python-fastapiapp/main.py 존재 → python-fastapi / config/settings/ 존재 → python-django빌드 명령어 감지 (techStack 기반):
도메인 추천: _registry.json keywords와 매칭 (디렉토리명 3점, 파일명 2점, README/설명 1점 → 최고점 추천, 동점이면 general)
기존 구조 분석: 소스 파일 수, 테스트 존재 여부, 기존 문서
감지된 기술 스택 (항목, 결과, 신뢰도), 빌드 명령어, 도메인 추천, 프로젝트 규모 출력
AskUserQuestion: "결과 정확" / "기술 스택 수정" / "도메인 변경"
--scan-only 모드: 여기서 종료
AskUserQuestion: 프로젝트 이름 (디렉토리명 기본값), 설명, 에이전트 구성 (skill-init Step 5 동일 — 스택 기반 필수 자동 결정 + 선택 추가), Task 접두사
README.md → README.md.bak / CLAUDE.md → CLAUDE.md.bak (존재 시)
kit clone 케이스 예외: 사전 조건 2번에서 자동 정리로 README.md/CLAUDE.md/VERSION이 이미 삭제되었으므로 본 단계에서 백업 대상 없음. 자연스럽게 스킵됨.
skill-init Step 6 동일: project.json (buildCommands 포함), backlog.json, CLAUDE.md, README.md, VERSION (기존 있으면 유지)
커스텀 스킬: .claude/skills/custom/ 존재 시 스캔 → CLAUDE.md CUSTOM_SECTION에 삽입
.claude/temp/ 추가 (없는 경우)필수 포함: 프로젝트 정보, 생성된 파일, 백업된 파일, 다음 단계 (/skill-feature, /skill-backlog, /skill-plan)