Skip to content

northseadl/norix-skills / llm-agent-dev

llm-agent-dev

Unverified

LLM Agent engineering: pattern selection (12-mode matrix), data simulation, convergence iteration. Covers intent routing, function calling, ReAct, MCP, prompt chaining, guardrails, evaluation.

FileKindSize
SKILL.mdskill md17.6 KB
agents/openai.yamlconfig198 B
evals/evals.jsonconfig4.7 KB
references/convergence/iteration-protocol.mdmarkdown8.0 KB
references/eval-loop.mdmarkdown9.4 KB
references/feedback-protocol.mdmarkdown6.0 KB
references/intent-patterns.mdmarkdown5.8 KB
references/paradigms/context-engineering.mdmarkdown6.0 KB
references/paradigms/decision-tree.mdmarkdown2.7 KB
references/paradigms/memory-architecture.mdmarkdown4.0 KB
references/paradigms/observability.mdmarkdown4.5 KB
references/paradigms/pattern-matrix.mdmarkdown3.3 KB
references/paradigms/performance-benchmarking.mdmarkdown15.2 KB
references/paradigms/prompt-patterns.mdmarkdown5.0 KB
references/paradigms/safety-guardrails.mdmarkdown5.5 KB
references/paradigms/tool-design.mdmarkdown2.5 KB
references/patterns/01-crex-rule-router.mdmarkdown6.8 KB
references/patterns/02-slot-filling.mdmarkdown7.1 KB
references/patterns/03-function-calling.mdmarkdown3.9 KB
references/patterns/04-workflow-agent.mdmarkdown5.0 KB
references/patterns/05-react-agent.mdmarkdown3.4 KB
references/patterns/06-router-expert.mdmarkdown3.2 KB
references/patterns/07-mcp-tool-protocol.mdmarkdown5.0 KB
references/patterns/08-handoff-delegation.mdmarkdown4.7 KB
references/patterns/09-prompt-chaining.mdmarkdown3.0 KB
references/patterns/10-parallelizing.mdmarkdown3.2 KB
references/patterns/11-orchestrator-worker.mdmarkdown4.8 KB
references/patterns/12-evaluator-optimizer.mdmarkdown5.5 KB
references/scenarios/coding-assistant.mdmarkdown2.0 KB
references/scenarios/content-generation.mdmarkdown2.7 KB
references/scenarios/customer-service.mdmarkdown2.6 KB
references/scenarios/ecommerce-shopping.mdmarkdown4.2 KB
references/scenarios/food-ordering.mdmarkdown3.1 KB
references/scenarios/knowledge-qa.mdmarkdown2.6 KB
references/simulation/data-generation.mdmarkdown8.1 KB
references/skill-templates.mdmarkdown8.0 KB

references/scenarios/knowledge-qa.md

View on GitHub
# 场景蓝图: 知识问答 Agent

> 基于企业知识库的智能问答与信息检索 Agent
> 参考: Perplexity, Glean, Notion AI Q&A

## 用户旅程

```
提问 → 理解意图 → 检索知识 → 推理综合 → 回答 + 引用来源
```

## 架构

```
用户输入
   │
   ▼
[意图分类 LLM]
   │
   ├─ 精确查询 ──→ ① CREX → FAQ 缓存/数据库直查
   ├─ 模糊搜索 ──→ ③ FC + RAG → 检索 → 排序 → 生成答案
   ├─ 多知识源 ──→ ⑩ Parallel → 并行检索多个知识库 → 合并
   ├─ 深度研究 ──→ ⑤ ReAct → 多步检索 → 交叉验证 → 综合
   ├─ 对比分析 ──→ ⑪ Orchestrator → 收集资料 → 多维对比 → 摘要
   └─ 文档生成 ──→ ⑨ Chain → 收集 → 大纲 → 草稿 → 润色
```

## 模式选型

| 场景 | 模式 | 延迟 | 说明 |
|------|------|------|------|
| FAQ | ① CREX | < 500ms | 精确匹配高频问题 |
| 单知识源问答 | ③ FC + RAG | 1-3s | 检索 + 生成 |
| 多源问答 | ⑩ Parallel | 2-5s | 并行检索合并 |
| 深度研究 | ⑤ ReAct | 5-20s | 多步推理 |
| 文档生成 | ⑨ Chain | 10-30s | 链式流水线 |

## RAG 集成关键

```
┌──────────────────────────────────────────────┐
│              RAG Pipeline                     │
│                                               │
│  Query → [Query Rewriting] → 优化检索查询     │
│           │                                   │
│           ▼                                   │
│  [Hybrid Search] → 向量检索 + 关键词检索       │
│           │                                   │
│           ▼                                   │
│  [Re-ranking] → 按相关性重排序                 │
│           │                                   │
│           ▼                                   │
│  [Context Assembly] → 组装上下文               │
│           │                                   │
│           ▼                                   │
│  [LLM Generation] → 基于上下文生成答案 + 引用    │
└──────────────────────────────────────────────┘
```

## 关键设计要点

1. **答案必须有引用**: 每个断言标注来源文档
2. **"我不知道" 能力**: 知识库中无相关信息时明确告知
3. **时效性标注**: 标注知识的更新时间,过期知识需标记
4. **多轮追问**: 支持基于上一个答案的深入追问
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall