All skills
lexler avatar

/refactoring-team

@628d2e9
by Lada Kesselerlexler/skill-factory238 stars
61

Iterative code refactoring through progressive lenses via a worker-reviewer agent team.

Use this Skill: https://skilld.dev/gh/lexler/skill-factory/refactoring-team

This session only. Nothing lands on disk.

referencesreviewer-guides10-semantic-clarity.reviewer.md

≈299 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Lens: Semantic Clarity (Reviewer Guide)

When to Apply

After structural storytelling. Structure is now clear — this lens asks whether the code communicates meaning, not just mechanics.

What Worker Should Do

  1. Use refinement-loop skill to distill understanding of problem/solution space
  2. Check their English for implementation details — it should be pure problem/solution
  3. Come up with list of refactorings needed to make code match the English
  4. Implement the refactorings

What to Look For in Diffs

  • Names that shifted from implementation to domain
  • Structure changes that make problem/solution clearer
  • Code that now reads like a story, not mechanics

First Pass

Review what the worker improved.

Second Pass

Do the same exercise yourself using refinement-loop:

  • What is the problem this code solves?
  • How does it solve it?
  • Distill to high-level English with no implementation details

Then look at the code. What concepts or ideas aren't communicated that should be? Point out what the worker missed.

When Done

Move on when the code tells its semantic story — someone reading it understands the problem and solution, not just the implementation.

Source: SKILL.md on GitHub

No alerts6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill facilitates an automated, iterative refactoring workflow using a worker-reviewer agent team. It processes local source code and executes user-provided test commands to verify changes. The skill operates using local scripts and standard development tools without any detected malicious behaviors or obfuscation.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: LOW · No issues

Signed by skilld at 628d2e9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
disable-model-invocation
true
argument-hint
[target-path]
Other metadata
hooks
{
  "TeammateIdle": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_SKILL_DIR}/references/guard-idle-worker.sh"
        }
      ]
    }
  ]
}

README badge

README badge for lexler/skill-factory/refactoring-team