Sitelet https://github.com/lightspeedwp/.github/issues/3475
Skip to content

task: remove duplicated skill scripts copied across agents #3475

Description

@eleshar

Part of #3464. Related: #3467, #3468.

Problem

Skill scripts are copied into many agents instead of kept once and referenced by path.

Type Files Unique content Duplicate copies
Python 1,165 358 807 (69%)
JavaScript 720 680 40

Some files exist 14 times (for example merge_docx_append.py, comments_strip.py, xlsx_to_docx_table.py, redact_docx.py, flatten_ref_fields.py), mostly under agents/*-agent/skills/**.

Impact: GitHub Code Quality re-analyses every copy (the Python scan takes about 125 s per PR, the slowest check); fixes must be applied up to 14 times, and copies drift. The external repo review flagged the same failure mode ("packaged copies of skills diverged; one copy, referenced by path").

Change

Acceptance

  • Duplicate-copy count reported by the check drops to 0 (or an agreed allowlist)
  • Code Quality Python analysis time measured before and after

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions