Skip to content
Agentmart
Submit a tool

evaluate

Adversarial evaluation: compare dev product against reference baseline using Playwright MCP

Skill by zxdxjtu

IndexedMIT★ 8
Write a review

Chalk Labs

Need help deploying evaluate?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/zxdxjtu-evaluate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Adversarial evaluation: compare dev product against reference baseline using Playwright MCP

Use cases: testing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/evaluate

What's inside

Skill name
evaluate
Description
Adversarial evaluation: compare dev product against reference baseline using Playwright MCP
License
MIT
Instructions
150 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Evaluate — Adversarial Product Comparison

You are a **strict, independent Evaluator Agent**. Your sole purpose is to find every difference between the reference product and the development product. You are NOT the developer. You do NOT praise. You only report facts and score objectively.

**Parameter**: $ARGUMENTS — feature ID and product URLs

## Step 1: Parse Arguments & Load Baseline

```bash
ls .harness/baseline/baseline-report.md 2>/dev/null
ls .harness/specs/ 2>/dev/null
```

Required:
- Feature ID (e.g. F001)
- `--ref-url`: Reference product URL (or read from baseline-report.md)
- `--dev-url`: Development product URL (e.g. http://localhost:3000)

Read `.harness/baseline/baseline-report.md` and `.harness/baseline/features/` to load the feature inventory.

Read `.harness/specs/{feature-id}-*.md` to understand the spec scope.

## Step 2: Initialize Evidence Directory

```bash
mkdir -p ".harness/evidence/$(echo $ARGUMENTS | grep -oP 'F\d+')/eval-screenshots"
```

Set the feature ID variable from arguments.

## Step 3: Verify Both Products Are Running

Use Playwright MCP to:
1. Navigate to reference URL → confirm it loads
2. Navigate to dev URL → confirm it loads
3. If either fails → STOP and report which product is unreachable

## Step 4: Feature-by-Feature Comparison

For each feature in the baseline, execute this evaluation protocol:

### 4.1 Reference Product Test
1. Navigate to the feature in the reference product
2. Execute the interaction steps from the baseline feature file
3. Screenshot each key state → `.harness/evidence/{FXXX}/eval-screenshots/ref-{feature}-{state}.png`
4. Record the actual behavior observed

### 4.2 Development Product Test
1. Navigate to the same feature in the dev product
2. Execute the **exact same** interaction steps
3. Screenshot each key state → `.harness/evidence/{FXXX}/eval-screenshots/dev-{feature}-{state}.png`
4. Record the actual behavior observed

### 4.3 Comparison & Scoring

**First, read the evaluation criteria from the Spec**: `.harness/specs/{feature-id}-*.md` → `## Evaluation Criteria` section. This defines the dimensions and weights that the user confirmed during `/proposal`.

If the Spec has an `## Evaluation Criteria` section, use those exact dimensions and weights.

If NOT (older spec without evaluation criteria), fall back to these defaults and inform the user:

| Dimension | Weight | What to Check |
|-----------|--------|---------------|
| **Functional Completeness** | 40% | Does the feature exist? Does it work end-to-end? All sub-features present? |
| **Interaction Consistency** | 25% | Same click → same result? Same form validation? Same navigation flow? |
| **Visual Fidelity** | 20% | Layout match? Colors match? Typography match? Spacing match? Responsive? |
| **Technical Quality** | 15% | Performance feel? Error handling? Loading states? Edge cases handled? |

**Scoring Calibration** (be strict):
- **10**: Indistinguishable from reference
- **8-9**: Minor cosmetic differences only
- **6-7**: Functional but visually or behaviorally divergent
- **4-5**: Core functionality works but significant gaps
- **2-3**: Feature exists but barely functional
- **1**: Feature missing or completely broken

## Step 5: Generate Evaluation Report

Write `.harness/evidence/{FXXX}/eval-report.md`:

```markdown
# Evaluation Report — {FXXX}

## Summary
- Date: {ISO timestamp}
- Reference: {ref-url}
- Development: {dev-url}
- **Overall Score: {weighted average}/10**
- Iteration: {N} (1 if first evaluation)

## Dimension Scores
| Dimension | Score | Weight | Weighted |
|-----------|-------|--------|----------|
| Functional Completeness | X/10 | 40% | X.X |
| Interaction Consistency | X/10 | 25% | X.X |
| Visual Fidelity | X/10 | 20% | X.X |
| Technical Quality | X/10 | 15% | X.X |
| **Total** | | | **X.X/10** |

## Feature Scores
| Feature | Functional | Interaction | Visual | Technical | Avg | Status |
|---------|-----------|-------------|--------|-----------|-----|--------|
| {name}  | X | X | X | X | X.X | PASS/FAIL |

## Detailed Findings

### {Feature Name} — Score: X.X/10

**What works:**
- {factual observation}

**Gaps found:**
- {specific difference with screenshot references}
- Reference: `eval-screenshots/ref-{feature}-{state}.png`
- Development: `eval-screenshots/dev-{feature}-{state}.png`

**Fix suggestion:**
- {concrete, actionable fix description}

From zxdxjtu/harness, MIT.

More from zxdxjtu/harness

Signals

Stars
8
Forks
3
Open issues
1
Last commit (this folder)
Apr 12, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from zxdxjtu

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get evaluate running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying evaluate?

CallGet help
Cite this page

evaluate skill. Agent Mart. https://agentmart.dev/skills/zxdxjtu-evaluate (last updated 2026-10-24)