cyberneticlibrary

Promote patterns to permanent rules

promoteskillsetup L117,464
alirezarezvani/claude-skills
What it does

Graduate patterns from auto-memory to enforced rules

Best for

Converting one-off learnings into permanent project conventions that persist across sessions.

Inputs
  • · [object Object]
  • · [object Object]
Outputs
  • · [object Object]
  • · [object Object]
Requires
  • · grep (pattern search)
  • · file editing
Preconditions

Pattern exists in MEMORY.md, valid rule scope identified

Failure modes

Pattern not found in memory, conflicting existing rules, CLAUDE.md exceeds 200 lines

Trust signals
  • · Checks file size before promoting to .claude/rules/
  • · Shows memory cleanup step
  • · Distillation rules (imperative voice)