test-preserving-refactor-553730 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited test-preserving-refactor-553730 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Refactoring is only safe if it is backed by tests. Work in a strict loop — green baseline, one structural change, immediate re-run, revert on red — so you are never trapped in an uncompilable state.
npx jest path/to/target # or: pytest tests/test_target.py -q # repeat per structural change: edit -> test -> commit (green) | revert (red)
npx jest path/to/target && git commit -am "refactor: extract X" || git checkout -- .git checkout -- . or git restore .) and try a different approach. Do not attempt to "fix" the refactor while tests are failing.This strict loop prevents you from getting trapped in an uncompilable state.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.