ai-engineering-toolkit
它能做什么
这个工具包可以帮你更专业地构建和测试 AI 系统。它提供了一步步的指南,涵盖:评估给 AI 的指令质量、规划 AI 的记忆使用方式、设计 AI 访问外部信息的方法、检查 AI 的安全性、制定测试 AI 的方法,以及思考 AI 产品策略。
适用场景
- ✓在投入使用之前,评估或改进给 AI 的指令时。
- ✓在规划 AI 如何从文档中检索并使用信息时。
- ✓在上线之前,检查 AI 能否抵御攻击时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ai-engineering-toolkit/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想对我的 AI 智能体做一次安全审计。”
每周 5 个新技能,1 分钟读完。
工作原理
它就像一位经验丰富的向导,提供结构化的方法。每个任务都有清晰的流程,并配有检查清单和评分标准,帮助你做决策,同时保证质量和安全。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
AI Engineering Toolkit
Overview
A collection of 6 structured, expert-level workflows that turn your AI coding assistant into a senior AI engineering partner. Each skill encodes a repeatable methodology — not just "ask AI to help," but a step-by-step decision framework with quantitative scoring, checklists, and decision trees.
The key difference from ad-hoc AI assistance: Scores and qualitative outputs can vary by evaluator, model and context; calibrate rubrics and record versions before making comparisons. You can use the scoring systems as team baselines and write them into CI/CD pipelines.
When to Use This Skill
- Use when evaluating or optimizing LLM system prompts before production deployment
- Use when designing a RAG pipeline and need structured architecture decisions (not just boilerplate code)
- Use when planning token budget allocation across context window zones
- Use when running pre-launch security audits on AI agents
- Use when building evaluation frameworks for LLM applications
- Use when thinking through product strategy before writing code
Availability and scope
This AAS tree bundles this overview only; the six named workflow packages, 65 test cases and CI templates are not included here. Do not claim a 65-test run or a scored assessment without actual supplied rubric, cases, harness and recorded execution. The upstream collection is an optional separately reviewed source; its installation does not validate a production system.
How It Works
Skill 1: Prompt Evaluator
A defined evaluator can score prompts across 8 dimensions (Clarity, Specificity, Completeness, Conciseness, Structure, Grounding, Safety, Robustness) on a 1-10 scale with weighted aggregation to a 0-100 score. Identifies the 3 weakest dimensions, generates targeted rewrites, and re-evaluates. Supports single prompt, A/B comparison, and batch evaluation modes.
Skill 2: Context Budget Planner
Analyzes token distribution across 5 context zones (System, Few-shot, User input, Retrieval, Output) and produces an optimized allocation plan. Includes a compression strategy decision tree for each zone. Common finding: output zone squeezed to under 6% — this skill catches that before truncation happens.
Skill 3: RAG Pipeline Architect
Walks through a complete architecture decision tree: document format → parsing strategy → chunking approach (fixed/semantic/recursive) → embedding model selection → retrieval method (vector/keyword/hybrid) → evaluation metrics (Faithfulness, Relevancy, Context Precision). Covers Naive RAG, Advanced RAG, and Modular RAG patterns.
Skill 4: Agent Safety Guard
Executes a 65-point red-team audit across 5 attack categories: direct prompt injection, indirect prompt injection (via RAG documents), information extraction (system prompt / API key leakage), tool abuse (SQL injection, path traversal, command injection), and goal hijacking. The AI constructs adversarial test prompts for evaluation purposes, asks the user for confirmation before each test phase, judges pass/fail, and generates fix recommendations. All tests are contained within the evaluation context and do not interact with external systems. It is recommended to run audits in a sandboxed environment (Docker/VM).
Skill 5: Eval Harness Builder
Designs evaluation metric systems for LLM applications. Includes LLM-as-Judge scoring framework with bias mitigation strategies (position bias, verbosity bias, self-enhancement bias). Outputs CI/CD-ready evaluation pipeline templates.
Skill 6: Product Sense Coach
…
常见问题
什么是“工作流”?
它们就像食谱或分步指南,用来完成复杂的 AI 工程任务。
我可以用它来攻击系统吗?
不可以。这个工具包仅用于学习目的或经过授权的安全评估。未经许可使用属于违法行为。
什么是“RAG 流水线”?
它是一种方法,让 AI 能够有条理、高效地从外部文档中检索信息,从而回答问题。
详情
作者的原始描述
Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.
热度
- GitHub 星标
- 48k
- 排名
- #3704
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。