一键导入
draw-diagram
Draw.io (.drawio) XML 형식의 다이어그램 생성. 아키텍처 다이어그램, 시퀀스 다이어그램, 플로우차트, ERD 등을 요청할 때 사용. AWS 아이콘을 포함한 클라우드 아키텍처 다이어그램 지원.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draw.io (.drawio) XML 형식의 다이어그램 생성. 아키텍처 다이어그램, 시퀀스 다이어그램, 플로우차트, ERD 등을 요청할 때 사용. AWS 아이콘을 포함한 클라우드 아키텍처 다이어그램 지원.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Karpathy LLM Wiki 패턴 구현. 프로젝트 문서(스펙/ADR/회의록)를 wiki/raw/에 모으고 LLM이 컴파일하여 wiki/에 교차참조 마크다운 위키를 생성·갱신. qmd 설치 시 하이브리드 검색 자동 활성, 미설치 시 INDEX.md 라우팅으로 graceful degrade. LanceDB 선택적 벡터 인덱스. Obsidian 호환. 하위 명령 - init, ingest, query, lint, sync, export, qmd-index, lancedb-sync.
Intent Document(INTENT.md) 생성 및 관리 스킬. 프로젝트의 의도를 Why/What/Not/Learnings로 문서화하고, 탐구와 학습을 통해 의도를 진화시키는 생명주기를 관리한다. 반드시 사용해야 하는 경우: "intent document", "INTENT.md", "intent engineering", "프로젝트 의도 정리", "왜 만드는지 정리", "프로젝트 목적 문서화", "What/Why/Not 정리", "프로젝트 방향 잡기", "피벗", "프로젝트 종료 판단" 등을 언급하거나, 새 프로젝트를 시작하면서 방향을 잡고 싶다고 할 때. 기존 INTENT.md를 수정하거나 학습 결과를 기록하고 싶을 때도 이 스킬을 사용한다.
AWS always-on 아키텍처(EC2/ALB/ECS/RDS)를 서버리스+Spot 패턴으로 이행할 때 사용. 워크로드 분류, 트레이드오프 평가, 단계별 이행 계획 생성. 구현 how-to는 sagemaker-spot-training 등 후속 스킬로 위임. 트리거 예 - "서버리스 이행", "EC2에서 Lambda로", "Spot 이행", "serverless migration", "ALB에서 API Gateway", "비용 절감 이행".
Guide for running cost-effective ML training on SageMaker Managed Spot Training. Use this skill when setting up GPU training jobs, choosing instance types/regions, debugging Spot capacity issues, or optimizing SageMaker training costs.
AWS Well-Architected Cost Optimization Pillar review. Checks resource sizing, scaling, storage classes, and cost monitoring configurations in IaC code.
AWS Well-Architected Operational Excellence Pillar review. Checks monitoring, logging, deployment automation, and continuous improvement practices in IaC code.
| name | draw-diagram |
| description | Draw.io (.drawio) XML 형식의 다이어그램 생성. 아키텍처 다이어그램, 시퀀스 다이어그램, 플로우차트, ERD 등을 요청할 때 사용. AWS 아이콘을 포함한 클라우드 아키텍처 다이어그램 지원. |
.drawio XML 파일을 직접 생성하여 다이어그램을 만듭니다. draw.io는 XML 기반 포맷이므로 AI가 직접 생성 가능합니다.
| 유형 | 설명 |
|---|---|
| Architecture | 시스템/클라우드 아키텍처 다이어그램 |
| Flowchart | 프로세스 흐름도 |
| Sequence | 시퀀스 다이어그램 |
| ERD | Entity-Relationship 다이어그램 |
| Network | 네트워크 토폴로지 |
| C4 Model | Context, Container, Component, Code 다이어그램 |
모든 다이어그램은 이 기본 구조를 따릅니다:
<mxfile host="app.diagrams.net" modified="2024-01-01T00:00:00.000Z" agent="Claude" version="24.0.0" type="device">
<diagram id="diagram-1" name="Page-1">
<mxGraphModel dx="1422" dy="762" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<!-- 여기에 도형과 연결선 추가 -->
</root>
</mxGraphModel>
</diagram>
</mxfile>
필수 규칙:
id="0"과 id="1" (parent) mxCell은 항상 포함parent="1", vertex="1"parent="1", edge="1", source, target 지정<mxCell id="2" value="서비스명" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="100" y="100" width="120" height="60" as="geometry" />
</mxCell>
| 속성 | 값 예시 | 설명 |
|---|---|---|
rounded | 0, 1 | 모서리 둥글게 |
fillColor | #dae8fc | 배경색 |
strokeColor | #6c8ebf | 테두리색 |
fontColor | #232F3E | 글자색 |
fontSize | 12 | 글자 크기 |
fontStyle | 0=일반, 1=볼드, 2=이탤릭 | 글자 스타일 |
whiteSpace | wrap | 텍스트 줄바꿈 |
html | 1 | HTML 렌더링 |
shape | mxgraph.aws4.lambda | 커스텀 도형 |
aspect | fixed | 비율 고정 |
verticalLabelPosition | bottom | 레이블 위치 |
verticalAlign | top | 레이블 세로 정렬 |
dashed | 0, 1 | 점선 테두리 |
shape=ellipse # 원/타원
shape=rhombus # 마름모 (조건 분기)
shape=parallelogram # 평행사변형
shape=hexagon # 육각형
shape=cylinder3 # 실린더 (DB)
shape=document # 문서
shape=process # 프로세스
shape=mxgraph.flowchart.annotation_1 # 주석
<mxCell id="e1" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" source="2" target="3" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="e2" value="HTTP Request" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=10;" edge="1" source="2" target="3" parent="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
| 스타일 | 설명 |
|---|---|
edgeStyle=orthogonalEdgeStyle | 직각 연결 (기본) |
edgeStyle=entityRelationEdgeStyle | ER 다이어그램용 |
curved=1 | 곡선 |
dashed=1 | 점선 |
endArrow=none | 화살표 없음 |
endArrow=block | 블록 화살표 |
endArrow=open | 열린 화살표 |
endArrow=diamond | 다이아몬드 (집합) |
endArrow=diamondThin | 얇은 다이아몬드 |
startArrow=diamond | 시작점 다이아몬드 |
strokeColor=#FF0000 | 선 색상 |
strokeWidth=2 | 선 두께 |
<!-- 컨테이너 -->
<mxCell id="group1" value="VPC" style="fillColor=none;strokeColor=#FF9900;verticalAlign=top;fontStyle=1;fontColor=#FF9900;rounded=1;" vertex="1" parent="1">
<mxGeometry x="50" y="50" width="400" height="300" as="geometry" />
</mxCell>
<!-- 컨테이너 안의 도형 (parent를 그룹 id로 지정) -->
<mxCell id="child1" value="EC2" style="..." vertex="1" parent="group1">
<mxGeometry x="30" y="40" width="78" height="78" as="geometry" />
</mxCell>
핵심: 자식 도형의 parent를 컨테이너의 id로 설정하면 자동으로 그룹화됩니다. 자식의 좌표는 부모 컨테이너 기준 상대 좌표입니다.
AWS 아이콘은 shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.[아이콘명] 형식을 사용합니다.
<mxCell id="lambda1" value="Lambda"
style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;"
vertex="1" parent="1">
<mxGeometry x="120" y="160" width="78" height="78" as="geometry" />
</mxCell>
width="78" height="78" (기본)width="48" height="48" (작은 크기)| 카테고리 | fillColor | gradientColor |
|---|---|---|
| Compute | #D05C17 | #F78E04 |
| Database | #3334B9 | #4D72F8 |
| Storage | #3F8624 | #60A337 |
| Networking | #8C4FFF | #C18FFF |
| Security | #DD344C | #FF6680 |
| App Integration | #E7157B | #FF4FA2 |
| Management | #E7157B | #FF4FA2 |
| Analytics | #8C4FFF | #C18FFF |
| AI/ML | #01A88D | #60C6A1 |
| 서비스 | Shape ID |
|---|---|
| EC2 | mxgraph.aws4.ec2 |
| Lambda | mxgraph.aws4.lambda |
| Fargate | mxgraph.aws4.fargate |
| ECS | mxgraph.aws4.ecs |
| EKS | mxgraph.aws4.eks |
| S3 | mxgraph.aws4.s3 |
| DynamoDB | mxgraph.aws4.dynamodb |
| RDS | mxgraph.aws4.rds |
| Aurora | mxgraph.aws4.aurora |
| ElastiCache | mxgraph.aws4.elasticache |
| API Gateway | mxgraph.aws4.api_gateway |
| CloudFront | mxgraph.aws4.cloudfront |
| Route 53 | mxgraph.aws4.route_53 |
| VPC | mxgraph.aws4.vpc |
| ALB | mxgraph.aws4.application_load_balancer |
| NLB | mxgraph.aws4.network_load_balancer |
| SQS | mxgraph.aws4.sqs |
| SNS | mxgraph.aws4.sns |
| EventBridge | mxgraph.aws4.eventbridge |
| Step Functions | mxgraph.aws4.step_functions |
| CloudWatch | mxgraph.aws4.cloudwatch |
| IAM | mxgraph.aws4.iam |
| Cognito | mxgraph.aws4.cognito |
| WAF | mxgraph.aws4.waf |
| Bedrock | mxgraph.aws4.bedrock |
| SageMaker | mxgraph.aws4.sagemaker |
| CodePipeline | mxgraph.aws4.codepipeline |
| CloudFormation | mxgraph.aws4.cloudformation |
전체 AWS 아이콘 목록은 aws-icons.md 참조.
| 그룹 | 스타일 |
|---|---|
| AWS Cloud | fillColor=none;strokeColor=#232F3E;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#232F3E; |
| Region | fillColor=none;strokeColor=#00A4A6;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#00A4A6; |
| Availability Zone | fillColor=none;strokeColor=#7AA116;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#7AA116; |
| VPC | fillColor=none;strokeColor=#FF9900;verticalAlign=top;fontStyle=0;fontColor=#FF9900; |
| Public Subnet | fillColor=none;strokeColor=#248814;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#248814; |
| Private Subnet | fillColor=none;strokeColor=#147EBA;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#147EBA; |
| Security Group | fillColor=none;strokeColor=#DD3A0A;dashed=0;verticalAlign=top;fontStyle=0;fontColor=#DD3A0A; |
| Auto Scaling Group | fillColor=none;strokeColor=#FF9900;dashed=1;verticalAlign=top;fontStyle=0;fontColor=#FF9900; |
| 용도 | fillColor | strokeColor |
|---|---|---|
| 기본 사각형 | #dae8fc | #6c8ebf |
| 강조 | #d5e8d4 | #82b366 |
| 경고/에러 | #f8cecc | #b85450 |
| 외부 시스템 | #e1d5e7 | #9673a6 |
| 중립 | #f5f5f5 | #666666 |
draw.io 데스크탑 앱 설치 시 CLI를 통해 변환 가능:
# SVG로 변환
drawio -x -f svg -o output.svg input.drawio
# PNG로 변환 (해상도 지정)
drawio -x -f png -s 2 -o output.png input.drawio
# 특정 페이지만 변환
drawio -x -f svg -p 0 -o page1.svg input.drawio
macOS에서 CLI 설정:
# draw.io 앱 설치 후 alias 추가
alias drawio='/Applications/draw.io.app/Contents/MacOS/draw.io'
.drawio XML 생성하여 파일로 저장hediet.vscode-drawio)으로 미리보기 안내& → &, < → <, > → >id 중복 불가 — 고유값 사용mxgraph.aws4. 접두사 사용aspect=fixed가 있는 도형은 width와 height를 동일하게 설정