Refactor Pass

Simplify the requested code while preserving behavior when a refactor or cleanup is requested.

bitsocialnet Updated 420 repo stars

File contents

Refactor Pass

Inspect the task-owned diff, nearby source, and tests. Remove unnecessary work, clarify control flow, and reuse existing helpers where it improves clarity. Preserve unfamiliar guards until source/history establishes their purpose.

Preserve observable behavior, public types, error contracts, privacy, and boundary validation. Avoid unrelated formatting and new dependencies for routine cleanup. Use docs/agent-playbooks/verification.md to choose affected checks.

bitsocialnet/spam-blocker commit 10272aeac5

Frequently asked questions

npx get-skill add bitsocialnet/refactor-pass-6