Agent Skills: Refactor Skill

|

UncategorizedID: zpankz/mcp-skillset/refactor

Install this agent skill to your local

pnpm dlx add-skill https://github.com/Zpankz/mcp-skillset/tree/HEAD/refactor

Skill Files

Browse the full folder contents for refactor.

Download Skill

Loading file tree…

refactor/SKILL.md

Skill Metadata

Name
refactor
Description
|

Refactor Skill

Trigger Patterns

  • "/refactor"
  • "refactor the architecture"
  • "optimize my claude code setup"
  • "evaluate all components"
  • "run architecture audit"
  • "check for redundancies"
  • "optimize token usage"

Applicable Specialized Agents

  • refactor-agent (primary orchestrator)
  • component-architect-agent (validation)
  • knowledge-domain-agent (learning integration)

Infrastructure Dependencies

| Tool | Purpose | Health Check | |------|---------|--------------| | bv/bd | Graph orchestration | bd --version | | tweakcc | System prompt editing | ls ~/.tweakcc/ | | claude-mem | Context optimization | curl localhost:37777/health | | hookify | Validation hooks | hookify --version |

Optimization Frameworks

  1. Homoiconic Renormalization - Self-referential optimization
  2. BFO/GFO Ontology - Formal type definitions
  3. Hegelian Dialectics - Thesis-antithesis-synthesis
  4. Pareto Optimization - Multi-objective efficiency

24-Hour Auto-Trigger

<!-- ~/.claude/launchd/com.claude.refactor.plist -->
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.claude.refactor</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/bash</string>
        <string>-c</string>
        <string>claude -p "/refactor --auto"</string>
    </array>
    <key>StartInterval</key>
    <integer>86400</integer>
</dict>
</plist>