Skip to content

Optimize the pairing skill family #1352

Closed

Description

@potiuk

Part of #1342 — apply the setup-family optimization recipe to the pairing family.

2 skills, 7,284 body tokens in total; 2 over the 200-token always-on budget, 0 over the 5,000-token body budget.

skill body tokens (budget 5,000) always-on tokens, est. (budget 200) lines (cap 500)
pairing-multi-agent-review 3,767 ~230 ⚠ 391
pairing-self-review 3,517 ~209 ⚠ 318

Body tokens are from docs/mode-economics.md; always-on figures are a chars ÷ 4 estimate of description + when_to_use. ⚠ marks a budget exceeded. Line counts include the generated pre-flight block.

Order of work (per the umbrella):

  1. Trim the frontmatter of every skill marked ⚠ in the always-on column.
  2. Split any over-cap body, moving sub-action-specific rules into sibling files byte-for-byte.
  3. Wording pass on the rest, with headings, golden-rule headlines, code blocks and the pre-flight block kept byte-identical.
  4. Run each touched skill's eval suite before and after, outside the sandbox.

Record any inconsistencies found but not fixed (eval-coupled wording, stale headings) in the PR description.

Activity

  1. added
    enhancement
    kind:perf
    family:pairing
    on Sep 22, 2026
  2. liwenjie200543 commented on Sep 29, 2026

    @liwenjie200543
    Contributor

    Hi! I'd like to take this one.

    Both pairing skills are trimmed under the always-on budget per the #1342 recipe: frontmatter ~230→172 and ~209→170 tokens (chars÷4 estimate), measured body tokens 3,686→3,467 and 3,437→3,377. Headings, golden-rule headlines, code blocks, and the pre-flight block are byte-identical, surface_hash is unchanged, and all quoted trigger phrases in when_to_use are preserved.

    The behavior eval suites (15 + 20 cases) need a claude -p run which isn't available in my environment, so that is noted as a pending step in the PR test plan.

    Prepared with AI coding assistance (ZCode), reviewed by me. PR incoming.

  3. potiuk commented on Oct 11, 2026

    @potiuk
    MemberAuthor

    Done in #1475: both pairing skills are now within both budgets — bodies under 5,000 tokens, description + when_to_use under 200, and under the 500-line cap (measured on main at d916316). Closing; the umbrella #1342 tracks the families still over budget.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfamily:pairingkind:perf

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions