stop-work-when-conditions-become-unsafe
Use when work in progress uncovers a hazard such as wrong environment, live data, or a destructive step. Halt rather than continue carefully.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- stop-work-when-conditions-become-unsafe
- description
- Use when work in progress uncovers a hazard such as wrong environment, live data, or a destructive step. Halt rather than continue carefully.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档SOURCE.md365 B
- 参考文档TRUST.auto.yaml2.2 KB
03 SKILL.md 正文
Stop work when conditions become unsafe
"Being more careful" still executes the dangerous action, only slower. When a hazard surfaces mid-task, the correct move is to halt, revert to known good, and verify the condition before resuming.
Procedure
-
On discovering a hazard mid-task (writes hitting prod, a delete against shared storage, a secret in a public repo), stop the current command before it completes.
-
Assess the blast radius: what has already changed, and is any of it irreversible?
-
If reversible, revert to the last known good state before doing anything else; do not build on the contaminated state.
-
Freeze the work, causing no further side effects, until the environment is confirmed safe.
-
Notify the owner with the hazard, the exposed surface, and what you reverted; escalate if the owner is unreachable.
-
Before resuming, prove the condition is fixed. Point the command at the intended target and re-read it with
echo "$DATABASE_URL", rather than trusting a reassurance. -
Record the halt and the condition that cleared it in the task or incident log.
Pitfalls
-
"Being more careful" instead of stopping, which continues the exposure at a slower rate.
-
Continuing to produce output that builds on the contaminated state, multiplying the rework.
-
Fixing forward under time pressure instead of reverting to known good.
-
Resuming on an assurance that the target is correct without re-reading it yourself.
-
Halting but telling nobody, so the hazard persists for the next run.
Verification
grep -nE 'halt|reverted to' incident.md # halt recorded with the reverted state named
Report the hazard found, what you reverted, and the check that cleared it before resuming.
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.