[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AASZV5Y0PVREG0J1ZQB0W8":3,"skill-same:01M7AASZV5Y0PVREG0J1ZQB0W8":150},{"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},"01M7AASZV5Y0PVREG0J1ZQB0W8","qldb-ledger-deployer",null,"Provisions Amazon QLDB (Quantum Ledger Database) ledgers with production defaults: ledger creation (create-ledger), permissions mode (STANDARD vs ALLOW_ALL), deletion protection, KMS encryption, PartiQL query language, Amazon Ion data format, journal export to S3, stream to Kinesis Data Streams, cryptographic verification (digest + proof), revision hash chains, indexed fields, table creation, document model, and CloudWatch metrics. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a QLDB ledger, configuring permissions mode, enabling deletion protection, setting up journal export, streaming to Kinesis, verifying data integrity with digests and proofs, creating tables and indexes, or writing PartiQL queries. Triggers: create qldb ledger, qldb permissions mode, qldb deletion protection, qldb journal export, qldb stream to kinesis, qldb cryptographic verification, qldb digest, qldb proof, qldb partiql, qldb ion data format, qldb hash chain, qldb index, qldb table creation.","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\u002Fqldb-ledger-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: qldb-ledger-deployer\ndescription: 'Provisions Amazon QLDB (Quantum Ledger Database) ledgers with production defaults: ledger creation (create-ledger), permissions mode (STANDARD vs ALLOW_ALL), deletion protection, KMS encryption, PartiQL query language, Amazon Ion data format, journal export to S3, stream to Kinesis Data Streams, cryptographic verification (digest + proof), revision hash chains, indexed fields, table creation, document model, and CloudWatch metrics. Emits a READY_TO_DEPLOY checklist with verification commands. Use when creating a QLDB ledger, configuring permissions mode, enabling deletion protection, setting up journal export, streaming to Kinesis, verifying data integrity with digests and proofs, creating tables and indexes, or writing PartiQL queries. Triggers: create qldb ledger, qldb permissions mode, qldb deletion protection, qldb journal export, qldb stream to kinesis, qldb cryptographic verification, qldb digest, qldb proof, qldb partiql, qldb ion data format, qldb hash chain, qldb index, qldb table creation.'\nlicense: Apache-2.0\ncompatibility: 'Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). For live deployment: AWS CLI v2 with qldb access. Works with Terraform aws_qldb_ledger \u002F aws_qldb_stream \u002F aws_qldb_s3_export_task resources and the AWS SDK for PartiQL (qldb-session, qldb APIs).'\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: Databases\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, qldb, ledger, cloudops, deploy, databases, provisioning, immutable, cryptographic, partiql, ion, hash-chain\n  dependencies: aws-orchestrator\n  keywords: aws, qldb, quantum ledger database, immutable ledger, cloudops, deploy, provisioning, partiql, amazon ion, hash chain, cryptographic verification, journal export, kinesis stream, deletion protection, digest, proof\n  when_to_use: Invoke when the user wants to create an Amazon QLDB ledger, configure permissions mode (STANDARD vs ALLOW_ALL), enable deletion protection, set up journal export to S3, stream journal data to Kinesis for real-time CDC, verify data integrity using cryptographic digests and proofs, create tables and indexes, or write PartiQL queries against Ion-format documents. Do NOT invoke for Amazon DynamoDB (use DynamoDB skills), Amazon DocumentDB (use DocumentDB skills), Amazon Timestream (use Timestream skills), or Amazon RDS (use RDS skills).\n---\n\n# QLDB Ledger Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon QLDB (Quantum Ledger\nDatabase) ledgers with correct defaults. The skill walks the operator\nthrough ledger creation, permissions mode (STANDARD vs ALLOW_ALL),\ndeletion protection, KMS encryption, table and index creation, journal\nexport to S3 for compliance audit, stream to Kinesis for real-time CDC,\nand cryptographic verification via digest and proof hash chains,\ncaptures integrity and compliance decisions, explains why each default\nmatters, and emits a READY_TO_DEPLOY checklist with copy-pasteable\nverification commands.\n\n## Activation keywords\n\ncreate QLDB ledger, QLDB permissions mode, QLDB deletion protection,\nQLDB journal export, QLDB Kinesis stream, QLDB cryptographic\nverification, QLDB digest, QLDB proof, QLDB PartiQL, QLDB Ion data\nformat, QLDB hash chain, QLDB index, QLDB table creation.\n\n## STRICT output contract\n\nWhen this skill is invoked with a QLDB-provisioning request (create a\nledger, configure permissions mode, set up journal export, configure\nKinesis streaming, verify data integrity, create tables and indexes, or\na partial configuration), the agent MUST respond with the\n`LEDGER:` \u002F `VERDICT:` \u002F `CHECKLIST:` \u002F `PARTIQL:` \u002F `JOURNAL_EXPORT:` \u002F\n`STREAM:` \u002F `VERIFICATION_COMMANDS:` block defined in \"Output format\"\nusing the literal all-caps labels. Do NOT preface the block 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### FORBIDDEN output patterns\n\n- **NEVER preface the block with prose** — `LEDGER:` is the FIRST\n  line, always. No greetings, no \"I'll set up…\", no disclaimers.\n- **NEVER use ALLOW_ALL for a production ledger** — ALWAYS use\n  STANDARD permissions mode. ALLOW_ALL grants full CRUD to any\n  principal with `qldb:SendCommand`.\n- **NEVER omit deletion protection in a READY_TO_DEPLOY plan** —\n  a production ledger without deletion protection is a data-loss\n  risk.\n- **NEVER emit placeholder KMS key IDs** — use the full key ARN\n  (e.g., `arn:aws:kms:us-east-1:123456789012:key\u002Fabc123`) or\n  state `aws-owned` explicitly.\n- **NEVER omit the PARTIQL block** — concrete `CREATE TABLE`,\n  `CREATE INDEX`, and `INSERT` statements must appear with real\n  table and field names.\n- **NEVER claim READY_TO_DEPLOY with empty JOURNAL_EXPORT or\n  STREAM sections** — if not configured, write `none` with a\n  reason; do not silently omit.\n- **NEVER swap verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`, not \"ready\", \"done\", \"ok\".\n- **NEVER emit compound indexes** — QLDB supports only\n  single-field indexes; one `CREATE INDEX` per field.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Ledger architecture (immutable journal) | Core model |\n| Step 2 — Permissions mode (STANDARD vs ALLOW_ALL) | Security |\n| Step 3 — Deletion protection | Safety |\n| Step 4 — KMS encryption | Security |\n| Step 5 — Table creation and document model (Ion) | Data model |\n| Step 6 — PartiQL query language | Querying |\n| Step 7 — Indexed fields | Performance |\n| Step 8 — Journal export to S3 (compliance audit) | Compliance |\n| Step 9 — Stream to Kinesis (real-time CDC) | Integration |\n| Step 10 — Cryptographic verification (digest + proof) | Integrity |\n| Step 11 — Revision hash chains | Cryptography |\n| Step 12 — CloudWatch metrics | Observability |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fverification-and-cryptography.md | Digest\u002Fproof + hash chain detail |\n| references\u002Fexport-and-streaming.md | S3 export + Kinesis stream detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon QLDB is a purpose-built immutable ledger\ndatabase where every document revision is cryptographically chained via\nSHA-256 hashes. Data cannot be silently modified — any tampering breaks\nthe hash chain. Verification is done by requesting a digest (a hash of\nthe entire journal at a point in time) and proving a specific revision\nbelongs to that digest.\n\nThree misconceptions dominate QLDB misdesign at provisioning time:\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#common-misconceptions-from-mindset).\n> Three QLDB misconceptions: not a generic NoSQL DB, ALLOW_ALL is unsafe, export\u002Fstream must be planned at creation.\n\n## Configuration dependency graph (novel heuristic)\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#configuration-dependency-graph-sequencing-notes).\n> How to sequence provisioning using the dependency graph.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Ledger (create-ledger) | permissions mode, deletion protection, KMS key | permissions mode and deletion protection can be modified after creation; KMS key cannot be changed without recreating the ledger | tables, journal, exports, streams |\n| Permissions mode | ledger exists | STANDARD enforces IAM-based table\u002Ffield controls; ALLOW_ALL grants full access | access control |\n| Deletion protection | ledger exists | when enabled, ledger CANNOT be deleted until disabled | safety |\n| KMS key | key exists (if customer-managed) | KMS key is immutable after ledger creation | encryption at rest |\n| Table creation | ledger is active | QLDB does not enforce a schema; documents in the same table can have different fields | data storage |\n| Indexes | table exists | creating an index on a large table takes time; queries without indexes are full scans | query performance |\n| Journal export to S3 | ledger exists; S3 bucket with write access | export is asynchronous; can take hours for large journals | compliance audit, data lake |\n| Stream to Kinesis | ledger exists; Kinesis stream exists; IAM role with qldb:SendCommand + kinesis:PutRecord | stream is continuous; covers a configurable time range | real-time CDC |\n| Digest | ledger exists | digest is a point-in-time hash of the entire journal | cryptographic verification baseline |\n| Proof | digest exists; document revision known | proof verifies that a specific revision belongs to the digest's hash chain | tamper detection |\n\n**The permissions-mode and deletion-protection rows are the ones a\nbaseline model misses.** ALLOW_ALL in a production ledger is a security\nhole. Missing deletion protection risks catastrophic data loss.\n\n## Expert heuristic: immutable journal hash chain verification\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-immutable-journal-hash-chain-verification).\n> Digest + proof verification workflow and expert rules.\n\n## Expert heuristic: stream for real-time CDC vs export for compliance audit\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-stream-for-real-time-cdc-vs-export-for-compliance-audit).\n> Export to S3 vs stream to Kinesis decision guide.\n\n## Expert heuristic: STANDARD permissions mode enforcement\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-standard-permissions-mode-enforcement).\n> ALLOW_ALL vs STANDARD comparison and enforcement rule.\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| Permissions mode decision (STANDARD vs ALLOW_ALL) | Controls access model | Assess security requirements |\n| Deletion protection decision | Prevents accidental deletion | `aws qldb describe-ledger` |\n| KMS key (if customer-managed) | Encryption at rest | `aws kms describe-key --key-id \u003Calias>` |\n| S3 bucket (if journal export planned) | Export destination | `aws s3 ls` |\n| Kinesis stream (if streaming planned) | CDC destination | `aws kinesis describe-stream` |\n| IAM role for export\u002Fstreaming | Service-to-service access | `aws iam get-role` |\n| Table and index design | Data model planning | Assess query patterns |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Ledger architecture (immutable journal)\n\nQLDB uses an immutable journal architecture. Every transaction appends\njournal entries that are cryptographically chained.\n\n| Component | Role | API |\n|---|---|---|\n| Ledger | Top-level container, permissions, encryption, deletion protection | `create-ledger` |\n| Journal | Append-only, cryptographically hashed chain of blocks | automatic |\n| Block | Group of transactions, each with a hash linking to the previous block | `get-block` |\n| Table | Collection of documents (schemaless) | PartiQL `CREATE TABLE` |\n| Document | Amazon Ion-format data record with a unique document ID | PartiQL `INSERT` |\n| Revision | A specific version of a document (each update creates a new revision) | `get-revision` |\n| Index | B-tree index on a table field for query performance | PartiQL `CREATE INDEX` |\n\n**The journal is the source of truth.** Tables and indexes are derived\nviews. Every document revision is permanently recorded in the journal.\n\n## Step 2 — Permissions mode (STANDARD vs ALLOW_ALL)\n\n```bash\n# Create a ledger with STANDARD permissions mode (recommended)\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --region us-east-1\n\n# Modify permissions mode (after creation)\naws qldb update-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --region us-east-1\n```\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-2-standard-mode-iam-policy-example).\n> IAM policy allowing SendCommand plus PartiQLInsert\u002FSelect at table scope.\n\n## Step 3 — Deletion protection\n\n```bash\n# Create with deletion protection enabled\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --region us-east-1\n\n# Disable deletion protection (required before deleting a ledger)\naws qldb update-ledger \\\n  --name audit-ledger \\\n  --no-deletion-protection \\\n  --region us-east-1\n```\n\n**Expert rule:** deletion protection prevents deletion even with\nadministrator privileges. Always enable it for production ledgers.\n\n## Step 4 — KMS encryption\n\n```bash\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --kms-key arn:aws:kms:us-east-1:123456789012:key\u002Fabc123 \\\n  --region us-east-1\n```\n\n**Critical:** the KMS key is immutable after ledger creation. To change\nthe encryption key, you must create a new ledger and migrate data.\n\n## Step 5 — Table creation and document model (Ion)\n\nQLDB stores data in Amazon Ion format — a rich, self-describing data\nformat that is a superset of JSON. Tables are schemaless.\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-5-table-creation-and-document-model-ion-sql-examples).\n> CREATE TABLE, Ion INSERT, SELECT, and UPDATE (revision) statements.\n\n## Step 6 — PartiQL query language\n\nQLDB uses PartiQL — a SQL-compatible query language that handles\nsemi-structured data.\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-6-partiql-query-examples).\n> SELECT, projection, nested Ion paths, JOIN, and history() queries.\n\n**History queries** are unique to QLDB — they return ALL revisions of a\ndocument, showing the complete mutation history. This is the audit trail.\n\n## Step 7 — Indexed fields\n\nQLDB indexes are critical for query performance. Without an index, every\nquery is a full table scan.\n\n```sql\n-- Create indexes on single fields (no compound indexes in QLDB)\nCREATE INDEX ON transactions (transactionId);\nCREATE INDEX ON transactions (fromAccount);\nCREATE INDEX ON accounts (accountId);\n```\n\n**Indexing rules:**\n- Create indexes BEFORE inserting large amounts of data\n- Indexes are on a SINGLE field (no compound indexes in QLDB)\n- The `documentId` field is automatically indexed\n- Queries on unindexed fields are full scans\n\n## Step 8 — Journal export to S3 (compliance audit)\n\nJournal export writes the entire journal (or a time range) to S3 in Ion\nformat. This is for compliance audit, regulatory snapshots, and data\nlake ingestion.\n\n> Moved to [references\u002Fexport-and-streaming.md](references\u002Fexport-and-streaming.md#step-8-journal-export-to-s3-commands).\n> IAM role setup, put-role-policy, and export-journal-to-s3 commands plus export output notes.\n\n## Step 9 — Stream to Kinesis (real-time CDC)\n\nQLDB streams journal data to Kinesis Data Streams for real-time CDC.\n\n> Moved to [references\u002Fexport-and-streaming.md](references\u002Fexport-and-streaming.md#step-9-stream-to-kinesis-commands).\n> Kinesis stream creation, QLDBStreamRole IAM setup, and stream-journal-to-kinesis command.\n\n**Expert rule:** use streaming for real-time CDC and export for\ncompliance audit. They serve different purposes and can run in parallel.\n\n## Step 10 — Cryptographic verification (digest + proof)\n\nCryptographic verification proves that a document has not been tampered\nwith since a given point in time. This is QLDB's killer feature.\n\n> Moved to [references\u002Fverification-and-cryptography.md](references\u002Fverification-and-cryptography.md#step-10-cryptographic-verification-digest-and-proof-commands).\n> get-digest, get-revision with digest tip, Python proof verification, expert rules.\n\n## Step 11 — Revision hash chains\n\n> Moved to [references\u002Fverification-and-cryptography.md](references\u002Fverification-and-cryptography.md#step-11-revision-hash-chains).\n> How block hashes chain and why tampering breaks the chain.\n\n## Step 12 — CloudWatch metrics\n\n> Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#step-12-cloudwatch-metrics).\n> Metric table with alert thresholds (latency, journal storage, IOs, OccConflictExceptions).\n\n## NEVER do these things\n\n1. **NEVER use ALLOW_ALL permissions mode for production.** ALLOW_ALL\n   grants full CRUD to anyone with `qldb:SendCommand`. ALWAYS use\n   STANDARD.\n\n2. **NEVER deploy a production ledger without deletion protection.**\n   Without it, a single errant `delete-ledger` destroys the entire\n   journal irreversibly.\n\n3. **NEVER skip index creation on fields used in WHERE clauses.** QLDB\n   has no query optimizer. Queries on unindexed fields are full scans.\n\n4. **NEVER assume the KMS key can be changed after creation.** The KMS\n   key is immutable. Changing encryption requires recreating the ledger.\n\n5. **NEVER treat QLDB as a general-purpose NoSQL database.** QLDB is\n   purpose-built for immutable, cryptographically verified data. If you\n   do not need the audit trail, use DynamoDB.\n\n6. **NEVER wait until an audit is requested to set up journal export.**\n   Set up export and streaming pipelines at ledger creation.\n\n7. **NEVER store digests in the same ledger they verify.** Store them\n   externally (S3 with Object Lock).\n\n8. **NEVER use compound indexes.** QLDB supports only single-field\n   indexes. For multi-field queries, create separate indexes.\n\n9. **NEVER ignore OccConflictExceptions.** High conflict rates indicate\n   concurrent writes to the same document.\n\n10. **NEVER delete a ledger without disabling deletion protection\n    first.**\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a QLDB provisioning request, your ENTIRE\nresponse MUST be the block below. The labels are **case-sensitive\nall-caps keywords** — write them EXACTLY as shown. Do NOT write a\npreamble. Start with `LEDGER:` and stop after\n`VERIFICATION_COMMANDS:`.\n\n```text\nLEDGER: \u003Cledger-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Permissions mode: STANDARD | ALLOW_ALL\n  [✓|✗] Deletion protection: enabled | disabled\n  [✓|✗] KMS encryption: \u003Ccustomer-managed|aws-owned> (\u003Ckey-arn>)\n  [✓|✗] Tables: \u003Clist of table names>\n  [✓|✗] Indexes: \u003Cfield list per table>\n  [✓|✗] Journal export: \u003Cconfigured|none> (bucket: \u003Cname>, role: \u003Carn>)\n  [✓|✗] Kinesis stream: \u003Cconfigured|none> (stream: \u003Cname>, role: \u003Carn>)\n  [✓|✗] Cryptographic verification: digest + proof workflow documented\n  [✓|✗] CloudWatch alerts: \u003Cmetrics list>\n  [✓|✗] Tags: \u003Ckey=value list>\nPARTIQL:\n  CREATE TABLE \u003Ctable-name>;\n  CREATE INDEX ON \u003Ctable-name> (\u003Cfield>);\n  INSERT INTO \u003Ctable-name> { ... };\nJOURNAL_EXPORT:\n  Role: \u003CIAM role ARN>\n  Bucket: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\n  Time range: \u003Cstart> to \u003Cend>\nSTREAM:\n  Kinesis stream: \u003Cstream-name>\n  Role: \u003CIAM role ARN>\n  Time range: \u003Cstart> to \u003Cend>\n  Aggregation: enabled | disabled\nVERIFICATION_COMMANDS:\n  aws qldb describe-ledger --name \u003Cledger-name> --region \u003Cregion>\n  aws qldb list-journal-kinesis-streams-for-ledger --ledger-name \u003Cledger-name> --region \u003Cregion>\n  aws qldb get-digest --name \u003Cledger-name> --region \u003Cregion>\n```\n\n**Status marker semantics:**\n- `[✓]` — requirement met.\n- `[✗]` — requirement missing; cite the gap.\n\n**PREREQUISITES_MISSING verdict:** if any checklist item fails,\noutput `VERDICT: PREREQUISITES_MISSING` with each gap marked `[✗]`\nand a reason. Do NOT also emit `READY_TO_DEPLOY`.\n\n### Worked example — STANDARD-mode audit ledger with KMS + Kinesis stream\n\n```text\nLEDGER: audit-ledger\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Permissions mode: STANDARD\n  [✓] Deletion protection: enabled\n  [✓] KMS encryption: customer-managed (arn:aws:kms:us-east-1:123456789012:key\u002Fabc123)\n  [✓] Tables: transactions, accounts, audit_log\n  [✓] Indexes: transactions(transactionId, fromAccount), accounts(accountId), audit_log(eventType)\n  [✓] Journal export: configured (bucket: s3:\u002F\u002Fqldb-audit-export\u002Faudit-ledger\u002F2026-08\u002F, role: arn:aws:iam::123456789012:role\u002FQLDBExportRole)\n  [✓] Kinesis stream: configured (stream: qldb-audit-stream, role: arn:aws:iam::123456789012:role\u002FQLDBStreamRole)\n  [✓] Cryptographic verification: digest + proof workflow documented\n  [✓] CloudWatch alerts: CommandExecutionLatency >1000ms, OccConflictExceptions >5%, JournalStorage trending up\n  [✓] Tags: Environment=production, Application=audit, Compliance=SOX, Owner=finance-platform\nPARTIQL:\n  CREATE TABLE transactions;\n  CREATE TABLE accounts;\n  CREATE TABLE audit_log;\n  CREATE INDEX ON transactions (transactionId);\n  CREATE INDEX ON transactions (fromAccount);\n  CREATE INDEX ON accounts (accountId);\n  CREATE INDEX ON audit_log (eventType);\n  INSERT INTO transactions {\n    transactionId: 'txn-001',\n    amount: 1500.00,\n    currency: 'USD',\n    fromAccount: 'acc-aaa',\n    toAccount: 'acc-bbb',\n    timestamp: `2026-08-05T12:00:00Z`,\n    metadata: { source: 'mobile-app', notes: 'Transfer for invoice #12345' }\n  };\nJOURNAL_EXPORT:\n  Role: arn:aws:iam::123456789012:role\u002FQLDBExportRole\n  Bucket: s3:\u002F\u002Fqldb-audit-export\u002Faudit-ledger\u002F2026-08\u002F\n  Time range: 2026-08-01T00:00:00Z to 2026-08-31T23:59:59Z\nSTREAM:\n  Kinesis stream: qldb-audit-stream\n  Role: arn:aws:iam::123456789012:role\u002FQLDBStreamRole\n  Time range: 2026-08-05T00:00:00Z to 2026-12-31T23:59:59Z\n  Aggregation: enabled\nVERIFICATION_COMMANDS:\n  aws qldb describe-ledger --name audit-ledger --region us-east-1\n  aws qldb list-journal-kinesis-streams-for-ledger --ledger-name audit-ledger --region us-east-1\n  aws qldb get-digest --name audit-ledger --region us-east-1\n```\n\n## Error handling\n\n> Moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md#error-handling).\n> Symptom-by-symptom fixes: permissions mode, deletion, slow queries, export, stream, Occ conflicts.\n## References (load on demand)\n\n- [advanced-patterns](references\u002Fadvanced-patterns.md) — expert-heuristic deep dives, misconceptions, dependency-graph notes\n- [worked-examples](references\u002Fworked-examples.md) — IAM policy, Ion\u002FPartiQL SQL examples\n- [diagnostic-commands](references\u002Fdiagnostic-commands.md) — CloudWatch metrics and alert thresholds\n- [error-handling](references\u002Ferror-handling.md) — symptom-by-symptom troubleshooting\n- [export-and-streaming](references\u002Fexport-and-streaming.md) — S3 export and Kinesis stream detail and commands (existing)\n- [verification-and-cryptography](references\u002Fverification-and-cryptography.md) — digest\u002Fproof and hash-chain detail and commands (existing)\n\n## Domain\n\nAWS CloudOps \u002F Amazon QLDB Ledger Provisioning & Cryptographically\nVerified Immutable Database Management.\n\n## AWS documentation\n\n- **QLDB Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fwhat-is.html\n- **Create a ledger** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fledger-create.html\n- **Permissions modes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fledger-management.permissions.html\n- **PartiQL queries** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fdata-model.partiql.html\n- **Amazon Ion** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fion.html\n- **Journal export to S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fexport-journal.html\n- **Stream to Kinesis** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fstreams.html\n- **Cryptographic verification** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fverification.html\n- **Digests and proofs** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fverification.digests.html\n- **Indexes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fworking-data.indexes.html\n","# QLDB Ledger Deployer\n\nAn AWS CloudOps agent skill that provisions Amazon QLDB (Quantum Ledger\nDatabase) ledgers with correct defaults. The skill walks the operator\nthrough ledger creation, permissions mode (STANDARD vs ALLOW_ALL),\ndeletion protection, KMS encryption, table and index creation, journal\nexport to S3 for compliance audit, stream to Kinesis for real-time CDC,\nand cryptographic verification via digest and proof hash chains,\ncaptures integrity and compliance decisions, explains why each default\nmatters, and emits a READY_TO_DEPLOY checklist with copy-pasteable\nverification commands.\n\n## Activation keywords\n\ncreate QLDB ledger, QLDB permissions mode, QLDB deletion protection,\nQLDB journal export, QLDB Kinesis stream, QLDB cryptographic\nverification, QLDB digest, QLDB proof, QLDB PartiQL, QLDB Ion data\nformat, QLDB hash chain, QLDB index, QLDB table creation.\n\n## STRICT output contract\n\nWhen this skill is invoked with a QLDB-provisioning request (create a\nledger, configure permissions mode, set up journal export, configure\nKinesis streaming, verify data integrity, create tables and indexes, or\na partial configuration), the agent MUST respond with the\n`LEDGER:` \u002F `VERDICT:` \u002F `CHECKLIST:` \u002F `PARTIQL:` \u002F `JOURNAL_EXPORT:` \u002F\n`STREAM:` \u002F `VERIFICATION_COMMANDS:` block defined in \"Output format\"\nusing the literal all-caps labels. Do NOT preface the block 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### FORBIDDEN output patterns\n\n- **NEVER preface the block with prose** — `LEDGER:` is the FIRST\n  line, always. No greetings, no \"I'll set up…\", no disclaimers.\n- **NEVER use ALLOW_ALL for a production ledger** — ALWAYS use\n  STANDARD permissions mode. ALLOW_ALL grants full CRUD to any\n  principal with `qldb:SendCommand`.\n- **NEVER omit deletion protection in a READY_TO_DEPLOY plan** —\n  a production ledger without deletion protection is a data-loss\n  risk.\n- **NEVER emit placeholder KMS key IDs** — use the full key ARN\n  (e.g., `arn:aws:kms:us-east-1:123456789012:key\u002Fabc123`) or\n  state `aws-owned` explicitly.\n- **NEVER omit the PARTIQL block** — concrete `CREATE TABLE`,\n  `CREATE INDEX`, and `INSERT` statements must appear with real\n  table and field names.\n- **NEVER claim READY_TO_DEPLOY with empty JOURNAL_EXPORT or\n  STREAM sections** — if not configured, write `none` with a\n  reason; do not silently omit.\n- **NEVER swap verdict tokens** — exactly `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING`, not \"ready\", \"done\", \"ok\".\n- **NEVER emit compound indexes** — QLDB supports only\n  single-field indexes; one `CREATE INDEX` per field.\n\n## Quick navigation\n\n| Section | When to read |\n|---|---|\n| Prerequisites | Always — verify before provisioning |\n| Step 1 — Ledger architecture (immutable journal) | Core model |\n| Step 2 — Permissions mode (STANDARD vs ALLOW_ALL) | Security |\n| Step 3 — Deletion protection | Safety |\n| Step 4 — KMS encryption | Security |\n| Step 5 — Table creation and document model (Ion) | Data model |\n| Step 6 — PartiQL query language | Querying |\n| Step 7 — Indexed fields | Performance |\n| Step 8 — Journal export to S3 (compliance audit) | Compliance |\n| Step 9 — Stream to Kinesis (real-time CDC) | Integration |\n| Step 10 — Cryptographic verification (digest + proof) | Integrity |\n| Step 11 — Revision hash chains | Cryptography |\n| Step 12 — CloudWatch metrics | Observability |\n| NEVER do these things | Review before signing off |\n| Output format | The literal checklist template |\n| references\u002Fverification-and-cryptography.md | Digest\u002Fproof + hash chain detail |\n| references\u002Fexport-and-streaming.md | S3 export + Kinesis stream detail |\n\n## Mindset\n\n**One-line takeaway:** Amazon QLDB is a purpose-built immutable ledger\ndatabase where every document revision is cryptographically chained via\nSHA-256 hashes. Data cannot be silently modified — any tampering breaks\nthe hash chain. Verification is done by requesting a digest (a hash of\nthe entire journal at a point in time) and proving a specific revision\nbelongs to that digest.\n\nThree misconceptions dominate QLDB misdesign at provisioning time:\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#common-misconceptions-from-mindset).\n> Three QLDB misconceptions: not a generic NoSQL DB, ALLOW_ALL is unsafe, export\u002Fstream must be planned at creation.\n\n## Configuration dependency graph (novel heuristic)\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#configuration-dependency-graph-sequencing-notes).\n> How to sequence provisioning using the dependency graph.\n\n| Configuration | Hard dependencies (API error without) | Silent failure \u002F immutability | Enables downstream |\n|---|---|---|---|\n| Ledger (create-ledger) | permissions mode, deletion protection, KMS key | permissions mode and deletion protection can be modified after creation; KMS key cannot be changed without recreating the ledger | tables, journal, exports, streams |\n| Permissions mode | ledger exists | STANDARD enforces IAM-based table\u002Ffield controls; ALLOW_ALL grants full access | access control |\n| Deletion protection | ledger exists | when enabled, ledger CANNOT be deleted until disabled | safety |\n| KMS key | key exists (if customer-managed) | KMS key is immutable after ledger creation | encryption at rest |\n| Table creation | ledger is active | QLDB does not enforce a schema; documents in the same table can have different fields | data storage |\n| Indexes | table exists | creating an index on a large table takes time; queries without indexes are full scans | query performance |\n| Journal export to S3 | ledger exists; S3 bucket with write access | export is asynchronous; can take hours for large journals | compliance audit, data lake |\n| Stream to Kinesis | ledger exists; Kinesis stream exists; IAM role with qldb:SendCommand + kinesis:PutRecord | stream is continuous; covers a configurable time range | real-time CDC |\n| Digest | ledger exists | digest is a point-in-time hash of the entire journal | cryptographic verification baseline |\n| Proof | digest exists; document revision known | proof verifies that a specific revision belongs to the digest's hash chain | tamper detection |\n\n**The permissions-mode and deletion-protection rows are the ones a\nbaseline model misses.** ALLOW_ALL in a production ledger is a security\nhole. Missing deletion protection risks catastrophic data loss.\n\n## Expert heuristic: immutable journal hash chain verification\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-immutable-journal-hash-chain-verification).\n> Digest + proof verification workflow and expert rules.\n\n## Expert heuristic: stream for real-time CDC vs export for compliance audit\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-stream-for-real-time-cdc-vs-export-for-compliance-audit).\n> Export to S3 vs stream to Kinesis decision guide.\n\n## Expert heuristic: STANDARD permissions mode enforcement\n\n> Moved to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md#expert-heuristic-standard-permissions-mode-enforcement).\n> ALLOW_ALL vs STANDARD comparison and enforcement rule.\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| Permissions mode decision (STANDARD vs ALLOW_ALL) | Controls access model | Assess security requirements |\n| Deletion protection decision | Prevents accidental deletion | `aws qldb describe-ledger` |\n| KMS key (if customer-managed) | Encryption at rest | `aws kms describe-key --key-id \u003Calias>` |\n| S3 bucket (if journal export planned) | Export destination | `aws s3 ls` |\n| Kinesis stream (if streaming planned) | CDC destination | `aws kinesis describe-stream` |\n| IAM role for export\u002Fstreaming | Service-to-service access | `aws iam get-role` |\n| Table and index design | Data model planning | Assess query patterns |\n\nIf any prerequisite is missing, output `VERDICT: PREREQUISITES_MISSING`\nand cite the specific gap.\n\n## Step 1 — Ledger architecture (immutable journal)\n\nQLDB uses an immutable journal architecture. Every transaction appends\njournal entries that are cryptographically chained.\n\n| Component | Role | API |\n|---|---|---|\n| Ledger | Top-level container, permissions, encryption, deletion protection | `create-ledger` |\n| Journal | Append-only, cryptographically hashed chain of blocks | automatic |\n| Block | Group of transactions, each with a hash linking to the previous block | `get-block` |\n| Table | Collection of documents (schemaless) | PartiQL `CREATE TABLE` |\n| Document | Amazon Ion-format data record with a unique document ID | PartiQL `INSERT` |\n| Revision | A specific version of a document (each update creates a new revision) | `get-revision` |\n| Index | B-tree index on a table field for query performance | PartiQL `CREATE INDEX` |\n\n**The journal is the source of truth.** Tables and indexes are derived\nviews. Every document revision is permanently recorded in the journal.\n\n## Step 2 — Permissions mode (STANDARD vs ALLOW_ALL)\n\n```bash\n# Create a ledger with STANDARD permissions mode (recommended)\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --region us-east-1\n\n# Modify permissions mode (after creation)\naws qldb update-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --region us-east-1\n```\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-2-standard-mode-iam-policy-example).\n> IAM policy allowing SendCommand plus PartiQLInsert\u002FSelect at table scope.\n\n## Step 3 — Deletion protection\n\n```bash\n# Create with deletion protection enabled\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --region us-east-1\n\n# Disable deletion protection (required before deleting a ledger)\naws qldb update-ledger \\\n  --name audit-ledger \\\n  --no-deletion-protection \\\n  --region us-east-1\n```\n\n**Expert rule:** deletion protection prevents deletion even with\nadministrator privileges. Always enable it for production ledgers.\n\n## Step 4 — KMS encryption\n\n```bash\naws qldb create-ledger \\\n  --name audit-ledger \\\n  --permissions-mode STANDARD \\\n  --deletion-protection \\\n  --kms-key arn:aws:kms:us-east-1:123456789012:key\u002Fabc123 \\\n  --region us-east-1\n```\n\n**Critical:** the KMS key is immutable after ledger creation. To change\nthe encryption key, you must create a new ledger and migrate data.\n\n## Step 5 — Table creation and document model (Ion)\n\nQLDB stores data in Amazon Ion format — a rich, self-describing data\nformat that is a superset of JSON. Tables are schemaless.\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-5-table-creation-and-document-model-ion-sql-examples).\n> CREATE TABLE, Ion INSERT, SELECT, and UPDATE (revision) statements.\n\n## Step 6 — PartiQL query language\n\nQLDB uses PartiQL — a SQL-compatible query language that handles\nsemi-structured data.\n\n> Moved to [references\u002Fworked-examples.md](references\u002Fworked-examples.md#step-6-partiql-query-examples).\n> SELECT, projection, nested Ion paths, JOIN, and history() queries.\n\n**History queries** are unique to QLDB — they return ALL revisions of a\ndocument, showing the complete mutation history. This is the audit trail.\n\n## Step 7 — Indexed fields\n\nQLDB indexes are critical for query performance. Without an index, every\nquery is a full table scan.\n\n```sql\n-- Create indexes on single fields (no compound indexes in QLDB)\nCREATE INDEX ON transactions (transactionId);\nCREATE INDEX ON transactions (fromAccount);\nCREATE INDEX ON accounts (accountId);\n```\n\n**Indexing rules:**\n- Create indexes BEFORE inserting large amounts of data\n- Indexes are on a SINGLE field (no compound indexes in QLDB)\n- The `documentId` field is automatically indexed\n- Queries on unindexed fields are full scans\n\n## Step 8 — Journal export to S3 (compliance audit)\n\nJournal export writes the entire journal (or a time range) to S3 in Ion\nformat. This is for compliance audit, regulatory snapshots, and data\nlake ingestion.\n\n> Moved to [references\u002Fexport-and-streaming.md](references\u002Fexport-and-streaming.md#step-8-journal-export-to-s3-commands).\n> IAM role setup, put-role-policy, and export-journal-to-s3 commands plus export output notes.\n\n## Step 9 — Stream to Kinesis (real-time CDC)\n\nQLDB streams journal data to Kinesis Data Streams for real-time CDC.\n\n> Moved to [references\u002Fexport-and-streaming.md](references\u002Fexport-and-streaming.md#step-9-stream-to-kinesis-commands).\n> Kinesis stream creation, QLDBStreamRole IAM setup, and stream-journal-to-kinesis command.\n\n**Expert rule:** use streaming for real-time CDC and export for\ncompliance audit. They serve different purposes and can run in parallel.\n\n## Step 10 — Cryptographic verification (digest + proof)\n\nCryptographic verification proves that a document has not been tampered\nwith since a given point in time. This is QLDB's killer feature.\n\n> Moved to [references\u002Fverification-and-cryptography.md](references\u002Fverification-and-cryptography.md#step-10-cryptographic-verification-digest-and-proof-commands).\n> get-digest, get-revision with digest tip, Python proof verification, expert rules.\n\n## Step 11 — Revision hash chains\n\n> Moved to [references\u002Fverification-and-cryptography.md](references\u002Fverification-and-cryptography.md#step-11-revision-hash-chains).\n> How block hashes chain and why tampering breaks the chain.\n\n## Step 12 — CloudWatch metrics\n\n> Moved to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md#step-12-cloudwatch-metrics).\n> Metric table with alert thresholds (latency, journal storage, IOs, OccConflictExceptions).\n\n## NEVER do these things\n\n1. **NEVER use ALLOW_ALL permissions mode for production.** ALLOW_ALL\n   grants full CRUD to anyone with `qldb:SendCommand`. ALWAYS use\n   STANDARD.\n\n2. **NEVER deploy a production ledger without deletion protection.**\n   Without it, a single errant `delete-ledger` destroys the entire\n   journal irreversibly.\n\n3. **NEVER skip index creation on fields used in WHERE clauses.** QLDB\n   has no query optimizer. Queries on unindexed fields are full scans.\n\n4. **NEVER assume the KMS key can be changed after creation.** The KMS\n   key is immutable. Changing encryption requires recreating the ledger.\n\n5. **NEVER treat QLDB as a general-purpose NoSQL database.** QLDB is\n   purpose-built for immutable, cryptographically verified data. If you\n   do not need the audit trail, use DynamoDB.\n\n6. **NEVER wait until an audit is requested to set up journal export.**\n   Set up export and streaming pipelines at ledger creation.\n\n7. **NEVER store digests in the same ledger they verify.** Store them\n   externally (S3 with Object Lock).\n\n8. **NEVER use compound indexes.** QLDB supports only single-field\n   indexes. For multi-field queries, create separate indexes.\n\n9. **NEVER ignore OccConflictExceptions.** High conflict rates indicate\n   concurrent writes to the same document.\n\n10. **NEVER delete a ledger without disabling deletion protection\n    first.**\n\n## Output format — MANDATORY literal labels\n\nWhen invoked with a QLDB provisioning request, your ENTIRE\nresponse MUST be the block below. The labels are **case-sensitive\nall-caps keywords** — write them EXACTLY as shown. Do NOT write a\npreamble. Start with `LEDGER:` and stop after\n`VERIFICATION_COMMANDS:`.\n\n```text\nLEDGER: \u003Cledger-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nCHECKLIST:\n  [✓|✗] Permissions mode: STANDARD | ALLOW_ALL\n  [✓|✗] Deletion protection: enabled | disabled\n  [✓|✗] KMS encryption: \u003Ccustomer-managed|aws-owned> (\u003Ckey-arn>)\n  [✓|✗] Tables: \u003Clist of table names>\n  [✓|✗] Indexes: \u003Cfield list per table>\n  [✓|✗] Journal export: \u003Cconfigured|none> (bucket: \u003Cname>, role: \u003Carn>)\n  [✓|✗] Kinesis stream: \u003Cconfigured|none> (stream: \u003Cname>, role: \u003Carn>)\n  [✓|✗] Cryptographic verification: digest + proof workflow documented\n  [✓|✗] CloudWatch alerts: \u003Cmetrics list>\n  [✓|✗] Tags: \u003Ckey=value list>\nPARTIQL:\n  CREATE TABLE \u003Ctable-name>;\n  CREATE INDEX ON \u003Ctable-name> (\u003Cfield>);\n  INSERT INTO \u003Ctable-name> { ... };\nJOURNAL_EXPORT:\n  Role: \u003CIAM role ARN>\n  Bucket: s3:\u002F\u002F\u003Cbucket>\u002F\u003Cprefix>\n  Time range: \u003Cstart> to \u003Cend>\nSTREAM:\n  Kinesis stream: \u003Cstream-name>\n  Role: \u003CIAM role ARN>\n  Time range: \u003Cstart> to \u003Cend>\n  Aggregation: enabled | disabled\nVERIFICATION_COMMANDS:\n  aws qldb describe-ledger --name \u003Cledger-name> --region \u003Cregion>\n  aws qldb list-journal-kinesis-streams-for-ledger --ledger-name \u003Cledger-name> --region \u003Cregion>\n  aws qldb get-digest --name \u003Cledger-name> --region \u003Cregion>\n```\n\n**Status marker semantics:**\n- `[✓]` — requirement met.\n- `[✗]` — requirement missing; cite the gap.\n\n**PREREQUISITES_MISSING verdict:** if any checklist item fails,\noutput `VERDICT: PREREQUISITES_MISSING` with each gap marked `[✗]`\nand a reason. Do NOT also emit `READY_TO_DEPLOY`.\n\n### Worked example — STANDARD-mode audit ledger with KMS + Kinesis stream\n\n```text\nLEDGER: audit-ledger\nVERDICT: READY_TO_DEPLOY\nCHECKLIST:\n  [✓] Permissions mode: STANDARD\n  [✓] Deletion protection: enabled\n  [✓] KMS encryption: customer-managed (arn:aws:kms:us-east-1:123456789012:key\u002Fabc123)\n  [✓] Tables: transactions, accounts, audit_log\n  [✓] Indexes: transactions(transactionId, fromAccount), accounts(accountId), audit_log(eventType)\n  [✓] Journal export: configured (bucket: s3:\u002F\u002Fqldb-audit-export\u002Faudit-ledger\u002F2026-08\u002F, role: arn:aws:iam::123456789012:role\u002FQLDBExportRole)\n  [✓] Kinesis stream: configured (stream: qldb-audit-stream, role: arn:aws:iam::123456789012:role\u002FQLDBStreamRole)\n  [✓] Cryptographic verification: digest + proof workflow documented\n  [✓] CloudWatch alerts: CommandExecutionLatency >1000ms, OccConflictExceptions >5%, JournalStorage trending up\n  [✓] Tags: Environment=production, Application=audit, Compliance=SOX, Owner=finance-platform\nPARTIQL:\n  CREATE TABLE transactions;\n  CREATE TABLE accounts;\n  CREATE TABLE audit_log;\n  CREATE INDEX ON transactions (transactionId);\n  CREATE INDEX ON transactions (fromAccount);\n  CREATE INDEX ON accounts (accountId);\n  CREATE INDEX ON audit_log (eventType);\n  INSERT INTO transactions {\n    transactionId: 'txn-001',\n    amount: 1500.00,\n    currency: 'USD',\n    fromAccount: 'acc-aaa',\n    toAccount: 'acc-bbb',\n    timestamp: `2026-08-05T12:00:00Z`,\n    metadata: { source: 'mobile-app', notes: 'Transfer for invoice #12345' }\n  };\nJOURNAL_EXPORT:\n  Role: arn:aws:iam::123456789012:role\u002FQLDBExportRole\n  Bucket: s3:\u002F\u002Fqldb-audit-export\u002Faudit-ledger\u002F2026-08\u002F\n  Time range: 2026-08-01T00:00:00Z to 2026-08-31T23:59:59Z\nSTREAM:\n  Kinesis stream: qldb-audit-stream\n  Role: arn:aws:iam::123456789012:role\u002FQLDBStreamRole\n  Time range: 2026-08-05T00:00:00Z to 2026-12-31T23:59:59Z\n  Aggregation: enabled\nVERIFICATION_COMMANDS:\n  aws qldb describe-ledger --name audit-ledger --region us-east-1\n  aws qldb list-journal-kinesis-streams-for-ledger --ledger-name audit-ledger --region us-east-1\n  aws qldb get-digest --name audit-ledger --region us-east-1\n```\n\n## Error handling\n\n> Moved to [references\u002Ferror-handling.md](references\u002Ferror-handling.md#error-handling).\n> Symptom-by-symptom fixes: permissions mode, deletion, slow queries, export, stream, Occ conflicts.\n## References (load on demand)\n\n- [advanced-patterns](references\u002Fadvanced-patterns.md) — expert-heuristic deep dives, misconceptions, dependency-graph notes\n- [worked-examples](references\u002Fworked-examples.md) — IAM policy, Ion\u002FPartiQL SQL examples\n- [diagnostic-commands](references\u002Fdiagnostic-commands.md) — CloudWatch metrics and alert thresholds\n- [error-handling](references\u002Ferror-handling.md) — symptom-by-symptom troubleshooting\n- [export-and-streaming](references\u002Fexport-and-streaming.md) — S3 export and Kinesis stream detail and commands (existing)\n- [verification-and-cryptography](references\u002Fverification-and-cryptography.md) — digest\u002Fproof and hash-chain detail and commands (existing)\n\n## Domain\n\nAWS CloudOps \u002F Amazon QLDB Ledger Provisioning & Cryptographically\nVerified Immutable Database Management.\n\n## AWS documentation\n\n- **QLDB Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fwhat-is.html\n- **Create a ledger** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fledger-create.html\n- **Permissions modes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fledger-management.permissions.html\n- **PartiQL queries** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fdata-model.partiql.html\n- **Amazon Ion** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fion.html\n- **Journal export to S3** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fexport-journal.html\n- **Stream to Kinesis** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fstreams.html\n- **Cryptographic verification** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fverification.html\n- **Digests and proofs** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fverification.digests.html\n- **Indexes** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fqldb\u002Flatest\u002Fdeveloperguide\u002Fworking-data.indexes.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, qldb, ledger, cloudops, deploy, databases, provisioning, immutable, cryptographic, partiql, ion, hash-chain","1","Jacky Chan — AWS Community Builder","aws-cloudops","Databases","0.1.0","aws, qldb, quantum ledger database, immutable ledger, cloudops, deploy, provisioning, partiql, amazon ion, hash chain, cryptographic verification, journal export, kinesis stream, deletion protection, digest, proof","deploy","high","false","capability","Invoke when the user wants to create an Amazon QLDB ledger, configure permissions mode (STANDARD vs ALLOW_ALL), enable deletion protection, set up journal export to S3, stream journal data to Kinesis for real-time CDC, verify data integrity using cryptographic digests and proofs, create tables and indexes, or write PartiQL queries against Ion-format documents. Do NOT invoke for Amazon DynamoDB (use DynamoDB skills), Amazon DocumentDB (use DocumentDB skills), Amazon Timestream (use Timestream skills), or Amazon RDS (use RDS skills).","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 qldb access. Works with Terraform aws_qldb_ledger \u002F aws_qldb_stream \u002F aws_qldb_s3_export_task resources and the AWS SDK for PartiQL (qldb-session, qldb APIs).","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fqldb-ledger-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 qldb-ledger-deployer",{"tool":56,"command":57},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill qldb-ledger-deployer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill qldb-ledger-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002FSKILL.md",true,[64,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",5745,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Feval\u002Ftest-cases.yaml",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Fbaselines\u002Fallow-all-insecure.md",673,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fbaselines\u002Fallow-all-insecure.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Fbaselines\u002Fcryptographic-verification.md",847,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fbaselines\u002Fcryptographic-verification.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Fbaselines\u002Fexport-s3-compliance.md",937,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fbaselines\u002Fexport-s3-compliance.md",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Fbaselines\u002Fstandard-ledger-verification.md",734,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fbaselines\u002Fstandard-ledger-verification.md",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Fbaselines\u002Fstream-kinesis-cdc.md",839,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fbaselines\u002Fstream-kinesis-cdc.md",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Feval_config.yaml",1743,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Feval_config.yaml",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"evals\u002Fevals.json",9916,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fevals.json",{"path":99,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":100,"sourceHtmlUrl":101},"evals\u002Fprompts\u002Fallow-all-insecure.md",465,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fprompts\u002Fallow-all-insecure.md",{"path":103,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":104,"sourceHtmlUrl":105},"evals\u002Fprompts\u002Fcryptographic-verification.md",618,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fprompts\u002Fcryptographic-verification.md",{"path":107,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":108,"sourceHtmlUrl":109},"evals\u002Fprompts\u002Fexport-s3-compliance.md",544,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fprompts\u002Fexport-s3-compliance.md",{"path":111,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":112,"sourceHtmlUrl":113},"evals\u002Fprompts\u002Fstandard-ledger-verification.md",606,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fprompts\u002Fstandard-ledger-verification.md",{"path":115,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":116,"sourceHtmlUrl":117},"evals\u002Fprompts\u002Fstream-kinesis-cdc.md",553,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fevals\u002Fprompts\u002Fstream-kinesis-cdc.md",{"path":119,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":120,"sourceHtmlUrl":121},"examples\u002FREADME.md",9474,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fexamples\u002FREADME.md",{"path":123,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fadvanced-patterns.md",3814,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":127,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fdiagnostic-commands.md",703,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":131,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":132,"sourceHtmlUrl":133},"references\u002Ferror-handling.md",1023,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Ferror-handling.md",{"path":135,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":136,"sourceHtmlUrl":137},"references\u002Fexport-and-streaming.md",14717,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Fexport-and-streaming.md",{"path":139,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":140,"sourceHtmlUrl":141},"references\u002Fverification-and-cryptography.md",11196,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Fverification-and-cryptography.md",{"path":143,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":144,"sourceHtmlUrl":145},"references\u002Fworked-examples.md",1901,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Freferences\u002Fworked-examples.md",{"path":147,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":148,"sourceHtmlUrl":149},"skill.usf.yaml",4392,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fqldb-ledger-deployer\u002Fskill.usf.yaml",[151,158,165,172,179,186],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"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":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"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":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"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":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"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":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"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":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"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",[],[]]