public/codex/skills/languages/sql/SKILL.md
SQL and MyBatis rules for queries, mapper XML, dynamic SQL, and database contract edges: minimize joins, preserve result semantics, keep business logic in Java, and validate parameters, aliases, plans, and edge data.
npx skillsauth add jungho-git/jllm sqlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this rule when:
SQL changes should preserve data semantics before optimizing shape.
resultMap behavior together.EXISTS, subqueries, or direct lookups when clearer and equivalent.SELECT *.WHERE.LIMIT for large result sets.UNION ALL when broad OR conditions disable indexes.HAVING for row-level filters.<if test>, check empty string before null when both are relevant.CASE or IF() on indexed columns.<sql> snippets unless the user asks or real repeated common clauses require them.AS for table and column aliases.AND/OR.testing
Required phase order for non-trivial tasks: Plan, Explore, Implement, Verify, Finalize. Use for multi-step work, scoped exploration, re-planning, validation, and final synthesis.
development
Final response format: Korean-first, concise Process / Checks / Issues / Updates, optional Usage, with only actual changes, actual validation, real blockers, changed files, and measured token data when available.
development
Smallest complete change rule: preserve local code shape, extend existing patterns, avoid speculative extraction or cleanup, and include required coupled updates for correctness.
development
Code comment policy: numbered one-line `―` dividers for touched declarations and logical sections, paired outer blocks only for long regions, concise purpose comments, and no comment churn.