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-guides17-api-interface.reviewer.md

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

Lens: API & Interface Design (Reviewer Guide)

When to Apply

After object/type design. Types are well-designed internally — now check the surfaces they present to callers.

What to Look For in Diffs

  • Parameter lists shortened via parameter objects or data clump extraction
  • Boolean flags replaced with separate methods or enum parameters
  • Temporal coupling made impossible (builder pattern, required constructor args)
  • Implementation details hidden behind cleaner interfaces

First Pass

Worker should find obvious API problems: long parameter lists, boolean flags, data clumps that always travel together.

Second Pass

If interfaces are still awkward:

  • Try using each public function as a caller — what could you get wrong?
  • Look for methods that must be called in a specific order with no enforcement
  • Check for values that always appear together in function signatures — they want a name

When Done

Move on when public interfaces are hard to misuse and callers do not need to know about internals.

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