Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

magento-performance-analystmagento 性能分析师

Agent Skill

magento-performance-analyst 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,564

周安装

150

GitHub Stars

9

下载量

1,248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:magento-performance-analyst(magento 性能分析师)
来源仓库:https://github.com/maxnorm/magento2-agent-skills
仓库路径:skills/magento-performance-analyst
安装命令:
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-performance-analyst
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/maxnorm/magento2-agent-skills --skill magento-performance-analyst

简介

magento-performance-analyst 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 该技能适用于 Magento 2 性能优化相关的开发协作与问题分析场景。

SKILL.md

Magento 2 Performance Analyst

Expert specialist in conducting comprehensive performance analysis and implementing systematic optimizations that deliver measurable improvements in application speed, scalability, and user experience.

When to Use

  • Analyzing performance bottlenecks
  • Profiling applications
  • Optimizing database queries
  • Improving system scalability
  • Conducting load testing
  • Optimizing frontend performance

Performance Analysis

Profiling Tools

  • Blackfire: Performance profiling and optimization
  • XHProf: PHP profiling tool
  • New Relic: APM monitoring
  • Browser DevTools: Frontend performance analysis
  • Database Profiling: Query profiling and analysis

Bottleneck Identification

  • Code Profiling: Identify slow functions and performance hotspots
  • Database Analysis: Analyze slow queries and database performance
  • Network Analysis: Identify network latency and bandwidth issues
  • Resource Contention: Identify resource conflicts and bottlenecks
  • Third-party Integration: Analyze external service performance impact

Performance Optimization Areas

Frontend Performance

  • Core Web Vitals: Optimize LCP, FID, CLS, and other web vitals
  • JavaScript Optimization: Minimize and optimize JavaScript execution
  • CSS Optimization: Optimize stylesheet delivery and rendering
  • Image Optimization: Modern image formats and responsive loading
  • Asset Optimization: Minimize and compress assets

Database Optimization

  • Query Optimization: Optimize database queries and eliminate N+1 problems
  • Index Strategy: Design efficient database indexing
  • Connection Pooling: Optimize database connection management
  • Query Caching: Implement query result caching
  • Database Tuning: Tune database configuration for performance

Application Optimization

  • Code Optimization: Optimize PHP code execution
  • Memory Management: Optimize memory usage and detect leaks
  • Caching Strategy: Implement comprehensive caching strategies
  • Resource Management: Optimize CPU, I/O, and network resources
  • Lazy Loading: Implement lazy loading for expensive operations

Performance Analysis Process

1. Performance Assessment

  • Baseline Establishment: Establish current performance baselines and metrics
  • User Experience Analysis: Analyze real user performance and experience
  • System Resource Analysis: Assess CPU, memory, disk, and network usage
  • Application Profiling: Deep application profiling and code analysis
  • Infrastructure Assessment: Evaluate infrastructure performance and capacity

2. Bottleneck Identification

  • Code Profiling: Identify slow functions and performance hotspots
  • Database Analysis: Analyze slow queries and database performance
  • Network Analysis: Identify network latency and bandwidth issues
  • Resource Contention: Identify resource conflicts and bottlenecks
  • Third-party Integration: Analyze external service performance impact

3. Optimization Planning

  • Priority Matrix: Prioritize optimizations based on impact and effort
  • Resource Planning: Plan resource requirements for optimizations
  • Risk Assessment: Assess risks associated with performance changes
  • Testing Strategy: Plan comprehensive testing for optimization changes
  • Rollback Planning: Prepare rollback strategies for optimization failures

4. Implementation & Validation

  • Optimization Implementation: Implement systematic performance improvements
  • Performance Testing: Validate optimization effectiveness through testing
  • Monitoring Setup: Implement monitoring for sustained performance
  • Documentation: Document optimization changes and performance gains
  • Continuous Monitoring: Establish ongoing performance monitoring

Performance Metrics

Key Metrics

  • Page Load Time: Total page load time
  • Time to First Byte (TTFB): Server response time
  • Largest Contentful Paint (LCP): Loading performance
  • First Input Delay (FID): Interactivity
  • Cumulative Layout Shift (CLS): Visual stability

Database Metrics

  • Query Execution Time: Database query performance
  • Slow Query Count: Number of slow queries
  • Connection Pool Usage: Database connection efficiency
  • Index Usage: Index effectiveness
  • Cache Hit Rate: Cache performance

Best Practices

Optimization Strategy

  • Measure First: Always measure before optimizing
  • Prioritize High Impact: Focus on optimizations with highest impact
  • Incremental Approach: Make incremental improvements
  • Test Thoroughly: Test all optimizations thoroughly
  • Monitor Continuously: Monitor performance continuously

Scalability Planning

  • Horizontal Scaling: Design for horizontal scaling
  • Vertical Scaling: Optimize for vertical scaling when needed
  • Load Balancing: Implement proper load balancing
  • Resource Planning: Plan for resource growth
  • Performance Budgets: Set and maintain performance budgets

Tools & Commands

Profiling Commands

# Enable developer mode for profiling
bin/magento deploy:mode:set developer

# Check performance
bin/magento setup:performance:generate-fixtures

# Database status
bin/magento setup:db:status

Monitoring

  • Set up APM tools (New Relic, Datadog, etc.)
  • Monitor server resources (CPU, memory, disk)
  • Track application metrics
  • Set up alerts for performance degradation

References

Focus on systematic performance analysis and optimization that delivers measurable improvements.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.99%
按下载量换算449

Claude

31.49%
按下载量换算393

Cursor

20.05%
按下载量换算250

Gemini CLI

9.18%
按下载量换算115

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills