在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用database
星标323
分支88
更新时间2026年2月2日 05:57
Guidelines for handling databases
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Guidelines for handling databases
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Guidelines for handling CSV/Excel files
Guidelines for handling image files
Guildlines for handling json files
Guidelines for handling text files
| name | database |
| description | Guidelines for handling databases |
| type | relational_db |
SELECT *, always run SELECT COUNT(*) FROM table_name to understand the scale.SELECT * FROM table_name LIMIT 5 to see actual data formats.LIMIT: Never execute a query without a LIMIT clause unless the row count is confirmed to be small.SELECT *: In production-scale tables, explicitly name columns to reduce I/O and memory usage."UserTable" in Postgres, `UserTable` in MySQL).JOIN operations, ensure joining columns are indexed to prevent full table scans.GROUP BY, ensure the result set size is manageable.DECIMAL, BIGINT, TIMESTAMP) are correctly mapped to Python/JSON types without precision loss.NULL values to a consistent "missing" representation (e.g., None or NaN).fetchmany(size) or OFFSET/LIMIT pagination instead of fetching everything into memory at once.DATE(), UPPER()) within the WHERE clause.DISTINCT and UNION (which performs de-duplication) on multi-million row sets unless necessary; use UNION ALL if duplicates are acceptable.ORDER BY on large non-indexed text fields.LIKE patterns (e.g., %term) on large text columns.WHERE col = FUNC(val) is good; WHERE FUNC(col) = val is bad.WHERE conditions as close to the base tables as possible.WITH for complex multi-step logic to improve maintainability and optimizer hints.