Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By el-feov0.2.1MITIn 1 marketplace
Diagnoses code smells by their catalog names and applies refactorings one small test-verified step at a time, in any language. Optional GitHub Actions workflow posts PR reviews and needs a Claude OAuth token and admin access.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
refactoring, code-smells, martin-fowler, clean-code, pull-request-review
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A refactoring advisor grounded in Martin Fowler's Refactoring: Improving the Design of Existing Code (2nd edition). It diagnoses code smells, applies catalog refactorings using their step-by-step mechanics — small behavior-preserving steps with tests between them — and teaches when and why to use each of the 64 catalog techniques. Language-agnostic: the discipline applies to Ruby, JavaScript, Python, or anything else with functions and objects.
# Add the marketplace (from GitHub)
/plugin marketplace add el-feo/ai-context
# Install the plugin
/plugin install fowler@jebs-dev-tools
# Or use the plugin directory directly
cc --plugin-dir /path/to/ai-context/plugins/fowler
/fowler [diagnose|refactor|advise] <code, file paths, a refactoring name, or a question>
The mode keyword is optional — the skill auto-detects intent:
/fowler app/services/invoice_builder.rb # diagnose smells
/fowler extract class on app/models/user.rb # guided refactoring
/fowler when should I use Split Phase? # advice/teaching
/fowler:install-review [path glob(s) (optional)]
/fowler:install-review installs an automated PR-review GitHub workflow into
the current repository (see below).
The skill also activates without the command whenever you ask to refactor, clean up, or restructure code, mention a code smell or a catalog refactoring by name, or wrestle with code that's hard to read or change.
| Mode | What it does |
|---|---|
| DIAGNOSE | Finds code smells by their catalog names and prescribes the refactorings that cure them, ranked by payoff |
| REFACTOR | Applies a refactoring following its catalog mechanics — one small step at a time, tests between steps, never mixing behavior change with structure change |
| ADVISE | Explains and compares techniques: motivation, trade-offs, inverses, and when not to refactor |
The plugin ships a generic fowler-review.yml workflow template that runs a
refactoring review on every PR via claude-code-action.
Install it into any GitHub repo with:
/fowler:install-review # review all changed files in each PR
/fowler:install-review app/** lib/** # scope the review to specific paths
How it works:
/fowler on a
PR (owners/members/collaborators only) to request a re-review.fowler plugin from this marketplace into the CI runner, so the
target repo needs no vendored skill files — updates to the plugin flow
through automatically.with a prioritized refactoring order.
gh CLI).templates/fowler-review.yml).gh CLI authenticated against the repo (gh auth login) — the
installer uses it to check/set the repo secret.# 1. In Claude Code, install the plugin (once per machine)
/plugin marketplace add el-feo/ai-context
/plugin install fowler@jebs-dev-tools
# 2. From the repo you want reviewed, run the installer
/fowler:install-review # or: /fowler:install-review app/** lib/**
# 3. Create the token and store it as a repo secret
# (the installer checks for this and walks you through it if missing)
claude setup-token
gh secret set CLAUDE_CODE_OAUTH_TOKEN
# 4. Commit the workflow and open a PR — the first review fires automatically
git add .github/workflows/fowler-review.yml && git commit -m "ci: add Fowler refactoring review"
The template authenticates against Anthropic's hosted API with an OAuth token.
To run the review through Amazon Bedrock — billing via AWS, no Claude
subscription or CLAUDE_CODE_OAUTH_TOKEN needed — swap the auth wiring; the
plugin install, security gating, and review prompt all carry over unchanged.
Two things differ:
7-day copy clicks
npx claudepluginhub el-feo/ai-context --plugin fowlerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground