[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-e9d3c2b1-bebc-4daf-8c1c-73263ed86425":3,"$fvnnEw98QKmP3ukbCfrVY9GLQkCzM9vqDY6UDJ2X46lo":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"e9d3c2b1-bebc-4daf-8c1c-73263ed86425","sql-optimization-patterns","通过系统优化、合理索引和查询计划分析，将缓慢的数据库查询转化为闪电般的操作。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: sql-optimization-patterns\ndescription: \"Transform slow database queries into lightning-fast operations through systematic optimization, proper indexing, and query plan analysis.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# SQL Optimization Patterns\n\nTransform slow database queries into lightning-fast operations through systematic optimization, proper indexing, and query plan analysis.\n\n## Use this skill when\n\n- Debugging slow-running queries\n- Designing performant database schemas\n- Optimizing application response times\n- Reducing database load and costs\n- Improving scalability for growing datasets\n- Analyzing EXPLAIN query plans\n- Implementing efficient indexes\n- Resolving N+1 query problems\n\n## Do not use this skill when\n\n- The task is unrelated to sql optimization patterns\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,163,1087,"2026-05-16 13:41:41",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"786d6e2e-ec05-4c20-a726-2132d81ad5fe","1.0.0","sql-optimization-patterns.zip",5641,"uploads\u002Fskills\u002Fe9d3c2b1-bebc-4daf-8c1c-73263ed86425\u002Fsql-optimization-patterns.zip","35c9fd2a3562393ce5bf25a0cfc3b96dd441f85d0a879cb9a61ba3b333993722","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":1533},{\"path\":\"resources\u002Fimplementation-playbook.md\",\"isDirectory\":false,\"size\":13329}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]