[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9FBNJKMNXBSH3XG56X88Z":3,"skill-same:01M7A9FBNJKMNXBSH3XG56X88Z":146},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M7A9FBNJKMNXBSH3XG56X88Z","kinesis-stream-deployer",null,"Provisions Amazon Kinesis Data Streams with production defaults: stream creation (shard count, stream mode provisioned vs on-demand), enhanced fan-out (consumer registration, SubscribeToShard), server-side encryption (KMS CMK, key policy, aws\u002Fkinesis alias), resource-level IAM policies (PutRecord, GetRecords, SubscribeToShard), and CloudWatch monitoring (IteratorAgeMilliseconds, WriteProvisionedThroughputExceeded). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Kinesis data stream, switching stream mode to on-demand, registering enhanced fan-out consumers, enabling SSE-KMS encryption, sizing shard count for throughput, or wiring CloudWatch alarms for iterator age and throttling. Triggers: create kinesis stream, kinesis on-demand capacity, kinesis enhanced fan-out, kinesis SSE-KMS, kinesis shard count, kinesis IAM policy, kinesis CloudWatch iterator age, SubscribeToShard consumer, kinesis throughput provisioning.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: kinesis-stream-deployer\ndescription: 'Provisions Amazon Kinesis Data Streams with production defaults: stream creation (shard count, stream mode provisioned vs on-demand), enhanced fan-out (consumer registration, SubscribeToShard), server-side encryption (KMS CMK, key policy, aws\u002Fkinesis alias), resource-level IAM policies (PutRecord, GetRecords, SubscribeToShard), and CloudWatch monitoring (IteratorAgeMilliseconds, WriteProvisionedThroughputExceeded). Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a Kinesis data stream, switching stream mode to on-demand, registering enhanced fan-out consumers, enabling SSE-KMS encryption, sizing shard count for throughput, or wiring CloudWatch alarms for iterator age and throttling. Triggers: create kinesis stream, kinesis on-demand capacity, kinesis enhanced fan-out, kinesis SSE-KMS, kinesis shard count, kinesis IAM policy, kinesis CloudWatch iterator age, SubscribeToShard consumer, kinesis throughput provisioning.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with kinesis, iam, kms, and cloudwatch access. Works with Terraform aws_kinesis_stream \u002F aws_kinesis_stream_consumer resources and CloudFormation AWS::Kinesis::Stream \u002F AWS::Kinesis::StreamConsumer templates.'\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Analytics\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: aws, kinesis, kinesis-data-streams, cloudops, deploy, analytics, provisioning, stream-mode, on-demand, enhanced-fanout, sse-kms, iam, cloudwatch\n  dependencies: aws-orchestrator\n  keywords: aws, kinesis, kinesis data streams, cloudops, deploy, provisioning, stream mode, on-demand, provisioned, shard count, enhanced fan-out, subscribe to shard, sse-kms, server-side encryption, kms, iam policy, resource-level iam, cloudwatch, iterator age, throughput exceeded, put record, get records, stream consumer\n  when_to_use: Invoke when the user wants to create an Amazon Kinesis Data Stream, choose between provisioned (shard-based) and on-demand capacity mode, register enhanced fan-out consumers for dedicated read throughput, enable server-side encryption with KMS, define resource-level IAM policies for producer\u002Fconsumer applications, or set up CloudWatch monitoring for iterator age and write throttling. Do NOT invoke for Kinesis Data Firehose delivery streams (use firehose skills), Kinesis Video Streams, or auditing existing stream configurations (use kinesis-stream-auditor).\n---\n\n# Kinesis Stream Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Kinesis Data Streams\nwith correct defaults. The skill walks the operator through stream mode\nselection, shard sizing, enhanced fan-out consumers, encryption, IAM,\nand monitoring, captures throughput and consumer decisions, explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with copy-\npasteable verification commands.\n\n## Activation keywords\n\ncreate Kinesis stream, Kinesis on-demand capacity, Kinesis enhanced\nfan-out, Kinesis SSE-KMS, Kinesis shard count, Kinesis IAM policy,\nKinesis CloudWatch iterator age, SubscribeToShard consumer, Kinesis\nthroughput provisioning, Kinesis stream mode.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Kinesis-stream-provisioning request\n(stream creation, capacity mode, consumer registration, encryption, IAM,\nmonitoring, or a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the \"Output format\" section using\nthe literal all-caps labels `KINESIS_STREAM:`, `VERDICT:`, `CHECKLIST:`,\nand `VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Stream mode: provisioned vs on-demand | Capacity model |\n| Step 2 — Shard count sizing (provisioned mode) | Throughput planning |\n| Step 3 — Stream creation (CLI, SDK, IaC) | Provisioning step |\n| Step 4 — Enhanced fan-out consumers | Dedicated read throughput |\n| Step 5 — Server-side encryption (KMS) | Encryption |\n| Step 6 — Resource-level IAM policies | Producer \u002F consumer permissions |\n| Step 7 — CloudWatch monitoring | Iterator age, throttling, alarms |\n| Step 8 — Stream ARN resource policies | Cross-account access control |\n| Step 9 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fstream-mode-and-scaling.md | Capacity mode + auto-scaling detail |\n| references\u002Fiam-and-encryption.md | IAM policies + SSE-KMS detail |\n\n## Mindset\n\n**One-line takeaway:** Kinesis Data Streams is a managed real-time data\ningestion service. The capacity model (provisioned shards vs on-demand)\nis the foundational decision — it determines cost, scaling behavior, and\nthroughput limits. Enhanced fan-out gives dedicated 2 MiB\u002Fsec read\nthroughput per consumer without contending with other readers.\n\nDeep-dives moved verbatim to `references\u002Fadvanced-patterns.md`:\nmisconceptions, dependency graph, cost crossover, fan-out model, IteratorAge.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Kinesis access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Kinesis streams are regional | `aws configure get region` |\n| Stream name identified | Unique per account-region; 1-128 chars | Confirm naming convention |\n| Stream mode decision | Determines cost model, scaling, shard relevance | Assess traffic pattern |\n| Shard count (if provisioned) | Write throughput: 1 MiB\u002Fsec or 1,000 records\u002Fsec per shard | Estimate peak write throughput |\n| KMS key (if SSE-KMS) | CMK requires key policy permitting Kinesis service | `aws kms describe-key` |\n| IAM principal for producer | Needs `kinesis:PutRecord` \u002F `PutRecords` on stream ARN | Confirm producer role |\n| IAM principal for consumer | Needs `GetRecords`+`GetShardIterator` or `SubscribeToShard` | Confirm consumer role |\n| Consumer count estimate | Determines enhanced fan-out need (max 20 per stream) | List downstream consumers |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Stream mode: provisioned vs on-demand\n\nThe first decision is the capacity model: provisioned (shard-based) or\non-demand (automatic scaling).\n\n**Decision tree:**\n\n```text\nIs the write throughput predictable and steady?\n├── YES, and > ~2-3 MiB\u002Fsec sustained\n│   → PROVISIONED mode (cheaper at scale; size shard count to throughput)\n│\n├── NO — bursty, unpredictable, or unknown\n│   → ON_DEMAND mode (auto-scales; no shard management)\n│\n└── UNKNOWN — new workload, no traffic data\n    → Start ON_DEMAND, switch to PROVISIONED after 2-4 weeks of data\n```\n\n| Feature | Provisioned | On-demand |\n|---|---|---|\n| Capacity management | Manual (update-shard-count) | Automatic |\n| Write throughput | 1 MiB\u002Fsec or 1,000 records\u002Fsec per shard | Auto-scales |\n| Read throughput | 2 MiB\u002Fsec per shard (shared or enhanced) | Same per-shard; stream auto-scales |\n| Cost model | Per shard-hour | Per stream-hour + per GB ingested |\n| Cost at low volume | Higher (pay for idle shards) | Lower (pay per GB) |\n| Cost at high volume | Lower (flat per-shard) | Higher (per-GB scales linearly) |\n| Scaling downtime | Brief (shard split\u002Fmerge) | None (automatic) |\n\n## Step 2 — Shard count sizing (provisioned mode)\n\nSKIPPED for on-demand mode. Shard count determines write and read\nthroughput.\n\n| Dimension | Limit per shard |\n|---|---|\n| Write data throughput | 1 MiB\u002Fsec |\n| Write record count | 1,000 records\u002Fsec |\n| Read (shared GetRecords) | 2 MiB\u002Fsec total |\n| Read (enhanced fan-out) | 2 MiB\u002Fsec per consumer |\n| Max record size | 1 MiB |\n\n**Sizing formula:**\n\n```text\nshard_count = max(\n  ceil(write_mib_per_sec \u002F 1),\n  ceil(write_records_per_sec \u002F 1000)\n)\n```\n\nAlways round UP. Consider the record count limit (small frequent records\nhit 1,000 records\u002Fsec before 1 MiB\u002Fsec). Add 20-30% headroom for spikes.\nUse `update-shard-count` to scale (provisioned only).\n\n## Step 3 — Stream creation\n\n**Provisioned stream:**\n\n```bash\naws kinesis create-stream \\\n  --stream-name my-data-stream \\\n  --shard-count 5 \\\n  --stream-mode-details StreamMode=PROVISIONED \\\n  --region us-east-1\n```\n\n**On-demand stream:**\n\n```bash\naws kinesis create-stream \\\n  --stream-name my-data-stream \\\n  --stream-mode-details StreamMode=ON_DEMAND \\\n  --region us-east-1\n```\n\n`--shard-count` is IGNORED when `StreamMode=ON_DEMAND`. Do not specify it.\n\n**Wait for ACTIVE:**\n\n```bash\naws kinesis wait stream-exists --stream-name my-data-stream --region us-east-1\naws kinesis describe-stream-summary \\\n  --stream-name my-data-stream \\\n  --query 'StreamDescriptionSummary.StreamStatus' --output text --region us-east-1\n# Expected: ACTIVE\n```\n\n**Set retention period (default 24 hours):**\n\n```bash\naws kinesis increase-stream-retention-period \\\n  --stream-name my-data-stream --retention-period-hours 168 --region us-east-1\n```\n\n**Common mistake:** using the stream before it is ACTIVE. Takes 1-2\nminutes. Use `wait stream-exists`.\n\n## Step 4 — Enhanced fan-out consumers\n\nEnhanced fan-out gives each registered consumer a dedicated 2 MiB\u002Fsec\nread throughput via SubscribeToShard (HTTP\u002F2 push).\n\n```bash\naws kinesis register-stream-consumer \\\n  --stream-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Fmy-data-stream \\\n  --consumer-name my-enhanced-consumer --region us-east-1\n```\n\n**Limits:** max 20 consumers per stream (soft limit). Consumer name\nunique per stream. Consumer must use SubscribeToShard API (not\nGetRecords).\n\n**Deregister (cleanup):**\n\n```bash\naws kinesis deregister-stream-consumer \\\n  --consumer-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Fmy-data-stream\u002Fconsumer\u002Fmy-enhanced-consumer:1620000000 \\\n  --region us-east-1\n```\n\n**Common mistake:** registering a consumer but the application uses\nstandard GetRecords. Enhanced fan-out requires SubscribeToShard (via KCL\nenhanced fan-out config or direct HTTP\u002F2 API).\n\n## Step 5 — Server-side encryption (KMS)\n\nSSE-KMS encrypts data at rest using a CMK or AWS-managed key\n(`alias\u002Faws\u002Fkinesis`). Full KMS key creation and key policy details in\n`references\u002Fiam-and-encryption.md`.\n\n**Enable SSE-KMS (AWS-managed key):**\n\n```bash\naws kinesis start-stream-encryption \\\n  --stream-name my-data-stream --encryption-type KMS \\\n  --key-id alias\u002Faws\u002Fkinesis --region us-east-1\n```\n\n**Enable SSE-KMS (customer-managed key — recommended):**\n\n```bash\naws kinesis start-stream-encryption \\\n  --stream-name my-data-stream --encryption-type KMS \\\n  --key-id alias\u002Fkinesis\u002Fmy-data-stream --region us-east-1\n```\n\n**Key policy requirement:** the CMK policy MUST allow\n`kinesis.amazonaws.com` to call `kms:GenerateDataKey` and `kms:Decrypt`.\nWithout this, PutRecord\u002FGetRecords fail with KMS access errors. See\n`references\u002Fiam-and-encryption.md` for the full key policy statement.\n\nProducers and consumers also need `kms:GenerateDataKey` and\n`kms:Decrypt` in their IAM policies when using a CMK.\n\n## Step 6 — Resource-level IAM policies\n\nKinesis supports resource-level IAM: producer and consumer policies\nreference the stream ARN. Full policy JSON templates are in\n`references\u002Fiam-and-encryption.md`.\n\n**Producer requires:** `kinesis:PutRecord`, `kinesis:PutRecords`,\n`kinesis:DescribeStream`, `kinesis:DescribeStreamSummary` on the stream\nARN.\n\n**Standard consumer requires:** `kinesis:GetRecords`,\n`kinesis:GetShardIterator`, `kinesis:DescribeStream`,\n`kinesis:DescribeStreamSummary`, `kinesis:ListShards` on the stream ARN.\n\n**Enhanced fan-out consumer requires:** `kinesis:SubscribeToShard`,\n`kinesis:DescribeStream`, `kinesis:DescribeStreamSummary`,\n`kinesis:ListShards` on BOTH the stream ARN AND the consumer ARN\n(`stream\u002F\u003Cname>\u002Fconsumer\u002F*`).\n\n**With SSE-KMS (CMK):** add `kms:GenerateDataKey` and `kms:Decrypt` on\nthe KMS key ARN to both producer and consumer policies.\n\n**Common mistakes:**\n- Granting `kinesis:*` on `*` (over-broad) instead of specific actions\n  on the stream ARN.\n- Forgetting `kinesis:DescribeStream` — without it, the consumer\u002FKCL\n  cannot discover shards and fails silently.\n- Enhanced fan-out consumer missing the consumer ARN in Resource.\n\n## Step 7 — CloudWatch monitoring\n\nThe two most critical alarms are IteratorAgeMilliseconds (consumer lag)\nand WriteProvisionedThroughputExceeded (write throttling).\n\nFull `put-metric-alarm` command listings moved verbatim to\n`references\u002Fdiagnostic-commands.md` (load on demand).\n\n| Metric | What it tells you | Healthy threshold |\n|---|---|---|\n| `GetRecords.IteratorAgeMilliseconds` | Consumer lag | \u003C 300,000 ms (5 min) |\n| `WriteProvisionedThroughputExceeded` | Write throttling (provisioned) | 0 |\n| `PutRecord.Success` \u002F `PutRecords.Success` | Write success rate | > 99% |\n| `GetRecords.Success` | Read success rate | > 99% |\n\n**Common mistake:** setting IteratorAge threshold without considering\nthe retention period. If retention is 1 hour, a 1-hour IteratorAge means\ndata loss is imminent.\n\n## Step 8 — Stream ARN resource policies\n\nResource-policy detail and `put-resource-policy` example moved verbatim to\n`references\u002Fadvanced-patterns.md` (load on demand).\n\n## Step 9 — Recent features\n\nRecent-feature details moved verbatim to `references\u002Fadvanced-patterns.md`\n(load on demand).\n\n## NEVER do these things\n\n1. **NEVER specify shard count for on-demand streams and expect it to\n   matter.** `--shard-count` is IGNORED when `StreamMode=ON_DEMAND`. The\n   stream auto-scales; shard count is irrelevant.\n\n2. **NEVER grant `kinesis:*` on `*` in IAM policies.** Use resource-\n   level permissions with the specific stream ARN and specific actions.\n   Over-broad policies violate least-privilege.\n\n3. **NEVER skip the IteratorAgeMilliseconds CloudWatch alarm.** Without\n   it, a consumer falling behind goes undetected until data is lost.\n   This is the #1 cause of silent data loss in Kinesis pipelines.\n\n4. **NEVER use a CMK for SSE-KMS without a key policy permitting the\n   Kinesis service principal.** PutRecord and GetRecords fail with KMS\n   access denied. The key policy MUST allow `kinesis.amazonaws.com` to\n   call `kms:GenerateDataKey` and `kms:Decrypt`.\n\n5. **NEVER assume enhanced fan-out is free.** Enhanced fan-out charges a\n   data-retrieval fee per consumer-shard-hour. For a 10-shard stream\n   with 5 enhanced consumers, that is 50 consumer-shard-hours per hour.\n   Use standard GetRecords for cost-sensitive, latency-tolerant\n   consumers.\n\n6. **NEVER forget `kinesis:DescribeStream` in consumer IAM policies.**\n   Without it, the consumer (or KCL) cannot discover shard information\n   and fails to start.\n\n7. **NEVER set retention period lower than the consumer's max downtime.**\n   If a consumer can be down for 4 hours, retention MUST be at least 4\n   hours. Otherwise data is permanently lost during an outage.\n\n8. **NEVER switch stream modes frequently.** Mode switching is throttled\n   to once per 15 minutes and the cost model changes fundamentally.\n\n9. **NEVER use `update-shard-count` to scale by more than 2x in a single\n   operation.** Large changes cause brief throughput disruption. Scale\n   incrementally.\n\n10. **NEVER assume WriteProvisionedThroughputExceeded is benign.** Any\n    non-zero value means records are being throttled. Scale up or switch\n    to on-demand mode.\n\n## Output format\n\n```text\nKINESIS_STREAM: \u003Cstream-name> (\u003Cstream-arn>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Stream name: \u003Cstream-name>\n  [✓|✗] Stream mode: PROVISIONED | ON_DEMAND\n  [✓|✗] Shard count: \u003Cn> (provisioned only — ignored if on-demand)\n  [✓|✗] Retention period: \u003Chours> hours (default 24)\n  [✓|✗] Enhanced fan-out: \u003Cconsumer-name> (consumer ARN) | Standard GetRecords\n  [✓|✗] SSE-KMS: enabled (key \u003Ckey-id> \u002F alias\u002Faws\u002Fkinesis) | Disabled\n  [✓|✗] KMS key policy: permits kinesis.amazonaws.com | N\u002FA\n  [✓|✗] Producer IAM: \u003Crole\u002Fuser> → kinesis:PutRecord, PutRecords on \u003Cstream-arn>\n  [✓|✗] Consumer IAM: \u003Crole\u002Fuser> → kinesis:GetRecords, GetShardIterator (or SubscribeToShard) on \u003Cstream-arn>\n  [✓|✗] CloudWatch alarm: IteratorAgeMilliseconds > \u003Cthreshold> → \u003Csns-topic>\n  [✓|✗] CloudWatch alarm: WriteProvisionedThroughputExceeded > 0 → \u003Csns-topic>\n  [✓|✗] Resource policy: \u003Ccross-account principal> | Same account\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws kinesis describe-stream-summary --stream-name \u003Cstream-name> --region \u003Cregion>\n  aws kinesis list-stream-consumers --stream-arn \u003Cstream-arn> --region \u003Cregion>\n  aws kinesis describe-stream --stream-name \u003Cstream-name> --query 'StreamDescription.{Encryption:EncryptionType,KeyId:KeyId}' --region \u003Cregion>\n  aws cloudwatch describe-alarms --alarm-name-prefix \"Kinesis-\u003Cstream-name>\" --region \u003Cregion>\n```\n\n### FORBIDDEN output patterns\n\n1. **NEVER emit `VERDICT: READY_TO_DEPLOY` with a `[✗]` checklist item.**\n   If any prerequisite is missing, the verdict MUST be\n   `PREREQUISITES_MISSING`. Do not mix verdicts.\n\n2. **NEVER omit the stream mode from the checklist.** The mode\n   (`PROVISIONED` or `ON_DEMAND`) determines whether shard count is\n   relevant and which CloudWatch alarms apply.\n\n3. **NEVER list a shard count for an on-demand stream without marking\n   it `N\u002FA`.** `--shard-count` is IGNORED when `StreamMode=ON_DEMAND`.\n   Showing a number misleads the operator into thinking it matters.\n\n4. **NEVER show enhanced fan-out consumers without the consumer ARN.**\n   The consumer ARN is required for IAM policy Resource clauses and\n   for `deregister-stream-consumer` cleanup. Omitting it breaks\n   downstream automation.\n\n5. **NEVER omit the SSE-KMS line from the checklist.** Even if\n   encryption is disabled, the line MUST appear as `[✓] SSE-KMS:\n   Disabled` so the operator explicitly confirms the decision.\n\n6. **NEVER omit the IteratorAgeMilliseconds alarm from a READY_TO_DEPLOY\n   checklist.** Without it, consumer lag goes undetected until data\n   loss. This alarm is mandatory for every deployed stream.\n\n7. **NEVER omit VERIFICATION_COMMANDS from the output block.** The\n   verification commands are what the operator runs after deployment\n   to confirm the stream is ACTIVE, consumers are registered, and\n   encryption is enabled.\n\n### Decision tree\n\n```text\nIs the write throughput predictable and steady?\n├── YES, > ~2-3 MiB\u002Fsec sustained\n│   → PROVISIONED mode\n│     ├── Size shards: ceil(write_mib\u002Fsec) with 20-30% headroom\n│     ├── Add WriteProvisionedThroughputExceeded alarm\n│     └── Proceed to consumer \u002F encryption \u002F IAM steps\n├── NO — bursty, unpredictable, or unknown\n│   → ON_DEMAND mode\n│     ├── Shard count: N\u002FA (auto-scales)\n│     ├── Skip WriteProvisionedThroughputExceeded alarm\n│     └── Proceed to consumer \u002F encryption \u002F IAM steps\n└── UNKNOWN — new workload\n    → Start ON_DEMAND, evaluate after 2-4 weeks\n\nHow many consumers read from this stream?\n├── 1 consumer → standard GetRecords (no enhanced fan-out)\n├── 2-3 consumers, latency-tolerant → standard GetRecords (shared)\n├── 2-3 consumers, low-latency → enhanced fan-out (dedicated push)\n└── 4+ consumers → enhanced fan-out (avoids read contention)\n\nIs SSE-KMS required?\n├── YES (compliance \u002F security policy)\n│   ├── Use CMK (recommended) or alias\u002Faws\u002Fkinesis\n│   ├── Key policy MUST permit kinesis.amazonaws.com\n│   └── Producer + consumer IAM MUST include kms:GenerateDataKey, kms:Decrypt\n└── NO\n    └── Confirm explicitly in checklist: [✓] SSE-KMS: Disabled\n```\n\n### Worked example — on-demand stream with 2 enhanced fan-out consumers and SSE-KMS\n\n```text\nKINESIS_STREAM: telemetry-ingest (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Stream name: telemetry-ingest\n  [✓] Stream mode: ON_DEMAND\n  [✓] Shard count: N\u002FA (on-demand auto-scales)\n  [✓] Retention period: 168 hours (7 days)\n  [✓] Enhanced fan-out consumer 1: realtime-processor\n      (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\u002Fconsumer\u002Frealtime-processor:1620000000)\n  [✓] Enhanced fan-out consumer 2: anomaly-detector\n      (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\u002Fconsumer\u002Fanomaly-detector:1630000000)\n  [✓] SSE-KMS: enabled (key arn:aws:kms:us-east-1:123456789012:key\u002Fabcd1234-5678-90ef-1234-567890abcdef,\n      alias\u002Fkinesis\u002Ftelemetry-ingest)\n  [✓] KMS key policy: permits kinesis.amazonaws.com (kms:GenerateDataKey, kms:Decrypt)\n  [✓] Producer IAM: EC2-producer-role → kinesis:PutRecord, PutRecords on\n      arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\n      + kms:GenerateDataKey on KMS key ARN\n  [✓] Consumer IAM (consumer 1): Lambda-processor-role → kinesis:SubscribeToShard\n      on stream ARN + consumer\u002Frealtime-processor ARN + kms:Decrypt on KMS key ARN\n  [✓] Consumer IAM (consumer 2): Lambda-detector-role → kinesis:SubscribeToShard\n      on stream ARN + consumer\u002Fanomaly-detector ARN + kms:Decrypt on KMS key ARN\n  [✓] CloudWatch alarm: IteratorAgeMilliseconds > 300000 for 3 periods →\n      arn:aws:sns:us-east-1:123456789012:alerts-topic\n  [✓] CloudWatch alarm: N\u002FA (on-demand — no WriteProvisionedThroughputExceeded)\n  [✓] Resource policy: Same account (no cross-account resource policy needed)\n  [✓] Tags: Environment=production, Service=telemetry, Team=data-platform\nVERIFICATION_COMMANDS:\n  aws kinesis describe-stream-summary --stream-name telemetry-ingest --region us-east-1\n  aws kinesis list-stream-consumers --stream-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest --region us-east-1\n  aws kinesis describe-stream --stream-name telemetry-ingest --query 'StreamDescription.{Encryption:EncryptionType,KeyId:KeyId}' --region us-east-1\n  aws cloudwatch describe-alarms --alarm-name-prefix \"Kinesis-telemetry-ingest\" --region us-east-1\n  aws kms describe-key --key-id alias\u002Fkinesis\u002Ftelemetry-ingest --region us-east-1\n  aws iam simulate-principal-policy --policy-source-arn arn:aws:iam::123456789012:role\u002FLambda-processor-role --action-names kinesis:SubscribeToShard kms:Decrypt --output json\n```\n\n## Error handling\n\nPer-error deep dives moved verbatim to `references\u002Ferror-handling.md`\n(load on demand).\n\n## References (load on demand)\n\n- [`references\u002Fadvanced-patterns.md`](references\u002Fadvanced-patterns.md) — dependency graph, provisioned\u002Fon-demand cost crossover, enhanced fan-out vs GetRecords, IteratorAge thresholds, stream resource policies, recent AWS features.\n- [`references\u002Fdiagnostic-commands.md`](references\u002Fdiagnostic-commands.md) — CloudWatch alarm setup commands (IteratorAgeMilliseconds, WriteProvisionedThroughputExceeded).\n- [`references\u002Ferror-handling.md`](references\u002Ferror-handling.md) — error deep dives: stuck CREATING, write throttling, consumer access denied, fan-out not receiving data, SSE-KMS enable failure.\n- [`references\u002Fstream-mode-and-scaling.md`](references\u002Fstream-mode-and-scaling.md) — capacity mode + auto-scaling detail.\n- [`references\u002Fiam-and-encryption.md`](references\u002Fiam-and-encryption.md) — IAM policies + SSE-KMS detail.\n\n## Domain\n\nAWS CloudOps \u002F Amazon Kinesis Data Streams Provisioning & Real-Time\nData Ingestion.\n\n## AWS documentation\n\n- **Kinesis Data Streams Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002F\n- **Creating a stream** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Famazon-kinesis-streams-add-update-streams.html\n- **On-demand capacity mode** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fcapacity-mode-swap.html\n- **Enhanced fan-out** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fenhanced-consumers.html\n- **SSE-KMS** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fserver-side-encryption.html\n- **IAM for Kinesis** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fcontrolling-access.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fmonitoring-with-cloudwatch.html\n- **Stream resource policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fresource-policies.html\n- **Shard limits** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fservice-sizes-and-limits.html\n","# Kinesis Stream Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon Kinesis Data Streams\nwith correct defaults. The skill walks the operator through stream mode\nselection, shard sizing, enhanced fan-out consumers, encryption, IAM,\nand monitoring, captures throughput and consumer decisions, explains why\neach default matters, and emits a READY_TO_DEPLOY checklist with copy-\npasteable verification commands.\n\n## Activation keywords\n\ncreate Kinesis stream, Kinesis on-demand capacity, Kinesis enhanced\nfan-out, Kinesis SSE-KMS, Kinesis shard count, Kinesis IAM policy,\nKinesis CloudWatch iterator age, SubscribeToShard consumer, Kinesis\nthroughput provisioning, Kinesis stream mode.\n\n## STRICT output contract\n\nWhen this skill is invoked with a Kinesis-stream-provisioning request\n(stream creation, capacity mode, consumer registration, encryption, IAM,\nmonitoring, or a partial configuration), the agent MUST respond with the\nREADY_TO_DEPLOY checklist defined in the \"Output format\" section using\nthe literal all-caps labels `KINESIS_STREAM:`, `VERDICT:`, `CHECKLIST:`,\nand `VERIFICATION_COMMANDS:`. Do NOT preface the checklist with prose,\nheadings, or disclaimers — emit the block as the first lines of the\nresponse. This contract is what assertion-based evals and downstream\nprovisioning pipelines rely on; deviating from the literal labels breaks\nautomation silently.\n\nIf any prerequisite is missing, the verdict is `PREREQUISITES_MISSING`\nwith a specific gap citation in the checklist (marked `[✗]`), and\n`READY_TO_DEPLOY` MUST NOT also appear.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Stream mode: provisioned vs on-demand | Capacity model |\n| Step 2 — Shard count sizing (provisioned mode) | Throughput planning |\n| Step 3 — Stream creation (CLI, SDK, IaC) | Provisioning step |\n| Step 4 — Enhanced fan-out consumers | Dedicated read throughput |\n| Step 5 — Server-side encryption (KMS) | Encryption |\n| Step 6 — Resource-level IAM policies | Producer \u002F consumer permissions |\n| Step 7 — CloudWatch monitoring | Iterator age, throttling, alarms |\n| Step 8 — Stream ARN resource policies | Cross-account access control |\n| Step 9 — Recent features | Latest |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fstream-mode-and-scaling.md | Capacity mode + auto-scaling detail |\n| references\u002Fiam-and-encryption.md | IAM policies + SSE-KMS detail |\n\n## Mindset\n\n**One-line takeaway:** Kinesis Data Streams is a managed real-time data\ningestion service. The capacity model (provisioned shards vs on-demand)\nis the foundational decision — it determines cost, scaling behavior, and\nthroughput limits. Enhanced fan-out gives dedicated 2 MiB\u002Fsec read\nthroughput per consumer without contending with other readers.\n\nDeep-dives moved verbatim to `references\u002Fadvanced-patterns.md`:\nmisconceptions, dependency graph, cost crossover, fan-out model, IteratorAge.\n\n## Prerequisites (verify before provisioning)\n\nBefore emitting provisioning commands, verify these prerequisites. If\nany are missing, the verdict is **PREREQUISITES_MISSING**.\n\n| Prerequisite | Why it matters | How to verify |\n|---|---|---|\n| AWS account with Kinesis access | Can't provision without it | `aws sts get-caller-identity` |\n| Region selected | Kinesis streams are regional | `aws configure get region` |\n| Stream name identified | Unique per account-region; 1-128 chars | Confirm naming convention |\n| Stream mode decision | Determines cost model, scaling, shard relevance | Assess traffic pattern |\n| Shard count (if provisioned) | Write throughput: 1 MiB\u002Fsec or 1,000 records\u002Fsec per shard | Estimate peak write throughput |\n| KMS key (if SSE-KMS) | CMK requires key policy permitting Kinesis service | `aws kms describe-key` |\n| IAM principal for producer | Needs `kinesis:PutRecord` \u002F `PutRecords` on stream ARN | Confirm producer role |\n| IAM principal for consumer | Needs `GetRecords`+`GetShardIterator` or `SubscribeToShard` | Confirm consumer role |\n| Consumer count estimate | Determines enhanced fan-out need (max 20 per stream) | List downstream consumers |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Stream mode: provisioned vs on-demand\n\nThe first decision is the capacity model: provisioned (shard-based) or\non-demand (automatic scaling).\n\n**Decision tree:**\n\n```text\nIs the write throughput predictable and steady?\n├── YES, and > ~2-3 MiB\u002Fsec sustained\n│   → PROVISIONED mode (cheaper at scale; size shard count to throughput)\n│\n├── NO — bursty, unpredictable, or unknown\n│   → ON_DEMAND mode (auto-scales; no shard management)\n│\n└── UNKNOWN — new workload, no traffic data\n    → Start ON_DEMAND, switch to PROVISIONED after 2-4 weeks of data\n```\n\n| Feature | Provisioned | On-demand |\n|---|---|---|\n| Capacity management | Manual (update-shard-count) | Automatic |\n| Write throughput | 1 MiB\u002Fsec or 1,000 records\u002Fsec per shard | Auto-scales |\n| Read throughput | 2 MiB\u002Fsec per shard (shared or enhanced) | Same per-shard; stream auto-scales |\n| Cost model | Per shard-hour | Per stream-hour + per GB ingested |\n| Cost at low volume | Higher (pay for idle shards) | Lower (pay per GB) |\n| Cost at high volume | Lower (flat per-shard) | Higher (per-GB scales linearly) |\n| Scaling downtime | Brief (shard split\u002Fmerge) | None (automatic) |\n\n## Step 2 — Shard count sizing (provisioned mode)\n\nSKIPPED for on-demand mode. Shard count determines write and read\nthroughput.\n\n| Dimension | Limit per shard |\n|---|---|\n| Write data throughput | 1 MiB\u002Fsec |\n| Write record count | 1,000 records\u002Fsec |\n| Read (shared GetRecords) | 2 MiB\u002Fsec total |\n| Read (enhanced fan-out) | 2 MiB\u002Fsec per consumer |\n| Max record size | 1 MiB |\n\n**Sizing formula:**\n\n```text\nshard_count = max(\n  ceil(write_mib_per_sec \u002F 1),\n  ceil(write_records_per_sec \u002F 1000)\n)\n```\n\nAlways round UP. Consider the record count limit (small frequent records\nhit 1,000 records\u002Fsec before 1 MiB\u002Fsec). Add 20-30% headroom for spikes.\nUse `update-shard-count` to scale (provisioned only).\n\n## Step 3 — Stream creation\n\n**Provisioned stream:**\n\n```bash\naws kinesis create-stream \\\n  --stream-name my-data-stream \\\n  --shard-count 5 \\\n  --stream-mode-details StreamMode=PROVISIONED \\\n  --region us-east-1\n```\n\n**On-demand stream:**\n\n```bash\naws kinesis create-stream \\\n  --stream-name my-data-stream \\\n  --stream-mode-details StreamMode=ON_DEMAND \\\n  --region us-east-1\n```\n\n`--shard-count` is IGNORED when `StreamMode=ON_DEMAND`. Do not specify it.\n\n**Wait for ACTIVE:**\n\n```bash\naws kinesis wait stream-exists --stream-name my-data-stream --region us-east-1\naws kinesis describe-stream-summary \\\n  --stream-name my-data-stream \\\n  --query 'StreamDescriptionSummary.StreamStatus' --output text --region us-east-1\n# Expected: ACTIVE\n```\n\n**Set retention period (default 24 hours):**\n\n```bash\naws kinesis increase-stream-retention-period \\\n  --stream-name my-data-stream --retention-period-hours 168 --region us-east-1\n```\n\n**Common mistake:** using the stream before it is ACTIVE. Takes 1-2\nminutes. Use `wait stream-exists`.\n\n## Step 4 — Enhanced fan-out consumers\n\nEnhanced fan-out gives each registered consumer a dedicated 2 MiB\u002Fsec\nread throughput via SubscribeToShard (HTTP\u002F2 push).\n\n```bash\naws kinesis register-stream-consumer \\\n  --stream-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Fmy-data-stream \\\n  --consumer-name my-enhanced-consumer --region us-east-1\n```\n\n**Limits:** max 20 consumers per stream (soft limit). Consumer name\nunique per stream. Consumer must use SubscribeToShard API (not\nGetRecords).\n\n**Deregister (cleanup):**\n\n```bash\naws kinesis deregister-stream-consumer \\\n  --consumer-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Fmy-data-stream\u002Fconsumer\u002Fmy-enhanced-consumer:1620000000 \\\n  --region us-east-1\n```\n\n**Common mistake:** registering a consumer but the application uses\nstandard GetRecords. Enhanced fan-out requires SubscribeToShard (via KCL\nenhanced fan-out config or direct HTTP\u002F2 API).\n\n## Step 5 — Server-side encryption (KMS)\n\nSSE-KMS encrypts data at rest using a CMK or AWS-managed key\n(`alias\u002Faws\u002Fkinesis`). Full KMS key creation and key policy details in\n`references\u002Fiam-and-encryption.md`.\n\n**Enable SSE-KMS (AWS-managed key):**\n\n```bash\naws kinesis start-stream-encryption \\\n  --stream-name my-data-stream --encryption-type KMS \\\n  --key-id alias\u002Faws\u002Fkinesis --region us-east-1\n```\n\n**Enable SSE-KMS (customer-managed key — recommended):**\n\n```bash\naws kinesis start-stream-encryption \\\n  --stream-name my-data-stream --encryption-type KMS \\\n  --key-id alias\u002Fkinesis\u002Fmy-data-stream --region us-east-1\n```\n\n**Key policy requirement:** the CMK policy MUST allow\n`kinesis.amazonaws.com` to call `kms:GenerateDataKey` and `kms:Decrypt`.\nWithout this, PutRecord\u002FGetRecords fail with KMS access errors. See\n`references\u002Fiam-and-encryption.md` for the full key policy statement.\n\nProducers and consumers also need `kms:GenerateDataKey` and\n`kms:Decrypt` in their IAM policies when using a CMK.\n\n## Step 6 — Resource-level IAM policies\n\nKinesis supports resource-level IAM: producer and consumer policies\nreference the stream ARN. Full policy JSON templates are in\n`references\u002Fiam-and-encryption.md`.\n\n**Producer requires:** `kinesis:PutRecord`, `kinesis:PutRecords`,\n`kinesis:DescribeStream`, `kinesis:DescribeStreamSummary` on the stream\nARN.\n\n**Standard consumer requires:** `kinesis:GetRecords`,\n`kinesis:GetShardIterator`, `kinesis:DescribeStream`,\n`kinesis:DescribeStreamSummary`, `kinesis:ListShards` on the stream ARN.\n\n**Enhanced fan-out consumer requires:** `kinesis:SubscribeToShard`,\n`kinesis:DescribeStream`, `kinesis:DescribeStreamSummary`,\n`kinesis:ListShards` on BOTH the stream ARN AND the consumer ARN\n(`stream\u002F\u003Cname>\u002Fconsumer\u002F*`).\n\n**With SSE-KMS (CMK):** add `kms:GenerateDataKey` and `kms:Decrypt` on\nthe KMS key ARN to both producer and consumer policies.\n\n**Common mistakes:**\n- Granting `kinesis:*` on `*` (over-broad) instead of specific actions\n  on the stream ARN.\n- Forgetting `kinesis:DescribeStream` — without it, the consumer\u002FKCL\n  cannot discover shards and fails silently.\n- Enhanced fan-out consumer missing the consumer ARN in Resource.\n\n## Step 7 — CloudWatch monitoring\n\nThe two most critical alarms are IteratorAgeMilliseconds (consumer lag)\nand WriteProvisionedThroughputExceeded (write throttling).\n\nFull `put-metric-alarm` command listings moved verbatim to\n`references\u002Fdiagnostic-commands.md` (load on demand).\n\n| Metric | What it tells you | Healthy threshold |\n|---|---|---|\n| `GetRecords.IteratorAgeMilliseconds` | Consumer lag | \u003C 300,000 ms (5 min) |\n| `WriteProvisionedThroughputExceeded` | Write throttling (provisioned) | 0 |\n| `PutRecord.Success` \u002F `PutRecords.Success` | Write success rate | > 99% |\n| `GetRecords.Success` | Read success rate | > 99% |\n\n**Common mistake:** setting IteratorAge threshold without considering\nthe retention period. If retention is 1 hour, a 1-hour IteratorAge means\ndata loss is imminent.\n\n## Step 8 — Stream ARN resource policies\n\nResource-policy detail and `put-resource-policy` example moved verbatim to\n`references\u002Fadvanced-patterns.md` (load on demand).\n\n## Step 9 — Recent features\n\nRecent-feature details moved verbatim to `references\u002Fadvanced-patterns.md`\n(load on demand).\n\n## NEVER do these things\n\n1. **NEVER specify shard count for on-demand streams and expect it to\n   matter.** `--shard-count` is IGNORED when `StreamMode=ON_DEMAND`. The\n   stream auto-scales; shard count is irrelevant.\n\n2. **NEVER grant `kinesis:*` on `*` in IAM policies.** Use resource-\n   level permissions with the specific stream ARN and specific actions.\n   Over-broad policies violate least-privilege.\n\n3. **NEVER skip the IteratorAgeMilliseconds CloudWatch alarm.** Without\n   it, a consumer falling behind goes undetected until data is lost.\n   This is the #1 cause of silent data loss in Kinesis pipelines.\n\n4. **NEVER use a CMK for SSE-KMS without a key policy permitting the\n   Kinesis service principal.** PutRecord and GetRecords fail with KMS\n   access denied. The key policy MUST allow `kinesis.amazonaws.com` to\n   call `kms:GenerateDataKey` and `kms:Decrypt`.\n\n5. **NEVER assume enhanced fan-out is free.** Enhanced fan-out charges a\n   data-retrieval fee per consumer-shard-hour. For a 10-shard stream\n   with 5 enhanced consumers, that is 50 consumer-shard-hours per hour.\n   Use standard GetRecords for cost-sensitive, latency-tolerant\n   consumers.\n\n6. **NEVER forget `kinesis:DescribeStream` in consumer IAM policies.**\n   Without it, the consumer (or KCL) cannot discover shard information\n   and fails to start.\n\n7. **NEVER set retention period lower than the consumer's max downtime.**\n   If a consumer can be down for 4 hours, retention MUST be at least 4\n   hours. Otherwise data is permanently lost during an outage.\n\n8. **NEVER switch stream modes frequently.** Mode switching is throttled\n   to once per 15 minutes and the cost model changes fundamentally.\n\n9. **NEVER use `update-shard-count` to scale by more than 2x in a single\n   operation.** Large changes cause brief throughput disruption. Scale\n   incrementally.\n\n10. **NEVER assume WriteProvisionedThroughputExceeded is benign.** Any\n    non-zero value means records are being throttled. Scale up or switch\n    to on-demand mode.\n\n## Output format\n\n```text\nKINESIS_STREAM: \u003Cstream-name> (\u003Cstream-arn>)\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Stream name: \u003Cstream-name>\n  [✓|✗] Stream mode: PROVISIONED | ON_DEMAND\n  [✓|✗] Shard count: \u003Cn> (provisioned only — ignored if on-demand)\n  [✓|✗] Retention period: \u003Chours> hours (default 24)\n  [✓|✗] Enhanced fan-out: \u003Cconsumer-name> (consumer ARN) | Standard GetRecords\n  [✓|✗] SSE-KMS: enabled (key \u003Ckey-id> \u002F alias\u002Faws\u002Fkinesis) | Disabled\n  [✓|✗] KMS key policy: permits kinesis.amazonaws.com | N\u002FA\n  [✓|✗] Producer IAM: \u003Crole\u002Fuser> → kinesis:PutRecord, PutRecords on \u003Cstream-arn>\n  [✓|✗] Consumer IAM: \u003Crole\u002Fuser> → kinesis:GetRecords, GetShardIterator (or SubscribeToShard) on \u003Cstream-arn>\n  [✓|✗] CloudWatch alarm: IteratorAgeMilliseconds > \u003Cthreshold> → \u003Csns-topic>\n  [✓|✗] CloudWatch alarm: WriteProvisionedThroughputExceeded > 0 → \u003Csns-topic>\n  [✓|✗] Resource policy: \u003Ccross-account principal> | Same account\n  [✓|✗] Tags: \u003Ckey=value list>\nVERIFICATION_COMMANDS:\n  aws kinesis describe-stream-summary --stream-name \u003Cstream-name> --region \u003Cregion>\n  aws kinesis list-stream-consumers --stream-arn \u003Cstream-arn> --region \u003Cregion>\n  aws kinesis describe-stream --stream-name \u003Cstream-name> --query 'StreamDescription.{Encryption:EncryptionType,KeyId:KeyId}' --region \u003Cregion>\n  aws cloudwatch describe-alarms --alarm-name-prefix \"Kinesis-\u003Cstream-name>\" --region \u003Cregion>\n```\n\n### FORBIDDEN output patterns\n\n1. **NEVER emit `VERDICT: READY_TO_DEPLOY` with a `[✗]` checklist item.**\n   If any prerequisite is missing, the verdict MUST be\n   `PREREQUISITES_MISSING`. Do not mix verdicts.\n\n2. **NEVER omit the stream mode from the checklist.** The mode\n   (`PROVISIONED` or `ON_DEMAND`) determines whether shard count is\n   relevant and which CloudWatch alarms apply.\n\n3. **NEVER list a shard count for an on-demand stream without marking\n   it `N\u002FA`.** `--shard-count` is IGNORED when `StreamMode=ON_DEMAND`.\n   Showing a number misleads the operator into thinking it matters.\n\n4. **NEVER show enhanced fan-out consumers without the consumer ARN.**\n   The consumer ARN is required for IAM policy Resource clauses and\n   for `deregister-stream-consumer` cleanup. Omitting it breaks\n   downstream automation.\n\n5. **NEVER omit the SSE-KMS line from the checklist.** Even if\n   encryption is disabled, the line MUST appear as `[✓] SSE-KMS:\n   Disabled` so the operator explicitly confirms the decision.\n\n6. **NEVER omit the IteratorAgeMilliseconds alarm from a READY_TO_DEPLOY\n   checklist.** Without it, consumer lag goes undetected until data\n   loss. This alarm is mandatory for every deployed stream.\n\n7. **NEVER omit VERIFICATION_COMMANDS from the output block.** The\n   verification commands are what the operator runs after deployment\n   to confirm the stream is ACTIVE, consumers are registered, and\n   encryption is enabled.\n\n### Decision tree\n\n```text\nIs the write throughput predictable and steady?\n├── YES, > ~2-3 MiB\u002Fsec sustained\n│   → PROVISIONED mode\n│     ├── Size shards: ceil(write_mib\u002Fsec) with 20-30% headroom\n│     ├── Add WriteProvisionedThroughputExceeded alarm\n│     └── Proceed to consumer \u002F encryption \u002F IAM steps\n├── NO — bursty, unpredictable, or unknown\n│   → ON_DEMAND mode\n│     ├── Shard count: N\u002FA (auto-scales)\n│     ├── Skip WriteProvisionedThroughputExceeded alarm\n│     └── Proceed to consumer \u002F encryption \u002F IAM steps\n└── UNKNOWN — new workload\n    → Start ON_DEMAND, evaluate after 2-4 weeks\n\nHow many consumers read from this stream?\n├── 1 consumer → standard GetRecords (no enhanced fan-out)\n├── 2-3 consumers, latency-tolerant → standard GetRecords (shared)\n├── 2-3 consumers, low-latency → enhanced fan-out (dedicated push)\n└── 4+ consumers → enhanced fan-out (avoids read contention)\n\nIs SSE-KMS required?\n├── YES (compliance \u002F security policy)\n│   ├── Use CMK (recommended) or alias\u002Faws\u002Fkinesis\n│   ├── Key policy MUST permit kinesis.amazonaws.com\n│   └── Producer + consumer IAM MUST include kms:GenerateDataKey, kms:Decrypt\n└── NO\n    └── Confirm explicitly in checklist: [✓] SSE-KMS: Disabled\n```\n\n### Worked example — on-demand stream with 2 enhanced fan-out consumers and SSE-KMS\n\n```text\nKINESIS_STREAM: telemetry-ingest (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest)\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Stream name: telemetry-ingest\n  [✓] Stream mode: ON_DEMAND\n  [✓] Shard count: N\u002FA (on-demand auto-scales)\n  [✓] Retention period: 168 hours (7 days)\n  [✓] Enhanced fan-out consumer 1: realtime-processor\n      (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\u002Fconsumer\u002Frealtime-processor:1620000000)\n  [✓] Enhanced fan-out consumer 2: anomaly-detector\n      (arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\u002Fconsumer\u002Fanomaly-detector:1630000000)\n  [✓] SSE-KMS: enabled (key arn:aws:kms:us-east-1:123456789012:key\u002Fabcd1234-5678-90ef-1234-567890abcdef,\n      alias\u002Fkinesis\u002Ftelemetry-ingest)\n  [✓] KMS key policy: permits kinesis.amazonaws.com (kms:GenerateDataKey, kms:Decrypt)\n  [✓] Producer IAM: EC2-producer-role → kinesis:PutRecord, PutRecords on\n      arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest\n      + kms:GenerateDataKey on KMS key ARN\n  [✓] Consumer IAM (consumer 1): Lambda-processor-role → kinesis:SubscribeToShard\n      on stream ARN + consumer\u002Frealtime-processor ARN + kms:Decrypt on KMS key ARN\n  [✓] Consumer IAM (consumer 2): Lambda-detector-role → kinesis:SubscribeToShard\n      on stream ARN + consumer\u002Fanomaly-detector ARN + kms:Decrypt on KMS key ARN\n  [✓] CloudWatch alarm: IteratorAgeMilliseconds > 300000 for 3 periods →\n      arn:aws:sns:us-east-1:123456789012:alerts-topic\n  [✓] CloudWatch alarm: N\u002FA (on-demand — no WriteProvisionedThroughputExceeded)\n  [✓] Resource policy: Same account (no cross-account resource policy needed)\n  [✓] Tags: Environment=production, Service=telemetry, Team=data-platform\nVERIFICATION_COMMANDS:\n  aws kinesis describe-stream-summary --stream-name telemetry-ingest --region us-east-1\n  aws kinesis list-stream-consumers --stream-arn arn:aws:kinesis:us-east-1:123456789012:stream\u002Ftelemetry-ingest --region us-east-1\n  aws kinesis describe-stream --stream-name telemetry-ingest --query 'StreamDescription.{Encryption:EncryptionType,KeyId:KeyId}' --region us-east-1\n  aws cloudwatch describe-alarms --alarm-name-prefix \"Kinesis-telemetry-ingest\" --region us-east-1\n  aws kms describe-key --key-id alias\u002Fkinesis\u002Ftelemetry-ingest --region us-east-1\n  aws iam simulate-principal-policy --policy-source-arn arn:aws:iam::123456789012:role\u002FLambda-processor-role --action-names kinesis:SubscribeToShard kms:Decrypt --output json\n```\n\n## Error handling\n\nPer-error deep dives moved verbatim to `references\u002Ferror-handling.md`\n(load on demand).\n\n## References (load on demand)\n\n- [`references\u002Fadvanced-patterns.md`](references\u002Fadvanced-patterns.md) — dependency graph, provisioned\u002Fon-demand cost crossover, enhanced fan-out vs GetRecords, IteratorAge thresholds, stream resource policies, recent AWS features.\n- [`references\u002Fdiagnostic-commands.md`](references\u002Fdiagnostic-commands.md) — CloudWatch alarm setup commands (IteratorAgeMilliseconds, WriteProvisionedThroughputExceeded).\n- [`references\u002Ferror-handling.md`](references\u002Ferror-handling.md) — error deep dives: stuck CREATING, write throttling, consumer access denied, fan-out not receiving data, SSE-KMS enable failure.\n- [`references\u002Fstream-mode-and-scaling.md`](references\u002Fstream-mode-and-scaling.md) — capacity mode + auto-scaling detail.\n- [`references\u002Fiam-and-encryption.md`](references\u002Fiam-and-encryption.md) — IAM policies + SSE-KMS detail.\n\n## Domain\n\nAWS CloudOps \u002F Amazon Kinesis Data Streams Provisioning & Real-Time\nData Ingestion.\n\n## AWS documentation\n\n- **Kinesis Data Streams Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002F\n- **Creating a stream** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Famazon-kinesis-streams-add-update-streams.html\n- **On-demand capacity mode** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fcapacity-mode-swap.html\n- **Enhanced fan-out** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fenhanced-consumers.html\n- **SSE-KMS** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fserver-side-encryption.html\n- **IAM for Kinesis** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fcontrolling-access.html\n- **CloudWatch metrics** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fmonitoring-with-cloudwatch.html\n- **Stream resource policies** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fresource-policies.html\n- **Shard limits** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fstreams\u002Flatest\u002Fdev\u002Fservice-sizes-and-limits.html\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":41},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"supports_pipeline":38},"aws, kinesis, kinesis-data-streams, cloudops, deploy, analytics, provisioning, stream-mode, on-demand, enhanced-fanout, sse-kms, iam, cloudwatch","1","Jacky Chan — AWS Community Builder","aws-cloudops","Analytics","0.1.0","aws, kinesis, kinesis data streams, cloudops, deploy, provisioning, stream mode, on-demand, provisioned, shard count, enhanced fan-out, subscribe to shard, sse-kms, server-side encryption, kms, iam policy, resource-level iam, cloudwatch, iterator age, throughput exceeded, put record, get records, stream consumer","deploy","high","false","capability","Invoke when the user wants to create an Amazon Kinesis Data Stream, choose between provisioned (shard-based) and on-demand capacity mode, register enhanced fan-out consumers for dedicated read throughput, enable server-side encryption with KMS, define resource-level IAM policies for producer\u002Fconsumer applications, or set up CloudWatch monitoring for iterator age and write throttling. Do NOT invoke for Kinesis Data Firehose delivery streams (use firehose skills), Kinesis Video Streams, or auditing existing stream configurations (use kinesis-stream-auditor).","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with kinesis, iam, kms, and cloudwatch access. Works with Terraform aws_kinesis_stream \u002F aws_kinesis_stream_consumer resources and CloudFormation AWS::Kinesis::Stream \u002F AWS::Kinesis::StreamConsumer templates.","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fkinesis-stream-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill kinesis-stream-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill kinesis-stream-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill kinesis-stream-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",6132,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fcross-account-resource-policy.md",613,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fbaselines\u002Fcross-account-resource-policy.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fenhanced-fanout-registration.md",581,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fbaselines\u002Fenhanced-fanout-registration.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fmissing-stream-mode.md",543,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fbaselines\u002Fmissing-stream-mode.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fon-demand-enhanced-fanout-sse.md",831,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fbaselines\u002Fon-demand-enhanced-fanout-sse.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fprovisioned-shard-sizing.md",714,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fbaselines\u002Fprovisioned-shard-sizing.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1806,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",10380,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fcross-account-resource-policy.md",646,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fprompts\u002Fcross-account-resource-policy.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fenhanced-fanout-registration.md",587,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fprompts\u002Fenhanced-fanout-registration.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fmissing-stream-mode.md",381,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fprompts\u002Fmissing-stream-mode.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fon-demand-enhanced-fanout-sse.md",712,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fprompts\u002Fon-demand-enhanced-fanout-sse.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fprovisioned-shard-sizing.md",736,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fevals\u002Fprompts\u002Fprovisioned-shard-sizing.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",6170,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",9238,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fdiagnostic-commands.md",1183,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1124,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fiam-and-encryption.md",11416,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Freferences\u002Fiam-and-encryption.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fstream-mode-and-scaling.md",9159,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Freferences\u002Fstream-mode-and-scaling.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"skill.usf.yaml",4333,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fkinesis-stream-deployer\u002Fskill.usf.yaml",[147,154,161,168,175,182],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","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 \u002F method \u002F 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 \u002F 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 \u002F EKS \u002F 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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","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 \u002F 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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","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\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge 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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","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\u002Fbypass 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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","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.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]