← 返回 Skills 市场
p9sgr2rnrj-ux

Preflight Workflow

作者 p9sgr2rnrj-ux · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install preflight-workflow
功能描述
Stop before you break — four mandatory checks before every operation: search, rollback, test, scope
使用说明 (SKILL.md)

🛡️ Preflight Workflow

A lightweight safety workflow that stops agents and humans from acting before they think. Four mandatory checks — if even one fails, stop and fix it first.

When to Use

Every time you (or your agent) are about to:

  • Run a system command
  • Deploy or modify code
  • Change configuration
  • Execute an unfamiliar or risky operation

Core rule: No search = no action. No preflight = no execution.

How It Works (for agents)

Step 1: User describes what they want to do

If it's a new, unfamiliar, or risky operation → run the full four-question checklist.

Step 2: Four mandatory questions

✅ Q1: Have you searched first?

  • Look for existing solutions, known pitfalls, or prior experience
  • Don't answer from memory or intuition
  • Check at least 2 independent sources

✅ Q2: Is there a rollback plan?

  • What state can you return to if it fails?
  • Have you made a backup?
  • Do you have clear rollback steps?

✅ Q3: Has it been tested or validated?

  • Has the approach been verified on a small scale?
  • Are you relying on "let's try and see"?

✅ Q4: Is the impact clear?

  • What are you changing?
  • Who/what will it affect?
  • How long to recover if it goes wrong?

Step 3: All pass → proceed. Any fail → stop.

Four ✅ required. Not one less.

Step 4: After the operation

Outcome Action
✅ Success Log it (date + what + result)
❌ Failure Write to LEARNINGS.md (root cause + fix + prevention)
💡 New insight Update this SKILL.md

CLI Mode (no agent, just a shell script)

chmod +x preflight.sh
./preflight.sh "deploy new cron job"

Answers four yes/no questions interactively. All ✅ → "All passed, go ahead." Any ❌ → "Blocked: ... Fix it first."

Common Pitfalls

  • ❌ "I know this one" → No you don't. Search first.
  • ❌ "This is too simple to check" → Small ops cause big outages.
  • ❌ Trying repeatedly without documenting → Failure is a lesson. Write it down.
  • ✅ Getting corrected? Accept → Fix → Remember. No excuses.

Included Files

File Purpose
preflight.sh Interactive CLI checklist (4 yes/no questions)
SKILL.md Loadable skill for any SKILL.md-compatible agent
LEARNINGS.md Post-mortem template (root cause + fix + prevention)
install.sh One-command install script
README.md Quick start guide

Verification

Run the script and answer all four questions:

  • All y → ✅ "All passed, proceed."
  • Any n → ❌ "Blocked by: [reason]. Fix before proceeding."
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install preflight-workflow
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /preflight-workflow 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug preflight-workflow
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Preflight Workflow 是什么?

Stop before you break — four mandatory checks before every operation: search, rollback, test, scope. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 Preflight Workflow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install preflight-workflow」即可一键安装,无需额外配置。

Preflight Workflow 是免费的吗?

是的,Preflight Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Preflight Workflow 支持哪些平台?

Preflight Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Preflight Workflow?

由 p9sgr2rnrj-ux(@p9sgr2rnrj-ux)开发并维护,当前版本 v1.0.0。

💬 留言讨论