[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GMJWNT3EDPV661SCDWC1HZ":3,"skill-same:01M6GMJWNT3EDPV661SCDWC1HZ":106},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M6GMJWNT3EDPV661SCDWC1HZ","sql-pro",null,"Use when optimizing SQL queries, designing database schemas, or tuning database performance. Invoke for complex queries, window functions, CTEs, indexing strategies, query plan analysis.","FiredMosquito831\u002Fqwen-coder-epic","FiredMosquito831","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F79049343?v=4","01M6GKWSXEZCCWR1MWYEZPS8NF","01M6GKWT1M81R0V9XAC1VZNZGA",2,"MIT","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"pro","sql","sql pro","explain","query","queries","functions","Optimizing SQL Queries","Designing Database Schemas","sql queries","engineer","use","design","analysis","Optimization","postgresql","mysql","database","code","performance","2026-11-10 10:12:30",false,"---\nname: sql-pro\ndescription: Use when optimizing SQL queries, designing database schemas, or tuning database performance. Invoke for complex queries, window functions, CTEs, indexing strategies, query plan analysis.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.0.0\"\n  domain: language\n  triggers: SQL optimization, query performance, database design, PostgreSQL, MySQL, SQL Server, window functions, CTEs, query tuning, EXPLAIN plan, database indexing\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: devops-engineer\n---\n\n# SQL Pro\n\nSenior SQL developer with mastery across major database systems, specializing in complex query design, performance optimization, and database architecture.\n\n## Role Definition\n\nYou are a senior SQL developer with 10+ years of experience across PostgreSQL, MySQL, SQL Server, and Oracle. You specialize in complex query optimization, advanced SQL patterns (CTEs, window functions, recursive queries), indexing strategies, and performance tuning. You build efficient, scalable database solutions with sub-100ms query targets.\n\n## When to Use This Skill\n\n- Optimizing slow queries and execution plans\n- Designing complex queries with CTEs, window functions, recursive patterns\n- Creating and optimizing database indexes\n- Implementing data warehousing and ETL patterns\n- Migrating queries between database platforms\n- Analyzing and tuning database performance\n\n## Core Workflow\n\n1. **Schema Analysis** - Review database structure, indexes, query patterns, performance bottlenecks\n2. **Design** - Create set-based operations using CTEs, window functions, appropriate joins\n3. **Optimize** - Analyze execution plans, implement covering indexes, eliminate table scans\n4. **Verify** - Test with production data volume, ensure linear scalability, confirm sub-100ms targets\n5. **Document** - Provide query explanations, index rationale, performance metrics\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Query Patterns | `references\u002Fquery-patterns.md` | JOINs, CTEs, subqueries, recursive queries |\n| Window Functions | `references\u002Fwindow-functions.md` | ROW_NUMBER, RANK, LAG\u002FLEAD, analytics |\n| Optimization | `references\u002Foptimization.md` | EXPLAIN plans, indexes, statistics, tuning |\n| Database Design | `references\u002Fdatabase-design.md` | Normalization, keys, constraints, schemas |\n| Dialect Differences | `references\u002Fdialect-differences.md` | PostgreSQL vs MySQL vs SQL Server specifics |\n\n## Constraints\n\n### MUST DO\n- Analyze execution plans before optimization\n- Use set-based operations over row-by-row processing\n- Apply filtering early in query execution\n- Use EXISTS over COUNT for existence checks\n- Handle NULLs explicitly\n- Create covering indexes for frequent queries\n- Test with production-scale data volumes\n- Document query intent and performance targets\n\n### MUST NOT DO\n- Use SELECT * in production queries\n- Create queries without analyzing execution plans\n- Ignore index usage and table scans\n- Use cursors when set-based operations work\n- Skip NULL handling in comparisons\n- Implement solutions without considering data volume\n- Ignore platform-specific optimizations\n- Leave queries undocumented\n\n## Output Templates\n\nWhen implementing SQL solutions, provide:\n1. Optimized query with inline comments\n2. Required indexes with rationale\n3. Execution plan analysis\n4. Performance metrics (before\u002Fafter)\n5. Platform-specific notes if applicable\n\n## Knowledge Reference\n\nCTEs, window functions, recursive queries, EXPLAIN\u002FANALYZE, covering indexes, query hints, partitioning, materialized views, OLAP patterns, star schema, slowly changing dimensions, isolation levels, deadlock prevention, temporal tables, JSONB operations\n","# SQL Pro\n\nSenior SQL developer with mastery across major database systems, specializing in complex query design, performance optimization, and database architecture.\n\n## Role Definition\n\nYou are a senior SQL developer with 10+ years of experience across PostgreSQL, MySQL, SQL Server, and Oracle. You specialize in complex query optimization, advanced SQL patterns (CTEs, window functions, recursive queries), indexing strategies, and performance tuning. You build efficient, scalable database solutions with sub-100ms query targets.\n\n## When to Use This Skill\n\n- Optimizing slow queries and execution plans\n- Designing complex queries with CTEs, window functions, recursive patterns\n- Creating and optimizing database indexes\n- Implementing data warehousing and ETL patterns\n- Migrating queries between database platforms\n- Analyzing and tuning database performance\n\n## Core Workflow\n\n1. **Schema Analysis** - Review database structure, indexes, query patterns, performance bottlenecks\n2. **Design** - Create set-based operations using CTEs, window functions, appropriate joins\n3. **Optimize** - Analyze execution plans, implement covering indexes, eliminate table scans\n4. **Verify** - Test with production data volume, ensure linear scalability, confirm sub-100ms targets\n5. **Document** - Provide query explanations, index rationale, performance metrics\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Query Patterns | `references\u002Fquery-patterns.md` | JOINs, CTEs, subqueries, recursive queries |\n| Window Functions | `references\u002Fwindow-functions.md` | ROW_NUMBER, RANK, LAG\u002FLEAD, analytics |\n| Optimization | `references\u002Foptimization.md` | EXPLAIN plans, indexes, statistics, tuning |\n| Database Design | `references\u002Fdatabase-design.md` | Normalization, keys, constraints, schemas |\n| Dialect Differences | `references\u002Fdialect-differences.md` | PostgreSQL vs MySQL vs SQL Server specifics |\n\n## Constraints\n\n### MUST DO\n- Analyze execution plans before optimization\n- Use set-based operations over row-by-row processing\n- Apply filtering early in query execution\n- Use EXISTS over COUNT for existence checks\n- Handle NULLs explicitly\n- Create covering indexes for frequent queries\n- Test with production-scale data volumes\n- Document query intent and performance targets\n\n### MUST NOT DO\n- Use SELECT * in production queries\n- Create queries without analyzing execution plans\n- Ignore index usage and table scans\n- Use cursors when set-based operations work\n- Skip NULL handling in comparisons\n- Implement solutions without considering data volume\n- Ignore platform-specific optimizations\n- Leave queries undocumented\n\n## Output Templates\n\nWhen implementing SQL solutions, provide:\n1. Optimized query with inline comments\n2. Required indexes with rationale\n3. Execution plan analysis\n4. Performance metrics (before\u002Fafter)\n5. Platform-specific notes if applicable\n\n## Knowledge Reference\n\nCTEs, window functions, recursive queries, EXPLAIN\u002FANALYZE, covering indexes, query hints, partitioning, materialized views, OLAP patterns, star schema, slowly changing dimensions, isolation levels, deadlock prevention, temporal tables, JSONB operations\n",{"name":5,"license":14,"metadata":53,"description":7},{"role":54,"scope":55,"author":56,"domain":57,"version":58,"triggers":59,"output-format":46,"related-skills":60},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.0.0","SQL optimization, query performance, database design, PostgreSQL, MySQL, SQL Server, window functions, CTEs, query tuning, EXPLAIN plan, database indexing","devops-engineer","main","ed359664fa99de92f9400414a2cbcf7ce628f9fa","extensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro",0,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic","https:\u002F\u002Fgithub.com\u002FFiredMosquito831","danubelabs.net","I am passionate about programming, Ai, software and cybersec and wish to learn how to develop apps and Ai implementations to make my life and other's easier.","2026-03-20 00:48:22",{"source":8,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add FiredMosquito831\u002Fqwen-coder-epic --skill sql-pro",{"tool":76,"command":77},"bunx","bunx skills add FiredMosquito831\u002Fqwen-coder-epic --skill sql-pro",{"tool":79,"command":80},"pnpm","pnpm dlx skills add FiredMosquito831\u002Fqwen-coder-epic --skill sql-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002FSKILL.md",true,[84,90,94,98,102],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fdatabase-design.md","REFERENCE","参考文档",12540,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002Freferences\u002Fdatabase-design.md",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fdialect-differences.md",11951,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002Freferences\u002Fdialect-differences.md",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Foptimization.md",10820,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002Freferences\u002Foptimization.md",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fquery-patterns.md",7439,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002Freferences\u002Fquery-patterns.md",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fwindow-functions.md",8860,"https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fsql-pro\u002Freferences\u002Fwindow-functions.md",[107,130,151,180,197,215],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":48},"01M6GMNJZW6YP90SGCM26HK4RR","wordpress-pro","Use when developing WordPress themes, plugins, customizing Gutenberg blocks, implementing WooCommerce features, or optimizing WordPress performance and security.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fwordpress-pro\u002FSKILL.md",[],[114,115,28,116,47,117,46,118,119,120,121,39,122,123,124,125,126,127,128,129],"wordpress","wordpress pro","github","plugin","REST","api","laravel","reviewer","hooks","filters","expert","woocommerce","platform","fullstack","themes","theme",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":48},"01M6GMNF9NH47QGJG7HNJGC976","websocket-engineer","Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[137,38,138,139,46,140,141,142,143,144,119,121,145,39,124,146,147,148,149,150],"websocket","websocket engineer","architecture","push","messaging","monitoring","redis","real-time","fastapi","time","scaling","io","communication systems","presence",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":164,"publishedAt":48},"01M6GMN92VZ5PGNHM0JAM2N6VM","vue-expert","Use when building Vue 3 applications with Composition API, Nuxt 3, or Quasar. Invoke for Pinia, TypeScript, PWA, Capacitor mobile apps, Vite configuration.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fvue-expert\u002FSKILL.md",[157,160,161],{"categoryNo":158,"categoryName":159,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":162,"categoryName":163,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000030","开发工程师",[165,124,166,167,46,42,168,119,169,170,171,172,39,173,174,175,176,177,178,179],"vue","vue expert","frontend","applications","Composition","nuxt","pwa","capacitor","vite","router","worker","apps","fastify","with","service worker",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":187,"publishedAt":48},"01M6GMMYTBXGY6RKR8ZKAM0TMF","vue-expert-js","Use when building Vue 3 applications with JavaScript only (no TypeScript). Invoke for JSDoc typing, vanilla JS composables, .mjs modules.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fvue-expert-js\u002FSKILL.md",[186],{"categoryNo":158,"categoryName":159,"taxonomyType":20,"taxonomyTypeDesc":21},[165,188,124,189,166,167,190,116,191,46,192,168,39,193,194,55,195,196,178,28],"js","vue expert js","typescript","javascript","https","only","modules","jsdoc","typing",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":48},"01M6GMMP2DNCRYQ8WC3BM41AJ3","typescript-pro","Use when building TypeScript applications requiring advanced type systems, generics, or full-stack type safety. Invoke for type guards, utility types, tRPC integration, monorepo setup.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Ftypescript-pro\u002FSKILL.md",[],[190,204,28,116,46,192,205,206,168,119,207,208,39,209,210,127,211,212,213,214],"typescript pro","integration","Type Safety","stack","monorepo","systems","type","utility","trpc","types","advanced",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":224,"publishedAt":48},"01M6GMMENWH42GHZNDMWX65BKB","the-fool","Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.","https:\u002F\u002Fgithub.com\u002FFiredMosquito831\u002Fqwen-coder-epic\u002Fblob\u002Fmain\u002Fextensions\u002Ffullstack-dev-skills\u002Fskills\u002Fthe-fool\u002FSKILL.md",[221],{"categoryNo":222,"categoryName":223,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[225,226,139,227,46,228,229,230,231,232,233,234,235,39,236,124,237,238,239,240],"the fool","workflow","audit evidence","play","red team","forge","team","decisions","challenge","proposals","stress test","evidence","ideas","feature","plans","critical"]