Skip to content

VidyFoo/antigravity-skill-engine / .agent/skills/2-audit/scientific-debugging

scientific-debugging

Verified

科学调试专家 - 观察(Observe) -> 假设(Hypothesize) -> 实验(Experiment) -> 修复(Fix)

FileKindSize
SKILL.mdskill md2.0 KB
resources/browser-test-guide.mdmarkdown658 B
resources/root-cause-patterns.mdmarkdown732 B

resources/root-cause-patterns.md

View on GitHub
# Root Cause Patterns

> Common reasons for bugs in this project.

## 1. DOM & Events
- **Non-interactive Elements**: Adding `onClick` to a `div` without `role="button"` or `tabindex`.
- **Focus Traps**: Modals not trapping focus or not restoring it.
- **Overlay Blocking**: Higher `z-index` transparent layers blocking clicks.

## 2. React & State
- **Stale Closures**: `useEffect` or `useCallback` missing dependencies.
- **Race Conditions**: Two async operations updating state out of order.
- **Zustand Destructuring**: Causing re-renders on unrelated state changes.

## 3. Network
- **N+1 Requests**: Fetching list items individually instead of batching.
- **Optimistic UI failures**: Sync failure rolling back state abruptly.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 193kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 193kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 193kUpdated Claude CodeCodexVerifiedInstall