Skip to content

feat(workflow): serverless-migration-advisor skill (#3)#2

Merged
serithemage merged 26 commits into
mainfrom
feat/issue-3-serverless-migration-advisor
Apr 18, 2026
Merged

feat(workflow): serverless-migration-advisor skill (#3)#2
serithemage merged 26 commits into
mainfrom
feat/issue-3-serverless-migration-advisor

Conversation

@serithemage
Copy link
Copy Markdown
Contributor

Summary

AWS always-on 아키텍처(EC2/ALB/ECS/RDS/모놀리스)를 서버리스+Spot 패턴으로 이행할 때 사용하는 업스트림 어드바이저 스킬을 추가합니다.

  • 워크로드 분류 → 트레이드오프 평가 → 타겟 아키텍처 매핑 → 단계별 이행 계획 생성
  • 구현 how-to는 sagemaker-spot-training 등 후속 스킬로 위임 (중복 제거)
  • 모든 주장에 [AWS Docs] / [Insight #N] / [Case: …] 인용 라벨 부착

What's new

  • plugins/workflow/skills/serverless-migration-advisor/SKILL.md (226 lines) — 5-Phase 오케스트레이터
  • 13개 references/*.md — progressive disclosure
    • tradeoffs-compute.md / tradeoffs-spot.md / tradeoffs-data-layer.md / tradeoffs-event-driven.md
    • serverless-lens.md — AWS WA Serverless Lens 7 원칙 매핑
    • patterns-tier1-batch.md — 배치·훈련·ETL 이행 (autoresearch 검증)
    • patterns-tier2-api.md — 상시형 API (openclaw 검증)
    • patterns-tier3-monolith.md + patterns-tier3-data.md — Strangler Fig / CDC (검증 없음 경고)
    • interview-bank.md — Phase별 AskUserQuestion JSON 템플릿
    • case-study-autoresearch.md + case-study-openclaw.md — 검증 사례
    • source-insights.md — 번호화된 Insight feat: OWASP Top 10 2025 기반 보안 리뷰 스킬 추가 #1~#15, #O1~#O6

Citation anchors

  • 15 autoresearch insights + 6 openclaw principles (stable numbering)
  • 검증 사례:
    • autoresearch: 48실험 $3.94, H100 Spot 229s $0.16 (상용 대비 20-100× 저렴)
    • openclaw: 월 $1-2, Lambda Container 1.35s cold start, ALB 대체로 $18-25/월 고정비 제거

Verification

  • npm test 전부 green (197/197 across 5 test files)
  • SKILL.md 226 lines (ceiling 500)
  • 모든 references에 Snapshot date 표기
  • Citation spot-check 5/5 resolved
  • 3개 시나리오 read-through 통과 (Tier 1: EC2 H100 batch → SageMaker Spot, Tier 2: ALB+EC2 → API Gateway+Lambda, Tier 3: monolith → Strangler Fig)
  • sagemaker-spot-training delegation 경로 확인
  • Tier 3 경고 3중 redundancy (Phase 1 트리거 / Branch E opener / Phase 5 Executive Summary 복제)

Test plan

  • 로컬 설치 검증: /plugin marketplace add <repo>/plugin install workflow@roboco-plugins
  • Tier 1 시나리오 실제 실행: "EC2 H100 야간 배치 이행"
  • Tier 2 시나리오 실제 실행: "ALB + EC2 상시 API 이행"
  • Tier 3 시나리오 실제 실행: "모놀리스 + RDS 이행" — 경고·파일럿 권고 확인
  • sagemaker-spot-training 위임 실제 트리거 확인

Related

🤖 Generated with Claude Code

serithemage and others added 26 commits April 18, 2026 09:51
…ion-advisor (#3)

- SPEC.md: 13 references, 5-Phase interview, report schema, Delegation
- PLAN.md: 8-stage overview with risks and acceptance criteria
- TASKS.md: bite-sized subagent-driven implementation tasks
- RESEARCH.md: AWS Docs 1차 스냅샷 (Lambda/SageMaker/Fargate/Spot/Batch) + gaps

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…les (#3)

AWS 공식 general-design-principles.html 기준 7개 원칙 수록.
(원래 TASKS에서 기대한 "9 principles"는 현행 AWS 문서에 없으므로
수집 노트에 명시.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ess/Step-Functions (#3)

- §13 Lambda SnapStart: 런타임/비용/uniqueness 함정/ENI 제약
- §14 Aurora Serverless v2: ACU 0-256, auto-pause, Provisioned 혼합
- §15 DynamoDB: On-Demand vs Provisioned + Reserved Capacity 할인율
- §16 S3 Express One Zone: directory bucket, 네이밍, CreateSession auth
- §17 Step Functions: Standard/Async Express/Sync Express 3-way 비교

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… tier mapping (#3)

§10.1.1 에 15개 autoresearch insight를 고정 번호·원문 제목 그대로 수록.
스킬 references/case-study-autoresearch.md에서 #1~#15로 안정 인용 가능.
Source commit: 5435b374 (serverless-autoresearch docs/insights.md).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…les (#3)

§10.2.1 에 openclaw 5개 아키텍처 원칙을 O1-O5 prefix로 고정.
autoresearch numeric insight와 구분되어 references/case-study-openclaw.md에서
O1~O5로 안정 인용 가능.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…1 updates (#3)

- §10.2.1: add O6 CloudFront+S3, keep O5 Free-tier target with deviation note
- §8: mark 8.1-8.5 resolved, defer 8.6 to Stage C tradeoffs-event-driven
- §11: strikethrough resolved items, add Stage C deferral note

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…tubs (#3)

Skeleton only. Content authored in Stage C-F.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
… cases (#3)

Lambda / SageMaker Spot / Fargate / EC2 Spot / Batch tradeoffs with
AWS Docs citations and case-study anchors. Decision matrix included.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…res and HUGI (#3)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ynamoDB/S3 Express (#3)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…e/SQS/Kinesis/SFn (#3)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…pillars (#3)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…+ anti-patterns) (#3)

EC2-long-running → SageMaker Spot, EMR → Batch Spot, Cron → EventBridge+Lambda.
Validated by autoresearch case.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…anti-patterns) (#3)

ALB+EC2 → API Gateway+Lambda, ECS → Fargate+Spot, WebSocket → API Gateway WS,
Java monolith → Lambda+SnapStart. Validated by openclaw case.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…+ principles) (#3)

UNVERIFIED tier. Warning block, Strangler Fig / Branch by Abstraction principles,
AWS prescriptive guidance links, decision questions, scope limits.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…patterns) (#3)

UNVERIFIED tier. Aurora Serverless v2, DynamoDB CDC, S3 Express patterns
with risk levels, checklists, Do/Don't. No detailed before/after for RDS→DynamoDB
beyond access-pattern redesign principle.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…alidation) (#3)

Headline numbers, architecture summary, quotable statements for skill output,
applicability boundaries. Source commit 5435b374.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ation) (#3)

Headline numbers, architecture summary, quotable statements for Tier 2 API
migration. Lambda Container primary + Fargate Spot fallback dual compute.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…#15, #O1-#O6) (#3)

Numbered citation anchors for all validation insights. Autoresearch insights
verbatim titles from docs/insights.md @ 5435b374. Openclaw principles from
RESEARCH §10.2.1. Stable numbering (never renumber).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…N templates (#3)

Phase 1 Q1-Q4 complete JSON (classification, cannot skip). Phase 3 branches
A-E each with one representative question in full JSON, rest minimal schema.
Common follow-ups and skip rules (SPEC §6.3).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Orchestrator for Phase 1 (classification) → Phase 2 (IaC scan) → Phase 3
(tradeoff interview) → Phase 4 (target arch mapping) → Phase 5 (report gen).
Citation label rules, delegation map, Tier 3 warnings inlined.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…age G (#3)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@serithemage serithemage merged commit c20db79 into main Apr 18, 2026
1 check passed
serithemage added a commit that referenced this pull request Apr 18, 2026
PR #2 머지 후 workflow 플러그인에 추가된 4번째 스킬을 README의 특징·스킬 테이블·사용 예시에 반영.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@serithemage serithemage deleted the feat/issue-3-serverless-migration-advisor branch April 18, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant