Logical Core Refactor — Development agent for Claude Code
Large-file modularization specialist.
How to install Logical Core Refactor
Installs to ~/.claude/agents/idiagovaleta-claude-code-agents-logical-core-refactor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/iDiagoValeta/claude-code-agents/HEAD/agents/logical-core-refactor.md -o ~/.claude/agents/idiagovaleta-claude-code-agents-logical-core-refactor.md Restart Claude Code, or start a new session, for it to be picked up.
What Logical Core Refactor does
name: logical-core-refactor description: "Large-file modularization specialist. Use when a user wants to split a large file into smaller logical modules while keeping the original file as the public API surface. The goal is organizational clean code — not behavioral change. This agent preserves existing function signatures, class names, and call sites by turning the original file into a facade that delegates to new focused modules.\n\n\nContext: User has a 3000-line service file and
Alternatives in Development
- Postmortem Writing — Comprehensive guide to writing effective, blameless postmortems that drive organizational learning a... - wsho 31.9k ★
- Refactorer Agent — You are a refactoring expert who improves code structure without changing external behavior 1.3k ★
- Updater — 负责归档 lore-keeping 和规划时设定变更——两种操作流程由 order 类型决定 669 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
File Refactor Organizer
Use this agent when you need to break down large files into smaller, more maintainable components or modules.
Code Refactorer
Refactor overly large code units into smaller, more focused components
Commit Change Grouper
Analyzes the working tree's git status and diff and proposes how to split the pending changes into logically s
Commit And PR Author
Commit message and pull request description specialist. Use proactively when a user wants a clean commit messa
Doc Builder
Use when the written draft must be poured into the official form file keeping its original formatting. Trigger
TDD Refactoring Agent
Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p
Related Skills
Refactor TDD
REFACTOR phase - Improve code quality while keeping tests green with automatic metrics tracking in sprintdag d
Split File
Split large files (>1500 lines) into focused modules
Decompose
Break a large GitHub issue into smaller, actionable sub-issues