[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70FYCM506EC6R1W7CAYWNBZ":3,"skill-same:01M70FYCM506EC6R1W7CAYWNBZ":53},{"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":21,"linkOnly":22,"markdownContent":23,"markdownBody":24,"frontMatter":25,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M70FYCM506EC6R1W7CAYWNBZ","review-efficiency",null,"Is this efficient?","dhaupin\u002Fvant","dhaupin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6352930?v=4","01M70FR23MK9RWZMWEQCWXMJ5Y","01M70FR24ETCQQSC3TGH374C6A",16,"MIT","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-review-efficiency\u002FSKILL.md",[],[18,19,20],"review","efficiency","review efficiency","2026-11-10 10:12:30",false,"---\nname: review-efficiency\ndescription: Is this efficient?\nlicense: MIT\nmetadata:\n  author: vant\n  version: \"1.0\"\n---\n\n# Efficiency Review\n\n> Is this efficient?\n\n---\n\n## The Question\n\n**What does it cost to run?**\n\nMoney. Time. Resources.\n\n---\n\n## What To Check\n\n### 1. Compute\n\n```javascript\n\u002F\u002F What's the cost?\n\u002F\u002F CPU time per request\n\u002F\u002F Memory per request\n```\n\n| Resource | High | Fix |\n|----------|------|-----|\n| CPU | Loop complex | Optimize |\n| Memory | Store all | Stream |\n| GPU | N\u002FA | N\u002FA |\n\n### 2. Network\n\n```javascript\n\u002F\u002F How many calls?\ncallAPI()  \u002F\u002F 1\ncallAPI()  \u002F\u002F 2\n```\n\n| Pattern | Issue | Fix |\n|--------|-------|-----|\n| Multiple calls | Round trips | Batch |\n| Large payloads | Bandwidth | Compress |\n| No compression | Raw | gzip |\n\n### 3. Storage\n\n```javascript\n\u002F\u002F What are we storing?\ndb.save(everything)\n\u002F\u002F vs\ndb.save(needed)\n```\n\n| Pattern | Issue | Fix |\n|--------|-------|-----|\n| Save all | Extra storage | Save needed |\n| Keep forever | bloat | TTL\u002Fexpiry |\n| No index | Slow reads | Index |\n\n### 4. API Calls\n\n```bash\n# External APIs cost\ncurl api.com  \u002F\u002F $$\ncurl api.com  \u002F\u002F $$\n```\n\n| Check | Issue | Fix |\n|-------|-------|-----|\n| No cache | Pay each time | Cache |\n| Same call twice | Redundant | Dedup |\n| No batching | N calls | Batch |\n\n---\n\n## Cost Estimate\n\n```javascript\n\u002F\u002F Estimate: (calls × cost) + (compute × cost) + (storage × cost)\n```\n\n| Item | Calculation |\n|------|-------------|\n| API calls | calls × $0.001 |\n| Compute | hours × $0.05 |\n| Storage | GB × $0.02 |\n\n---\n\n## Output\n\n```\n## Efficiency - [system]\n\n### Compute\n- [ESTIMATE] $[\u002Fhr]\n- Issue: [pattern]\n\n### Network\n- [ESTIMATE] $[\u002Fhr]\n- Issue: [pattern]\n\n### Storage\n- [ESTIMATE] $[\u002Fmo]\n- Issue: [pattern]\n\n### Total\n- Estimated: $[\u002Fmo]\n\n### Savings\n1. [fix] saves $[\u002Fmo]\n```\n\n---\n\n**Role**: Efficiency Reviewer **Input**: System **Output**: Cost?\n\n> Efficiency is money.\n","# Efficiency Review\n\n> Is this efficient?\n\n---\n\n## The Question\n\n**What does it cost to run?**\n\nMoney. Time. Resources.\n\n---\n\n## What To Check\n\n### 1. Compute\n\n```javascript\n\u002F\u002F What's the cost?\n\u002F\u002F CPU time per request\n\u002F\u002F Memory per request\n```\n\n| Resource | High | Fix |\n|----------|------|-----|\n| CPU | Loop complex | Optimize |\n| Memory | Store all | Stream |\n| GPU | N\u002FA | N\u002FA |\n\n### 2. Network\n\n```javascript\n\u002F\u002F How many calls?\ncallAPI()  \u002F\u002F 1\ncallAPI()  \u002F\u002F 2\n```\n\n| Pattern | Issue | Fix |\n|--------|-------|-----|\n| Multiple calls | Round trips | Batch |\n| Large payloads | Bandwidth | Compress |\n| No compression | Raw | gzip |\n\n### 3. Storage\n\n```javascript\n\u002F\u002F What are we storing?\ndb.save(everything)\n\u002F\u002F vs\ndb.save(needed)\n```\n\n| Pattern | Issue | Fix |\n|--------|-------|-----|\n| Save all | Extra storage | Save needed |\n| Keep forever | bloat | TTL\u002Fexpiry |\n| No index | Slow reads | Index |\n\n### 4. API Calls\n\n```bash\n# External APIs cost\ncurl api.com  \u002F\u002F $$\ncurl api.com  \u002F\u002F $$\n```\n\n| Check | Issue | Fix |\n|-------|-------|-----|\n| No cache | Pay each time | Cache |\n| Same call twice | Redundant | Dedup |\n| No batching | N calls | Batch |\n\n---\n\n## Cost Estimate\n\n```javascript\n\u002F\u002F Estimate: (calls × cost) + (compute × cost) + (storage × cost)\n```\n\n| Item | Calculation |\n|------|-------------|\n| API calls | calls × $0.001 |\n| Compute | hours × $0.05 |\n| Storage | GB × $0.02 |\n\n---\n\n## Output\n\n```\n## Efficiency - [system]\n\n### Compute\n- [ESTIMATE] $[\u002Fhr]\n- Issue: [pattern]\n\n### Network\n- [ESTIMATE] $[\u002Fhr]\n- Issue: [pattern]\n\n### Storage\n- [ESTIMATE] $[\u002Fmo]\n- Issue: [pattern]\n\n### Total\n- Estimated: $[\u002Fmo]\n\n### Savings\n1. [fix] saves $[\u002Fmo]\n```\n\n---\n\n**Role**: Efficiency Reviewer **Input**: System **Output**: Cost?\n\n> Efficiency is money.\n",{"name":5,"license":14,"metadata":26,"description":7},{"author":27,"version":28},"vant","1.0","main","8b503d1512c76e22a20a6ec9300fa670b37a79be","models\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-review-efficiency",1,"https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant","https:\u002F\u002Fvant.creadev.org","https:\u002F\u002Fgithub.com\u002Fdhaupin","https:\u002F\u002Fcreadev.org\u002F","Hi. I make web, app, ecom, enterprise, agent, and orchestration things. Let me know if I can help with your next project. 🤝 Part of the Creadev.org team.","2026-11-13 16:43:16",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add dhaupin\u002Fvant --skill review-efficiency",{"tool":45,"command":46},"bunx","bunx skills add dhaupin\u002Fvant --skill review-efficiency",{"tool":48,"command":49},"pnpm","pnpm dlx skills add dhaupin\u002Fvant --skill review-efficiency","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-review-efficiency\u002FSKILL.md",true,[],[54,63,79,87,112,137],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":21},"01M70G0NZMN2E0RPCAH59497C3","yaml","Data serialization.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-yaml\u002FSKILL.md",[],[56,61,62],"serialization","data",{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":74,"publishedAt":21},"01M70G0MV7JGRXJ60VZZ692ZTM","vite","Frontend build tool.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-vite\u002FSKILL.md",[69],{"categoryNo":70,"categoryName":71,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[65,75,76,77,78],"tool","build tool","build","frontend",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":21},"01M70G0HAFQC4K6N14B5CWPMQ2","typescript","Typed JavaScript.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-typescript\u002FSKILL.md",[],[81,86],"javascript",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":96,"publishedAt":21},"01M70G0CH5E4PVJ62YBP7WKV44","test-unit","Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-unit\u002FSKILL.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":72,"taxonomyTypeDesc":73},"01JBSEEDCAT000000000000008","测试与质量",[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"unit","test","test unit","when","error","commits","fixes","methods","edge","use","error handling","functions","bug","isolation","path",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":21},"01M70G08P5CPCX3B3RJFF9VJC2","test-snapshot","Capture and compare UI\u002Fcomponent snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-snapshot\u002FSKILL.md",[118],{"categoryNo":94,"categoryName":95,"taxonomyType":72,"taxonomyTypeDesc":73},[120,121,98,122,123,124,125,126,127,106,128,129,100,130,131,132,133,134,135,136],"test snapshot","snapshot","capture","ui","for","testing ui","testing","design","design systems","snapshots","visual","compare","component","changes","detect","rendering","systems",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":144,"publishedAt":21},"01M70G03WAR8HYBH7R2AZJRPCZ","test-smoke","Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-smoke\u002FSKILL.md",[143],{"categoryNo":94,"categoryName":95,"taxonomyType":72,"taxonomyTypeDesc":73},[98,145,146,147,148,149,126,150,106,100,151,152,153,154,155,156],"test smoke","smoke","quick","deeper","basic","tests","check","sanity","verification","first","verify","run"]