/act101:verify-refactorfrom act101
Validates that a refactored function preserves its original behavior by comparing contract, side effects, and control-flow equivalence between git working tree and HEAD versions.
Ships in act101. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Confirm one function's refactor is behavior-preserving by composing three
Engineering-tier verification ops over a two-version comparison: git working tree vs
HEAD by default, or an explicit before/after pair.
This skill verifies one function pair. For a changed set of functions with git
context, use act gate via the safe-to-merge skill; its MERGE/REVIEW/BLOCK/UNKNOWN
vocabulary is deliberately distinct from this skill's SAFE/REVIEW/UNSAFE/UNKNOWN.
| Step | Tool | Question it answers |
|---|---|---|
| 1 | verify_contract_preserved | Did the public and behavioral contract (signature, effects, control, returns, guards, raises) change? |
| 2 | verify_side_effects | Which side effects were added or removed? Was a cleanup dropped? |
| 3 | verify_behavioral_equivalence | Is the control-flow shape equivalent (no new or removed branches, loops, exception paths)? |
verify_behavioral_equivalence with scope:"port" is Enterprise and belongs to
port-verify.
verify_contract_preserved with target and file. A broken verdict ends the
run: report the broken dimensions.verify_side_effects. Surface dropped_cleanup: true first: a removed write or
close while an allocation is kept is a likely leak.verify_behavioral_equivalence. equivalent means the shape held; changed
lists the dimensions; unknown means a grammar dimension (Go exceptions, for
example) could not be judged and carries no safety claim.changed in an
expected way. Summarize what moved.broken, dropped_cleanup: true, or behavior changed
unexpectedly.unknown on an unmodeled dimension. UNKNOWN stays
UNKNOWN; it never becomes SAFE.The verdict, the three op results in one line each, and the specific dimensions or
effects that changed. Quote modeled_kinds when the verdict is UNKNOWN.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub act101-ai/act101 --plugin act10126 skills in this plugin
/agent-safety-auditUse before an autonomous agent edits a sensitive or high-blast-radius file, or to judge an edit it already made. Composes secret surface, taint flow, blast radius, API width, and the repo scan into one safety verdict./architectural-refactoringUse when breaking circular dependencies, splitting god classes, reducing coupling between modules, extracting interfaces at seams, or executing any structural change identified by an architecture audit. Requires a prior architecture-audit run that produced project-map.md and a report./architecture-auditUse when asked to audit architecture, get the full structural picture of a codebase, assess overall health or porting readiness, or find module boundaries, circular dependencies, coupling hotspots, dead code, or code smells. Full hypothesis-driven audit, optionally enriched with coverage and git evidence./boundary-analysisUse when looking for extraction candidates, planning a module split, analyzing module boundaries, or asked "where should I split this?". Produces ranked extraction candidates with cut costs, layer violations, interface width, orphan types, and a decomposition sequence./change-impactUse before modifying a file or symbol, or when asked "what breaks if I change X?". Returns a blast-radius, test-coverage, and cycle-risk verdict immediately, with no follow-up investigation./code-generationGenerates boilerplate (constructors, accessors, builders, equals and hash methods, JSON serialization, toString, interface stubs, test stubs) from a type's existing fields, previewed and reversible. Use when creating any of that boilerplate from an existing class or struct, or when porting a type and its boilerplate to another language. Business logic is written by hand.Other plugins' skills for the same job