omh-llm-app-dev
它能做什么
它为调用语言模型的功能准备构建计划,涵盖模型边界、结构化输出、带版本的提示词文件、有依据的检索,以及评估套件。适合在应用中加入 AI 功能的开发者。
适用场景
- ✓当你正在为应用构建 AI 功能时。
- ✓当你希望提示词作为带版本的文件保存并配有测试时。
- ✓当你希望有一套评估套件,能显示提示词修改是否有帮助时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-llm-app-dev/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请规划一个 AI 功能,根据我们的帮助文档回答支持问题,并使用带版本的提示词和测试集。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体设定模型和服务商边界,定义结构化输出,把提示词保存为带版本的文件,并设计评估套件。它准备构建交接材料,而不是宣称功能已经可以运行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Llm App Dev
This is an OMH llm-app-dev workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
llm-app-dev exists because the failure modes of an LLM feature are not the failure modes of the code around it. A floating model alias, a prompt buried in a string literal, an output scraped out of prose with a regex, and a retrieval layer nobody measured all pass code review and all fail in production, and without a golden set nobody can tell whether the next prompt edit helped or hurt.
Do Not Use When
- The subject is comparing executors or agent harnesses - Codex against Claude Code against Hermes coding - rather than evaluating the product's own model calls.
- An agent run is already stuck, looping, or drifting and needs diagnosis; use
omh-agent-debug. - The subject is the harness's own context window, prompt caching, or token budget rather than the application being built; use
omh-context-budget-review. - The request is a prompt-injection, secret-handling, or dependency risk gate on work that already exists; use
omh-security-safety-review. - The feature makes no model call - the LLM is only mentioned as the subject being discussed - so this is a direct answer, not a build handoff.
- The ask is training the weights themselves on your own data -- SFT, DPO, RLVR, or a LoRA adapter; use
omh-model-finetuning.
Examples
Good example:
- Prompt: $llm-app-dev we are adding an invoice-field extractor that calls a model per upload - set it up so we can change the prompt later without guessing.
- Expected behavior: Name the rails, put the provider call behind one client module with a pinned model ID, declare the extraction schema and the repair path, lay the prompt out as a versioned file, and specify the golden set and validators that let the next prompt edit be compared against this baseline.
- Why: The feature is a real model call whose output another system consumes, which is exactly where an unpinned model, an inline prompt, and a missing golden set become expensive later.
Bad example:
- Prompt: $llm-app-dev the extractor is done - confirm the new prompt is better than the old one.
- Expected behavior: Prepare the paired baseline-vs-candidate comparison and state that no result exists until the run is observed; report nothing about which prompt is better.
- Why: Better is a claim about an observed run. Without one, the comparison is a design, and calling it a result is the false-green this workflow exists to prevent.
Completion Checklist
- Every rail - provider boundary, structured output, prompt artifacts, retrieval grounding, evaluation - is either decided or explicitly deferred with a reason.
- One client boundary owns the model ID, credentials, timeout, retry, and backoff, and no credential appears in source, prompts, tests, or examples.
- The model ID is exact, and it is recorded next to any result meant to be compared.
- Every model response is validated against a declared schema, with a bounded repair path and a loud failure - no prose scraping.
- The client boundary has a deterministic fake adapter, the code around the model is unit-tested against it without a network call, and a streamed call is cancelled upstream when its client goes away.
- Prompts are files with a version identifier, and system rules, task instruction, and injected context are separated.
- Untrusted retrieved or user-supplied content is fenced from the instruction channel and cannot change the task.
- The eval deliverables - golden set, task-level validators, baseline-vs-candidate comparison - exist as committed artifacts, and retrieval is evaluated before generation when retrieval is in the path.
- Token, latency, and cost figures come from an observed run or stay null; no design output is reported as an eval result, implementation, review, CI, or merge evidence.
- If the feature communicates through a public board, the destination carries a public-audience label, each action class names its own authority and outbound data, the exact draft and its host-recorded approval reference travel with the request through compaction and executor handoff, and no publication is reported without an observed connector result.
Recovery Notes
- If the exact model ID or provider is not decided yet, name the candidates and prepare the boundary against a config value rather than choosing one silently.
- If no failing case can be stated, the golden set has no seed
常见问题
它会比较编程智能体吗?
不会。比较智能体框架不在这项技能的范围之内。
它会用我的数据训练模型吗?
不会。训练模型权重由单独的微调技能负责。
它会检查功能的安全问题吗?
这不是它的主要工作。安全检查由单独的安全审查技能负责。
详情
作者的原始描述
[omh] LLM-powered feature to build: LLM app development: prepare a build handoff for an LLM-powered feature with a pinned provider boundary, schema-first outputs, versioned prompt files, grounded retrieval, and an eval suite as a shipped deliverable. Use when the user says: llm-app-dev, llm app development, llm application development, build an llm app, build an llm feature, llm feature development, build a rag pipeline, rag pipeline.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15127
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。