Refractor
Refactor code following best practices and design patterns
- Type
- Plugin
- Repository
- ccplugins/awesome-claude-code-plugins
- GitHub stars
- 954
- License
- Apache-2.0
- Repo last updated
- Aug 12, 2026
- Source file
- plugins/refractor/.claude-plugin/plugin.json
- Version
- 1.0.0
- Author
- Anand Tyagi
What Refractor is
Refractor is a plugin published in the ccplugins/awesome-claude-code-plugins repository on GitHub, which has about 954 stars. The repository describes itself as: “Awesome Claude Code plugins — a curated list of slash commands, subagents, MCP servers, and hooks for Claude Code”
A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.
Installing Refractor adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.
How to install Refractor
Claude Code
- Add the repository as a plugin marketplace: claude plugin marketplace add ccplugins/awesome-claude-code-plugins
- Install the plugin: claude plugin install refractor@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
- Restart the session if the new skills or commands don't appear straight away.
Claude Cowork
- Open Customize → Plugins and choose Add marketplace.
- Enter ccplugins/awesome-claude-code-plugins (the owner/repo shorthand works for GitHub).
- Find Refractor in the list, click Install, then connect any connectors it needs from its Connectors tab.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
We couldn't retrieve the source file for this entry. Browse the repository on GitHub to find it and read the README before installing.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Refractor?
Refractor is a plugin for Claude Code and Claude Cowork from the ccplugins/awesome-claude-code-plugins repository on GitHub. Refactor code following best practices and design patterns
How do I install Refractor in Claude Code?
Add the repository as a plugin marketplace: claude plugin marketplace add ccplugins/awesome-claude-code-plugins Install the plugin: claude plugin install refractor@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.
Can I use Refractor in Claude Cowork?
Open Customize → Plugins and choose Add marketplace. Enter ccplugins/awesome-claude-code-plugins (the owner/repo shorthand works for GitHub). Find Refractor in the list, click Install, then connect any connectors it needs from its Connectors tab.
Is Refractor safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Ai Engineer Use this agent when implementing AI/ML features, integrating language models, building recommendation systems, or adding intelligent automation to applications. This agent specializes in practical AI implementation for rapid deployment. Examples:\n\n \nContext: Adding AI features to an app\nuser: "We need AI-powered content recommendations"\nassistant: "I'll implement a smart recommendation… Plugin · ccplugins/awesome-claude-code-plugins
- Analytics Reporter Use this agent when analyzing metrics, generating insights from data, creating performance reports, or making data-driven recommendations. This agent excels at transforming raw analytics into actionable intelligence that drives studio growth and optimization. Examples:\n\n \nContext: Monthly performance review needed Plugin · ccplugins/awesome-claude-code-plugins
- Analyze Codebase Generate comprehensive analysis and documentation of entire codebase Plugin · ccplugins/awesome-claude-code-plugins
- App Store Optimizer Use this agent when preparing app store listings, researching keywords, optimizing app metadata, improving conversion rates, or analyzing app store performance. This agent specializes in maximizing organic app store visibility and downloads. Examples:\n\n \nContext: Preparing for app launch Plugin · ccplugins/awesome-claude-code-plugins
- Security Guidance Security reminder hook that warns about potential security issues when editing files, including command injection, XSS, and unsafe code patterns Plugin · ccplugins/awesome-claude-code-plugins
- React Native Dev Use this agent when you need expert assistance with React Native development tasks including code analysis, component creation, debugging, performance optimization, or architectural decisions. Examples: Context: User is working on a React Native app and needs help with a navigation issue. user: 'My stack navigator isn't working properly when I try to navigate between screens' assistant: 'Let me… Plugin · ccplugins/awesome-claude-code-plugins
- Sprint Prioritizer Use this agent when planning 6-day development cycles, prioritizing features, managing product roadmaps, or making trade-off decisions. This agent specializes in maximizing value delivery within tight timelines. Examples:\n\n \nContext: Planning the next sprint\nuser: "We have 50 feature requests but only 6 days"\nassistant: "I'll help prioritize for maximum impact. Let me use the… Plugin · ccplugins/awesome-claude-code-plugins
- Rapid Prototyper Use this agent when you need to quickly create a new application prototype, MVP, or proof-of-concept within the 6-day development cycle. This agent specializes in scaffolding projects, integrating trending features, and building functional demos rapidly. Examples:\n\n \nContext: Starting a new experiment or app idea\nuser: "Create a new app that helps people overcome phone anxiety"\nassistant… Plugin · ccplugins/awesome-claude-code-plugins