Refactor code to improve structure and maintainability
$npx -y skills add vstorm-co/pydantic-deepagents --skill refactorInstalls into the current project.
Run `npx skills use "https://github.com/vstorm-co/pydantic-deepagents" --skill "vstorm-co/pydantic-deepagents/refactor"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/vstorm-co/pydantic-deepagents" that are relevant to the current task. Run `npx skills add "https://github.com/vstorm-co/pydantic-deepagents"` and select the relevant skills, then follow their instructions.