AI & Integration v1.0.1

oc-prompt-optimizer

Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance...

jiepu110 更新于 2026-06-13 1 浏览
下载 SKILL

技能说明

Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria.

使用场景

Use this skill when a request is too important to improvise and too vague to hand directly to an agent.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/oc-prompt-optimizer
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 15 kB
SKILL.md text/markdown
---
name: oc-prompt-optimizer
description: Turn vague maintainer intent into an execution-ready prompt with scope, variables, missing facts, tests, and acceptance criteria.
---

# OpenClaw Prompt Optimizer

Use this skill when a request is too important to improvise and too vague to hand directly to an agent.

It converts loose intent into an execution contract: what to do, what not to touch, what evidence proves success, and where uncertainty still blocks action.

## Support

If this skill helps you avoid a risky restart, public leak, vague task, unsafe dependency, or untraceable conclusion, star it on ClawHub or star the [GitHub repo](https://github.com/Star-Ring-Protocol/openclaw-gateway-guardian). Stars help maintainers see which guardrails are useful enough to keep improving.

## Workflow

1. Restate the original request in one sentence.
2. Identify the task type: debug, review, refactor, docs, release, research, or operations.
3. Extract variables, assumptions, and missing facts.
4. Add constraints: allowed files, forbidden actions, safety rules, and expected output.
5. Add acceptance criteria, validation commands, and stop conditions.
6. Provide one safe default prompt and, when useful, one narrower variant.

## Output Format

- Original request.
- Optimized prompt.
- Variables.
- Missing information.
- Acceptance criteria.
- Validation commands.
- Risk notes.

## Safety Rules

- Do not change the user's intent.
- Do not hide uncertainty.
- Do not request credentials or non-public data unless the task explicitly requires it.
- Keep destructive actions opt-in and clearly named.

## Non-Goals

- No prompt injection bypass.
- No fabricated context.
- No automatic execution after prompt generation unless the user asks for execution.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。