bug-fix

Analyze bugs, present repair options, then implement and verify the user-selected fix path.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "bug-fix" with this command: npx skills add alpoxdev/hypercore/alpoxdev-hypercore-bug-fix

Bug Fix Skill

Reproduce and analyze bugs, propose options, and apply a safe selected fix.

<when_to_use>

SituationExample
Type errorsProperty 'X' does not exist on type 'Y'
Runtime errorsCannot read property ... of undefined
Logic bugsduplicate rendering, wrong calculation, stale state
API failures4xx/5xx, response shape mismatch
Intermittent issuesfailures under specific conditions

</when_to_use>

<argument_validation>

If ARGUMENT is missing, ask immediately:

Which bug should be fixed?
- Error message / stack trace
- Expected vs actual behavior
- Reproduction steps
- Related files (if known)

</argument_validation>

<mandatory_reasoning>

Mandatory Sequential Thinking

  • Always run sequential-thinking before implementation.
  • Simple bug: at least 3 thoughts
  • Medium complexity: 5 thoughts
  • High complexity: 7+ thoughts

Recommended sequence:

  1. Complexity classification
  2. Reproduction and symptom framing
  3. Root-cause hypotheses
  4. Option comparison
  5. Final recommendation

</mandatory_reasoning>

<workflow>
StepTaskTool
1Validate input and summarize reproducible signals-
2Build analysis plan with sequential-thinkingsequential-thinking
3Explore relevant code and isolate root causeRead/Grep/Glob
4Present 2-3 fix options-
5Wait for user selection-
6Implement selected optionEdit
7Run type/test/build verificationBash
8Report outcome and changed files-
</workflow>

<option_presentation>

Use this format:

## Bug Analysis Result
Root cause: ...
Impact scope: ...

### Option 1: ... (Recommended)
- Pros:
- Cons:
- Risk:
- Files:

### Option 2: ...
- Pros:
- Cons:
- Risk:
- Files:

### Option 3: ... (Temporary)
- Pros:
- Cons:
- Risk:
- Files:

Recommendation: Option N (reason ...)
Which option should I apply? (1/2/3)

</option_presentation>

<implementation_rules>

  • Do not modify code before user option selection.
  • Avoid speculative edits; use evidence-based fixes only.
  • Keep scope limited to the requested bug and direct impact.
  • Always include validation output in the final report.

</implementation_rules>

<validation>

Execution checklist:

  • ARGUMENT validated
  • sequential-thinking completed
  • Root-cause evidence collected
  • 2-3 options presented
  • User choice confirmed
  • typecheck/test/build executed
  • outcome + touched files reported

Forbidden:

  • speculative fix without evidence
  • immediate implementation without options
  • implementation without explicit user choice
  • completion claim without validation
</validation>

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

crawler

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

version-update

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

docs-maker

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

gemini

No summary provided by upstream source.

Repository SourceNeeds Review