brainstorming
Structured design dialogue that validates ideas before implementation begins.
database-reset-dev
Resets local development database by deleting all data and restarting API container to trigger auto-seeding. SINGLE SOURCE OF TRUTH for dev database reset automation.
Full skill instructions
Purpose: Full database reset for local development environment - deletes all data and restarts API container to trigger automatic seed data population.
When to Use:
When NOT to Use:
database-reset-staging skill instead)restart-dev-containers skill)Background: API container automatically seeds database on startup through DatabaseInitializationService when database is empty.
This skill performs DESTRUCTIVE operations:
public AND cms schemas will be DROPPED and recreatedwitchcityrope_dev)Prerequisites:
Executable Script: execute.sh
# From project root - with confirmation prompt
bash .claude/skills/database-reset-dev/execute.sh
# Skip confirmation prompt (for automation)
SKIP_CONFIRMATION=true bash .claude/skills/database-reset-dev/execute.sh
What the script does:
Script includes CRITICAL safety warnings - this is a DESTRUCTIVE operation that cannot be undone.
Local Development Database:
Note: Port 5434 is used to avoid conflicts with other local PostgreSQL instances.
When API container starts with an empty database:
DatabaseInitializationService runs automaticallySeedCoordinator to populate seed data:
Total seed time: ~10-15 seconds after container startup
If skill fails, manual steps:
Step 1: Connect to database and drop schemas
PGPASSWORD=devpass123 psql -h localhost -p 5434 -U postgres -d witchcityrope_dev -c "DROP SCHEMA IF EXISTS public CASCADE; CREATE SCHEMA public; DROP SCHEMA IF EXISTS cms CASCADE;"
Step 2: Restart containers
bash .claude/skills/restart-dev-containers/execute.sh
Step 3: Verify seed data
PGPASSWORD=devpass123 psql -h localhost -p 5434 -U postgres -d witchcityrope_dev -c "SELECT COUNT(*) FROM \"Users\" WHERE \"Email\" LIKE '%@witchcityrope.com';"
Cause: PostgreSQL client not installed locally
Solution:
# Ubuntu/Debian
sudo apt install postgresql-client
# macOS
brew install postgresql
Cause: Docker containers not running
Solution:
Cause: Database was deleted entirely (not just schemas)
Solution:
PGPASSWORD=devpass123 psql -h localhost -p 5434 -U postgres -c "CREATE DATABASE witchcityrope_dev;"
Cause: API container seeding disabled or failed
Solution:
DatabaseInitializationService ranCause: API container needs more time to start, or compilation/migration errors
Solution:
Cause: Another PostgreSQL instance using that port
Solution:
lsof -i :5434Typical usage scenarios:
Scenario 1: Clean testing environment
Before E2E tests that require specific seed data state:
1. Run this skill to reset database
2. Run tests immediately
Scenario 2: Database corruption during development
Database in bad state from manual changes:
1. Run this skill to get fresh seed data
2. Continue development
Scenario 3: Testing seed data changes
Modified seed data logic in API:
1. Run this skill
2. Verify new seed data populated correctly
Related skills:
restart-dev-containers: Use this if you just need container restart WITHOUT database resetdatabase-reset-staging: Staging environment equivalent (different database, different procedure)When to use which:
restart-dev-containersdatabase-reset-stagingOn success:
✅ Database Reset Complete
==========================
📊 Summary:
• Database: witchcityrope_dev
• Schemas: Dropped and recreated
• Seed data: Populated
• Test users: 7 accounts
🎯 Ready for:
• Development
• Testing
• Fresh start
On failure:
❌ Database Reset Failed
Error: [specific error message]
💡 Troubleshooting:
• Check Docker is running
• Verify psql client installed
• Review container logs for errors
• See: .claude/skills/database-reset-dev/SKILL.md (Common Issues)
restart-dev-containers skillrestart-dev-containers skill (container management)database-reset-staging skill (staging equivalent)Remember: This skill is for development only. Never use on staging or production. Use restart-dev-containers skill if you don't need database reset.
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs