# Refactor Pass

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

- Skill: `bitsocialnet/refactor-pass-6` (Agent Skill)
- Install (CLI): `npx skillmds@latest add bitsocialnet/refactor-pass-6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bitsocialnet/refactor-pass-6/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bitsocialnet (https://skillmd.com/u/bitsocialnet)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/bitsocialnet/refactor-pass-6

---


<!-- Generated from .agents/skills/refactor-pass/SKILL.md; run yarn ai-workflow:sync. -->

# 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.

