## Description:
Query, design, migrate, and optimize SQL databases for SQLite, PostgreSQL, and MySQL, including schema design, queries, migrations, indexing, backup and restore, and slow-query debugging without ORMs.
This skill is ready for commercial/non-commercial use.
## Publisher:
[gitgoodordietrying](https://clawhub.ai/user/gitgoodordietrying)
### License/Terms of Use:
## Use Case:
Developers and engineers use this skill to work directly with relational databases from the command line, including schema design, query writing, migrations, indexing, backup and restore, and performance troubleshooting.
### Deployment Geography for Use:
Global
## Known Risks and Mitigations:
Risk: Migration, import, and restore examples can change schemas, overwrite data, or restore into the wrong database.
Mitigation: Verify the target host and database, create a fresh backup before destructive operations, and prefer restoring into a new database first.
Risk: Database commands may expose credentials through shared shell history, logs, or overly broad database permissions.
Mitigation: Use least-privilege credentials and avoid placing real passwords in command lines, shared logs, or reusable shell history.
## Reference(s):
## Skill Output:
**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]
**Output Format:** [Markdown with SQL and shell command examples]
**Output Parameters:** [1D]
**Other Properties Related to Output:** [Requires at least one supported database CLI: sqlite3, psql, or mysql.]
## Skill Version(s):
1.0.0 (source: ClawHub release metadata)
## Ethical Considerations:
Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.