Markdown Editor

AI 工程套件

端到端构建 AI 功能:PRD、ML 与 RAG 设计、智能体与 MCP 规范、提示词、数据与微调、LLM 评估、红队测试与监控。

第 1 步

问题定义

  1. AI Feature PRD Template

    完整

    PRD for an AI-powered feature: why AI, failure and uncertainty UX, metrics, eval thresholds, cost per request, rollout

  2. ML System Design Document Template

    完整

    Problem framing, metrics, data, features, baselines, training, offline and A/B evaluation, serving, monitoring, rollout

第 2 步

构建

  1. RAG System Design Template (Retrieval-Augmented Generation)

    完整

    Design a RAG system: ingestion, chunking, embeddings, hybrid search, citations, evaluation, ACLs, security and cost

  2. AI Agent Specification Template

    完整

    Specify a tool-using AI agent: autonomy level, tools and permissions, guardrails, security, trajectory evals, cost

  3. MCP Server Specification Template (Model Context Protocol)

    标准

    Specify an MCP server (spec revision 2026-07-28): transport, tools, resources, prompts, OAuth, security, testing

    Model Context Protocol specification, revision 2026-07-28
  4. Prompt Specification Template (System Prompt)

    标准

    System prompt spec: purpose, model parameters, role, instructions, safety rules, output schema, examples, tools, tests

第 3 步

数据

  1. Data Pipeline Specification Template

    完整

    Batch or streaming pipeline: sources, lineage, schedule, mapping, quality checks, backfills, volumes, runbook

  2. Data Annotation Guidelines Template

    标准

    Labelling guidelines: task, label taxonomy, edge cases, decision rules, gold sets, Cohen's kappa, training, privacy

  3. Datasheet for Datasets Template (Gebru et al. 2021)

    完整

    Dataset motivation, composition, collection, labelling, uses, distribution, maintenance, privacy and consent

    Datasheets for Datasets (Gebru et al., 2021)
  4. Fine-Tuning Run Report Template

    标准

    One fine-tuning run: base model licence, data, LoRA or full method, hyperparameters, eval vs baseline, safety, decision

第 4 步

评估与安全

  1. LLM Evaluation Plan Template

    完整

    LLM app evaluation: test sets and red team, metrics, LLM-as-judge calibration, human review, CIs, release gates

  2. AI Red Team Plan and Report Template (OWASP LLM Top 10 2025)

    完整

    Adversarial testing of an LLM app: threat model, OWASP LLM01-LLM10 and ATLAS mapping, test cases, findings, retest, sign-off

    OWASP Top 10 for LLM Applications 2025; MITRE ATLAS (tactic names)
  3. Model Card Template (Mitchell et al. 2019)

    完整

    Model details, intended and out-of-scope uses, factors, metrics, data, disaggregated results, ethics, caveats

    Model Cards for Model Reporting (Mitchell et al., 2019)
  4. AI System Card Template

    完整

    System-level card for a deployed AI product: components, uses, limitations, safety and bias evals, red-teaming

第 5 步

运维

  1. Model Monitoring Plan Template (MLOps)

    标准

    Production ML monitoring: performance, drift (PSI), data quality, fairness, latency, alerts, retraining triggers

  2. AI Incident Report Template

    标准

    Report an AI incident or near miss: harm, severity, timeline, root cause, containment, notifications incl. AI Act Art. 73

    OECD AI incident concepts (2024); EU AI Act Article 73