Agent skill
re19-auto-refactor
Apply RE19 Auto-Refactor to systematically improve system structure without changing external behavior.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/re19-auto-refactor
Metadata
Additional technical details for this skill
- moltbot
-
{ "nix": { "plugin": "github:hummbl-dev/hummbl-agent?dir=skills/RE-recursion/re19-auto-refactor", "systems": [ "aarch64-darwin", "x86_64-linux" ] } }
SKILL.md
RE19 Auto-Refactor
Apply the RE19 Auto-Refactor transformation to systematically improve system structure without changing external behavior.
What is RE19?
RE19 (Auto-Refactor) Systematically improve system structure without changing external behavior.
When to Use RE19
Ideal Situations
- Iterate toward a better solution using feedback loops
- Refine a process through repeated cycles
- Scale a pattern through repetition and standardization
Trigger Questions
- "How can we use Auto-Refactor here?"
- "What changes if we apply RE19 to this iterating a workflow over several cycles?"
- "Which assumptions does RE19 help us surface?"
The RE19 Process
Step 1: Define the focus
// Using RE19 (Auto-Refactor) - Establish the focus
const focus = "Systematically improve system structure without changing external behavior";
Step 2: Apply the model
// Using RE19 (Auto-Refactor) - Apply the transformation
const output = applyModel("RE19", focus);
Step 3: Synthesize outcomes
// Using RE19 (Auto-Refactor) - Capture insights and decisions
const insights = summarize(output);
Practical Example
// Using RE19 (Auto-Refactor) - Example in a iterating a workflow over several cycles
const result = applyModel("RE19", "Systematically improve system structure without changing external behavior" );
Integration with Other Transformations
- RE19 -> CO5: Pair with CO5 when sequencing matters.
- RE19 -> SY8: Use SY8 to validate or stress-test.
- RE19 -> IN3: Apply IN3 to compose the output.
Implementation Checklist
- Identify the context that requires RE19
- Apply the model using explicit RE19 references
- Document assumptions and outputs
- Confirm alignment with stakeholders or owners
Common Pitfalls
- Treating the model as a checklist instead of a lens
- Skipping documentation of assumptions or rationale
- Over-applying the model without validating impact
Best Practices
- Use explicit RE19 references in comments and docs
- Keep the output focused and actionable
- Combine with adjacent transformations when needed
Measurement and Success
- Clearer decisions and fewer unresolved assumptions
- Faster alignment across stakeholders
- Reusable artifacts for future iterations
Installation and Usage
Nix Installation
{
programs.moltbot.plugins = [
{ source = "github:hummbl-dev/hummbl-agent?dir=skills/RE-recursion/re19-auto-refactor"; }
];
}
Manual Installation
moltbot-registry install hummbl-agent/re19-auto-refactor
Usage with Commands
/apply-transformation RE19 "Systematically improve system structure without changing external behavior"
Apply RE19 to create repeatable, explicit mental model reasoning.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?