Suede Ai Eval 标志

Suede Ai Eval

社区
JasonColapietro
suede-ai-eval

Suede AI 评估技能。适用于用户要求“为这项 AI 功能编写评估”,或评估 LLM、RAG、智能体、分类器或生成式媒体的行为,并制定 AI-SPEC、失败判定标准、可执行案例、覆盖率和验收证据的场景。不适用于:实现审查(suede-code)、将现有评估接入 CI(suede-ci-gate)或协调构建工作轨道(suede-agent-teams)。

Add to TypingMind

概览

发布者JasonColapietro
代码仓库suede-creator-skills
技能名称suede-ai-eval
星标数
126
复刻数
12
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 JasonColapietro 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Suede Ai Eval AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-ai-eval
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JasonColapietro/suede-creator-skills.git /tmp/suede-creator-skills
mkdir -p .claude/skills
cp -r /tmp/suede-creator-skills/skills/suede-ai-eval .claude/skills/suede-ai-eval
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Suede Ai Eval,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Suede Ai Eval。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Suede Ai Eval 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Suede AI Eval Skills

Read the worked delivery contract for a concrete input, expected artifact, failure response and validation example.

Compatibility

Requires the AI surface contract or source and test data; a project runtime/eval runner for execution. Model/API access is needed only for actual model runs, with existing authorization and cost scope.

Gate policy: advisory, not blocking

Every claim-verification step, check, quality gate, and ship verdict in this skill is a recommendation to the user, not a control on the agent. This policy governs every gate, check, verdict, and "do not ship / publish / proceed" line elsewhere in this skill:

  • Run every check and report the results honestly. Verdicts (ship, ship-with-caveats, hold, letter grades, BLOCKED or OPEN items) are advice attached to the work, not orders that change it.
  • Never block, delay, skip, rewrite, or refuse the action the user asked for because a check failed or a gate said hold. Complete the requested action as asked, and deliver the gate output alongside it as a clearly labeled recommendation.
  • A failed gate changes what you report, never what you do.
  • Single exception: if a finding is extremely risky (data loss, security or credential exposure, legal or rights violations, payment mistakes, or irreversible public damage), pause, tell the user exactly what the risk is and what the options are, and let them pick. Their choice is final.

Make AI behavior testable before it becomes a vague product promise. No eval plan, no ship recommendation: for an AI feature without one, the recommended verdict stays below ship: report that gap and let the user decide.

The deliverable is an eval plan or coverage audit, not a model benchmark leaderboard. Keep it grounded in the actual product surface, user promise, data sources, prompts, tools, logs, tests, and failure modes available now.

Hard Gates

  • No AI-SPEC → no eval plan. Write the one-paragraph spec first; cases written without a spec test nothing.
  • No eval plan → no ship recommendation. Do not recommend ship or ship-with-caveats for an AI feature that lacks a failure-mode map and eval cases; name the gap and leave the ship decision with the user.
  • A failure mode without an eval case, an owner, and a gate is uncovered, regardless of how unlikely it feels.
  • A live surface that was never sampled gets the output stamped source-only; do not present source-only review as runtime evidence.
  • A model grading its own output is not evidence. LLM-as-judge scores count only after spot-checked agreement with a human-reviewed sample.

Source Truth

Inspect the current target before writing the eval. Do not evaluate from memory or product copy alone.

Read or verify:

  • repo, branch, remote, dirty state, local instructions, and touched files;
  • the AI surface: route, API, worker, prompt, system message, tool call, model config, retrieval path, classifier, agent loop, generated media path, or recommendation logic;
  • user-facing promise, allowed claims, forbidden claims, safety boundaries, fallback behavior, and support path;
  • input data, retrieval corpus, schemas, tool contracts, metadata, logs, telemetry, and persisted outputs;
  • existing tests, fixtures, eval scripts, prompt snapshots, golden examples, analytics, bug reports, screenshots, or live/API readbacks.

When the surface is already live, sample real behavior with safe inputs and record exact commands or URLs. When live checks are not appropriate, mark the eval as source-only and name the missing runtime evidence.

Workflow

  1. Define the AI-SPEC. State the AI job in one paragraph: user, trigger, input, output, allowed sources, disallowed behavior, fallback, latency/cost expectation, and success signal.
  2. Map the failure modes. List the ways the AI can harm the user, product truth, rights/provenance, security, privacy, brand trust, cost, or workflow completion.
  3. Build the rubric. Score each failure mode with severity, likelihood, detectability, owner, gate, and required evidence.
  4. Write eval cases. Produce concrete pass/fail cases with inputs, setup data, expected output traits, forbidden output traits, and the reason the case exists.
  5. Set acceptance gates. Decide what blocks ship, what allows ship-with-caveats, and what can become follow-up work.
  6. Audit coverage. Compare existing tests, logs, metrics, and manual checks against the failure-mode map. Score coverage and infrastructure using the method under Tooling and Infrastructure below. Name every uncovered high-risk behavior regardless of the numeric score.
  7. Return the artifact. Give the AI-SPEC, rubric, eval table, coverage gaps, required tests, and next implementation step. Name the exact command that runs the cases and its expected exit status (the repo's own eval script if one exists, otherwise the tool's invocation, e.g. npx promptfoo eval -c <config>) and record the run's pass/fail counts under "Commands or evidence checked". An eval plan with no runnable command is a document, not coverage, and suede-ci-gate cannot wire it into CI without that string.

Eval Dimensions By System Type

Start the failure-mode map from the canonical dimensions for the surface's system type, then add product-specific failure modes on top. Always include safety (user-facing) and task completion (agentic) regardless of type.

System typeCanonical dimensions
RAG / retrievalcontext faithfulness, hallucination, answer relevance, retrieval precision, source citation
Multi-agenttask decomposition, inter-agent handoff correctness, goal completion, loop detection
Conversationaltone/style, safety, instruction following, escalation accuracy
Extraction / structured outputschema compliance, field accuracy, format validity
Autonomous / tool-using agentsafety guardrails, tool-use correctness, cost/token adherence, task completion
Content generationfactual accuracy, brand voice, tone, originality
Code generationcorrectness, safety, test pass rate, instruction following

For each dimension, assign a measurement approach before writing the eval case:

  • Code-based: schema validation, required-field presence, performance thresholds, regex checks. Fast, deterministic, cheap to run in CI.
  • LLM judge: tone, reasoning quality, safety-violation detection. Requires calibration against a human-reviewed sample before the score counts as evidence (see Hard Gates).
  • Human review: edge cases, LLM-judge calibration itself, high-stakes sampling that cannot be automated yet.

Tooling and Infrastructure

Detect existing eval/tracing tooling before recommending anything new:

bash
grep -rl "langfuse\|langsmith\|arize\|phoenix\|braintrust\|promptfoo\|ragas" \
  --include="*.py" --include="*.ts" --include="*.toml" --include="*.json" . \
  2>/dev/null | grep -v node_modules | head -10

If nothing is detected, these are the default starting points, not a mandate to install all four:

ConcernDefaultWhy
Tracing / observabilityArize PhoenixOpen-source, self-hostable, framework-agnostic via OpenTelemetry
RAG eval metricsRAGASFaithfulness, answer relevance, context precision/recall out of the box
Prompt regression in CIPromptfooCLI-first, no platform account required
LangChain/LangGraph pipelinesLangSmithOverrides Phoenix when the project is already in that ecosystem

Reference dataset spec: minimum 10 examples to start, 20+ before treating coverage as production-grade. Composition: critical paths, edge cases, known failure modes, and adversarial inputs, not just happy-path samples. Labeling: domain expert where stakes are high, LLM judge with calibration otherwise. Start building the dataset during implementation, not after the feature ships.

Production monitoring split: classify every covered failure mode as either an online guardrail (catastrophic risk, runs on every request in the hot path, must be fast) or an offline flywheel check (quality signal, sampled batch, feeds the improvement loop, not latency-sensitive). Keep online guardrails minimal since each one adds latency to every request.

Coverage scoring: for each dimension, mark COVERED (implementation exists, targets the rubric behavior, actually runs), PARTIAL (exists but incomplete, not automated, or has known gaps), or MISSING (no implementation found). Audit infrastructure separately, ok/partial/missing: eval tooling is installed and actually called (not just a listed dependency), the reference dataset file exists and meets the spec above, a CI/CD command runs the eval suite, each planned online guardrail is implemented in the request path (not stubbed), and tracing is configured and wrapping the real AI calls. Score coverage = covered / total_dimensions × 100 and infra = (tooling + dataset + cicd + guardrails + tracing) / 5 × 100, then overall = coverage × 0.6 + infra × 0.4.

Eval Case Design

How to build the case set (golden cases, adversarial cases, failure-mode coverage, and what makes a case gradeable) is in references/eval-case-design.md. Read it before writing cases. Skip it when you are only reviewing an existing suite or sizing infrastructure.

Rubric

Use this table shape:

Failure modeSeverityLikelihoodDetectabilityEvidence nowShip gateRequired fix
Hallucinates a rights claim532noneblockadd refusal eval + source citation check

Scoring:

  • Severity 5: legal, financial, rights/provenance, privacy, security, payment, irreversible user harm, or public trust collapse.
  • Severity 4: user-visible wrong outcome on a core workflow, broken agent action, major cost spike, or misleading published statement.
  • Severity 3: recoverable user confusion, incomplete answer, or degraded workflow quality.
  • Severity 2: minor formatting, tone, or non-core quality miss.
  • Severity 1: cosmetic or informational.

Gate defaults:

  • Any uncovered severity 5 behavior blocks release.
  • Severity 4 requires an eval case, fallback behavior, and named owner before release.
  • Regressions from real observed failures require a fixture or scripted check.
  • Product copy cannot claim eval coverage that does not exist.

AI-SPEC Template

text
AI-SPEC: [surface/name]
Date:
Target repo/route/API:
Owner:

User promise:
Inputs:
Outputs:
Allowed sources:
Disallowed behavior:
Fallback behavior:
Privacy/security boundaries:
Rights/provenance boundaries:
Latency/cost budget:
Success metrics:
Known non-goals:

Failure modes:
Eval suite:
Acceptance gates:
Coverage gaps:
Next implementation step:

Red Flags: Stop

  • "It looked good in the demo": a demo is one happy-path sample, not coverage.
  • "We'll eval after launch": after launch, the eval set is your users.
  • "The model seems smart": vibes are not a rubric row; write the failure mode down and score it.
  • "We tested the prompt by hand": prompt review and happy-path poking are not eval coverage.
  • "It passed once": a pass with no fixture or scripted check protects nothing on the next model or prompt change.
  • "The judge model approved it": self-judgment without human-agreement spot checks is not evidence.

Output

Return:

text
Target:
AI-SPEC:
Failure-mode rubric:
Eval cases:
Existing coverage:
Missing coverage:
Ship gate: ship | ship-with-caveats | hold
Required next step:
Commands or evidence checked:

Ship gate is mechanical: hold = any severity-5 failure mode uncovered, or no eval plan exists; ship-with-caveats = all severity-5 modes covered, remaining severity-4 gaps each have a named owner and follow-up; ship = every severity 4-5 failure mode has a case, a gate, and evidence.

Boundaries

  • Do not claim legal, rights, licensing, medical, financial, or compliance clearance.
  • Do not invent private datasets, logs, scores, or customer outcomes.
  • Do not upload data, call private services, or run destructive workflows unless the user explicitly asks and the repo/tooling supports it.
  • Do not treat a model's self-judgment as sufficient evidence.
  • Do not mark eval coverage complete when only prompt review or happy-path manual testing exists.

Routing

  • The AI surface's implementation needs review or a ship grade → suede-code
  • Eval cases written and passing → suede-ci-gate to wire them into CI as a required check
  • The eval work is one lane of a bigger coordinated build → suede-agent-teams

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Suede Ai Eval AI 技能有什么作用?

Suede AI 评估技能。适用于用户要求“为这项 AI 功能编写评估”,或评估 LLM、RAG、智能体、分类器或生成式媒体的行为,并制定 AI-SPEC、失败判定标准、可执行案例、覆盖率和验收证据的场景。不适用于:实现审查(suede-code)、将现有评估接入 CI(suede-ci-gate)或协调构建工作轨道(suede-agent-teams)。

为什么在 TypingMind 中使用 Suede Ai Eval?

因为您只需安装一次,就能搭配任何模型使用。Suede Ai Eval 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Suede Ai Eval?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/JasonColapietro/suede-creator-skills/tree/main/skills/suede-ai-eval。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Suede Ai Eval?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Suede Ai Eval 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Suede Ai Eval 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Suede Ai Eval AI 技能免费吗?

是的。JasonColapietro 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇