Agent Skills
› kinncj/Heimdall
› finops-review
finops-review
GitHub识别并标注架构决策的云端成本影响。用于审查基础设施变更或设计新服务,涵盖计算、存储、网络及第三方API的成本驱动因素,提供Terraform注释格式和月度估算模板,辅助进行FinOps成本优化评估。
Trigger Scenarios
审查基础设施变更
设计新服务
评估架构决策的成本影响
Install
npx skills add kinncj/Heimdall --skill finops-review -g -y
SKILL.md
Frontmatter
{
"name": "finops-review",
"description": "Identify and annotate cloud cost implications of architectural decisions. Use when reviewing infrastructure changes or designing new services."
}
SKILL: FinOps Review
Purpose
Identify and annotate the cloud cost implications of architectural decisions.
Cost Driver Categories
Compute
- Lambda/Functions: invocation count x duration x memory
- EC2/VMs: instance type x hours + data transfer
- Containers: CPU/memory reservation x hours
- Edge functions: request count x execution time
Storage
- Object storage (S3/GCS/Blob): GB stored + requests + egress
- Database: instance size + storage + IOPS + backups
- Cache: node size x hours
Networking
- Egress: GB transferred out (most expensive)
- CDN: requests + GB served
- Load balancer: hours + LCU
Third-party APIs
- Stripe: 2.9% + $0.30 per transaction
- Supabase: row reads/writes, storage, Edge Function invocations
- Vercel: bandwidth, function invocations, seats
Annotation Format (Terraform)
resource "aws_db_instance" "main" {
# finops: ~$180/mo (db.t3.medium, 100GB gp3, 1 AZ)
# finops: scale-trigger: >70% CPU or >80% storage
instance_class = "db.t3.medium"
...
}
Architecture Review Questions
- What scales with user count? What scales with data volume?
- Are there N+1 API calls that will cost $$ at scale?
- Is egress minimized? (Cache aggressively, colocate services)
- Are reserved instances/savings plans applicable?
- What is the cost at 10x current load?
Monthly Estimate Template
## Cost Estimate: {Feature}
| Service | Config | Est. Monthly |
|---------|--------|-------------|
| RDS PostgreSQL | db.t3.medium, 100GB | $180 |
| ElastiCache Redis | cache.t3.micro | $25 |
| ECS Fargate | 2 tasks, 0.5 vCPU, 1GB | $30 |
| ALB | 1 ALB, ~1M requests | $20 |
| **Total** | | **~$255/mo** |
Scales linearly with: [traffic volume / data volume]
Version History
- f4ea31f Current 2026-07-05 10:41


