/act101:safe-to-mergefrom act101
Runs a deterministic merge gate over every changed function before merging a branch or approving a PR, reporting MERGE/REVIEW/BLOCK/UNKNOWN verdicts.
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.
Delegate to the gate tool (CLI twin act gate). The verdict rules live in the
engine; this skill covers how to run it and how to read the result.
| Scope | Call |
|---|---|
| Working tree vs HEAD (default) | gate with no params, or act gate |
| PR branch vs its base | gate with base_ref set to the base (e.g. origin/main), or act gate --base-ref origin/main |
CLI exit codes: 0 MERGE, 1 BLOCK, 2 REVIEW, 3 UNKNOWN, 4 execution error. CI scripts branch on the exact code; the numbers are identifiers, not a severity scale.
It discovers every changed function from the git diff (rename-aware; same-file
exact-body renames are paired as signature changes), then runs the verification trio
per function: verify_diff_semantics (hunk classes; a guard-condition change counts
as behavior), verify_test_impact (does any test reach it, via a syntactic
call-graph floor with import resolution), and verify_side_effects (effect delta,
dropped cleanup). In outline: format-only changes merge; signature-only changes merge
with test reach and block without it; tested behavior changes ask for review;
untested behavior changes and dropped cleanup block; anything the grammar cannot
model degrades to UNKNOWN with modeled_kinds quoted. Changed test code is exempt
from the reach rule. The per-function reason field cites the rule that fired.
Engineering (the verify trio's tier). Tier-blocked runs, and files in a premium language (a grammar gated to the Elite edition) the license does not cover, report UNKNOWN with the blocking dimension named; report that as given.
verdict is the worst case over functions[]. Each record carries
classification, tested with impacted_tests, effects_added and
effects_removed, dropped_cleanup, modeled_kinds, its own verdict, and
reason. skipped[] lists changed files with no grammar; include them in the
summary so coverage is honest.
These are AST and heuristic analyses, not a proof. UNKNOWN means "not verified"; the engine ranks it above MERGE and REVIEW in the overall verdict, and your summary keeps it that way. Grammars without branch-CFG modeling cannot rule out behavior changes in body edits and return UNKNOWN with the evidence quoted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
26 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.npx claudepluginhub act101-ai/act101 --plugin act101Other plugins' skills for the same job