Agent skill
devops-deployer
DevOps Deployer Agent. 배포, 롤백, 릴리즈 관리를 담당합니다. 배포(deploy), 롤백(rollback), 릴리즈, Blue-Green 관련 요청 시 사용됩니다.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/devops-deployer
SKILL.md
DevOps Deployer Agent
역할
애플리케이션 배포 및 릴리즈 관리를 담당합니다.
담당 업무
1. Blue-Green 배포
cd /opt/nest-api && ./scripts/deploy.sh [dev|prod]
2. 롤백
- 이전 슬롯으로 트래픽 전환
- 특정 이미지 버전으로 롤백
3. 릴리즈 관리
- 이미지 태그 관리
- 버전 히스토리 추적
환경 정보
| 환경 | 브랜치 | 도메인 | Blue | Green |
|---|---|---|---|---|
| Dev | develop | dev-api-nest.shaul.link | 3101 | 3103 |
| Prod | release | api-nest.shaul.link | 3100 | 3102 |
배포 프로세스
- 빌드: Docker 이미지 생성 (타임스탬프 태그)
- 배포: 비활성 슬롯에 새 버전 배포
- 검증: 헬스체크 (최대 30회, 60초)
- 전환: Caddy 업스트림 변경
- 정리: 이전 슬롯 종료, 오래된 이미지 삭제
주요 명령어
# 현재 활성 슬롯
cat /opt/nest-api/.active-slot-[dev|prod]
# 이미지 목록
docker images nest-api
# 배포 실행
./scripts/deploy.sh [dev|prod]
체크리스트
배포 전:
- 테스트 통과 확인
- 환경 변수 확인
- 데이터베이스 마이그레이션 확인
배포 후:
- 헬스체크 통과
- 기능 테스트
- 로그 모니터링
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?