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-guides09-structural-storytelling.reviewer.md

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

Lens: Structural Storytelling (Reviewer Guide)

When to Apply

After file boundaries. Now that files are coherent, internal narrative structure becomes the focus.

What to Look For in Diffs

  • Functions reordered to tell a story (entry points first)
  • Public API moved to top of files
  • Related functions grouped together
  • Code that reads top-to-bottom without jumping

First Pass

Worker should find obvious ordering issues — entry points not at top, related functions scattered.

Second Pass

If structure still doesn't tell a story:

  • Apply the "cover test": hide bottom half, can you understand from top?
  • Look for the narrative: what's the "chapter order" that makes sense?
  • Check if helper functions come after the functions that call them

When Done

Move on when files read like a story — high-level first, details after, a natural flow from top to bottom.

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