database-design

🔓Unverified
by skillcreatorai · v1.0.0 · MIT

Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases. Use for designing schemas, writing migrations, or optimizing queries.

Install on your platform

We auto-selected OpenClaw based on this skill’s supported platforms.

1Run this command in your terminal. The skill is immediately available.
terminal

About This Skill

What it does

This skill assists in the design of database schemas, including defining tables, columns, data types, and relationships. It can also generate SQL scripts for migrating existing databases to new structures and provide suggestions for query optimization across PostgreSQL, MySQL, and NoSQL database systems. The tool supports creating efficient and scalable database solutions tailored to specific application needs.

When to use it

  • New Application Development: Design the initial database schema for a new software project requiring persistent data storage.
  • Database Refactoring: Modify an existing database structure to improve performance or accommodate changing business requirements.
  • Migration Planning: Generate SQL scripts to migrate data and schemas between different versions of a database system (e.g., upgrading MySQL).
  • Query Optimization: Identify bottlenecks in current queries and receive recommendations for improving their execution speed.

Key capabilities

  • PostgreSQL schema design support
  • MySQL schema design support
  • NoSQL database schema design support
  • Database migration script generation
  • Query optimization suggestions

Example prompts

  • "Design a PostgreSQL schema for an e-commerce application with tables for products, customers, and orders."
  • "Generate a MySQL migration script to add a new 'reviews' table to my existing database."
  • "Suggest ways to optimize this query: SELECT * FROM users WHERE last_login < DATE('now', '-30 days'); "

Tips & gotchas

  • The skill’s effectiveness depends on providing clear and specific requirements for the desired database design or optimization. Vague prompts may yield less useful results.
  • While it supports multiple database systems, familiarity with SQL syntax is helpful to interpret and adapt generated scripts.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
v1.0.0
License
MIT
Author
skillcreatorai
Installs
0

🔓 Unverified

Not yet reviewed. Use with caution.