en un clic
analyze-issue
// Deep analysis of a GitHub issue. Reads the issue, all comments, and the codebase to classify the issue, reproduce bugs, and produce a full implementation plan with breaking-change assessment.
// Deep analysis of a GitHub issue. Reads the issue, all comments, and the codebase to classify the issue, reproduce bugs, and produce a full implementation plan with breaking-change assessment.
| name | analyze-issue |
| description | Deep analysis of a GitHub issue. Reads the issue, all comments, and the codebase to classify the issue, reproduce bugs, and produce a full implementation plan with breaking-change assessment. |
| argument-hint | <github-issue-url> |
| allowed-tools | Bash Read Glob Grep Agent mcp__playwright__browser_navigate mcp__playwright__browser_snapshot mcp__playwright__browser_take_screenshot mcp__playwright__browser_click mcp__playwright__browser_select_option mcp__playwright__browser_fill_form mcp__playwright__browser_press_key mcp__playwright__browser_hover mcp__playwright__browser_tabs mcp__playwright__browser_close mcp__playwright__browser_console_messages mcp__playwright__browser_wait_for mcp__playwright__browser_resize |
Given a GitHub issue URL, perform a thorough analysis and produce a complete, actionable plan.
Repository: xrutayisire/react-js-cron
Issue URL: $ARGUMENTS
Use the GitHub CLI to extract everything about the issue:
# Extract the issue number from the URL
gh issue view <number> --repo xrutayisire/react-js-cron --json title,body,state,labels,assignees,milestone,createdAt,updatedAt,author,closedAt
# Read every comment with author and timestamp
gh issue view <number> --repo xrutayisire/react-js-cron --comments
Record:
From the description and comments, determine:
Assign exactly one primary classification:
| Classification | Criteria |
|---|---|
| Bug | The library behaves differently from what the documentation or API contract promises. Something that worked before is now broken, or a specific input produces an incorrect output. |
| Feature request | A new capability that does not exist today. The current behavior is correct but the reporter wants more. |
| Enhancement | An improvement to existing behavior (better UX, performance, accessibility) without adding a new feature. |
| Question / Support | The reporter is asking how to use something. The library may already support what they need. |
| Not actionable | Insufficient information, cannot reproduce, outside the scope of this library, or a duplicate. |
Explain the classification with evidence from the issue text. If the issue is ambiguous, state the ambiguity and provide the most likely classification.
Based on the issue content, search the codebase to find every file that is related:
src/Cron.tsx, src/fields/*.tsx, src/components/*.tsx)src/types.ts)src/converter.ts)src/utils.ts)src/locale.ts)src/styles.css)src/stories/, src/tests/)Read the relevant sections. Understand the current behavior and why it works the way it does.
For bugs or enhancements, trace the exact code path involved:
# Run the test suite to see current state
yarn test --run
Review test files in src/tests/ to understand what is already covered and what gaps exist relative to this issue.
If the issue is classified as a bug:
If possible, write a minimal test case that demonstrates the bug. Do not commit it yet — just confirm the reproduction.
If the bug is visual or interaction-based:
yarn storybook on port 9009) if not already running.https://xrutayisire.github.io/react-js-cron/) if the bug is a regression.Evaluate whether fixing or implementing this would break existing users:
| Impact level | Definition |
|---|---|
| None | Internal refactor, new additive prop, or bug fix that restores documented behavior. No user code changes needed. |
| Minor | Default behavior changes slightly but the previous behavior is available via a new prop or option. Migration is trivial. |
| Breaking | Existing user code would produce different results or fail to compile. Requires a semver major bump. |
For each impact level, explain specifically what would change for a user upgrading.
Consider both:
List every file that would need to change, and estimate the complexity (trivial / moderate / significant).
State one of:
If the recommendation is to implement, provide:
One paragraph describing what will be done and why.
A numbered list of concrete steps. Each step should specify:
If new props or API surface is added:
List specific test cases that should be written:
If the change affects the UI, specify which Storybook stories need updating or adding.
Describe how to visually verify the change using /visual-test to confirm no regressions.
If the plan involves a breaking change, provide:
Draft a comment to post on the GitHub issue that:
Do not post the comment. Present it for review.
Present the full analysis as a structured report with these sections:
## Issue analysis: #<number> — <title>
### Classification: <Bug | Feature request | Enhancement | Question | Not actionable>
<Evidence and reasoning>
### Reproduction
<Steps taken, whether reproduced, screenshots if applicable>
### Impact assessment
<Breaking-change level, user experience impact, scope of changes>
### Recommendation: <Do nothing | Respond | Implement>
<Reasoning>
### Implementation plan
<Full plan as described in Phase 6.2, or "N/A" if not implementing>
### Suggested GitHub response
<Draft comment for the issue>