Skip to content
Development
Command

/refactor

Suggest refactoring opportunities

From plugin
promptscript
34414 skills3 agents14 commands1 MCP
$ npx -y skills add mrwogu/promptscript --agent claude-code

Command definition

refactor.md
# promptscript-generated: 2026-05-30T23:22:42.935Z | source: .promptscript/project.prs | target: claude
description: 'Suggest refactoring opportunities'

Suggest refactoring opportunities:

  • Extract reusable functions
  • Simplify conditional logic
  • Improve naming clarity
  • Reduce coupling between modules
  • Apply SOLID principles where appropriate
@mrwogu
Ships withpromptscript

Write your AI rules once. Every agent follows them. _One source for Claude Code, GitHub Copilot, Cursor, and 47 more tools.

3442 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
344
Star history of mrwogu/promptscript on GitHub, a chart by star-history.com

Other commands on promptscript.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command