fangdididi

Keep The Wiring — Testing skill for Claude Code

Testing community

Agent skill: redesign a page without breaking what it does - snapshot links, forms, fields, labels, test/analytics hooks, script selectors, SEO tags and facts, diff after, KEEP/REVIEW/HOLD with writte.

How to install Keep The Wiring

This entry records only its repository, not the path inside it, so there is no exact command to give. Open fangdididi/keep-the-wiring and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Keep The Wiring does

Agent skill: redesign a page without breaking what it does - snapshot links, forms, fields, labels, test/analytics hooks, script selectors, SEO tags and facts, diff after, KEEP/REVIEW/HOLD with written waivers. EN + 中文

Alternatives in Testing

  • Readme Generator — Generate professional README.md with 16:9 infographics, SEO-optimized metadata, and structured author sections 44 ★
  • Gzh Article Pipeline — End-to-end WeChat Official Account AI pipeline: high-eCPM/CTR topic gating, 21:9 cover gen, 9-point offline QA 29 ★
  • Think Stress Test Decision — Pressure-test a consequential decision before committing, by comparing options, surfacing the conditions that 15 ★

README

keep-the-wiring

**English** | [简体中文](README.zh-CN.md)

An agent skill that lets you redesign a page without breaking what it does. It snapshots a page's invisible contract (links, forms, fields, hidden values, labels, test and analytics hooks, the selectors your scripts read, SEO tags and the facts the page states) before the redesign, snapshots again after, and gives a **KEEP / REVIEW / HOLD** verdict. Every loss is either restored or waived with a written reason.

Why

Screenshot reviews catch ugly. They do not catch:

  • a form whose id changed, so the submit script finds nothing and the form silently does nothing;
  • a field that lost its label because the new design uses placeholders;
  • autocomplete, maxlength or required dropped in the rewrite;
  • a canonical tag, hreflang alternate or robots value lost in the new layout;
  • a data-testid or data-track-* hook gone, so tests or analytics go blind;
  • a price, date or phone number "tidied up" into a different one.

This skill turns those into a checked list.

Features

  • Keep card: a four-line agreement on depth, what must stay, what may go, and which pages.
  • Framework-agnostic snapshot of rendered HTML: works for plain HTML, React, Vue, Svelte, CMS themes and static-site output.
  • Script-aware: reads your JS for getElementById, querySelector(All), $(), getElementsByClassName and getElementsByName, and flags a selector that matched before and matches nothing after.
  • Form contract: action, method, enctype, field names and types, hidden values, labels ( or aria-label), submit controls, and new fields the backend has never seen.
  • Content guard: headings, image alt text, money, percentages, dates, times, phone numbers and counts with units.
  • Three verdicts with exit codes: KEEP 0, REVIEW 1, HOLD 2, ready for CI.
  • Written waivers: a waiver without a reason is rejected; waivers can be scoped to one page.
  • Renamed pages paired with `--ma