[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7237MJXJPCCVYP02VM9RYZR":3,"skill-same:01M7237MJXJPCCVYP02VM9RYZR":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7237MJXJPCCVYP02VM9RYZR","postgres-explain",null,"Reads a PostgreSQL EXPLAIN ANALYZE plan, identifies where the time and rows go, and proposes index or query rewrites with the expected effect. Use when the user pastes a query plan, asks why a query is slow, or mentions sequential scans, nested loops, or missing indexes.","product-on-purpose\u002Fagent-skills-toolkit","product-on-purpose","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253892650?v=4","01M7230Q4442AHBADCVFJCS277","Product on Purpose","01M7230Q4SFDBKY7586D5M7EFX",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Faudit-corpus-labelled\u002F02-excellent-orphan\u002Fskills\u002Fpostgres-explain\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: \"postgres-explain\"\ndescription: \"Reads a PostgreSQL EXPLAIN ANALYZE plan, identifies where the time and rows go, and proposes index or query rewrites with the expected effect. Use when the user pastes a query plan, asks why a query is slow, or mentions sequential scans, nested loops, or missing indexes.\"\nmetadata:\n  version: \"0.1.0\"\n  tier: universal\n  status: active\n---\n\n# postgres-explain\n\n## Purpose\n\nExplain a PostgreSQL `EXPLAIN (ANALYZE, BUFFERS)` plan in terms of where time goes, then propose the smallest change that removes the dominant cost.\n\n## Procedure\n\n1. If the user gave a query but no plan, ask them to run `EXPLAIN (ANALYZE, BUFFERS, FORMAT TEXT)` and paste it. Warn that ANALYZE executes the query.\n2. Find the node with the largest exclusive time (actual total time minus children). That is the target; ignore everything else until it is addressed.\n3. Read the estimate-versus-actual rows on that node. A gap over 10x means stale statistics or a correlation the planner cannot see: propose `ANALYZE \u003Ctable>` first, or extended statistics for correlated columns.\n4. Match the node type to a remedy:\n   - Seq Scan with a selective filter: an index on the filter columns, in filter order, with the most selective first.\n   - Nested Loop with a large outer side: usually a missing index on the inner join key, or a bad row estimate on the outer side.\n   - Hash Join spilling (Batches > 1): raise `work_mem` for the session, or reduce the hashed side.\n   - Sort with external merge: an index matching the ORDER BY, or a smaller working set.\n5. State the expected effect in the plan's own units (\"this removes the 480 ms seq scan; expect under 5 ms with the index\").\n\n## Report\n\nLead with the one change to make. Then the evidence: the node, its time, its row estimate versus actual. Then the second-order options. Never propose more than three changes at once.\n\n","# postgres-explain\n\n## Purpose\n\nExplain a PostgreSQL `EXPLAIN (ANALYZE, BUFFERS)` plan in terms of where time goes, then propose the smallest change that removes the dominant cost.\n\n## Procedure\n\n1. If the user gave a query but no plan, ask them to run `EXPLAIN (ANALYZE, BUFFERS, FORMAT TEXT)` and paste it. Warn that ANALYZE executes the query.\n2. Find the node with the largest exclusive time (actual total time minus children). That is the target; ignore everything else until it is addressed.\n3. Read the estimate-versus-actual rows on that node. A gap over 10x means stale statistics or a correlation the planner cannot see: propose `ANALYZE \u003Ctable>` first, or extended statistics for correlated columns.\n4. Match the node type to a remedy:\n   - Seq Scan with a selective filter: an index on the filter columns, in filter order, with the most selective first.\n   - Nested Loop with a large outer side: usually a missing index on the inner join key, or a bad row estimate on the outer side.\n   - Hash Join spilling (Batches > 1): raise `work_mem` for the session, or reduce the hashed side.\n   - Sort with external merge: an index matching the ORDER BY, or a smaller working set.\n5. State the expected effect in the plan's own units (\"this removes the 480 ms seq scan; expect under 5 ms with the index\").\n\n## Report\n\nLead with the one change to make. Then the evidence: the node, its time, its row estimate versus actual. Then the second-order options. Never propose more than three changes at once.\n\n",{"name":5,"metadata":24,"description":7},{"tier":25,"status":26,"version":27},"universal","active","0.1.0","main","b0a696723b1155d08503a8441c981998f9d13c34","tests\u002Ffixtures\u002Faudit-corpus-labelled\u002F02-excellent-orphan\u002Fskills\u002Fpostgres-explain",0,"https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit","https:\u002F\u002Fproduct-on-purpose.github.io\u002Fagent-skills-toolkit","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose","2026-11-14 15:02:57",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add product-on-purpose\u002Fagent-skills-toolkit --skill postgres-explain",{"tool":42,"command":43},"bunx","bunx skills add product-on-purpose\u002Fagent-skills-toolkit --skill postgres-explain",{"tool":45,"command":46},"pnpm","pnpm dlx skills add product-on-purpose\u002Fagent-skills-toolkit --skill postgres-explain","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Faudit-corpus-labelled\u002F02-excellent-orphan\u002Fskills\u002Fpostgres-explain\u002FSKILL.md",true,[],[51,58,63,68,75,82],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M723BRSVFQ2KRQ8KKY42R6XB","fx-demo","A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests\u002Funit\u002Fself-consistency.test.mjs.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Frepaired\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":59,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M723BPZ1NQDZSEF21D3YP2VF","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fpre-fix\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":64,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M723BNCZXT3BM577HJYESV08","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fself-consistency\u002Fbody-drift\u002Fskills\u002Ffx-demo\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M723BKWKX9JG10YQ6NK79ZB6","sf-caller","Calls the worker subagent to do a thing. Use when delegating work to sf-worker.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsubagent-fixture\u002Fskills\u002Fsf-caller\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M723BJNDZHEJTNBJP6ZJA8WM","sf-do-thing","Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Fsilver-fixture\u002Fskills\u002Fsf-do-thing\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M723BH7BYXT0A05PG6QH6B98","root-skill-plugin","Summarizes a changelog section into one release-note sentence. Use when the user asks to condense a list of changelog bullets into a single announcement line.","https:\u002F\u002Fgithub.com\u002Fproduct-on-purpose\u002Fagent-skills-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgolden\u002Froot-skill-plugin\u002FSKILL.md",[],[]]