old-vs-new

Compare two formulas with labeled Before and After equations and a Diff line.

7|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/gyy0592/claude-config --skill old-vs-new
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: old-vs-new
Source: https://github.com/gyy0592/claude-config/tree/main/skills/old-vs-new
Command: npx skills add https://github.com/gyy0592/claude-config --skill old-vs-new

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill makes the mathematical and conceptual difference between a prior method and a new method immediately visible by producing a compact, structured Before/After comparison with explicit symbol definitions, a precise Diff, and a one-line Insight that names both benefit and cost.

Core Features & Use Cases

  • Fixed-shape comparison block: emits a Before equation with self-contained symbol definitions, an After equation, a precise Diff line naming the exact term changes, and an Insight line stating the dimension improved and its cost.
  • Domain-agnostic: works for algorithm comparisons, approximations versus exact forms, pipeline subroutine replacements, and any two things expressible as equations.
  • Integration-ready: designed to be called by other skills (e.g., contrib-extract, pipeline-walk) and to delegate formula rigor and language checks to specialized skills.

Quick Start

Produce a concise old-vs-new block comparing Adam and SGD by showing both equations, defining all symbols, writing a precise Diff that names the changed term, and stating a one-line Insight with the benefit and cost.

Frequently Asked Questions about old-vs-new

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I show the exact mathematical differences between two formulas?

To show the exact mathematical differences between two formulas, you produce a structured before/after comparison that highlights exact differences by labeling both equations, naming changed symbols, and stating improvement dimensions and costs.

What is the best way to compare an approximation versus an exact mathematical form?

Comparing an approximation versus an exact mathematical form is best done by writing both as equations and generating a precise Diff line naming the changed terms alongside an Insight line stating the benefit and its cost.

Can I compare algorithmic methods like Adam and SGD using a structured derivation?

Yes, you can compare algorithmic methods like Adam and SGD by writing both equations, defining all symbols, naming the changed term in a Diff line, and stating the benefit and cost in an Insight line.

Does this approach to mathematical model comparison work for pipeline stage replacements?

Yes, this mathematical model comparison works for pipeline stage replacements as long as both the prior method and the new method can be expressed as equations with self-contained symbol definitions.

What are the limitations of using a fixed-shape comparison block for formula differences?

A limitation of a fixed-shape comparison block for formula differences is that both sides must be expressible as equations; it is domain-agnostic but requires precise symbol definitions and cannot evaluate purely conceptual changes.