refactor

Installation
SKILL.md

Alignment Refactor

Restore naming, module boundaries, and structure so the code matches the concept capsule. Refactor immediately after green, while context is fresh.

Input

What feels off, or the scope to check: $ARGUMENTS

Before starting, locate:

  1. The concept capsule (glossary, invariants — naming authority). If none exists → /pragma:capsule first.
  2. The recent changes (files touched in the last slice)
  3. What feels off (if the user has a specific concern, start there)

Procedure

1. Audit naming

Compare every public name (types, functions, modules, test suites) against the capsule glossary:

Installs
1
Repository
hashintel/labs
GitHub Stars
35
First Seen
Aug 16, 2026
refactor — hashintel/labs