Skip to content
Development
Command

/analyze-issue

Analyze a GitHub issue and create a resolution plan

From plugin
payload
46k3 skills3 commands2 MCP
> /plugin marketplace add payloadcms/payload
> /plugin install payload@payload-marketplace

Command definition

analyze-issue.md
description: Analyze a GitHub issue and create a resolution plan
argument-hint: <issue-number-or-url>

Deep-dive on the GitHub issue provided in $ARGUMENTS. Find the problem and generate a plan. Do not write code. Explain the problem clearly and propose a comprehensive plan to solve it.

PROMPT for the issue number or URL if not provided, and stop here.

Steps:

1. Fetch issue data using: `gh issue view $ARGUMENTS --json author,title,number,body,comments,labels` 2. Parse the JSON response to extract:

  • Title and number
  • Description (body)
  • All comments with authors
  • Labels

3. Format the issue context clearly 4. Review the issue context and details 5. Examine the relevant parts of the codebase. Analyze the code thoroughly until you have a solid understanding of how it works. 6. Explain the issue in detail, including the problem and its root cause. There is no guarantee the issue is valid, so be critical and thorough in your analysis. 7. Create a comprehensive plan to solve the issue. The plan should include:

  • Required code changes
  • Potential impacts on other parts of the system
  • Necessary tests to be written or updated
  • Documentation updates
  • Performance considerations
  • Security implications
  • Backwards compatibility (if applicable)
  • Include the reference link to the source issue and any related discussions

8. Think deeply about all aspects of the task. Consider edge cases, potential challenges, and best practices for addressing the issue.

**IMPORTANT: ONLY CREATE A PLAN. DO NOT WRITE ANY CODE.** Your task is to create a thorough, comprehensive strategy for understanding and resolving the issue.

Read more
@payloadcms
Ships withpayload

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

46k1 skill2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
45.8k
Star history of payloadcms/payload on GitHub, a chart by star-history.com

Other commands on payload.

triage

triage

Command

Triage a GitHub issue and present findings on validity, code locations, and optionally create a failing test or resolution plan.

@payloadcms@payloadcmsInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command