返回顶部
p

prompts

Deep prompt engineering workflow—task spec, constraints, examples, evaluation sets, iteration protocol, regression testing, and safety alignment. Use when improving LLM outputs, shipping prompt changes, or building reusable prompt templates.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
89
下载量
0
收藏
概述
安装方式
版本历史

prompts

# Prompt Engineering (Deep Workflow) Prompts behave like **natural-language programs**: they need **specs**, **tests**, and **version control**—especially in production. ## When to Offer This Workflow **Trigger conditions:** - Prompt or system message change; quality regressions - Structured outputs (JSON), tool use, or RAG grounding requirements - Safety or policy alignment needs **Initial offer:** Use **six stages**: (1) define task & success, (2) constraints & format, (3) few-shot & style, (4) build eval set, (5) iterate with discipline, (6) ship, monitor, regress). Confirm model family and latency budget. --- ## Stage 1: Define Task & Success **Goal:** Clear user-visible outcome and failure modes (hallucination, omission, tone). **Exit condition:** Success rubric in plain language; out-of-scope cases listed. --- ## Stage 2: Constraints & Format **Goal:** Must/must-not rules; output schema (JSON Schema, bullet structure); length limits. ### Practices - Separate system (policy, role) from user (task instance) - Ask model to cite sources when grounding matters --- ## Stage 3: Few-Shot & Style **Goal:** Use examples only when they reduce ambiguity—avoid huge prompt bloat. ### Practices - Diverse examples; avoid overlong negative examples that confuse --- ## Stage 4: Build Eval Set **Goal:** Frozen inputs with expected properties (not always exact text match). ### Practices - Adversarial and multilingual slices if relevant - Regression suite in CI for critical prompts --- ## Stage 5: Iterate With Discipline **Goal:** Change one major variable at a time when debugging quality. ### Practices - Compare with same temperature settings when A/B testing wording - Log prompt version id with outputs in production --- ## Stage 6: Ship, Monitor, Regress **Goal:** Canary prompt changes; watch implicit signals (thumbs, edits, task completion). --- ## Final Review Checklist - [ ] Task and rubric defined - [ ] Constraints and output format explicit - [ ] Eval set versioned; regression path exists - [ ] Iteration log disciplined; prompt versions tracked - [ ] Production monitoring and rollback plan ## Tips for Effective Guidance - Clarity beats cleverness—short explicit instructions often win. - Chain-of-thought: use when reasoning helps; hide chain from end users if needed. - Align with **llm-evaluation** skill for larger harness design. ## Handling Deviations - **Chat** vs **batch**: batch can use stricter structure and lower temperature. - **Multimodal**: specify how image details may be used or ignored.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 prompts-1775975168 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 prompts-1775975168 技能

通过命令行安装

skillhub install prompts-1775975168

下载 Zip 包

⬇ 下载 prompts v1.0.0

文件大小: 1.99 KB | 发布时间: 2026-4-13 11:39

v1.0.0 最新 2026-4-13 11:39
- Initial release introducing a comprehensive, 6-stage prompt engineering workflow for LLM task design and iteration.
- Covers stages from task definition through constraints, examples, eval set creation, disciplined iteration, and safe deployment.
- Provides clear exit conditions, review checklist, and practical tips for production-grade prompt development.
- Addresses structured output, safety alignment, regression testing, and monitoring strategies.
- Designed for teams seeking robust, reusable, and test-driven prompt templates.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部