AWS DynamoDB Practical Guide
A hands-on DynamoDB reference skill for schema design, queries, indexes, capacity and performance troubleshooting with CLI and boto3 examples.
Dev & CodingIntermediate★ 1,159⑂ 442AI score 8/10Last updated: Sep 15, 2026
What it does
- Summarizes core concepts — partition/sort keys, GSI vs LSI, on-demand vs provisioned capacity — in quick comparison tables.
- Ships ready-to-use snippets for table creation, CRUD, queries (sort-key conditions, filters, projections, pagination), batch operations, conditional writes and optimistic locking.
- Provides troubleshooting playbooks for throttling, hot partitions, empty query results and slow scans, including CloudWatch and parallel-scan recipes.
- Lists modeling, performance and cost best practices such as single-table design, sparse indexes, TTL and S3 archiving.
Who it's for
- Backend/serverless engineers on AWS designing their first DynamoDB schema.
- Developers who use boto3 or the AWS CLI and keep re-googling command syntax.
- Operators diagnosing latency, throttling or runaway DynamoDB costs.
Examples
- "Model users and orders in one table" → get PK/SK patterns plus a create-table command.
- "I need to look users up by email" → get the update-table call that adds an email GSI and the matching query code.
- "I keep hitting ProvisionedThroughputExceededException" → get CloudWatch commands to spot hot partitions and an adaptive retry config.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/dynamodb/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/dynamodb folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/dynamodb/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/itsmostafa/aws-agent-skills.git /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/dynamodb ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r aws-agent-skills/skills/dynamodb ~/.claude/skills/ - Prepare prerequisites:
pip install boto3, install the AWS CLI, then runaws configurewith credentials that have DynamoDB permissions. - Restart Claude Code and ask something like "help me design a DynamoDB table" to trigger the skill.
View source on GitHub ↗License: MIT