From airis-mcp-gateway
Guides safe database workflows: schema inspection before queries, read-before-write previews for mutations, user confirmations, and post-change verification.
npx claudepluginhub agiletec-inc/airis-mcp-gateway --plugin airis-mcp-gatewayThis skill uses the workspace's default tool permissions.
Use this workflow when you need to query, investigate, or modify database state.
Generates optimized SQL/NoSQL queries from natural language for PostgreSQL, MySQL, MongoDB, SQLite, Redis. Includes schema discovery, query explanations, index suggestions, and visual results.
Provides CLI commands for querying, schema inspection, table management, and operations on SQLite, PostgreSQL, and MySQL databases. Useful for DB tasks in code projects.
Guides SQL database design, query optimization, and migration safety. Useful when writing queries, designing schemas, or planning database migrations.
Share bugs, ideas, or general feedback.
Use this workflow when you need to query, investigate, or modify database state.
Gateway instructions already tell you WHICH tools handle database operations. This skill teaches the safe workflow for using them.
Before writing any query:
Never write a query against a table you haven't inspected.
Always run a SELECT to understand current state before any mutation:
| Operation | Caution Level |
|---|---|
| SELECT | Auto-execute OK |
| INSERT (new data) | Confirm with user — describe what will be inserted |
| UPDATE | Confirm with user — show the SELECT of affected rows first |
| DELETE | Always confirm — show affected rows and ask explicitly |
| DDL (ALTER, DROP) | Always confirm — these are irreversible |
After any INSERT/UPDATE/DELETE:
| Situation | Action |
|---|---|
| Need to understand data model | List tables → describe relevant tables |
| Simple data lookup | SELECT directly (schema check optional for known tables) |
| Data modification needed | SELECT first → confirm with user → execute → verify |
| Debugging a data issue | Schema check → SELECT to inspect state → trace the problem |
| Need to check logs | Use the Gateway's log retrieval tools |