AGENT SKILL

grafana-dashboard-deployer

Provisions Amazon Managed Grafana workspaces and dashboards with production defaults: workspace creation (authentication via SSO or IAM Identity Center), data sources (CloudWatch, Prometheus/AMP, Timestream, OpenSearch, X-Ray), dashboard JSON model (panels, templating variables, time range), alerting (alert rules, notification policies, contact points), IAM role for data source access, AMP workspace integration, and latest features (Grafana Enterprise, Incident, OnCall). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Grafana workspace, adding data sources, building dashboards, configuring alerting, or integrating AMP. Triggers: create Grafana workspace, Grafana dashboard, Grafana data source, Grafana alerting, AMP integration, Grafana Enterprise, Grafana Incident.

License 许可
Apache-2.0
最近更新
2026-09-24
Stars
★ 4
Forks
0

01 前言 Front Matter

name
grafana-dashboard-deployer
license
Apache-2.0
metadata
{ "tags": "aws, grafana, observability, deploy, management, dashboard, cloudwatch, prometheus, alerting, amp", "phase": "1", "author": "Jacky Chan — AWS Community Builder", "domain": "aws-cloudops", "family": "Management", "version": "0.1.0", "keywords": "aws, grafana, dashboard, managed grafana, deploy, cloudops, observability, data source, cloudwatch, prometheus, amp, timestream, opensearch, x-ray, alerting, notification, iam identity center, sso, grafana enterprise, grafana incident, grafana oncall", "task_type": "deploy", "complexity": "high", "entry_point": "false", "skill_class": "capability", "when_to_use": "Invoke when the user wants to create an Amazon Managed Grafana workspace, configure data sources (CloudWatch, AMP, Timestream, OpenSearch, X-Ray), build dashboard JSON models with panels and templating variables, set up alerting rules and notification policies, integrate AMP workspaces, or adopt Grafana Enterprise features (Incident, OnCall). Do NOT invoke for self-managed Grafana on EC2/EKS, Prometheus configuration, or CloudWatch dashboard creation (use deploy-cloudwatch-dashboard).", "dependencies": "aws-orchestrator", "requires_llm": "true", "verdict_shape": "READY_TO_DEPLOY | PREREQUISITES_MISSING", "lifecycle_status": "active", "supports_pipeline": "true", "activation_triggers": "create grafana workspace, deploy grafana dashboard, grafana data source, grafana cloudwatch, grafana prometheus, grafana amp, grafana timestream, grafana opensearch, grafana x-ray, grafana alerting, grafana notification policy, grafana contact point, grafana enterprise, grafana incident, grafana oncall, grafana iam role" }
description
Provisions Amazon Managed Grafana workspaces and dashboards with production defaults: workspace creation (authentication via SSO or IAM Identity Center), data sources (CloudWatch, Prometheus/AMP, Timestream, OpenSearch, X-Ray), dashboard JSON model (panels, templating variables, time range), alerting (alert rules, notification policies, contact points), IAM role for data source access, AMP workspace integration, and latest features (Grafana Enterprise, Incident, OnCall). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Grafana workspace, adding data sources, building dashboards, configuring alerting, or integrating AMP. Triggers: create Grafana workspace, Grafana dashboard, Grafana data source, Grafana alerting, AMP integration, Grafana Enterprise, Grafana Incident.
compatibility
Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with grafana, amps, iam, ec2, cloudwatch, timestream, opensearch, and xray access. Works with Terraform aws_grafana_workspace / aws_grafana_workspace_api_key / aws_prometheus_workspace resources and CloudFormation AWS::Grafana::Workspace templates.

02 资源文件 18

03 SKILL.md 正文

Grafana Dashboard Deployer

What this skill does

Provisions Amazon Managed Grafana workspaces and dashboards with production-grade defaults across five core domains: workspace creation with authentication (SSO/IAM Identity Center), data source integration (CloudWatch, AMP/Prometheus, Timestream, OpenSearch, X-Ray), dashboard JSON model design (panels, templating, time range), alerting (rules, notification policies, contact points), and IAM role configuration for data source access. Emits a READY_TO_DEPLOY checklist with copy-pasteable verification commands.

Activation keywords

create Grafana workspace, Grafana dashboard, Grafana data source, CloudWatch data source, Prometheus data source, AMP workspace, Timestream data source, OpenSearch data source, X-Ray data source, Grafana alerting, alert rules, notification policy, contact point, IAM Identity Center, SSO authentication, Grafana Enterprise, Grafana Incident, Grafana OnCall, IAM role for Grafana, workspace API key, service managed IAM role.

Invocation contract (hard requirement)

When this skill is invoked with a Grafana-provisioning request (workspace name, authentication mode, data sources, dashboard requirements, or a partial configuration), the agent MUST respond with the READY_TO_DEPLOY checklist defined in the section "Output format" using the literal all-caps labels WORKSPACE:, VERDICT:, CHECKLIST:, and VERIFICATION_COMMANDS:. Do NOT preface the checklist with prose, headings, or disclaimers — emit the block as the first lines of the response. This contract is what assertion-based evals and downstream provisioning pipelines rely on; deviating from the literal labels breaks automation silently.

Mindset

One-line takeaway: an Amazon Managed Grafana workspace is not just "Grafana on AWS" — it is a managed integration boundary where the authentication mode (IAM Identity Center vs SAML), the data source IAM role (service-managed vs customer-managed), and the Grafana version (Standard vs Enterprise) are decided at workspace creation and cannot all be changed in place.

Three misconceptions dominate Grafana workspace misdesign at provisioning time:

  • "I can switch authentication modes after creation." The authentication mode is set at workspace creation via authenticationProviders. Switching from SAML to IAM Identity Center (or vice versa) requires recreating the workspace. Plan the authentication strategy before calling create-workspace.

  • "Data sources just need a URL — IAM handles the rest." Managed Grafana data sources require either a service-managed IAM role (Grafana creates and manages it) or a customer-managed IAM role with specific read permissions for each data source service (CloudWatch, AMP, Timestream, etc.). Without the correct IAM role permissions, data sources return permission errors on every query.

  • "Alerting is just Grafana's built-in alert manager." Managed Grafana alerting has three layers that must all be configured: alert rules (the condition), notification policies (the routing), and contact points (the destination). Missing any layer means alerts fire but go nowhere, or contact points exist but nothing routes to them.

Quick navigation

Section What it covers When to read it
Quick reference Deployment checklist + workspace decision gate Before any deployment
§ Mindset Authentication immutability, IAM role gap, alerting layers Understanding the model
§ Prerequisites IAM Identity Center, AMP workspace, VPC, data source roles Before producing the plan
§ Workspace selection Standard vs Enterprise decision matrix Choosing the right tier
§ Provisioning procedure 10-step deploy: workspace, auth, data sources, dashboard, alerting, IAM, AMP, Enterprise When building the deploy plan
§ Common patterns Boilerplate for workspace, CloudWatch, AMP, dashboard JSON, alerting Boilerplate lookup
§ Output format Structured output template with VERDICT, CHECKLIST, VERIFICATION_COMMANDS Formatting the response
§ STRICT output contract Required structure + FORBIDDEN patterns Validating the output
§ NEVER Top 5 anti-patterns Review before risky operations
§ Expert heuristic Data source selection + dashboard panel layout strategy Design decisions

Quick reference — deployment checklist

Dimension Requirement Step
Workspace name Globally unique Step 1
Authentication IAM Identity Center (recommended) or SAML Step 1
Grafana version Standard or Enterprise Step 1
IAM role Service-managed (auto) or customer-managed (custom) Step 2
Data source: CloudWatch IAM role with cloudwatch:GetMetricData, logs:DescribeLogGroups Step 3
Data source: AMP AMP workspace ARN + IAM role with aps:QueryMetrics Step 3
Data source: Timestream IAM role with timestream:Select Step 3
Data source: OpenSearch OpenSearch endpoint + IAM role with es:ESHttpGet Step 3
Data source: X-Ray IAM role with xray:GetTraceSummaries Step 3
Dashboard JSON Panels, templating variables, time range, datasource ref Step 4
Alert rules Condition, evaluation interval, for duration Step 5
Notification policies Routing by labels/severity Step 5
Contact points SNS, Slack, email, PagerDuty, webhook Step 5
AMP workspace Exists and is ACTIVE (if using Prometheus data source) Step 6
Enterprise features Incident, OnCall, reporting, SAML team sync Step 7

Prerequisites (verify before provisioning)

Before emitting provisioning commands, verify these prerequisites. If any are missing, the verdict is PREREQUISITES_MISSING with a specific gap citation.

Prerequisite Why it matters How to verify
AWS account with Grafana access Cannot provision without it aws sts get-caller-identity
Region selected Managed Grafana is region-scoped aws configure get region
IAM Identity Center enabled (for SSO) Recommended auth mode; avoids separate SAML setup aws sso-admin list-instances
AMP workspace ACTIVE (if Prometheus data source) Grafana queries the AMP workspace via remote read aws amps list-workspaces
OpenSearch domain ACTIVE (if OpenSearch data source) Grafana queries via the domain endpoint aws opensearch list-domain-names
KMS key (for workspace encryption) Grafana workspace data encryption aws kms describe-key --key-id <key-id>
VPC + subnets (for VPC-attached data sources) Private networking to internal data sources aws ec2 describe-subnets
SNS topic (for alert contact points) Grafana alert notifications via SNS aws sns list-topics

If any prerequisite is missing, output VERDICT: PREREQUISITES_MISSING and cite the specific gap.

Workspace tier selection (Standard vs Enterprise)

Tier Key features Cost Use when
Standard Core Grafana, 5 data source types, basic alerting, IAM Identity Center auth Lower Most observability workloads, team-level dashboards
Enterprise All Standard + Enterprise plugins, SAML, team sync from IdP, reporting, Incident, OnCall, audit logs Higher Enterprise SSO, on-call management, compliance reporting, incident response

Immutability note: the Grafana version (Standard vs Enterprise) is set at workspace creation via the grafanaVersion or license type. Upgrading from Standard to Enterprise is supported via AWS support ticket; plan the tier before creating the workspace.

10-step provisioning procedure

Step 1 — Workspace creation + authentication

The workspace is the top-level resource. Authentication mode is decided here and is difficult to change post-creation.

aws grafana create-workspace \
  --workspace-name <workspace-name> \
  --account-access-type CURRENT_ACCOUNT \
  --authentication-providers AWS_SSO \
  --permission-type SERVICE_MANAGED \
  --data-sources CLOUDWATCH PROMETHEUS XRAY \
  --grafana-version 10.4 \
  --description "Production observability workspace"

Authentication providers:

  • AWS_SSO — IAM Identity Center (recommended). Integrates with corporate IdP via SAML or external IdP providers.
  • SAML — direct SAML 2.0 integration (requires SAML metadata URL/JSON).

Permission types:

  • SERVICE_MANAGED — Grafana manages IAM roles for data sources automatically. Simpler but less control over permissions.
  • CUSTOMER_MANAGED — you provide a customer-managed IAM role with explicit permissions per data source. Required for fine-grained access control and compliance.

Common mistake: choosing SERVICE_MANAGED for a compliance workload. Service-managed roles grant broad read across all data sources of the configured types. For compliance (least-privilege), use CUSTOMER_MANAGED.

Step 2 — IAM role for data source access

Service-managed (auto-created): Grafana creates an IAM role with permissions scoped to the configured data source types. No manual IAM configuration needed.

Customer-managed role trust/inline policy JSON and the workspace role-association commands moved verbatim to references/provisioning-cli-commands.md (Step 2 section). Load on demand when emitting the IAM role portion of a CUSTOMER_MANAGED deployment plan.

Step 3 — Data source configuration

Managed Grafana supports five native AWS data source types. Each requires specific configuration in the Grafana workspace.

CloudWatch (enabled via --data-sources CLOUDWATCH):

  • Regions: specify which AWS regions to query
  • Namespaces: CloudWatch metric namespaces (e.g., AWS/EC2, AWS/Lambda)
  • Log groups: optional, for CloudWatch Logs queries

Prometheus / AMP (enabled via --data-sources PROMETHEUS):

  • AMP workspace ARN: the Prometheus workspace to query
  • Requires IAM role with aps:QueryMetrics on the AMP workspace
# Create AMP workspace (if not existing)
aws amps create-workspace \
  --workspace-name <amp-name> \
  --alias <amp-alias>

# Get AMP workspace ID for Grafana data source config
aws amps describe-workspace --workspace-id <amp-id>

Timestream (enabled via --data-sources TIMESTREAM):

  • Database/table selection via Grafana query editor
  • Requires IAM role with timestream:Select and timestream:DescribeEndpoints

OpenSearch (enabled via --data-sources OPENSEARCH):

  • OpenSearch domain endpoint URL
  • Requires IAM role with es:ESHttpGet on the domain

X-Ray (enabled via --data-sources XRAY):

  • Service map and trace visualization
  • Requires IAM role with xray:GetTraceSummaries and xray:GetTraceGraph

Common mistake: adding a data source type in Grafana without the matching IAM permission. The data source appears configured but returns permission errors on every query. Verify IAM role includes the specific read actions for each data source.

Step 4 — Dashboard JSON model (panels, templating, time range)

Grafana dashboards are JSON documents. The dashboard JSON model defines panels, templating variables, time range, annotations, and refresh rate.

Dashboard JSON structure, templating-variable guidance, panel-type table, and API import commands moved verbatim to references/data-sources-and-dashboard-json.md (Step 4 section). Load on demand when authoring or importing dashboard JSON.

Step 5 — Alerting (rules, notification policies, contact points)

Grafana alerting has three layers that must all be configured:

Alert rules — the condition that triggers an alert. Defines the metric query, threshold, evaluation interval, and for duration:

{
  "uid": "cpu-high", "title": "CPU Utilization High",
  "condition": "B",
  "data": [
    {"refId":"A","datasourceUid":"cloudwatch-uid","model":{"namespace":"AWS/EC2","metricName":"CPUUtilization","statistics":["Average"]}},
    {"refId":"B","model":{"expression":"$A > 85","type":"threshold"}}
  ],
  "for": "5m",
  "labels": {"severity":"warning","team":"platform"}
}

Notification policies — route alert instances to contact points by label matchers (severity, team, etc.):

{
  "routes": [
    {"receiver":"sns-platform","object_matchers":[["team","=","platform"]]},
    {"receiver":"sns-critical","object_matchers":[["severity","=","critical"]]}
  ]
}

Contact points — the notification destination (SNS, Slack, email, PagerDuty, webhook):

{"name":"sns-platform","type":"sns","settings":{"topic":"arn:aws:sns:us-east-1:123456789012:grafana-alerts","authProvider":"aws_iam","region":"us-east-1"}}

Common mistake: creating alert rules without notification policies or contact points. The rule fires but no notification is sent — the alert shows as "firing" in the Grafana UI but nothing reaches the on-call team. Configure all three layers.

Step 6 — AMP workspace integration

AMP workspace creation, remote-write source list, and ACTIVE-status verification moved verbatim to references/data-sources-and-dashboard-json.md (Step 6 section). Load on demand when wiring the Prometheus data source to AMP.

Step 7 — Grafana Enterprise features (Incident, OnCall)

Enterprise workspace creation command, Incident/OnCall capability notes, and SAML team sync moved verbatim to references/advanced-patterns.md. Load on demand when the workspace tier is Enterprise.

Common patterns (boilerplate)

Boilerplate snippets (production workspace, customer-managed IAM role, AMP + dashboard import) moved verbatim to references/provisioning-cli-commands.md. Load on demand when emitting copy-paste deployment commands.

NEVER do these things (top 5)

  1. NEVER create a Managed Grafana workspace without deciding the authentication mode first. Switching from SAML to IAM Identity Center (or vice versa) requires recreating the workspace. Plan auth before create-workspace. IAM Identity Center (AWS_SSO) is the recommended default.

  2. NEVER use SERVICE_MANAGED permission type for compliance workloads. Service-managed roles grant broad read across all data sources of the configured types. For least-privilege and compliance (PCI-DSS, HIPAA, SOC2), use CUSTOMER_MANAGED with an explicit IAM role policy scoped to specific resources.

  3. NEVER configure alert rules without notification policies and contact points. A rule without a notification policy fires but goes nowhere. A notification policy without a contact point routes to nothing. Configure all three layers: rule -> policy -> contact.

  4. NEVER query an AMP workspace before verifying it is ACTIVE and receiving metrics. The AMP workspace must be ACTIVE and the remote write source must be sending data. Querying an empty AMP workspace returns no results — not an error — leading to false confidence that the integration is working.

  5. NEVER hardcode dashboard data sources. Use templating variables ($datasource) so dashboards work across environments and regions. Hardcoded data source UIDs break when importing dashboards across workspaces or environments.

Expert heuristic: data source selection and dashboard layout

DATA SOURCE SELECTION
   ├─ CloudWatch metrics (AWS native)
   │    └─ Namespace: AWS/EC2, AWS/Lambda, AWS/RDS, AWS/ApplicationELB
   │         • Pros: zero setup, all AWS services
   │         • Cons: 1-minute resolution (high-res is 10s with detailed monitoring)
   │         • Best for: AWS infrastructure monitoring
   │
   ├─ AMP/Prometheus (custom + application metrics)
   │    └─ Remote write from app, CloudWatch agent, OTel collector
   │         • Pros: high-resolution (15s or better), PromQL, custom labels
   │         • Cons: requires remote write pipeline setup
   │         • Best for: application metrics, Kubernetes, custom exporters
   │
   ├─ Timestream (high-volume time-series)
   │    └─ IoT, DevOps, application events
   │         • Pros: petabyte-scale, SQL queries, cost-effective at high volume
   │         • Cons: SQL (not PromQL), different query model
   │         • Best for: IoT telemetry, high-cardinality event data
   │
   ├─ OpenSearch (log analytics)
   │    └─ Log queries, full-text search, aggregation
   │         • Pros: Lucene/PPL queries, aggregation pipelines
   │         • Cons: separate from CloudWatch Logs
   │         • Best for: centralized log analytics with OpenSearch
   │
   └─ X-Ray (distributed tracing)
        └─ Service maps, trace waterfalls, latency breakdown
         • Pros: AWS-native tracing, no separate collector needed
         • Cons: limited to instrumented apps with X-Ray SDK
         • Best for: microservices tracing on ECS/EKS/Lambda

DASHBOARD LAYOUT (3-tier pattern)
   Tier 1 (Row 1): Status overview — stat panels (KPIs, health checks)
   Tier 2 (Row 2): Time-series trends — CPU, latency, throughput
   Tier 3 (Row 3): Detail tables — top-N instances, error logs, traces
   ── Use row collapses to keep the dashboard scannable
   ── Use templating variables ($region, $service, $datasource)
   ── Set refresh: 30s for operational, 5m for executive overview

Output format

WORKSPACE: <workspace-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
CHECKLIST:
  [✓|✗] Workspace: <name>, version: <10.4 | 11.0> (Standard | Enterprise)
  [✓|✗] Authentication: AWS_SSO (IAM Identity Center) | SAML
  [✓|✗] Permission type: SERVICE_MANAGED | CUSTOMER_MANAGED
  [✓|✗] IAM role: <role-name> (CloudWatch + AMP + X-Ray read access)
  [✓|✗] Data source: CloudWatch (regions: <list>)
  [✓|✗] Data source: AMP/Prometheus (workspace: <amp-id>, status: ACTIVE)
  [✓|✗] Data source: Timestream (database: <name>)
  [✓|✗] Data source: OpenSearch (domain: <name>)
  [✓|✗] Data source: X-Ray
  [✓|✗] Dashboard: <title> (<N> panels, templating: <list>)
  [✓|✗] Alert rules: <N> rules (evaluation interval: <N>s, for: <N>m)
  [✓|✗] Notification policies: <N> routes (by: severity, team)
  [✓|✗] Contact points: <list> (SNS, Slack, email)
  [✓|✗] VPC config: <subnet-ids, sg-ids> | Public
  [✓|✗] Tags: <list>
VERIFICATION_COMMANDS:
  aws grafana describe-workspace --workspace-id <id>
  aws grafana list-workspaces
  aws amps describe-workspace --workspace-id <amp-id>
  aws iam get-role --role-name GrafanaDataSourceRole

Worked example — production observability with CloudWatch + AMP + X-Ray

WORKSPACE: prod-observability
VERDICT: READY_TO_DEPLOY
CHECKLIST:
  [✓] Workspace: prod-observability, version: 10.4 (Standard)
  [✓] Authentication: AWS_SSO (IAM Identity Center)
  [✓] Permission type: CUSTOMER_MANAGED
  [✓] IAM role: GrafanaDataSourceRole (cloudwatch:GetMetricData, aps:QueryMetrics, xray:GetTraceSummaries)
  [✓] Data source: CloudWatch (regions: us-east-1, us-west-2)
  [✓] Data source: AMP/Prometheus (workspace: ws-abc123, status: ACTIVE)
  [✓] Data source: X-Ray
  [✓] Dashboard: Production Overview (12 panels, templating: $datasource, $region)
  [✓] Alert rules: 5 rules (evaluation: 60s, for: 5m)
  [✓] Notification policies: 2 routes (severity=critical -> sns-critical, team=platform -> sns-platform)
  [✓] Contact points: SNS (arn:aws:sns:us-east-1:123456789012:grafana-alerts)
  [✓] Tags: Environment=production, Workload=observability
VERIFICATION_COMMANDS:
  aws grafana describe-workspace --workspace-id g-abc123
  aws amps describe-workspace --workspace-id ws-abc123
  aws iam get-role --role-name GrafanaDataSourceRole

STRICT output contract

Required output structure

Every response MUST begin with this block — no preamble, no conversational opening:

WORKSPACE: <workspace-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
CHECKLIST:
  [✓|✗] <check description>
VERIFICATION_COMMANDS:
  <aws grafana / amps / iam commands>

FORBIDDEN output patterns

  • NEVER start with conversational preamble. The WORKSPACE/VERDICT block is the FIRST line, always. Use uppercase verdict values only (READY_TO_DEPLOY, PREREQUISITES_MISSING).
  • NEVER omit the CHECKLIST — every dimension (workspace, auth, permission type, IAM role, data sources, dashboard, alerting layers, tags) must appear with a pass/fail marker.
  • NEVER recommend SERVICE_MANAGED permission type for compliance workloads without flagging it as a WARN finding (broad read access).
  • NEVER list a CLI command with placeholder flags in a READY_TO_DEPLOY plan — every flag must be populated with actual values from the input.
  • NEVER recommend a dashboard with hardcoded data source UIDs without flagging the portability risk across workspaces.

Recent AWS features (2024-2026)

2024-2026 feature notes (Grafana 11.x, Enterprise on AWS, AMP cross-account, IoT SiteWise, API-key automation, SNS alerting, VPC config) moved verbatim to references/advanced-patterns.md. Load on demand when a request references recent features or versions.

References (load on demand)

Domain

AWS CloudOps / Amazon Managed Grafana Workspace Provisioning, Data Source Integration, Dashboard Design, and Alerting.

AWS documentation

04 同仓库更多 Skills

jhkchan
jhkchan/aws-agent-skills

xray-tracing-deployer

Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL / method / service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry / ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS / EKS / Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.

★ 4
jhkchan
jhkchan/aws-agent-skills

wellarchitected-workload-auditor

Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.

★ 4
jhkchan
jhkchan/aws-agent-skills

wellarchitected-review-operator

Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer / get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.

★ 4
jhkchan
jhkchan/aws-agent-skills

wafv2-web-acl-deployer

Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB/API Gateway/CloudFront, or configuring CAPTCHA/Challenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.

★ 4
jhkchan
jhkchan/aws-agent-skills

wafv2-web-acl-auditor

Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow/bypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.

★ 4
jhkchan
jhkchan/aws-agent-skills

waf-rule-deployer

Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.

★ 4