ROSTR Well-Architected Agent Skill
설명
에이전트 출력에 대해 AWS Well-Architected Framework 리뷰를 수행합니다. Operational Excellence, Security, Reliability, Performance Efficiency, Cost Optimization, Sustainability의 6개 기둥을 평가합니다.
트리거 조건
- 에이전트가 품질 리뷰가 필요한 출력을 생성할 때
- 에이전트 구성을 배포하기 전
- 정기적인 아키텍처 리뷰 중
- 비용/보안 문제가 제기될 때
입력 형식
{
"agent_output": {
"result": "string",
"metadata": {
"model_used": "string",
"tokens_used": {"prompt": int, "completion": int},
"duration_ms": int
},
"logs": [...],
"pii_detected": false,
"graviton_used": true
},
"review_type": "full" | "security" | "cost" | "quick"
}
출력 형식
{
"SAR": {
"SchemaVersion": "2020-07-01",
"Review": {
"OverallScore": 4.2,
"Pillars": [...]
},
"Risks": {
"High": [...],
"Medium": [...],
"Low": [...]
},
"ImprovementItems": [...]
}
}
사용법
from skills.well_architected import WellArchitectedSkill
skill = WellArchitectedSkill()
review = await skill.review(agent_output, review_type="full")
# SAR 형식 출력 얻기
sar = skill.to_sar_format(review)
도구 의존성
- 없음
예제 프롬프트
이 에이전트 출력에 대해 Well-Architected 규정 준수 리뷰를 수행해
보안 중심 리뷰를 수행해
비용 최적화 기회를 확인해
버전
1.0.0