refac-module-to-subpackage
Module to Subpackage
Convert a monolithic Python module into a subpackage with submodules while preserving all behavior. This is a pure mechanical reorganization — no logic changes, no fixes to pre-existing issues, no improvements.
Core Principle: Pure Reorg
This refactoring must be behavior-preserving. Copy code verbatim. Do not:
- Fix pre-existing lint/style issues (they'll show up in review — resolve as "pre-existing")
- Rename functions or change signatures
- "Improve" code while moving it
- Add or remove functionality
The goal is a clean diff that only moves code between files. Reviewers should be able to verify the split is correct by confirming every line in the old file appears in exactly one new file.
Phase 1: Structural Inventory
Understand the monolith before designing the split.
More from dagster-io/erk
dignified-code-simplifier
Simplifies and refines Python code for clarity, consistency, and maintainability while preserving all functionality. Applies dignified-python standards. Focuses on recently modified code unless instructed otherwise.
96dignified-python
Production Python coding standards with automatic version detection (3.10-3.13). Use when writing,
77cli-skill-creator
This skill should be used when creating a skill for a CLI tool. Use when users ask to document a command-line tool, create CLI guidance, or build a skill for terminal commands. Essential for systematically introspecting CLI tools through help text, man pages, GitHub repos, and online research, then organizing findings into effective skill documentation.
72command-creator
This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
72learned-docs
This skill should be used when writing, modifying, or reorganizing
71session-inspector
>
71