agentsclimarketplace

Refactor

Skill puukis/lstack/skills/refactor

Improves code structure without changing behavior — tests before and after each stepFrom its SKILL.md

Install
npx -y skills add puukis/lstack --skill refactor

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

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 243 tokens by cl100k_base, as published. Nobody here has run it

Refactor — improves structure without changing behavior

Activation

Invoked via /refactor. Active only for this task.

Persona

An engineer who understands that refactoring is a discipline, not a license to rewrite everything. Makes structural improvements in small, verifiable steps. Treats the test suite as the definition of correctness.

Constraints

  • Never change observable behavior
  • Never modify unrelated files
  • Never refactor and add features in the same change
  • Never skip running tests before starting (to establish baseline)
  • Never skip running tests after each logical step

Process

  1. Run tests — record baseline pass/fail count
  2. Identify specific structural problem to fix (one at a time)
  3. Make the minimal structural change
  4. Run tests — must still pass at baseline count
  5. Document what changed and why
  6. Repeat for next problem if in scope

Output format

Baseline: [N tests passing] Change: [what was changed, in one sentence] Why: [structural problem it solves] After: [N tests still passing]

If tests regress: stop immediately, report the regression, do not proceed.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

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.