Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Design edge computing solutions with CDN integration, edge functions, IoT device management, and latency-optimized deployment patterns.
.claude/skills/williamzujkowski-edge-computing-architecture-designer/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 110% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 54% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 21% | 0% |
Use this skill when you need to design edge computing architectures that bring computation and data closer to users or devices. Trigger conditions include:
Edge computing reduces latency by 80% for global applications (accessed 2025-10-25T21:30:36-04:00: https://dev.to/karander/edge-computing-in-2025-new-frontiers-for-developers-obo). Common use cases include dynamic web applications, real-time image transformation, A/B testing, bot mitigation, and IoT device orchestration.
Time normalization:
NOW_ET = 2025-10-25T21:30:36-04:00 (NIST/time.gov semantics)Input validation:
latency_requirements must be realistic (10ms-1000ms range)deployment_scope must specify target regions or "global"workload_type must be one of: edge_function, cdn_acceleration, iot_gateway, hybridplatform_preference must align with organizational capabilitiesconnectivity_model matches device characteristicsConstraint checks:
Dependency verification:
Scenario: User needs immediate edge architecture guidance for common patterns.
Steps:
platform_preference and workload: [User] → [CDN PoP] → [Edge Function] → [Origin/API] ↓ [Edge Cache]
Output: Platform recommendation, baseline architecture diagram, caching TTLs, expected latency/cost improvements.
Abort if: Latency requirements <10ms (edge can't achieve this) or workload requires stateful operations unsuitable for edge.
Scenario: User needs production-ready edge architecture with security, state management, and monitoring.
Steps:
Cloudflare Workers pattern: javascript // Edge function with KV storage addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) })
async function handleRequest(request) { const cacheKey = new Request(request.url, request) const cache = caches.default let response = await cache.match(cacheKey)
if (!response) { response = await fetch(request) event.waitUntil(cache.put(cacheKey, response.clone())) } return response }
AWS Lambda@Edge pattern:
Azure IoT Edge pattern (for iot_gateway workload):
Layer 1: Edge PoP (300+ locations) - Cache static assets Layer 2: Regional Edge (10-20 locations) - Cache dynamic content Layer 3: Origin Shield (2-5 locations) - Protect origin from cache miss storms Layer 4: Origin/Cloud - Generate uncached responses
distributed_state or event_sourced:multi-cloud or high availability):wrangler.toml with Workers KV bindingsOutput: Production-ready architecture with security, monitoring, state sync patterns, deployment manifests, and runbook for operations.
Decision point: If IoT workload detected, branch to IoT-specific orchestration; otherwise continue with edge function optimization.
For T3 requirements (cost modeling across multiple providers, chaos engineering for edge resilience, geo-replication strategies), escalate to cloud-multicloud-advisor or finops-cost-analyzer.
Platform selection criteria:
Caching decision tree:
State synchronization thresholds:
Abort conditions:
Required fields:
json{ "platform": "cloudflare | aws | azure | multi-cdn", "architecture": { "layers": ["cdn_pop", "regional_edge", "origin_shield", "origin"], "edge_function_pattern": "viewer_request | origin_request | iot_gateway", "caching_hierarchy": { "static_assets": {"ttl": "1d-1y", "locations": ["edge_pop"]}, "dynamic_content": {"ttl": "1s-60s", "locations": ["regional_edge"]} } }, "deployment_manifest": "Platform-specific config (wrangler.toml, CFN, ARM)", "state_synchronization": "stateless | kv_cache | crdt | event_sourcing", "performance_estimates": { "latency_reduction_pct": 80, "cache_hit_ratio_pct": 90, "origin_offload_pct": 85 }, "security": { "encryption": "TLS 1.3", "ddos_protection": true, "waf_enabled": true, "rate_limiting": "10k req/s per IP" }, "monitoring": { "metrics": ["cache_hit_ratio", "edge_latency_p95", "error_rate"], "log_sampling_pct": 5, "tracing_enabled": true } }
Optional fields:
multi_cdn_config: Secondary provider and failover rulesiot_deployment: Azure IoT Edge or AWS Greengrass module definitionscost_projection: Monthly edge compute and bandwidth costsExample: Global API acceleration with Cloudflare Workers
yaml# Input latency_requirements: <100ms deployment_scope: global workload_type: edge_function platform_preference: cloudflare state_requirements: edge_cache # Output Architecture platform: cloudflare edge_function: runtime: cloudflare-workers kv_namespace: api-cache caching: static: {ttl: 86400, edge_pop: true} api: {ttl: 60, regional: true, stale_while_revalidate: 300} deployment: wrangler.toml: | name = "api-accelerator" type = "javascript" kv_namespaces = [{binding="CACHE", id="abc123"}] performance: latency_reduction: 82% cache_hit_ratio: 91%
Token budgets:
Validation:
Determinism:
Safety:
Official Documentation:
Architecture Patterns:
Templates:
/skills/cloud-edge-architect/resources/ for Cloudflare Workers, Lambda@Edge, and IoT Edge deployment templates| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | fail→pass | 13,955 | 10,414 | -25% | 1 | 1 | 0% | 2,714 | 5,693 | +110% | 0 | 0 | — |
case-01 | fail→pass | 22,703 | 5,894 | -74% | 1 | 1 | 0% | 5,469 | 5,076 | -7% | 0 | 0 | — |
case-02 | pass→pass | 21,647 | 9,202 | -57% | 1 | 1 | 0% | 5,136 | 5,774 | +12% | 0 | 0 | — |
case-03 | fail→pass | 25,019 | 11,757 | -53% | 1 | 1 | 0% | 5,778 | 6,633 | +15% | 0 | 0 | — |
case-04 | fail→pass | 18,998 | 12,196 | -36% | 1 | 1 | 0% | 3,897 | 6,002 | +54% | 0 | 0 | — |
case-06 | fail→pass | 28,278 | 17,437 | -38% | 1 | 1 | 0% | 5,865 | 7,075 | +21% | 0 | 0 | — |
case-07 | fail→fail | 11,070 | 9,780 | -12% | 1 | 1 | 0% | 2,207 | 5,727 | +159% | 0 | 0 | — |
case-08 | pass→pass | 13,446 | 7,833 | -42% | 1 | 1 | 0% | 2,611 | 5,502 | +111% | 0 | 0 | — |
case-09 | pass→pass | 11,569 | 5,507 | -52% | 1 | 1 | 0% | 2,572 | 4,843 | +88% | 0 | 0 | — |
case-10 | pass→pass | 12,776 | 8,628 | -32% | 1 | 1 | 0% | 2,736 | 5,567 | +103% | 0 | 0 | — |
case-11 | pass→pass | 11,967 | 8,373 | -30% | 1 | 1 | 0% | 2,380 | 5,228 | +120% | 0 | 0 | — |
case-12 | pass→pass | 9,817 | 4,863 | -50% | 1 | 1 | 0% | 2,238 | 4,573 | +104% | 0 | 0 | — |
case-13 | fail→pass | 13,578 | 6,768 | -50% | 1 | 1 | 0% | 2,703 | 5,132 | +90% | 0 | 0 | — |
case-14 | pass→pass | 11,587 | 7,460 | -36% | 1 | 1 | 0% | 2,225 | 5,310 | +139% | 0 | 0 | — |
case-15 | pass→pass | 11,618 | 12,629 | +9% | 1 | 1 | 0% | 2,347 | 6,042 | +157% | 0 | 0 | — |
case-16 | pass→pass | 12,944 | 8,222 | -36% | 1 | 1 | 0% | 2,704 | 5,475 | +102% | 0 | 0 | — |
case-17 | pass→pass | 13,901 | 10,250 | -26% | 1 | 1 | 0% | 3,129 | 6,154 | +97% | 0 | 0 | — |
case-18 | fail→pass | 13,424 | 7,034 | -48% | 1 | 1 | 0% | 2,716 | 5,146 | +89% | 0 | 0 | — |
case-19 | fail→pass | 12,729 | 10,576 | -17% | 1 | 1 | 0% | 2,565 | 6,085 | +137% | 0 | 0 | — |
case-20 | fail→pass | 16,345 | 9,645 | -41% | 1 | 1 | 0% | 3,058 | 5,737 | +88% | 0 | 0 | — |
case-21 | fail→pass | 17,395 | 8,773 | -50% | 1 | 1 | 0% | 3,450 | 5,485 | +59% | 0 | 0 | — |
case-22 | fail→pass | 10,088 | 5,641 | -44% | 1 | 1 | 0% | 2,074 | 4,808 | +132% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.