smithery/neversight

db-seed

Seed the DynamoDB database with sample data for development and testing. Populates galleries, inquiries, and admin tables. Use when setting up local dev environment or resetting test data. WARNING - never run in production.

Installation

$ npx skills add smithery/neversight --skill db-seed

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/neversight · top by installs.

npx skills add smithery/neversight

Browse all from smithery/neversight

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,844 B
  • docs SUMMARY.md 238 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Seed Database

Populate DynamoDB tables with sample data for development/testing.

WARNING

This skill modifies database data. ALWAYS verify the environment before proceeding.

Pre-checks

  1. Verify environment (NEVER run in production!):

``bash echo "Current AWS Profile: $AWS_PROFILE" aws sts get-caller-identity --profile pitfal ``

  1. Confirm with user before proceeding

Seed Commands

Seed All Tables (Recommended Order)

# 1. Seed admin users and settings first
aws dynamodb batch-write-item \
  --request-items file://scripts/seed-admin.json \
  --profile pitfal

# 2. Seed galleries and images
aws dynamodb batch-write-item \
  --request-items file://scripts/seed-galleries.json \
  --profile pitfal

# 3. Seed sample inquiries
aws dynamodb batch-write-item \
  --request-items file://scripts/seed-inquiries.json \
  --profile pitfal

Seed Individual Tables

Admin Users & Settings

aws dynamodb batch-write-item \
  --request-items file://scripts/seed-admin.json \
  --profile pitfal

Galleries & Images

aws dynamodb batch-write-item \
  --request-items file://scripts/seed-galleries.json \
  --profile pitfal

Inquiries

aws dynamodb batch-write-item \
  --request-items file://scripts/seed-inquiries.json \
  --profile pitfal

Verify Seeding

# Count items in galleries table
aws dynamodb scan \
  --table-name pitfal-galleries \
  --select COUNT \
  --profile pitfal

# Count items in inquiries table
aws dynamodb scan \
  --table-name pitfal-inquiries \
  --select COUNT \
  --profile pitfal

# Count items in admin table
aws dynamodb scan \
  --table-name pitfal-admin \
  --select COUNT \
  --profile pitfal

Seed Data Contents

File Contents
seed-admin.json Admin user, site settings, services, testimonials, FAQs
seed-galleries.json Sample galleries (brand, portrait, event) with images
seed-inquiries.json Sample booking inquiries in various statuses

Default Admin Credentials

  • Username: admin
  • Password: admin123 (change immediately in production!)
  • Note: Password hash in seed file is bcrypt with cost factor 12

Clear Data (Development Only)

To remove all seed data:

# This is destructive - confirm before running
aws dynamodb delete-table --table-name pitfal-galleries --profile pitfal
aws dynamodb delete-table --table-name pitfal-inquiries --profile pitfal
aws dynamodb delete-table --table-name pitfal-admin --profile pitfal
# Then re-run terraform apply to recreate tables