通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。
- 实际检查更改后的产品行为
- 收集截图或其他验证证据
- 编写验证计划和报告
本技能整理应用中的 LLM 生成流程,涵盖可复用且有版本的提示词、结构化输出、服务级模型选择和追踪,帮助区分业务流程标识与提示词标识。
Use for application prompts, generateObject/generateText, model selection and generation tracing. Excludes provider adapters and agent snapshots.
实测评分 未实测
查看安装方法本技能指导将应用中的 LLM 调用设计为可复用、可追踪的生成流程。建议将可复用提示词与 JSON 结构、结构名称及提示词版本一起管理;模型配置、输入验证、数据保存和错误处理则由所属服务负责。对于使用 generateObject 或 generateText 的流程,追踪记录应区分业务场景、提示词版本和结构名称,并让模型选择独立于提示词版本。技能还涵盖生成结果验证、失败时的处理方式,以及检查是否错误复用旧提示词或场景。
在服务中添加新的 LLM 生成流程、希望共享较长提示词而不是将其写在服务代码中,或需要按业务流程追踪生成质量、耗时和成本时,可以使用本技能。
提供商适配器规范和智能体执行快照不在本技能范围内。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
Implement business-facing LLM calls as explicit, independently observable workflows. Keep prompt identity, model policy, structured output, and tracing responsibilities separate.
Before editing a call, inspect:
packages/prompts for reusable application prompts;apps/server/src/services/aiGeneration for the server-side structured generation wrapper;packages/const/src/llmGenerationTracing.ts for scenario names;packages/llm-generation-tracing for tracing option and registry behavior;Use agent-tracing for execution-snapshot diagnosis and agent-runtime-hooks for lifecycle hook behavior. Neither owns application LLM generation conventions.
packages/prompts/src/chains: the message builder, JSON schema, schema name, and prompt version should be exported together. Do not leave substantial system prompts or model-facing input serialization embedded in a service.AiGenerationService, tracing entity IDs, Zod validation, persistence, and business error handling do not belong in the prompt chain.*_PROMPT_VERSION beside the prompt it versions and export both from the same module.v<major> or v<major>.<minor>, for example v1 or v1.2.promptVersion. Do not include a feature or scenario prefix such as expertise-ingestion-v1; scenario carries workflow identity.export const EXAMPLE_PROMPT_VERSION = 'v1';
export const EXAMPLE_SYSTEM_PROMPT = `...`;
Treat scenario as the stable product workflow and lifecycle-stage partition, not as a label for a prompt, schema, model, or helper.
TRACING_SCENARIOS before adding a call.schemaName for structured generation and relevant entity IDs when available.For every new or corrected generation workflow:
scenario, promptVersion, and schemaName where applicable.bun run check <changed-files...> and bun run check --type for cross-package changes.Use the testing skill for test mechanics and the typescript skill for TypeScript changes.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。
本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。
本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。
说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。
此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。
本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。