address-all-similar-instances-skill

Generalizes a proven software defect and fixes all similar instances across the hierarchy and workflows.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/samihalawa/address-all-similar-instances-skill --skill address-all-similar-instances-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: address-all-similar-instances-skill
Source: https://github.com/samihalawa/address-all-similar-instances-skill/tree/main
Command: npx skills add https://github.com/samihalawa/address-all-similar-instances-skill --skill address-all-similar-instances-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents incomplete fixes by expanding a single proven instance into the broader failure class and resolving the nearest related surfaces across the product hierarchy.

Core Features & Use Cases

  • Failure-class generalization: Identify the underlying user-facing problem pattern instead of stopping at literal duplicates.
  • Adjacency-first discovery: Perform a fast discovery sweep and then inspect the nearest hierarchy (same file/component/route/workflow, plus client/server twins).
  • Clustered remediation + verification: Separate exact duplicates, same-class siblings, and workflow-adjacent lookalikes; fix high-confidence items and verify important states so the user doesn’t feel “only one example” was handled.
  • Best-fit correction handling: Use a conversation understanding discipline to trust user corrections and recover the true intent before code changes.

Quick Start

Use address-all-similar-instances-skill to sweep and fix all related instances of the issue described as: $ARGUMENTS.

Frequently Asked Questions about address-all-similar-instances-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix all similar bug instances in a codebase instead of just one?

To fix all similar bug instances, you need to generalize the single defect into a broader failure class, perform a discovery sweep, and apply clustered remediation to related surfaces. This ensures you resolve sibling UI states and client-server parity issues.

What is bug generalization and when do I need it for refactoring?

Bug generalization is the process of identifying the underlying user-facing problem pattern from a single proven defect rather than stopping at literal duplicates. You need it during codebase refactoring to prevent incomplete fixes across the same component family.

How do I ensure UI state consistency when fixing a single user-facing bug?

To ensure UI state consistency when fixing a bug, you must inspect the nearest hierarchy including sibling UI states and client-server instrumentation twins. This adjacency-first discovery approach catches workflow-adjacent lookalikes.

What's the best way to sweep a codebase for related instances of a software defect?

The best way to sweep a codebase for related defect instances is to use programmatic search for a first-pass discovery, build an adjacency map of exact duplicates and same-class siblings, then apply clustered remediation with verification testing.

Why does fixing one bug instance leave similar workflow failures behind?

Fixing one bug instance leaves similar workflow failures behind because the broader failure class remains unaddressed. Without an adjacency map to identify same-class siblings and workflow-adjacent lookalikes, clustered remediation is never applied to the nearest related surfaces.

Can I use this approach for client-server parity issues across the same workflow?

Yes, you can generalize a single defect and fix client-server parity issues across the same workflow by inspecting client/server instrumentation twins during the discovery sweep and applying clustered remediation with completion testing.