[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DJXDCQ8KM3CYCKM24XW6M0":3,"skill-same:01M7DJXDCQ8KM3CYCKM24XW6M0":50},{"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":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7DJXDCQ8KM3CYCKM24XW6M0","maestro-performance",null,"Use when performance targets exist, users report slowness, a regression is suspected, or profiling identifies a bottleneck.","Orchestration-Maestro\u002Fmaestro-manifests","Orchestration-Maestro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F322897002?v=4","01M7DJV5QYHV5358EX4AGZJZK3","01M7DJV5RPB4CBJZBKV9AHREM6",0,"MIT","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-performance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maestro-performance\ndescription: \"Use when performance targets exist, users report slowness, a regression is suspected, or profiling identifies a bottleneck.\"\n---\n\n# Measure, change, keep or revert\n\n## Set the target and baseline\n\nRead the project's existing budgets and previous attempts first. For a regression, measure the original\nsymptom and bisect before changing code. Select the metric users feel: LCP, INP, p95 latency or another\nobserved result. Use representative devices, networks, data and traffic, not only the developer machine.\n\nUse controlled synthetic measurements to isolate regressions and real-user measurements to confirm the\nexperience in the field. Record command, conditions, cache state, fixed sampling budget and variance.\n\n| Web metric | Good | Needs improvement | Poor |\n| --- | --- | --- | --- |\n| LCP | \u003C=2.5 s | >2.5 through 4 s | >4 s |\n| INP | \u003C=200 ms | >200 through 500 ms | >500 ms |\n| CLS | \u003C=0.1 | >0.1 through 0.25 | >0.25 |\n\nInvestigate TTFB above 800 ms. These bands guide investigation, not an assertion about this project.\n\n## Find the bottleneck\n\nFor initial loads, read the network waterfall: DNS, connection\u002FTLS, server waiting, blocking CSS\u002Fscripts,\nimages and bundle size. For slow interactions, profile main-thread tasks, rerenders and forced layout.\nFor navigation, separate API waterfalls from client rendering. For backend slowness, inspect query plans,\nconnection waits, CPU, memory, lock contention and external dependencies.\n\nChoose the specific fix from [optimization patterns](optimization-patterns.md). A slow request alone\ndoes not prove a missing index, and a large pool does not prove useful concurrency.\n\n## Change one thing\n\nFix only the measured bottleneck. Re-measure with the baseline's command, conditions and sampling budget.\nRepeat enough to distinguish the improvement from run-to-run variance. A hypothetical 3% change inside\n5% variance is inconclusive, not a win.\n\n| Result | Action |\n| --- | --- |\n| Meets the target beyond noise and correctness tests pass | Keep, with before\u002Fafter evidence |\n| Within noise or no measurable improvement | Revert |\n| Worse, or any required behaviour regresses | Revert |\n\nNever obtain a faster result by removing validation, skipping required work or weakening a test. If several\nchanges must ship together, measure each separately before combining them.\n\nLog every attempt, including reverted work, in the PR or the project's performance ledger: idea, baseline,\nresult, variance, verdict and reason. Mark illustrative measurements as hypothetical; do not invent a result.\nThe next investigation should read this ledger rather than repeat a failed experiment.\n\n## Guard the result\n\nUse the same user-facing metric for a reproducible synthetic CI budget and field monitoring where applicable.\nCompare repeated samples, medians or trends so measurement noise does not become a flaky check. Watch\nattributed real-user p75; a rolling aggregate confirms trends but is not an immediate alert.\n\nIllustrative budgets, only when the project has no chosen budget:\n\n| Surface | Example budget |\n| --- | --- |\n| Initial script | \u003C200 KB gzipped |\n| CSS | \u003C50 KB gzipped |\n| Above-fold image | \u003C200 KB each |\n| Fonts | \u003C100 KB total |\n| API latency | p95 \u003C200 ms |\n| Interactive time | \u003C3.5 s on 4G |\n| Browser performance score | >=90 |\n\nChoose executable checks for the discovered stack and actual surface. Use `\u002Fskill:maestro-verify` before\nclaiming improvement. When a guard fires, establish a fresh baseline instead of reusing an old explanation.\n","# Measure, change, keep or revert\n\n## Set the target and baseline\n\nRead the project's existing budgets and previous attempts first. For a regression, measure the original\nsymptom and bisect before changing code. Select the metric users feel: LCP, INP, p95 latency or another\nobserved result. Use representative devices, networks, data and traffic, not only the developer machine.\n\nUse controlled synthetic measurements to isolate regressions and real-user measurements to confirm the\nexperience in the field. Record command, conditions, cache state, fixed sampling budget and variance.\n\n| Web metric | Good | Needs improvement | Poor |\n| --- | --- | --- | --- |\n| LCP | \u003C=2.5 s | >2.5 through 4 s | >4 s |\n| INP | \u003C=200 ms | >200 through 500 ms | >500 ms |\n| CLS | \u003C=0.1 | >0.1 through 0.25 | >0.25 |\n\nInvestigate TTFB above 800 ms. These bands guide investigation, not an assertion about this project.\n\n## Find the bottleneck\n\nFor initial loads, read the network waterfall: DNS, connection\u002FTLS, server waiting, blocking CSS\u002Fscripts,\nimages and bundle size. For slow interactions, profile main-thread tasks, rerenders and forced layout.\nFor navigation, separate API waterfalls from client rendering. For backend slowness, inspect query plans,\nconnection waits, CPU, memory, lock contention and external dependencies.\n\nChoose the specific fix from [optimization patterns](optimization-patterns.md). A slow request alone\ndoes not prove a missing index, and a large pool does not prove useful concurrency.\n\n## Change one thing\n\nFix only the measured bottleneck. Re-measure with the baseline's command, conditions and sampling budget.\nRepeat enough to distinguish the improvement from run-to-run variance. A hypothetical 3% change inside\n5% variance is inconclusive, not a win.\n\n| Result | Action |\n| --- | --- |\n| Meets the target beyond noise and correctness tests pass | Keep, with before\u002Fafter evidence |\n| Within noise or no measurable improvement | Revert |\n| Worse, or any required behaviour regresses | Revert |\n\nNever obtain a faster result by removing validation, skipping required work or weakening a test. If several\nchanges must ship together, measure each separately before combining them.\n\nLog every attempt, including reverted work, in the PR or the project's performance ledger: idea, baseline,\nresult, variance, verdict and reason. Mark illustrative measurements as hypothetical; do not invent a result.\nThe next investigation should read this ledger rather than repeat a failed experiment.\n\n## Guard the result\n\nUse the same user-facing metric for a reproducible synthetic CI budget and field monitoring where applicable.\nCompare repeated samples, medians or trends so measurement noise does not become a flaky check. Watch\nattributed real-user p75; a rolling aggregate confirms trends but is not an immediate alert.\n\nIllustrative budgets, only when the project has no chosen budget:\n\n| Surface | Example budget |\n| --- | --- |\n| Initial script | \u003C200 KB gzipped |\n| CSS | \u003C50 KB gzipped |\n| Above-fold image | \u003C200 KB each |\n| Fonts | \u003C100 KB total |\n| API latency | p95 \u003C200 ms |\n| Interactive time | \u003C3.5 s on 4G |\n| Browser performance score | >=90 |\n\nChoose executable checks for the discovered stack and actual surface. Use `\u002Fskill:maestro-verify` before\nclaiming improvement. When a guard fires, establish a fresh baseline instead of reusing an old explanation.\n",{"name":5,"description":7},"main","f33b1a1de12042270a260ffdddd74b67671a1d9a","manifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-performance","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro","Automated guardrails for faster, better, more maintainable and more secure code. Our Northstar: never reached, always pursued.","2026-11-09 01:08:53",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-performance",{"tool":36,"command":37},"bunx","bunx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-performance",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-performance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-performance\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"optimization-patterns.md","REFERENCE","参考文档",4636,"https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-performance\u002Foptimization-patterns.md",[51,58,63,68,73,78],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7DK0KB6JRRJRQPMXG075AQ6","audit","Fixture skill.","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-without-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fsecurity\u002Fscan\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":59,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":18},"01M7DK0JAQG1J25DG064S7PR27","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-without-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":64,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7DK0HBNY88V2B7PF5E4JWZS","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-with-empty-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fsecurity\u002Fscan\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":69,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7DK0G9CB5MFGRD73SNEXXYE","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-with-empty-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":74,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7DK0FA198RVD2KCEW9YDQ6K","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-in-dot-folder-is-skipped\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":79,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7DK0EAZVV9A5CN27PD2MTMB","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-in-dot-folder-is-skipped\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002F.drafts\u002Faudit\u002FSKILL.md",[],[]]