agentsclimarketplace

Refactoring code

Skill alexei-led/cc-thingz/dist/pi/skills/refactoring-code

Portable skills, agents, hooks, and Pi extensions for Claude Code, Codex CLI, Copilot, Cursor, Grok, and Pi.From the repository description

Install
npx -y skills add alexei-led/cc-thingz --skill refactoring-code

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.0 KB, 336 tokens by cl100k_base, as published. Nobody here has run it

<!-- Pi platform guidance --> <!-- Use installed Pi tool names exactly. Installed extensions may add toolsets such as Task*, Monitor*, and Loop*; use the visible tool names exactly and do not translate them to Claude syntax. --> <!-- Prefer Task* over `todo` when task-tracking tools are available; `todo` is the cc-thingz fallback. Prefer MonitorCreate for long-running or background commands and LoopCreate for scheduled or event-driven follow-up instead of Bash sleep/poll loops. --> <!-- Use subagent for delegated work. Use wait to block on async subagent runs only when no independent work remains. --> <!-- Use ctx7 or npx ctx7@latest through bash when Context7 documentation lookup is required. -->

Batch Refactoring

Follow the base skill. This Pi overlay only defines tool use and execution details.

Pi tool rules

  • Pi has no tool-level read-only enforcement; follow the active agent's role directive (engineer applies one batch, reviewer proposes only) rather than inferring the role from tool availability.
  • Use bash (rg, fd, git grep) to map affected sites; Pi has no dedicated grep/glob tool.
  • Use edit for existing files and write only for new files.
  • Prefer installed Task* tools to track multi-batch refactors across steps; fall back to todo when that task toolset is unavailable.
  • Use ask_user_question when scope, preservation target, or safety gate is unclear.

Output on Pi

Use the base skill's Engineer and Reviewer output contracts exactly, unmodified.

What ships with it: 6 files

10.5 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.