Refactoring

From hugoduncan/psi · View interactive version

Refactoring is an AI agent skill from the GitHub repository hugoduncan/psi. standards for refactoring: use whenever asked to move, extract, consolidate, or rename code

How to use this skill

Skill file

λ refactor(x).

clean(x)

| compatibility_shims → permit(temporary) ∧ remove(before_completion)

| tests → reflect(refactored_code)

| minimize(namespace_dependency_tree) → prefer(tree) ∧ avoid(general_graph)

| maximize(orthogonality)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.