[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EASR6065Y6XCVAM71PPF7R":3,"skill-same:01M6EASR6065Y6XCVAM71PPF7R":52},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":25,"linkOnly":26,"markdownContent":27,"markdownBody":27,"frontMatter":28,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M6EASR6065Y6XCVAM71PPF7R","nodejs-performave-with-flame",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",66,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Fnodejs-performave-with-flame\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24],"nodejs","nodejs performave with flame","2026-11-10 10:12:30",false,"\n---\n\n## Skill Name: Node.js Performance Architect (LLM-Friendly Profiling)\n\n### **Description**\n\nThe agent possesses the ability to ingest, interpret, and act upon **pprof-based Markdown analysis** generated by tools like `@platformatic\u002Fflame`. It can bridge the gap between low-level CPU\u002FHeap profiles and high-level architectural code fixes.\n\n### **Contextual Knowledge (from Platformatic Blog)**\n\n* **The Problem:** Traditional flamegraphs are hard to search and require human expertise to prioritize hotspots.\n* **The Solution:** The `pprof-to-md` format provides a structured, text-based representation of stack frames, \"Self Time,\" and \"Total Time\" that LLMs can parse natively.\n* **Efficiency Gains:** Systematic evals show that LLMs using this data achieve up to **144x throughput improvements** (e.g., moving JSON parsing out of hot paths) and massive latency reductions (e.g., fixing O(n²) loops).\n\n---\n\n### **Agent Capabilities & Instructions**\n\n#### **1. Profile Ingestion & Triage**\n\nWhen provided with a `.md` performance profile (Summary, Detailed, or Adaptive formats), the agent must:\n\n* Identify **Top Hotspots** by ranking \"Self Time\" (time spent in the function itself) vs. \"Total Time\" (time spent in the function + its children).\n* Distinguish between **CPU Bottlenecks** (heavy computation, regex, JSON parsing) and **Heap\u002FMemory Churn** (excessive object allocation, large intermediate arrays).\n\n#### **2. Pattern Recognition**\n\nThe agent should specifically look for these \"Platformatic-Verified\" anti-patterns:\n\n* **The Middleware Trap:** Parsing static config files or expensive JSON inside request handlers (Fix: Move to startup\u002Fsingleton).\n* **The N+1 Async Loop:** Sequential `await` calls in a loop (Fix: Use `Promise.all()`).\n* **Hidden Latency:** Using expensive abstractions like the `URL` constructor or `spread` operators inside hot loops (Fix: Use simpler primitives or `Set` for O(1) lookups).\n\n#### **3. Actionable Optimization Workflow**\n\nUpon identifying a bottleneck, the agent must:\n\n1. **Locate the Source:** Use the file paths and line numbers provided in the Markdown table.\n2. **Hypothesize & Patch:** Propose a code change (e.g., \"Memoize this result,\" \"Move this regex outside the function\").\n3. **Verify:** Instruct the user to re-run `flame run` to confirm the fix actually shifted the hotspots in the next profile.\n\n---\n\n### **Example Prompt for Triggering this Skill**\n\n> \"I've attached a `cpu-profile.md` generated by Platformatic Flame. Based on the Top Hotspots, analyze my `src\u002Fhandler.js` and provide a prioritized list of fixes. Specifically, look for any O(n²) operations or redundant I\u002FO that could be moved to the initialization phase.\"\n\n---\n\n### **Technical Requirements for Execution**\n\n* **Environment:** Node.js 22.6.0+ (for ESM interoperability).\n* **Tooling:** `@platformatic\u002Fflame` latest version.\n* **API Usage:** Use `generateMarkdown('profile.pb', 'analysis.md', { format: 'detailed' })` for programmatic analysis.\n\n**Would you like me to generate a sample Performance Analysis Markdown file so you can see exactly what the AI Agent would see?**",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHarmeet10000\u002Fskills\u002Fnodejs-performave-with-flame",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill nodejs-performave-with-flame",{"tool":44,"command":45},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill nodejs-performave-with-flame",{"tool":47,"command":48},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill nodejs-performave-with-flame","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Fnodejs-performave-with-flame\u002FSKILL.md",true,[],[53,63,73,82,88,95],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":59,"publishedAt":25},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[58],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[60,61,62],"model","model hierarchy","model hierarchy skill",{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":69,"publishedAt":25},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[68],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[70,71,72],"MCP","zoom","zoom mcp",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":25},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[79,80,81,71],"sdk","zoom apps sdk","apps",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":25},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":94,"publishedAt":25},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[93],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[90],{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":25},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[97]]