Files
relayview-skills/packages/shared-abstraction-refactor/SKILL.md
T
admin 063d12bfb3
Check instruction packages / check (pull_request) Successful in 3s
Check instruction packages / check (push) Successful in 3s
Add role-local migrated skill guidance
2026-10-05 15:53:57 -04:00

1.0 KiB

name, description, disable-model-invocation, metadata
name description disable-model-invocation metadata
shared-abstraction-refactor Find stable repeated patterns in the assigned implementation scope and promote only justified shared abstractions. true
relayview-display-name relayview-version
Shared abstraction refactor 0.3.0

Shared abstraction refactor

Use when the assigned Plan calls for a bounded duplication scan or refactor. Read the relevant repository guidance and existing shared surfaces. Search the target paths first, then compare representative uses to determine whether they carry the same meaning. Classify each candidate as reuse an existing abstraction, promote a new one, leave local, or defer.

For an implementation assignment, move only a stable shared concept with a specific name and clear ownership. Update its callers and focused tests, then run the checks required by the Plan. For a scan assignment, return candidates and evidence without editing. Do not widen the assigned scope or create a generic utils, common, or misc bucket merely to remove repeated lines.