xiaohongshu
xiaohongshu
callabo-init
Callabo 서비스 워크스페이스를 초기화합니다. 새 워크스페이스 생성, 브랜치 생성, 서비스 컴포넌트(callabo-server, callabo-webapp, magi) 선택 및 포트 설정, 서비스 간 연동 설정을 지원합니다.
Full skill instructions
Callabo 개발을 위한 새 워크스페이스를 초기화하는 스킬입니다.
핵심 기능:
이 스킬은 다음 상황에서 자동으로 활성화됩니다:
명시적 요청:
자동 활성화:
# Git
git --version
# UV (Python 패키지 매니저)
uv --version
# Yarn (callabo-webapp용)
yarn --version
# pnpm (magi용)
pnpm --version
# tmux (선택, 실행용)
tmux -V
~/callabo-base 디렉토리에 다음 레포지토리가 클론되어 있어야 합니다:
~/callabo-base/
├── callabo-server/ # Python FastAPI 백엔드
├── callabo-webapp/ # Next.js 프론트엔드
├── magi/ # AI 서비스
└── run.sh # tmux 실행 스크립트
사용자에게 다음 정보를 확인:
| 항목 | 필수 | 예시 |
|---|---|---|
| 대상 디렉토리 | O | ~/work/feature-abc |
| 브랜치 이름 | O | feature/add-login |
| 컴포넌트 | 선택 | callabo-server,callabo-webapp |
| 서버 포트 | 선택 | 8100 |
| 웹앱 포트 | 선택 | 3100 |
| Magi 포트 | 선택 | 3300 |
./scripts/init-callabo-workspace.sh <target_dir> <branch_name> [options]
옵션:
| 옵션 | 설명 | 예시 |
|---|---|---|
--target | 클론할 레포 지정 | --target callabo-server,magi |
--server-session | 세션 토큰 | --server-session random |
server=host:port | 서버 엔드포인트 | server=localhost:8100 |
webapp=host:port | 웹앱 엔드포인트 | webapp=localhost:3100 |
magi=host:port | Magi 엔드포인트 | magi=localhost:3300 |
스크립트가 자동으로 각 서비스의 .env 파일을 업데이트:
callabo-server/.env:
PORT=8100
UVICORN_PORT=8100
FRONT_HOST=http://localhost:3100
MAGI_HOST=http://localhost:3300
callabo-webapp/.env:
PORT=3100
NEXT_PUBLIC_SITE_URL=http://localhost:3100
NEXT_PUBLIC_API_BASE_URL=http://localhost:8100
NEXT_PUBLIC_MAGI_API_BASE_URL=http://localhost:3300
magi/.env:
PORT=3300
CALLABO_API_BASE_URL=http://localhost:8100
사용자: 새 콜라보 워크스페이스 만들어줘. feature/login-ui 브랜치로
Claude: Callabo 워크스페이스를 초기화하겠습니다.
📋 설정 확인:
- 대상 디렉토리: ~/work/feature-login-ui
- 브랜치: feature/login-ui
- 컴포넌트: 전체 (callabo-server, callabo-webapp, magi)
- 포트: 기본값 사용
이대로 진행할까요?
사용자: 응
Claude: 워크스페이스 초기화 중...
✅ callabo-server 복제 완료
✅ callabo-webapp 복제 완료
✅ magi 복제 완료
✅ 브랜치 feature/login-ui 생성 완료
워크스페이스가 준비되었습니다:
~/work/feature-login-ui
사용자: 새 워크스페이스를 8100, 3100, 3300 포트로 만들어줘
Claude: 커스텀 포트 설정으로 워크스페이스를 초기화하겠습니다.
📋 설정:
- 대상 디렉토리: 지정해주세요
- 브랜치: 지정해주세요
- 포트 설정:
- Server: 8100
- Webapp: 3100
- Magi: 3300
사용자: ~/work/test 경로에 test-branch로 만들어줘
Claude: 워크스페이스 초기화 중...
[명령 실행]
./scripts/init-callabo-workspace.sh ~/work/test test-branch \
server=localhost:8100 \
webapp=localhost:3100 \
magi=localhost:3300
✅ 서비스 연동 설정 완료:
- callabo-server (8100) → webapp (3100), magi (3300)
- callabo-webapp (3100) → server (8100), magi (3300)
- magi (3300) → server (8100)
사용자: callabo-server랑 webapp만 클론해서 새 환경 만들어줘
Claude: 선택된 컴포넌트로 워크스페이스를 초기화하겠습니다.
📋 설정:
- 컴포넌트: callabo-server, callabo-webapp (magi 제외)
- 대상 디렉토리/브랜치를 알려주세요.
사용자: ~/work/api-test 에 api-test 브랜치로
Claude:
[명령 실행]
./scripts/init-callabo-workspace.sh ~/work/api-test api-test \
--target callabo-server,callabo-webapp
✅ callabo-server 복제 완료
✅ callabo-webapp 복제 완료
⏭️ magi 건너뜀 (미선택)
워크스페이스 준비 완료!
사용자: 로컬에서 개발하고 magi는 dev 서버 것을 쓰고 싶어
Claude: dev 환경 magi를 연동한 워크스페이스를 생성합니다.
📋 설정:
- 컴포넌트: callabo-server, callabo-webapp (로컬)
- magi: dev 환경 연동 (별칭 사용)
[명령 실행]
./scripts/init-callabo-workspace.sh ~/work/local-dev local-dev \
--target callabo-server,callabo-webapp \
magi=dev
✅ 로컬 서비스와 dev magi 연동 설정 완료
| 경로 | 용도 |
|---|---|
~/callabo-base | 원본 레포지토리 위치 |
./scripts/init-callabo-workspace.sh | 초기화 스크립트 |
| 서비스 | 기본 포트 |
|---|---|
| callabo-server | 8000 |
| callabo-webapp | 3000 |
| magi | 3200 |
| 별칭 | 설명 |
|---|---|
dev | 개발 서버 환경 |
sandbox | 샌드박스 환경 |
production | 프로덕션 환경 (주의) |
DO:
DON'T:
chmod +x ./scripts/init-callabo-workspace.sh
# ~/callabo-base가 없는 경우
mkdir -p ~/callabo-base
cd ~/callabo-base
git clone <callabo-server-repo>
git clone <callabo-webapp-repo>
git clone <magi-repo>
# 사용 중인 포트 확인
lsof -i :8000
lsof -i :3000
lsof -i :3200
# 프로세스 종료
kill -9 <PID>
# callabo-server
cd <workspace>/callabo-server
uv sync
# callabo-webapp
cd <workspace>/callabo-webapp
yarn install
# magi
cd <workspace>/magi
pnpm install
이 스킬은 다음 스킬과 연동됩니다:
| 스킬 | 연동 방식 |
|---|---|
| callabo-tmux | 생성된 워크스페이스를 tmux로 실행 |
| context-worktree | 워크스페이스 컨텍스트 관리 |
┌─────────────────────────────────────────────────────────────┐
│ 1. callabo-init: 워크스페이스 생성 │
│ └─ init-callabo-workspace.sh 실행 │
│ └─ 레포 클론, 브랜치 생성, .env 설정 │
│ │
│ 2. callabo-tmux: 서비스 실행 │
│ └─ run.sh 실행 │
│ └─ 의존성 확인, tmux 세션 생성, 서비스 시작 │
└─────────────────────────────────────────────────────────────┘
연속 사용 예시:
사용자: 새 워크스페이스 만들고 바로 실행해줘
Claude:
1. [callabo-init 활성화]
./scripts/init-callabo-workspace.sh ~/work/new-feature feature/new
2. [callabo-tmux 활성화]
echo "" | ./scripts/run.sh ~/work/new-feature
context-worktree가 활성화된 경우:
| 항목 | 경로 |
|---|---|
| 초기화 스크립트 | ./scripts/init-callabo-workspace.sh |
| 실행 스크립트 | ./scripts/run.sh |
| Base 디렉토리 | ~/callabo-base/ |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience