[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79N2R9J0FMVA13MFKAVV9P4":3,"skill-same:01M79N2R9J0FMVA13MFKAVV9P4":47},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79N2R9J0FMVA13MFKAVV9P4","benchmark",null,"Measure performance baselines and detect regressions across browser Core Web Vitals (LCP, INP, CLS, page weight), API endpoint latency percentiles, and build\u002Ftest feedback times, with before\u002Fafter comparison stored in git-tracked .ecc\u002Fbenchmarks JSON. Use when checking page speed, responding to 'it feels slow' reports, verifying launch performance targets, or comparing stack alternatives.","JunMystery\u002FAgent-Guidance","JunMystery","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F161468934?v=4","01M79MTMV8F0BY8NK1A92RA8A0","Jun","01M79MTMWCFBKPHN5B25E6V20B",0,"MIT","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fbenchmark\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: benchmark\ndescription: Measure performance baselines and detect regressions across browser Core Web Vitals (LCP, INP, CLS, page weight), API endpoint latency percentiles, and build\u002Ftest feedback times, with before\u002Fafter comparison stored in git-tracked .ecc\u002Fbenchmarks JSON. Use when checking page speed, responding to 'it feels slow' reports, verifying launch performance targets, or comparing stack alternatives.\nlicense: MIT\nmetadata:\n  origin: ECC\n---\n\n# Benchmark — Performance Baseline & Regression Detection\n\n## When to Use\n\n- Before and after a PR to measure performance impact\n- Setting up performance baselines for a project\n- When users report \"it feels slow\"\n- Before a launch — ensure you meet performance targets\n- Comparing your stack against alternatives\n\n## How It Works\n\n### Mode 1: Page Performance\n\nMeasures real browser metrics via browser MCP:\n\n```\n1. Navigate to each target URL\n2. Measure Core Web Vitals:\n   - LCP (Largest Contentful Paint) — target \u003C 2.5s\n   - CLS (Cumulative Layout Shift) — target \u003C 0.1\n   - INP (Interaction to Next Paint) — target \u003C 200ms\n   - FCP (First Contentful Paint) — target \u003C 1.8s\n   - TTFB (Time to First Byte) — target \u003C 800ms\n3. Measure resource sizes:\n   - Total page weight (target \u003C 1MB)\n   - JS bundle size (target \u003C 200KB gzipped)\n   - CSS size\n   - Image weight\n   - Third-party script weight\n4. Count network requests\n5. Check for render-blocking resources\n```\n\n### Mode 2: API Performance\n\nBenchmarks API endpoints:\n\n```\n1. Hit each endpoint 100 times\n2. Measure: p50, p95, p99 latency\n3. Track: response size, status codes\n4. Test under load: 10 concurrent requests\n5. Compare against SLA targets\n```\n\n### Mode 3: Build Performance\n\nMeasures development feedback loop:\n\n```\n1. Cold build time\n2. Hot reload time (HMR)\n3. Test suite duration\n4. TypeScript check time\n5. Lint time\n6. Docker build time\n```\n\n### Mode 4: Before\u002FAfter Comparison\n\nRun before and after a change to measure impact:\n\n```\n\u002Fbenchmark baseline    # saves current metrics\n# ... make changes ...\n\u002Fbenchmark compare     # compares against baseline\n```\n\nOutput:\n```\n| Metric | Before | After | Delta | Verdict |\n|--------|--------|-------|-------|---------|\n| LCP | 1.2s | 1.4s | +200ms | WARNING: WARN |\n| Bundle | 180KB | 175KB | -5KB | ✓ BETTER |\n| Build | 12s | 14s | +2s | WARNING: WARN |\n```\n\n## Output\n\nStores baselines in `.ecc\u002Fbenchmarks\u002F` as JSON. Git-tracked so the team shares baselines.\n\n## Integration\n\n- CI: run `\u002Fbenchmark compare` on every PR\n- Pair with `\u002Fcanary-watch` for post-deploy monitoring\n- Pair with `\u002Fbrowser-qa` for full pre-ship checklist\n","# Benchmark — Performance Baseline & Regression Detection\n\n## When to Use\n\n- Before and after a PR to measure performance impact\n- Setting up performance baselines for a project\n- When users report \"it feels slow\"\n- Before a launch — ensure you meet performance targets\n- Comparing your stack against alternatives\n\n## How It Works\n\n### Mode 1: Page Performance\n\nMeasures real browser metrics via browser MCP:\n\n```\n1. Navigate to each target URL\n2. Measure Core Web Vitals:\n   - LCP (Largest Contentful Paint) — target \u003C 2.5s\n   - CLS (Cumulative Layout Shift) — target \u003C 0.1\n   - INP (Interaction to Next Paint) — target \u003C 200ms\n   - FCP (First Contentful Paint) — target \u003C 1.8s\n   - TTFB (Time to First Byte) — target \u003C 800ms\n3. Measure resource sizes:\n   - Total page weight (target \u003C 1MB)\n   - JS bundle size (target \u003C 200KB gzipped)\n   - CSS size\n   - Image weight\n   - Third-party script weight\n4. Count network requests\n5. Check for render-blocking resources\n```\n\n### Mode 2: API Performance\n\nBenchmarks API endpoints:\n\n```\n1. Hit each endpoint 100 times\n2. Measure: p50, p95, p99 latency\n3. Track: response size, status codes\n4. Test under load: 10 concurrent requests\n5. Compare against SLA targets\n```\n\n### Mode 3: Build Performance\n\nMeasures development feedback loop:\n\n```\n1. Cold build time\n2. Hot reload time (HMR)\n3. Test suite duration\n4. TypeScript check time\n5. Lint time\n6. Docker build time\n```\n\n### Mode 4: Before\u002FAfter Comparison\n\nRun before and after a change to measure impact:\n\n```\n\u002Fbenchmark baseline    # saves current metrics\n# ... make changes ...\n\u002Fbenchmark compare     # compares against baseline\n```\n\nOutput:\n```\n| Metric | Before | After | Delta | Verdict |\n|--------|--------|-------|-------|---------|\n| LCP | 1.2s | 1.4s | +200ms | WARNING: WARN |\n| Bundle | 180KB | 175KB | -5KB | ✓ BETTER |\n| Build | 12s | 14s | +2s | WARNING: WARN |\n```\n\n## Output\n\nStores baselines in `.ecc\u002Fbenchmarks\u002F` as JSON. Git-tracked so the team shares baselines.\n\n## Integration\n\n- CI: run `\u002Fbenchmark compare` on every PR\n- Pair with `\u002Fcanary-watch` for post-deploy monitoring\n- Pair with `\u002Fbrowser-qa` for full pre-ship checklist\n",{"name":5,"license":15,"metadata":24,"description":7},{"origin":25},"ECC","main","5d0a87185c0e172c3901e2a6e5916b6d544b8b94","skills\u002Fbenchmark","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance","https:\u002F\u002Fgithub.com\u002FJunMystery","AI is the typist, I am the architect. Building efficient, secure, and user-centric products through disciplined AI prompt engineering.","2026-11-13 17:41:25",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add JunMystery\u002FAgent-Guidance --skill benchmark",{"tool":39,"command":40},"bunx","bunx skills add JunMystery\u002FAgent-Guidance --skill benchmark",{"tool":42,"command":43},"pnpm","pnpm dlx skills add JunMystery\u002FAgent-Guidance --skill benchmark","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fbenchmark\u002FSKILL.md",true,[],[48,54,60,66,72,78],{"skillNo":49,"name":50,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M79QR1E309VJ6CTQKB32AWWA","zero-trust-architecture-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fzero-trust-architecture-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79QQV7GHYR02DYGN41S23WN","xss-filter-evasion-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxss-filter-evasion-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79QQNSN7YB8XB61FFSCS3WH","xs-leaks-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxs-leaks-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79QQHZZJKFDY9132G5A65C2","xpath-injection-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxpath-injection-prevention-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M79QQB9ZSD3DJG8658EHQXR1","xml-security-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-security-cheat-sheet\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79QQ60WKV7PFMXWT9CW8PM6","xml-external-entity-prevention-cheat-sheet","https:\u002F\u002Fgithub.com\u002FJunMystery\u002FAgent-Guidance\u002Fblob\u002Fmain\u002Fskills\u002Fxml-external-entity-prevention-cheat-sheet\u002FSKILL.md",[],[]]