Back to skills
SkillHub ClubShip Full StackFull Stack

refac-module-to-subpackage

Guide for converting a monolithic Python module into a subpackage with submodules. Use when breaking apart a large .py file into a directory of smaller modules, splitting a module into a package, reorganizing a single file into subdirectories, or when a user says things like "split this module", "break this file apart", "convert to subpackage", or "this file is too big". Also use when a user identifies a large Python file and wants to reorganize it without changing behavior.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
76
Hot score
93
Updated
March 20, 2026
Overall rating
C2.5
Composite score
2.5
Best-practice grade
A88.4

Install command

npx @skill-hub/cli install dagster-io-erk-refac-module-to-subpackage

Repository

dagster-io/erk

Skill path: .claude/skills/refac-module-to-subpackage

Guide for converting a monolithic Python module into a subpackage with submodules. Use when breaking apart a large .py file into a directory of smaller modules, splitting a module into a package, reorganizing a single file into subdirectories, or when a user says things like "split this module", "break this file apart", "convert to subpackage", or "this file is too big". Also use when a user identifies a large Python file and wants to reorganize it without changing behavior.

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: Development teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: dagster-io.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install refac-module-to-subpackage into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/dagster-io/erk before adding refac-module-to-subpackage to shared team environments
  • Use refac-module-to-subpackage for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

refac-module-to-subpackage | SkillHub