Skip to content
Back to skills

Workflow Skills

ASecurity

Only on explicit request. Produce a verified preflight for a rename/move/ restructure: full reference set, readiness verdict, and a snapshot-bound evidence capsule that the host's native edit path executes against. Performs no mutation itself.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
ai-agents

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add mupozg823/codelens-mcp-plugin --skill workflow-skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workflow Skills?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workflow Skills
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mupozg823-workflow-skills-7e37359c/badge)](https://www.skillsdirectory.com/skills/mupozg823-workflow-skills-7e37359c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: safe-refactor
title: Safe Refactor Readiness
risk: mutate-adjacent
implicit: false
description: >
  Only on explicit request. Produce a verified preflight for a rename/move/
  restructure: full reference set, readiness verdict, and a snapshot-bound
  evidence capsule that the host's native edit path executes against. Performs
  no mutation itself.
tools:
  - prepare_harness_session
  - plan_safe_refactor
  - verify_change_readiness
  - diagnose
  - graph
---

# Safe Refactor Preflight

1. **Bind + freshness gate.** `prepare_harness_session`; refuse to proceed on a
   stale index — refresh first. Record the snapshot/generation for the capsule.
2. **Plan.** `plan_safe_refactor` for the target symbol(s); cross-check the
   reference set with `graph` (refs/impact) — disagreement between the two is a
   blocker, not a footnote.
3. **Readiness.** `verify_change_readiness` on every target file. `blocked` ⇒ stop
   and report blockers; `caution` ⇒ proceed only with a post-edit `diagnose` step
   in the plan.
4. **Hand off, don't edit.** Emit the preflight capsule: snapshot id, target set,
   complete reference list (file:line), readiness verdicts, and the post-edit
   verification commands. The host performs edits with its native tools; re-run
   `diagnose` afterward and compare against the capsule.

Files in this skill

  • explore-impact.skill.md1.3 KB
  • review.skill.md1.3 KB
  • safe-refactor.skill.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.