Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/agentscope-ai/agentscope-samples --skill database명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| 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.