Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

magento-issue-debuggermagento 问题调试器

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

2,592

周安装

108

GitHub Stars

9

下载量

864
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于围绕 GitHub 仓库、Issue 和 Pull Request 提供辅助能力。

  • 适合查询项目状态、整理变更或辅助创建协作事项。
  • 使用时需区分只读查询和写入操作。magento-issue-debugger 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 涉及 PR 或分支操作时应确认 token 权限和授权范围。
  • 安装前建议确认权限范围和维护状态。

SKILL.md

Magento 2 Issue Debugger

Expert specialist in systematically investigating, diagnosing, and resolving complex technical problems across all layers of the Magento stack.

When to Use

  • Debugging production issues
  • Investigating bugs and errors
  • Analyzing performance problems
  • Resolving system failures
  • Troubleshooting integration issues
  • Diagnosing cache or indexing problems

Debugging Methodologies

Systematic Investigation

  • Problem Assessment: Establish consistent steps to reproduce the problem
  • Environment Documentation: Catalog system configuration and environment details
  • Impact Analysis: Determine scope, frequency, and business impact
  • Timeline Analysis: Establish when the issue started and what changed
  • Isolation Testing: Disable modules and features to isolate the issue

Root Cause Analysis

  • Hypothesis Testing: Form and test theories methodically
  • Data Collection: Gather logs, configuration, and performance metrics
  • Code Analysis: Review recent code changes and related modules
  • Database Investigation: Check for data corruption or migration issues
  • Deep Dive: Dig deep to find underlying causes rather than treating symptoms

Issue Investigation Process

1. Problem Assessment

  • Issue Reproduction: Establish consistent steps to reproduce
  • Environment Documentation: Catalog system configuration
  • Impact Analysis: Determine scope and business impact
  • Timeline Analysis: Establish when issue started
  • User Impact: Understand how issue affects different user types

2. Data Collection

  • Log Gathering: Collect relevant logs from all system components

- Magento logs: var/log/ - PHP error logs - Web server logs (Apache/Nginx) - Database slow query logs

  • Configuration Review: Examine module configurations and system settings
  • Code Analysis: Review recent code changes and related modules
  • Database Investigation: Check for data corruption or migration issues
  • Performance Metrics: Gather timing and resource usage data

3. Systematic Debugging

  • Debug Mode: Enable Magento debug mode for detailed error reporting bin/magento deploy:mode:set developer
  • Xdebug Integration: Use step-through debugging for complex logic issues
  • Profiling Tools: Use Blackfire, XHProf, or similar tools for performance issues
  • Database Debugging: Enable query logging and analyze database interactions
  • Isolation Testing: Disable modules to isolate the issue

4. Resolution Implementation

  • Fix Development: Implement appropriate fixes based on root cause analysis
  • Testing Strategy: Develop comprehensive test plans for verification
  • Rollback Planning: Prepare rollback procedures for production fixes
  • Documentation: Document findings, solutions, and prevention strategies
  • Monitoring Setup: Implement monitoring to prevent issue recurrence

Common Issue Categories

Performance Issues

  • Slow Page Loading: Identify bottlenecks in frontend and backend processing
  • Database Performance: Optimize queries, indexes, and database configuration
  • Memory Issues: Debug memory leaks and high memory usage
  • Cache Problems: Resolve cache invalidation and cache warming issues
  • Frontend Performance: Debug JavaScript errors and CSS rendering issues

Functional Bugs

  • Checkout Issues: Debug payment processing, shipping, and order placement
  • Product Display: Resolve catalog, search, and product page problems
  • Admin Panel Issues: Fix backend functionality and configuration problems
  • Extension Conflicts: Identify and resolve module compatibility issues
  • API Problems: Debug REST and GraphQL API endpoints

System-Level Issues

  • Installation Problems: Resolve setup and upgrade issues
  • Configuration Errors: Fix system and module configuration problems
  • File Permission Issues: Resolve file system and directory permission problems
  • Cron Job Failures: Debug scheduled task execution problems
  • Email Issues: Resolve email sending and template problems

Security Issues

  • Access Control: Debug permission and ACL issues
  • Authentication Problems: Resolve login and session issues
  • CSRF Failures: Debug form key validation problems
  • SQL Injection: Identify and fix vulnerable queries
  • XSS Vulnerabilities: Fix output escaping issues

Debugging Tools & Techniques

Log Analysis

  • Magento Logs: var/log/exception.log, var/log/system.log
  • PHP Error Logs: Check PHP-FPM or Apache error logs
  • Web Server Logs: Analyze Apache/Nginx access and error logs
  • Database Logs: Review slow query logs and database errors
  • Custom Logging: Implement custom logging for specific issues

Performance Profiling

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

Debugging Commands

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

# Clear cache
bin/magento cache:clean
bin/magento cache:flush

# Reindex
bin/magento indexer:reindex

# Check compilation
bin/magento setup:di:compile

# Check static content
bin/magento setup:static-content:deploy

# Check database
bin/magento setup:db:status

Code Debugging

  • Xdebug: Step-through debugging
  • var_dump/die: Quick debugging (remove before production)
  • Magento Logger: Use \Psr\Log\LoggerInterface for logging
  • Exception Handling: Proper exception catching and logging
  • Error Reporting: Configure error reporting levels

Best Practices

Prevention

  • Comprehensive Testing: Write unit, integration, and functional tests
  • Code Reviews: Regular code reviews to catch issues early
  • Monitoring: Implement monitoring and alerting
  • Logging: Comprehensive logging strategy
  • Documentation: Maintain clear documentation

Resolution

  • Root Cause: Always fix root cause, not symptoms
  • Testing: Test fixes thoroughly before deployment
  • Documentation: Document the issue and resolution
  • Communication: Communicate with stakeholders
  • Monitoring: Monitor after fix deployment

References

Focus on systematic investigation to identify root causes and implement lasting solutions.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.75%
按下载量换算283

Claude

31.22%
按下载量换算270

Cursor

16.4%
按下载量换算142

Gemini CLI

9.96%
按下载量换算86

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills