Synthèse automatique
Exécute une boucle d'évaluation manuelle du skill brepjs-cad dans la session Claude courante, en réécrivant les exemples du playground et en les faisant noter par un sous-agent juge aveugle, puis propose des correctifs au SKILL.md.
Points forts
- Fonctionne sans clé API ni facturation, contrairement à la variante SDK eval:live
- Le juge est un sous-agent aveugle, ce qui évite que l'auteur note sa propre production
- Les résultats sont des constats concrets : chaque pièce non reproduite comme objet conçu pointe un manque précis du SKILL.md
- Deux modes complémentaires : implement (réécriture + rendu + notation) et verify (table précision/rappel du harnais)
Limites
- Installation lourde : build de la bibliothèque, du viewer, du CLI et installation de Chrome via Puppeteer
- Ne couvre que les catégories basics et mechanical du playground ; bim et sheet-metal sont exclus
- Si le viewer ou Chrome ne se construit pas, le rendu est abandonné et les pièces restent non notées, ce qui crée des lacunes de couverture
- Suppose l'environnement Claude Code avec sous-agents et slash commands
À utiliser pour mesurer la fidélité du skill brepjs-cad implement sur des pièces conçues, ou pour diagnostiquer les faux positifs et codes manqués du harnais verify.
À éviter pour évaluer d'autres skills, pour une exécution automatisée facturée en CI (préférer npm run eval:live) ou dans un environnement sans navigateur ni possibilité de build.
Analyse de sécurité
PrudenceThe skill orchestrates a legitimate local evaluation harness using shell commands, npm builds, a browser install, and subagent dispatch. No destructive, exfiltrating, or obfuscated actions are present, but it does use powerful tooling (bash, network, subprocesses) for its intended purpose, warranting a caution rating.
- •Instructs execution of npm build/test commands and node CLI scripts
- •Installs Chrome via `npx puppeteer browsers install chrome` (network download)
- •Runs snapshot rendering server and spawns blind judge subagents
- •No declared allowed-tools, but the skill relies on shell/network capabilities
Exemples
/eval-skill implement basics/eval-skill verify/eval-skill implement alldescription: Run a brepjs-cad skill eval in this Claude session and propose fixes (no API key). /eval-skill [target]: implement (default — re-author the playground examples, verify/render/judge, two-signal scorecard) or verify (run the precision/recall harness). The measure-and-propose sibling of /heal-skill.
argument-hint: '[target: implement | verify] [scope] (default: implement, all plain-brepjs examples)'
brepjs-cad skill eval (manual loop)
For verify: run npm run eval:verify -w brepjs-cad (bench/verifyEval.ts) and report the
precision/recall table + any false-positive or missed-code finding; propose a
skills/verify/SKILL.md (or HINT_TABLE) fix. For implement (default), continue below.
Measure the deployed implement skill by re-authoring the playground examples — the quality
bar — from their descriptions through this Claude Code session: you author each part, and a
blind judge subagent grades it (you never grade your own output — see bench/blind-judge.md).
No API key, no billing. The point of this loop is not the
score — it's the findings: each playground part the skill can't reproduce as a
designed object (not just a valid blob) is a concrete SKILL.md gap to close. (npm run eval:live is the billed SDK counterpart; it defaults to the playground corpus, --corpus prompts
for the legacy bench/prompts.ts.)
Inputs
- Corpus = the playground examples (
apps/playground/src/lib/examples/, aggregated byindex.tsintoEXAMPLES). These ARE the quality bar and grow over time — re-read the catalog each run so new examples are picked up automatically. Use thebasicsandmechanicalcategories (plain-brepjs designed parts); skipbim/sheet-metal(those need the brepjs-bim / brepjs-sheetmetal skills, not this one). - Per example: the prompt is its
description(the NL intent — all a real author gets);labelnames it.$ARGUMENTSselects a category (basics|mechanical), one exampleid, orall/ empty for both plain-brepjs categories. - Quality reference: the example's own
codeIS the bar. To render it for a side-by-side, adapt it to a.brep.ts— changefrom 'brepjs/quick'→from 'brepjs'andexport default <shape>→export default () => <shape>— thenverify --check --snapshot. The author's part should read as designed as the reference, not just valid. - Authoring contract:
packages/brepjs-cad/skills/implement/SKILL.md— follow it exactly; that is the thing under test. Do not show the author the referencecode, or lean on outside brepjs knowledge the skill doesn't give you, or you measure yourself.
Setup (once per session)
The visual judge needs rendered snapshots → the built CLI + viewer + Chrome. Build only what's missing:
- Root library —
test -f dist/index.js || npm run build - Snapshot viewer —
packages/brepjs-cad/viewer/dist, built by the brepjs-cad viewer build (NOTbrepjs-viewer— that's a different package whose build does NOT produce this dist). Rebuild if missing OR stale — a dist older thanviewer/srcthrowsglobalThis.__setScene is not a functionand then every--snapshotfails silently (this is easy to hit after pulling: aviewer/srcchange leaves the committed dist behind):[ -f packages/brepjs-cad/viewer/dist/index.html ] && [ -z "$(find packages/brepjs-cad/viewer/src -newer packages/brepjs-cad/viewer/dist/index.html)" ] || (cd packages/brepjs-cad && npx vite build --config viewer/vite.config.ts) - CLI —
test -f packages/brepjs-cad/dist/cli/main.js || npm run build --workspace=brepjs-cad - Chrome —
cd packages/brepjs-cad && npx puppeteer browsers install chrome
If the viewer/Chrome can't be built, run auto-only: skip --snapshot, mark every
judge:—, and say so loudly in the scorecard (a built-but-unjudged part is a coverage
gap, not a pass).
Author parts into a scratch ESM dir so import 'brepjs' resolves and the kernel loads:
mkdir -p /tmp/brepjs-eval && printf '{"type":"module"}\n' > /tmp/brepjs-eval/package.json.
The loop — per selected example, ≤ 4 attempts (designed parts need the polish pass)
- Brief. Convert the example's
descriptionto explicit params (mm, datums, features) per SKILL.md step 1. Read the closestskills/implement/examples/*.brep.tsfirst. Do not read the playground example'scode— that's the answer key. - Author
<id>.brep.tsfollowing SKILL.md: short API,unwrap()theResult-ops,export default () => <shape>. Snapshot serially (the render server is a singleton on port 7373; concurrent--snapshotruns error out). - Verify + render (one spawn):
node packages/brepjs-cad/dist/cli/main.js verify <id>.brep.ts --check --json <id>.report.json --snapshot <id>-shots/ - Auto signal (objective):
auto.passisok === true(a valid manifold solid / assembly). Playground descriptions rarely pin dims; if one does, check the bbox by span/extent, not absolute position (matchescheckAuto). - Judge signal (the quality bar): grade with a blind judge subagent, not yourself.
Render the reference (adapt the example's
code:brepjs/quick→brepjs,export default X→export default () => X) and the author part, copy both to neutralA/Bfilenames (coin-flipped so neither role is fixed), and dispatch a judge never told which is whose: it returns which render better realizes the description as a designed object (right features, present and legible) or whether both are blobs. One judge, escalate to 3 ontie-good/low-confidence; decode against your private map, then record thejudge.passverdict with its reason. Full protocol:bench/blind-judge.md. - Repair + polish. If
auto.passis false, fix the smallest responsible section from the reporthints. If valid but blobby, do the polish pass (SKILL.md step 8). ≤ 4 attempts; track the first attempt vs the eventual (the lift signal).
Scorecard
Emit in the canonical formatScorecard shape (bench/score.ts) so manual and
eval:live runs are comparable:
- Header:
model=<this session's model> brepjs=<version> <date> units=mm. - Per prompt:
valid | INVALID,judge:✓ | ✗ | —, with failure lines / judge reason. - Per category:
valid% judge% both% (n=), then aTOTALrow. first-try both%vseventual both%+ lift; then the failure-mode breakdown (which codes hit how often).- If any built part went unjudged:
⚠ judge coverageline (both% silently collapses to auto% for those).
Findings — the payoff
After the scorecard, summarize where SKILL.md succeeded and where it fell down: ambiguous guidance, a missing/contradictory API signature, an example that misleads, a hard-rule that over- or under-warns. Propose concrete SKILL.md edits (and core-library bugs if a verify report exposes one). Then ask whether to apply them.
Optional — log to Langfuse
If the LANGFUSE_* keys are set, record the run so it trends over skill versions. Keys live in the
repo-root .env as LANGFUSE_HOST / LANGFUSE_PUBLIC_KEY / LANGFUSE_SECRET_KEY; the SDK reads
LANGFUSE_BASE_URL, so bridge first or it silently hits EU cloud:
set -a; . ./.env; set +a; export LANGFUSE_BASE_URL="${LANGFUSE_BASE_URL:-$LANGFUSE_HOST}".
Once per corpus change, sync the dataset: npm run eval:dataset:sync -w brepjs-cad (upserts the
playground examples into the brepjs-playground dataset, keyed by example id).
Write the scorecard as JSON matching bench/score.ts Scorecard — { model, brepjsVersion, skillVersion, date, results: EvalResult[] }, where each result's id is the playground example
id and carries auto, judgePass, and firstTry (so the lift is computed) — then push:
npm run eval:push -w brepjs-cad -- <scorecard.json>. It records two things, both no-op without
keys: (1) one eval-run trace with the aggregate scores (both, first_try_both, eventual_both,
lift), and (2) a dataset run on brepjs-playground — one trace per part, scored and linked to its
dataset item — so skill versions compare per part in the dataset Runs view. The run name is the
skillVersion.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/brepjs-cad-skill-eval-implement-verify-mu0qzowj/download' --output '.skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj/SKILL.md.part' && mv '.skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj/SKILL.md.part' '.skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Le fichier ne fournit pas un en-tête name/description exploitable pour cette procédure native. Le téléchargement reste disponible pour lecture ; utilisez le mode manuel ci-dessous.
Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/brepjs-cad-skill-eval-implement-verify-mu0qzowj/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Comparaison de performances ClickHouse
Testing
Évaluez les résultats de tests de performance ClickHouse, analysez les régressions de PR, comparez avec l'historique et vérifiez la fiabilité des mesures.
Analyse des rapports de performance CI
Testing
Analyse les rapports de comparaison de performance CI pour une PR ClickHouse. Recoupe l'historique master pour distinguer les vraies régressions des tests instables.
Méthode Santa
Testing
Vérification adversarial multi-agents avec deux réviseurs indépendants. La sortie est vérifiée deux fois et corrigée itérativement jusqu'à ce que les deux acceptent avant publication.