Skip to content
SkillScript-led894 tokens in use

replica-diff

Scores how close an app clone is to the original: weighted feature parity from a CSV matrix, a layout diff of screenshots and a ranked missing list.

10,140 stars on the repository MIT LicenseJakeschincariol/replica-skill · replica-diff
/plugin install replica-skill@replica-skill
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing replica-diff costs

108tokens idle
894tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Script-led

Script-ledMixedModel-led

Most of this skill is scripts, so it behaves much the same whichever model runs it.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: imgdiff.py, parity.py.

Touches

shelldetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter12/15
  • Structure17/25
  • Examples9/15
  • Output10/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 18
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 20

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Needs attention
  • Development activity32
  • Maintenance4
  • Community64
  • Maturity12
  • Momentum40

replica-diff measures a clone against the original with two standard-library Python tools. parity.py reads the feature matrix and weights must, should and could rows; imgdiff.py compares two PNG screenshots by layout and ignores colour, so a rebrand does not count against you.

It then adds a behaviour comparison of the flows and writes a report with a verdict: not shippable, shippable, or better than the original.

What You Get

  • A feature score with must-haves done of total, areas weakest first and a missing list in build order
  • A layout score per screen, with the regions that differ in the original’s pixel coordinates
  • A diff image per screen and optional combined score of 80 percent features and 20 percent layout
  • A behaviour comparison of clicks, error handling, remembered state and emails per flow
  • A verdict of not shippable, shippable or better than the original

Common Use Cases

  • Finding which must-have features of a clone are still missing
  • Comparing a clone’s screens to the original’s after a rebrand changed every colour
  • Setting a pass mark for CI with the fail-under option

What Makes It Unique

It defines parity as doing the same job, and both scripts leave out what would distort the number: skipped rows and features you added are not scored, and the layout diff works on edge maps so colour changes do not count. Pixel mode is for your own regressions only.

Under The Hood

Both scripts are standard-library Python with no network calls. parity.py reads the CSV and optional JSON diff results; imgdiff.py decodes PNG files itself and can write a diff image. The skill’s instructions have the agent run them on your project files, collect screenshots and write the parity report, so it runs commands and writes files. The original’s screenshots come from public pages or your own account.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers