mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-11-27 22:48:39 +00:00
Harness in scripts/evals/ built from the v2.14 audit evals: trigger cases for all 384 unique skills (13 hand-written, the rest drafted with Claude), 6 behaviour cases with fixtures and a blind JSON-schema grader, a date rotation (15 skills/night, $10 cap), and a scoreboard that flags regressions. The workflow stays off until ANTHROPIC_API_KEY and SKILL_EVALS_ENABLED are set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8KYFLywRRE8eU2sVPtJAL
13 lines
421 B
JavaScript
13 lines
421 B
JavaScript
const express = require('express');
|
|
const db = require('./db');
|
|
const app = express();
|
|
app.get('/user/:id', async (req, res) => {
|
|
const rows = await db.query('SELECT * FROM users WHERE id = ' + req.params.id);
|
|
res.json(rows);
|
|
});
|
|
app.post('/user/:id/avatar', async (req, res) => {
|
|
const path = '/var/uploads/' + req.query.name;
|
|
require('fs').writeFileSync(path, req.body);
|
|
res.send('ok');
|
|
});
|
|
app.listen(3000);
|