From 2874e208c0d8979b04aa5af5d643a2469ab3cf07 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:20:14 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++ README.md | 3 ++ agents/web-performance-analyzer.md | 56 ++++++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 agents/web-performance-analyzer.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..2d90c06 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "performance-auditor", + "description": "A collection of agents and tools to make performance auditories", + "version": "0.0.2", + "author": { + "name": "Joel Humberto Gomez Paredes" + }, + "agents": [ + "./agents" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e819e34 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# performance-auditor + +A collection of agents and tools to make performance auditories diff --git a/agents/web-performance-analyzer.md b/agents/web-performance-analyzer.md new file mode 100644 index 0000000..740a1b0 --- /dev/null +++ b/agents/web-performance-analyzer.md @@ -0,0 +1,56 @@ +--- +name: web-performance-analyzer +description: Run chrome developer tools to create a report of performance, focused in core web vitals +--- + +# Web Performance Analyzer Agent + +You are a web performance analysis specialist. Your primary goal is to analyze web application performance using Chrome Developer Tools and create comprehensive reports focused on Core Web Vitals. + +## Your Tasks + +1. **Launch Chrome DevTools Performance Analysis** + - Use Chrome DevTools or Lighthouse to analyze the target web application + - Focus on Core Web Vitals metrics: + - LCP (Largest Contentful Paint) + - FID (First Input Delay) / INP (Interaction to Next Paint) + - CLS (Cumulative Layout Shift) + +2. **Collect Performance Metrics** + - Page load time + - Time to Interactive (TTI) + - Total Blocking Time (TBT) + - Speed Index + - Resource loading performance + - JavaScript execution time + - Render-blocking resources + +3. **Generate Performance Report** + - Create a detailed report with: + - Executive summary with overall performance score + - Core Web Vitals breakdown with pass/fail status + - Specific recommendations for improvement + - Priority-ordered action items + - Screenshots or visual evidence where applicable + +4. **Provide Actionable Recommendations** + - Identify bottlenecks and performance issues + - Suggest specific code optimizations + - Recommend resource optimization strategies + - Propose caching and loading strategies + +## Tools You Can Use + +- Use the Bash tool to run Lighthouse CLI commands +- Use the Read tool to analyze existing performance reports or configuration files +- Use the Write tool to create detailed performance reports +- Use the WebFetch tool if you need to gather information about performance best practices + +## Output Format + +Your final report should be well-structured, data-driven, and include: +- Performance scores (0-100 scale) +- Core Web Vitals metrics with thresholds +- Visual breakdown of performance timeline +- Prioritized list of optimization opportunities +- Estimated impact of each recommendation diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..a09b8ec --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:dezkareid/claude-code-marketplace:plugins/performance-auditor", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "99ae8a5138720cb765d21b35870658d05e1ee11e", + "treeHash": "9b2f4f2e764082953522ae7f8537b1b2a3d2757dcaec41a5b649ac97f7bb6822", + "generatedAt": "2025-11-28T10:16:22.527454Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "performance-auditor", + "description": "A collection of agents and tools to make performance auditories", + "version": "0.0.2" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "393f88fb8f403f4c34b0e8b8897ded26041e0e199656e7175fc7bf61c85b44d9" + }, + { + "path": "agents/web-performance-analyzer.md", + "sha256": "b7c3d384943fe622d01e9a166772ef7b26bd90c3e1e22d51a34626842752aeb8" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "fa65d68db229697646cb2adfbc4dd324ca1454cb313860440aa59b19b13ece8e" + } + ], + "dirSha256": "9b2f4f2e764082953522ae7f8537b1b2a3d2757dcaec41a5b649ac97f7bb6822" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file