[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DR7BYNJ1KRRJA3DCS1CFYT":3,"skill-same:01M6DR7BYNJ1KRRJA3DCS1CFYT":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M6DR7BYNJ1KRRJA3DCS1CFYT","perf-audit",null,"AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fperf-audit\u002FSKILL.md",[],[17,18,19],"perf","audit","perf audit","2026-11-10 10:12:30",false,"# \u002Fperf-audit — Next.js Performance Audit Skill\n\n## Trigger\nUser says: \"perf-audit\", \"performance check\", \"bundle size\", \"slow page\", \"optimize\", \"lighthouse\"\n\n## Purpose\nAudit Next.js app performance: bundle size, rendering, images, and data fetching.\n\n## Steps\n\n### 1. Bundle Analysis\n```bash\n# Build with analysis\nANALYZE=true npx turbo build --filter=APP_NAME\n# Check build output sizes\nfind apps\u002FAPP\u002F.next -name \"*.js\" -size +100k | head -20\n# Check for large dependencies\nnpx turbo build --filter=APP_NAME 2>&1 | grep -E \"First Load|Route\"\n```\n- Flag any route chunk > 100KB\n- Flag First Load JS > 200KB\n- Look for duplicate dependencies across chunks\n\n### 2. Image Optimization\n```bash\n# Find raw img tags (should use next\u002Fimage)\ngrep -rn \"\u003Cimg \" --include=\"*.tsx\" --include=\"*.jsx\" apps\u002FAPP\u002F\n# Find large static images\nfind apps\u002FAPP\u002Fpublic -name \"*.png\" -o -name \"*.jpg\" -o -name \"*.jpeg\" | xargs ls -lhS | head -10\n# Check for missing width\u002Fheight on next\u002Fimage\ngrep -rn \"Image\" --include=\"*.tsx\" apps\u002FAPP\u002F | grep -v \"width\\|height\"\n```\n- All images should use `next\u002Fimage`\n- Static images > 200KB should be optimized or use WebP\n- Verify `priority` prop on above-fold hero images\n\n### 3. Rendering Analysis\n```bash\n# Find client components that could be server components\ngrep -rn \"'use client'\" --include=\"*.tsx\" apps\u002FAPP\u002F | head -20\n# Check for unnecessary client-side data fetching\ngrep -rn \"useEffect.*fetch\\|useSWR\\|useQuery\" --include=\"*.tsx\" apps\u002FAPP\u002F\n# Find components importing large client libraries\ngrep -rn \"import.*from.*framer-motion\\|import.*from.*moment\\|import.*from.*lodash\" --include=\"*.tsx\" apps\u002FAPP\u002F\n```\n- Flag `'use client'` components that don't use hooks or browser APIs\n- Flag client-side fetching that could be server-side\n- Flag large libraries (moment.js, lodash full import)\n\n### 4. Data Fetching\n```bash\n# Find fetch calls without caching config\ngrep -rn \"fetch(\" --include=\"*.ts\" --include=\"*.tsx\" apps\u002FAPP\u002F | grep -v \"cache\\|revalidate\\|next:\" | head -20\n# Check for N+1 query patterns\ngrep -rn \"findMany\\|findFirst\" --include=\"*.ts\" apps\u002FAPP\u002F | head -20\n```\n- Verify fetch calls have `cache` or `next.revalidate` config\n- Look for N+1 Prisma queries in loops\n- Check for missing `Suspense` boundaries on async components\n\n### 5. Third-party Scripts\n```bash\ngrep -rn \"script.*src\\|Script.*src\\|gtag\\|analytics\\|hotjar\\|intercom\" --include=\"*.tsx\" apps\u002FAPP\u002F | head -15\n```\n- Third-party scripts should use `next\u002Fscript` with `strategy=\"lazyOnload\"`\n- Analytics should not block rendering\n\n## Output\nProduce a summary table:\n| Category | Finding | Severity | File | Fix |\nRate overall: Good \u002F Needs Work \u002F Critical\n\n## Rules\n- Do NOT modify files during audit — report only\n- Focus on the app the user specifies (marketing, web, or admin)\n- If no app specified, audit all three and compare\n",{},"master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdev\u002Fperf-audit",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill perf-audit",{"tool":37,"command":38},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill perf-audit",{"tool":40,"command":41},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill perf-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fperf-audit\u002FSKILL.md",true,[],[46,59,72,85,98,111],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":20},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[53,54,55,56,57,58],"writing skills","writing","use","editing","work","deployment",{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":20},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[66,67,54,68,69,55,70,71],"plans","writing plans","requirements","task","code","spec",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":20},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[79,80,81,82,83,84,54],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":20},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[87,92,93,94,95,96,97],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[105,106,107,108,70,109,110],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[118,106,119,57,55,120,121,122],"verification before completion","commands","evidence","claim","complete"]