database – Data & Science skill for AI agents
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
Install the database skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-976cc.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /database – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-976cc.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $database – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-976cc.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /database – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/database-976cc.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /database – then describe the task you want done.
SKILL.md content
Database Workflow Bundle
Overview
Comprehensive database workflow for database design, development, optimization, migrations, and data engineering. Covers SQL, NoSQL, and modern data platforms.
When to Use This Workflow
Use this workflow when:
- Designing database schemas
- Implementing database migrations
- Optimizing query performance
- Setting up data pipelines
- Managing database operations
- Implementing data quality
Workflow Phases
Phase 1: Database Design
Skills to Invoke
database-architect- Database architecturedatabase-design- Schema designpostgresql- PostgreSQL designnosql-expert- NoSQL design
Actions
1. Gather requirements
2. Design schema
3. Define relationships
4. Plan indexing strategy
5. Design for scalability
Copy-Paste Prompts
Use @database-architect to design database schemaUse @postgresql to design PostgreSQL schemaPhase 2: Database Implementation
Skills to Invoke
prisma-expert- Prisma ORMdatabase-migrations-sql-migrations- SQL migrationsneon-postgres- Serverless Postgres
Actions
1. Set up database connection
2. Configure ORM
3. Create migrations
4. Implement models
5. Set up seed data
Copy-Paste Prompts
Use @prisma-expert to set up Prisma ORMUse @database-migrations-sql-migrations to create migrationsPhase 3: Query Optimization
Skills to Invoke
database-optimizer- Database optimizationsql-optimization-patterns- SQL optimizationpostgres-best-practices- PostgreSQL optimization
Actions
1. Analyze slow queries
2. Review execution plans
3. Optimize indexes
4. Refactor queries
5. Implement caching
Copy-Paste Prompts
Use @database-optimizer to optimize database performanceUse @sql-optimization-patterns to optimize SQL queriesPhase 4: Data Migration
Skills to Invoke
database-migration- Database migrationframework-migration-code-migrate- Code migration
Actions
1. Plan migration strategy
2. Create migration scripts
3. Test migration
4. Execute migration
5. Verify data integrity
Copy-Paste Prompts
Use @database-migration to plan database migrationPhase 5: Data Pipeline Development
Skills to Invoke
data-engineer- Data engineeringdata-engineering-data-pipeline- Data pipelinesairflow-dag-patterns- Airflow workflowsdbt-transformation-patterns- dbt transformations
Actions
1. Design data pipeline
2. Set up data ingestion
3. Implement transformations
4. Configure scheduling
5. Set up monitoring
Copy-Paste Prompts
Use @data-engineer to design data pipelineUse @airflow-dag-patterns to create Airflow DAGsPhase 6: Data Quality
Skills to Invoke
data-quality-frameworks- Data qualitydata-engineering-data-driven-feature- Data-driven features
Actions
1. Define quality metrics
2. Implement validation
3. Set up monitoring
4. Create alerts
5. Document standards
Copy-Paste Prompts
Use @data-quality-frameworks to implement data quality checksPhase 7: Database Operations
Skills to Invoke
database-admin- Database administrationbackup-automation- Backup automation
Actions
1. Set up backups
2. Configure replication
3. Monitor performance
4. Plan capacity
5. Implement security
Copy-Paste Prompts
Use @database-admin to manage database operationsDatabase Technology Workflows
PostgreSQL
Skills: postgresql, postgres-best-practices, neon-postgres, prisma-expertMongoDB
Skills: nosql-expert, azure-cosmos-db-pyRedis
Skills: bullmq-specialist, upstash-qstashData Warehousing
Skills: clickhouse-io, dbt-transformation-patternsOperational boundaries
Select only needed phases and read the actual specialized skill before use. For migrations, identify the exact database/account, backup and tested restore path, lock/downtime effects and rollback or forward-repair plan. Rehearse against representative nonproduction data and verify row counts/invariants and application compatibility. Use least-privileged credentials and synthetic seeds; do not export private production records as test data. Query-plan commands that execute statements need the same scope as those statements. A configured backup is not a verified restore.
Quality Gates
- [ ] Schema designed and reviewed
- [ ] Migrations tested
- [ ] Performance benchmarks met
- [ ] Backups configured
- [ ] Monitoring in place
- [ ] Documentation complete
Related Workflow Bundles
development- Application developmentcloud-devops- Infrastructureai-ml- AI/ML data pipelinestesting-qa- Data testing
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- database-admin – Expert database administrator specializing in modern cloud databases, automation, and…
- database-architect – Expert database architect specializing in data layer design from scratch, technology…
- database-backups – Implement database backup strategies. Configure automated backups, retention, and…
- database-migration – Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma)…
- database-migrations-migration-observability – Migration monitoring, CDC, and observability infrastructure
- searxng-search – Free keyless meta-search aggregating 70+ engines.
- scientific-visualization – Creates and audits truthful, accessible, publication-ready scientific figures with…
- database-migrations-sql-migrations – SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, and SQL…