side-effect-analyzer
Installation
SKILL.md
Side Effect Analyzer
What to do
Use this skill to run se-scan and turn scan output into an actionable audit report + fix plan.
Focus areas:
- CSS side effects (global selectors, conflicts, risky rules)
- Global variable pollution (accidental globals, window/prototype overrides)
- Global event listeners (missing cleanup, duplicate listeners, anonymous handlers)
- Dynamic DOM mutations (append/remove/insert/innerHTML, when enabled)
Workflow
1) Pick scan mode
- Built artifacts (recommended): when you have
dist/or want production-truth.npx se-scan --dir dist
- Source entry: when you want to analyze from an entry and dependencies.
npx se-scan --entry src/index.ts