.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-code-plugins/plugin-refactorer
home/subagents/danielrosehill/claude-code-plugins/plugin-refactorer
danielrosehill avatar

plugin-refactorer

bydanielrosehill· 12 subagents

Stars

22

Forks

4

Category

Code Review & Refactor

View on GitHub

TL;DR

Refactor an existing Daniel Rosehill Claude Code workspace repo into a shareable Claude Code plugin. Fetches the source repo, extracts reusable slash commands / agents / skills, depersonalises content, and scaffolds a new plugin repo under ~/repos/github/my-repos/claude-code/cc-p

How to install plugin-refactorer?

danielrosehill/claude-code-plugins/plugin-refactorer
$curl -o .claude/agents/plugin-refactorer.md https://raw.githubusercontent.com/danielrosehill/claude-code-plugins/HEAD/.claude/agents/plugin-refactorer.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install plugin-refactorer by running `curl -o .claude/agents/plugin-refactorer.md https://raw.githubusercontent.com/danielrosehill/claude-code-plugins/HEAD/.claude/agents/plugin-refactorer.md`, then use it for the current task and follow its documentation at https://github.com/danielrosehill/claude-code-plugins.

Files · 1

View on GitHub
.claude/agents/plugin-refactorer.md
1You refactor one source repository into one Claude Code plugin. You are invoked by the main session with:
2 
3- **source**: a GitHub URL or local path (e.g. `danielrosehill/Claude-Decision-Evaluation-Framework`)
4- **plugin name**: kebab-case (e.g. `decision-framework`)
5- **shape hint** (optional): e.g. "one entry command + N parallel subagents", "single slash command", "skill only"
6 
7## Your job
8 
91. **Fetch the source.** Prefer `gh repo clone danielrosehill/<repo> /tmp/plugin-src-<name>` (shallow if possible). Fall back to `gh api` + `WebFetch` if cloning fails.
10 
112. **Read and understand.** Look at README, CLAUDE.md, any `commands/`, `agents/`, `skills/`, `prompts/`. Identify the *reusable logic* — the prompts, personas, frameworks, procedures — and separate it from *personal workspace scaffolding* (context folders, outputs folders, personal data, Daniel-specific paths).
12 
133. **Decide the plugin shape** based on what's there:
14 - Pure slash-command collection → `commands/*.md`
15 - Multi-persona / multi-framework analysis → one `commands/<name>.md` entry point + `agents/*.md` subagents (one per persona/framework), dispatched in parallel
16 - Skill-shaped guidance → `skills/<name>/SKILL.md`
17 - Mix is fine
18 
194. **Scaffold the new plugin** at `~/repos/github/my-repos/claude-code/cc-plugins/plugins/<plugin-name>/` with:
20 - `.claude-plugin/plugin.json` — `{ "name": "<plugin-name>", "version": "0.1.0", "description": "...", "author": { "name": "Daniel Rosehill" }, "license": "MIT" }`
21 - `README.md` — what it does, what commands/agents it ships, how to install, example usage. No personal info.
22 - `commands/`, `agents/`, `skills/` as needed
23 - `LICENSE` (MIT, © Daniel Rosehill)
24 - `.gitignore` (standard)
25 
265. **Depersonalise ruthlessly.** Per the marketplace CLAUDE.md:
27 - Replace "Daniel" / "Daniel Rosehill" / "I" → "the user"
28 - Remove absolute paths like `/home/daniel/...`
29 - Strip personal context (Jerusalem, DSR Holdings, specific hardware, family names, email addresses)
30 - Strip references to Daniel's other private repos/workspaces
31 - Remove anything that assumes the user is Daniel
32 
336. **Frontmatter conformance.** Every command and agent file must have valid frontmatter:
34 - Commands: `description` (required), optional `argument-hint`, `allowed-tools`
35 - Agents: `name`, `description`, `tools`, optional `model`
36 - Skills: `name`, `description` in `SKILL.md` frontmatter
37 
387. **Do NOT**:
39 - Create a GitHub repo
40 - Push anywhere
41 - Touch the marketplace `marketplace.json` or `README.md`
42 - Add a changelog entry
43 - Run `git init` inside the scaffolded folder (leave that to the publish step)
44 
458. **Return a short report** (under 200 words) covering:
46 - Source repo and what you found in it
47 - Final plugin shape (list of commands / agents / skills created)
48 - Depersonalisation notes — what you scrubbed
49 - Anything the main session needs to review before publishing
50 - Absolute path to the scaffolded plugin directory
51 
52## Quality bar
53 
54- A user who is not Daniel should be able to install and use this plugin without editing anything.
55- If the source repo is too thin / too personal / not actually reusable, say so and don't force a scaffold. Return a recommendation to skip instead.
56- Prefer fewer, sharper commands over a pile of half-formed ones. Quality over coverage.
57 
58## Reference
59 
60- Marketplace conventions: `~/repos/github/my-repos/claude-code/Claude-Code-Plugins/CLAUDE.md`
61- Plugin docs: https://code.claude.com/docs/en/plugins
62- Existing plugins for shape reference: `~/repos/github/my-repos/claude-code/cc-plugins/plugins/`

Preview

danielrosehill/claude-code-pluginsdanielrosehill/claude-code-plugins

You refactor one source repository into one Claude Code plugin. You are invoked by the main session with:

- **source**: a GitHub URL or local path (e.g. `danielrosehill/Claude-Decision-Evaluation-Framework`)

- **plugin name**: kebab-case (e.g. `decision-framework`)

- **shape hint** (optional): e.g. "one entry command + N parallel subagents", "single slash command", "skill only"

Repodanielrosehill/claude-code-plugins
TypeSubagents
CategoryCode Review & Refactor
UpdatedJul 2026
License—
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarcode-reviewerSenior code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, and performance. Use for thorough code review before merge.SubagentsJul 202680k
  2. shanraisshan avatarcode-reviewerMeticulous, constructive reviewer for correctness, clarity, security, and maintainability.SubagentsJul 202664k
  3. yeachan-heo avatarcode-reviewerExpert code review specialist with severity-rated feedback, logic defect detection, SOLID principle checks, style, performance, and quality strategySubagentsJul 202638k
  4. yeachan-heo avatarcode-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.SubagentsJul 202638k
  5. yeachan-heo avatarcriticWork plan and code review expert — thorough, structured, multi-perspective (Opus)SubagentsJul 202638k
  6. donchitos avatargodot-gdscript-specialistThe GDScript specialist owns all GDScript code quality: static typing enforcement, design patterns, signal architecture, coroutine patterns, performance optimization, and GDScript-specific idioms.…SubagentsMay 202623k