Tooluck logoTooluck
SKILL.md

dynamodb

Agent skill fromitsmostafa/aws-agent-skills

AWS DynamoDB NoSQL database for scalable data storage. Use when designing table schemas, writing queries, configuring indexes, managing capacity, implementing single-table design, or troubleshooting performance issues.

How to install dynamodb

install dynamodb
# install the aws-agent-skills pack with the skills CLI
npx skills add itsmostafa/aws-agent-skills

# or add only this skill to Claude Code: copy the folder

skills/dynamodb/

# into

~/.claude/skills/dynamodb/ (all projects)

.claude/skills/dynamodb/ (one project)

skills/dynamodb/SKILL.md

MITFull file
1# AWS DynamoDB
2
3Amazon DynamoDB is a fully managed NoSQL database service providing fast, predictable performance at any scale. It supports key-value and document data structures.
4
5## Table of Contents
6
7- [Core Concepts](#core-concepts)
8- [Common Patterns](#common-patterns)
9- [CLI Reference](#cli-reference)
10- [Best Practices](#best-practices)
11- [Troubleshooting](#troubleshooting)
12- [References](#references)
13
14## Core Concepts
15
16### Keys
17
18| Key Type | Description |
19|----------|-------------|
20| **Partition Key (PK)** | Required. Determines data distribution |
21| **Sort Key (SK)** | Optional. Enables range queries within partition |
22| **Composite Key** | PK + SK combination |
23
24### Secondary Indexes
25
26| Index Type | Description |
27|------------|-------------|
28| **GSI (Global Secondary Index)** | Different PK/SK, separate throughput, eventually consistent |
29| **LSI (Local Secondary Index)** | Same PK, different SK, shares table throughput, strongly consistent option |
30
31### Capacity Modes
32
33| Mode | Use Case |
34|------|----------|
35| **On-Demand** | Unpredictable traffic, pay-per-request |
36| **Provisioned** | Predictable traffic, lower cost, can use auto-scaling |
37
38## Common Patterns
39
40### Create a Table
41
42**AWS CLI:**
43
44```bash
45aws dynamodb create-table \
46 --table-name Users \
47 --attribute-definitions \
48 AttributeName=PK,AttributeType=S \
49 AttributeName=SK,AttributeType=S \
50 --key-schema \
51 AttributeName=PK,KeyType=HASH \
52 AttributeName=SK,KeyType=RANGE \
53…

Excerpt shown under the repository's MIT license.

More skills in aws-agent-skills

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates