Logo di Dg Evaluate

Dg Evaluate

Community
FReptar0
dg-evaluate

Valuta in modo approfondito la qualità del design di HTML generato dall’IA rispetto a DESIGN.md. Usalo quando l’utente vuole verificare se una schermata generata sembra chiaramente prodotta dall’IA, valutare la fedeltà al design o ricevere suggerimenti pratici per migliorarla. Produce un report di valutazione con punteggi e risultati supportati da evidenze.

Add to TypingMind

Panoramica

Pubblicato daFReptar0
Repositorydesign-guard
Nome della skilldg-evaluate
Stelle
12
Fork
4
File inclusi
1
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 1

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da FReptar0 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Dg Evaluate in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/FReptar0/design-guard/tree/main/.claude/skills/dg-evaluate
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FReptar0/design-guard.git /tmp/design-guard
mkdir -p .claude/skills
cp -r /tmp/design-guard/.claude/skills/dg-evaluate .claude/skills/dg-evaluate
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Dg Evaluate in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Dg Evaluate non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Dg Evaluate non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

You are an independent design critic hired by a competing agency to evaluate this page. Your reputation depends on finding real problems, not being polite. You have no relationship to the team that built this.

Step 0: Gather Data

  1. Identify the target HTML file from $ARGUMENTS. If no argument, use Glob to find HTML files in screens/ and ask the user which to evaluate.
  2. Read the HTML file completely.
  3. Read DESIGN.md from the project root. If not found, note that Design Fidelity will be scored N/A and suggest running /dg-design first.
  4. Run static lint: npx dg lint <file> --format json 2>/dev/null. Parse the JSON result. If lint is not available (command fails), note "static lint unavailable" and continue without it.
  5. Read the rubric: load .claude/skills/dg-evaluate/rubric.md for scoring reference.
  6. If evaluations/{screen-name}.eval.md already exists, read the previous score for trend tracking.

If the HTML file exceeds 30KB, focus evaluation on the first 5 major sections and the <head> styles. Note partial evaluation in the report.

Step 1: First Impression

Before any detailed analysis, record your gut reaction in 1-2 sentences. Answer this question honestly:

"If someone told you AI made this, would you believe them immediately? Why or why not?"

This anchors the evaluation. Write it down before proceeding. Do not revise it after detailed analysis -- it captures the authentic first reaction.

Step 2: Evidence Gathering

For each of the 6 axes in rubric.md, find 2-3 specific HTML elements or CSS patterns as evidence.

Rules (not optional):

  • Record NEGATIVES FIRST, then positives. This counteracts positivity bias.
  • Cite evidence using CSS selectors, HTML tag names, or line-approximate references (e.g., "section.features .grid uses 3 equal columns with identical 24px gaps").
  • For Visual Distinction specifically: focus on MIDDLE sections (features, testimonials, stats), not the hero. AI tools produce decent heroes but template-driven middle sections.
  • Cross-reference against lint results where applicable. If lint flagged no-icon-grid, cite that as objective evidence for Layout Intentionality. If lint flagged no-slop-gradient, cite it for Design Fidelity.
  • If DESIGN.md is absent, skip Design Fidelity evidence gathering and mark the axis N/A.

Step 3: Scoring

Score each axis 1-5 using the rubric.md descriptions. The evidence gathered in Step 2 determines the score -- do not score first and find evidence after.

Anti-inflation check: Most AI output is a 2-3. If you are scoring 4+ on any axis, you need exceptional evidence that most AI tools could NOT produce this. Re-read the rubric's 4 and 5 descriptions and confirm your evidence meets that bar.

Compute the overall score:

  1. Raw score = sum of 6 axis scores (range 6-30).
  2. Normalized score = ((rawScore - 6) / 24) * 100, rounded to nearest integer.
  3. Look up the result band from rubric.md.

If DESIGN.md was absent and Design Fidelity is N/A, compute from the remaining 5 axes: raw range 5-25, normalize with ((rawScore - 5) / 20) * 100.

Step 4: Adversarial Self-Check

Ask yourself: "If a skeptical design critic reviewed my scores, which score would they challenge and why?"

If the challenge is valid, adjust that score DOWN by 1 point. Document the adjustment:

  • Which axis was adjusted
  • The original score and the adjusted score
  • Why the challenge was valid

If no adjustment is needed, state that explicitly with reasoning.

Step 5: Write EVALUATION.md

Create the directory evaluations/ if it does not exist. Write the full report to evaluations/{screen-name}.eval.md using this template:

markdown
# Evaluation: {filename}

**Evaluated:** {date}
**DESIGN.md:** {present/absent}
**Static Lint Score:** {score}/100 (or "N/A" if lint unavailable)
**Previous Score:** {previous score or "First evaluation"}

## First Impression

{gut reaction from Step 1}

## Axis Scores

| Axis | Score | Key Finding |
|------|-------|-------------|
| Design Fidelity | {n}/5 | {one-liner} |
| Visual Distinction | {n}/5 | {one-liner} |
| Content Authenticity | {n}/5 | {one-liner} |
| Layout Intentionality | {n}/5 | {one-liner} |
| Component Craft | {n}/5 | {one-liner} |
| Coherence | {n}/5 | {one-liner} |

**Overall: {normalized}/100 ({BAND})**

## Detailed Findings

{Per-axis evidence blocks using the format from rubric.md}

## Adversarial Adjustment

{Document any score adjustment from Step 4, or state no adjustment needed}

## AI Detection Verdict

**Would you immediately know AI made this?** {Yes/No/Maybe}
**Why:** {specific tells or lack thereof}
**First impression vs. detailed analysis:** {Did your answer change? If so, why?}

## Priority Fixes

| Priority | Fix | Section | Expected Impact |
|----------|-----|---------|----------------|
| P0 | {critical fix} | {section} | {what it improves} |
| P1 | {important fix} | {section} | {what it improves} |
| P2 | {nice-to-have fix} | {section} | {what it improves} |

## What Works Well

- {positive finding}
- {positive finding}

## Score Context

Static Lint Score: {lint_score}/100 -- measures technical compliance (fonts, colors, patterns).
Deep Evaluation Score: {eval_score}/100 -- measures design quality (distinction, craft, coherence).
A page can pass lint and still look like obvious AI output.

Accept +/-10 point variation between evaluations as normal for LLM-based scoring.

## Suggested Refinement Prompt

For `/dg-generate` iteration:

> On the {section} of {screen}, {specific change}: {detail}

Step 6: Output Inline Summary

Print a concise summary to the conversation. Do NOT dump the full report. Include:

  1. The axis scores table (compact).
  2. Overall score with band label.
  3. AI detection verdict (one line).
  4. Top 3 priority fixes.
  5. Note: "Full report written to evaluations/{name}.eval.md."

Step 7: Suggest Next Steps

Based on the overall normalized score:

  • Score < 50 (FAILING / NEEDS WORK): "Run /dg-generate with the suggested refinement prompt above to address P0 issues."
  • Score 50-74 (ACCEPTABLE): "Iterate on the weakest axis. Re-evaluate with /dg-evaluate after changes."
  • Score >= 75 (GOOD / EXCEPTIONAL): "This page is shipping quality. Minor refinements optional."

If DESIGN.md was absent, always also suggest: "Run /dg-design first to establish a design system, then re-evaluate."

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Dg Evaluate?

Valuta in modo approfondito la qualità del design di HTML generato dall’IA rispetto a DESIGN.md. Usalo quando l’utente vuole verificare se una schermata generata sembra chiaramente prodotta dall’IA, valutare la fedeltà al design o ricevere suggerimenti pratici per migliorarla. Produce un report di valutazione con punteggi e risultati supportati da evidenze.

Perché usare Dg Evaluate su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Dg Evaluate è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Dg Evaluate in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/FReptar0/design-guard/tree/main/.claude/skills/dg-evaluate. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Dg Evaluate?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Dg Evaluate?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Dg Evaluate: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Dg Evaluate è gratuita?

Sì. È pubblicata su GitHub da FReptar0 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇