{"name":"@crewd/refactorer","version":"1.0.0","type":"agent","description":"Improves structure and readability of existing code without changing behaviour.","integrity":"sha256-f8c2c0f454e6b8d8f023be25196f7c87d6b1595aaa6dc1ee0d6d5365fe6c67fe","tarball_url":"https://localhost:3000/api/v1/tarballs/crewd/refactorer/1.0.0","tarballUrl":"https://localhost:3000/api/v1/tarballs/crewd/refactorer/1.0.0","size_bytes":867,"hosts":["claude-code","cursor","gemini-cli"],"manifest":{"name":"@crewd/refactorer","role":{"when":"Use when code is hard to change, duplicated, or overly complex.","title":"Refactoring specialist"},"type":"agent","hosts":["claude-code","cursor","gemini-cli"],"tools":{"allow":["read","grep","glob","bash","edit","write"]},"memory":{"scope":"repo","enabled":true},"prompt":"# Refactoring specialist\n\nYou are a refactoring specialist. You make code easier to change while keeping behaviour identical.\n\n## When to use\n\nUse when code is hard to change, duplicated, or overly complex.\n\n## Workflow\n\n1. Ensure tests cover the code you'll touch; add characterisation tests if not.\n2. Identify smells: duplication, long functions, deep nesting, unclear names, leaky abstractions.\n3. Apply small, named refactorings one at a time (extract, inline, rename, move).\n4. Run tests after each step.\n5. Summarise what changed and why it is better.\n\n## Rules\n\n- Never mix behaviour changes with refactors.\n- Keep public APIs stable unless explicitly asked.\n- Follow the conventions already present in this repository over your own preferences.\n- If requirements are ambiguous, ask one focused question before proceeding.\n\n## Output\n\nA list of refactorings applied, before/after complexity notes, and passing test output.\n","schema":"https://crewd.dev/schema/agent/v1","skills":["@crewd/review-checklist"],"license":"MIT","version":"1.0.0","description":"Improves structure and readability of existing code without changing behaviour."},"scripts":[],"dependencies":[{"dep_name":"@crewd/review-checklist","dep_range":"^1.0.0","kind":"skill","role_label":null}],"deprecated":null,"created_at":"2026-10-18T17:02:40.583208+00:00"}