Complete restructure based on AI Agent Skills Benchmark feedback (original score: 66/100):
## Directory Reorganization
- Moved Python scripts to scripts/ directory
- Moved sample files to assets/ directory
- Created references/ directory with extracted content
- Removed HOW_TO_USE.md (integrated into SKILL.md)
- Removed __pycache__
## New Reference Files (3 files)
- architecture_patterns.md: 6 AWS patterns (serverless, microservices, three-tier,
data processing, GraphQL, multi-region) with diagrams, cost breakdowns, pros/cons
- service_selection.md: Decision matrices for compute, database, storage, messaging,
networking, security services with code examples
- best_practices.md: Serverless design, cost optimization, security hardening,
scalability patterns, common pitfalls
## SKILL.md Rewrite
- Reduced from 345 lines to 307 lines (moved patterns to references/)
- Added trigger phrases to description ("design serverless architecture",
"create CloudFormation templates", "optimize AWS costs")
- Structured around 6-step workflow instead of encyclopedia format
- Added Quick Start examples (MVP, Scaling, Cost Optimization, IaC)
- Removed marketing language ("Expert", "comprehensive")
- Consistent imperative voice throughout
## Structure Changes
- scripts/: architecture_designer.py, cost_optimizer.py, serverless_stack.py
- references/: architecture_patterns.md, service_selection.md, best_practices.md
- assets/: sample_input.json, expected_output.json
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"recommended_architecture": {
|
|
"pattern_name": "Modern Three-Tier Application",
|
|
"description": "Classic architecture with containers and managed services",
|
|
"estimated_monthly_cost": 1450,
|
|
"scaling_characteristics": {
|
|
"users_supported": "10k - 500k",
|
|
"requests_per_second": "1,000 - 50,000"
|
|
}
|
|
},
|
|
"services": {
|
|
"load_balancer": "Application Load Balancer (ALB)",
|
|
"compute": "ECS Fargate",
|
|
"database": "RDS Aurora (MySQL/PostgreSQL)",
|
|
"cache": "ElastiCache Redis",
|
|
"cdn": "CloudFront",
|
|
"storage": "S3",
|
|
"authentication": "Cognito"
|
|
},
|
|
"cost_breakdown": {
|
|
"ALB": "20-30 USD",
|
|
"ECS_Fargate": "50-200 USD",
|
|
"RDS_Aurora": "100-300 USD",
|
|
"ElastiCache": "30-80 USD",
|
|
"CloudFront": "10-50 USD",
|
|
"S3": "10-30 USD"
|
|
},
|
|
"implementation_phases": [
|
|
{
|
|
"phase": "Foundation",
|
|
"duration": "1 week",
|
|
"tasks": ["VPC setup", "IAM roles", "CloudTrail", "AWS Config"]
|
|
},
|
|
{
|
|
"phase": "Core Services",
|
|
"duration": "2 weeks",
|
|
"tasks": ["Deploy ALB", "ECS Fargate", "RDS Aurora", "ElastiCache"]
|
|
},
|
|
{
|
|
"phase": "Security & Monitoring",
|
|
"duration": "1 week",
|
|
"tasks": ["WAF rules", "CloudWatch dashboards", "Alarms", "X-Ray"]
|
|
},
|
|
{
|
|
"phase": "CI/CD",
|
|
"duration": "1 week",
|
|
"tasks": ["CodePipeline", "Blue/Green deployment", "Rollback procedures"]
|
|
}
|
|
],
|
|
"iac_templates_generated": [
|
|
"CloudFormation template (YAML)",
|
|
"AWS CDK stack (TypeScript)",
|
|
"Terraform configuration (HCL)"
|
|
]
|
|
}
|